export declare class WorkerPoolShutdownError extends Error { constructor(); } export declare class WorkerPoolTimeoutError extends Error { constructor(timeout: number); } export declare class WorkerPool { private readonly shutdownTimeout; private activities; private isShuttingDown; private semaphore; constructor(concurrency?: number, shutdownTimeout?: number); execute(work: (signal: AbortSignal) => Promise, options?: { timeout: number; }): Promise; shutdown(): Promise; } //# sourceMappingURL=worker-pool.d.ts.map