import type { IPoolItem, IPoolItemWithStats } from '../types'; import { AbstractPool } from './AbstractPool'; export declare class ColdReserve extends AbstractPool implements IPoolItemWithStats { readonly agents: Map; protected useMain: boolean; constructor(agents: Map); getNextItem(): TValue; /** * Switch from main to reserve or vise versa * @returns true if reserved agent is now in use */ toggleReserve(): boolean; [Symbol.iterator](): Generator; } //# sourceMappingURL=ColdReserve.d.ts.map