interface CreateThreadOptions { debug?: boolean; type: string; workerFile: string; } interface WorkerMessageBody { type: string; data: T; end: boolean; } export declare function createWorkerThreads(options: CreateThreadOptions, onMessage?: (d: WorkerMessageBody) => void): Promise; export {};