import { IObjectPool, IPool, ObjectPool } from '@flemist/time-limits'; import { IWorkerClient } from './contracts'; interface IWorkerClientPool extends IObjectPool, IWorkerClient { terminate(): Promise; } export declare class WorkerClientPool extends ObjectPool implements IWorkerClientPool { protected constructor({ createClient, threadsPool, preInit, }: { createClient: () => Promise | TClient; threadsPool: IPool; preInit: boolean; }); init(): Promise | void; terminate(): Promise; } export {};