export declare class ObjectPool<T = any> {
    objects: Record<string, T>;
    poolName: string;
    constructor(name: string);
    get(name: string, throwError?: boolean): T;
    remove(name: string, throwError?: boolean): void;
    add(name: string, obj: T): void;
    iterator(): Generator<T, void, unknown>;
    getAll(): Record<string, T>;
}
//# sourceMappingURL=ObjectPool.d.ts.map