export default class Runner {
    private _childProcess;
    private _onMessage;
    private _onError;
    constructor(onMessage: (message: any) => void, onError: (error: Error) => void);
    kill(): void;
    start(): void;
    restart(): void;
    alive(): boolean;
    dead(): boolean;
    sendAction(action: {
        type: string;
        data: any;
    }): void;
    private _send;
    private _handleError;
    private _handleMessage;
}
