import { CallbackFunction, Message } from '../shared/sharedApi';
import { ChildHandle, InstanceHandle, Worker } from './worker';
export declare class FakeWorker extends Worker {
    private mockProcessSend;
    constructor(cb: (m: Message.From.Any) => void);
    protected killInstance(): void;
    protected sendInstanceMessageToParent(handle: InstanceHandle, msg: Message.From.Instance.AnyConstr, cb?: CallbackFunction): void;
    protected sendChildMessageToParent(handle: ChildHandle, msg: Message.From.Child.AnyConstr, cb?: CallbackFunction): void;
}
