export declare class WorkerThread {
    private _worker;
    private _resolve;
    _id: number;
    constructor(s: string);
    private _OnMessage;
    get id(): number;
    postMessage(data: any, resolve: (data: any) => void, transferables?: Transferable[]): void;
    dispose(): void;
}
