declare class WorkerPool { workerPath: string; numberOfThreads: number; _queue: any[]; _workersById: { [key: string]: any; }; _activeWorkersById: { [key: string]: any; }; constructor(workerPath: any, options?: {}, numberOfThreads?: any); getInactiveWorkerId(): number; runWorker(workerId: any, taskObj: any): void; run(data: any): Promise; destroy(force?: boolean): void; } export default WorkerPool;