export type PoolFactory<T> = () => T;
export type PoolDisposer<T> = (pool: T) => Promise<void> | void;
export type PoolManager<T> = Readonly<{
    get: () => T;
    dispose: () => Promise<void>;
}>;
export declare const createPoolManager: <T>(create: PoolFactory<T>, dispose: PoolDisposer<T>) => PoolManager<T>;
//# sourceMappingURL=PoolManager.d.ts.map