import { WorkerParentChildInterface } from '../index.js';
export declare class WorkerParent implements WorkerParentChildInterface {
    private worker;
    private deferedReady;
    constructor(worker: Worker);
    ready(): Promise<void>;
    call(data: string): Promise<void>;
    onMessageHandler(callback: (response: string) => void): void;
    onErrorHandler(callback: (error: any) => void): void;
    terminate(): void;
}
