export type TypedPool = { run(...args: TArgs): Promise; destroy(): Promise; }; export type WorkerPool unknown> = TypedPool, Awaited>>; export declare const createWorkerPool: unknown>(workerBasePath: string, baseUrl: string, poolSize: number) => WorkerPool;