import { Slide } from '@netless/slide';
export interface PoolItem {
    key: string;
    slide: Slide;
}
export declare class SlidePool {
    private pool;
    private maxActiveSize;
    private renderingQueue;
    private renderingQueueCallback;
    constructor(maxActiveSize?: number);
    private freeze;
    private unfreeze;
    private checkPool;
    onRenderEnd(appId: string, isFocus: boolean): void;
    setMaxActiveSize(maxActiveSize: number): void;
    waitUntilReady(appId: string): Promise<void>;
    active(key: string, slide: Slide): Promise<void>;
    remove(key: string): void;
}
export declare const slidePool: SlidePool;
//# sourceMappingURL=SlidePool.d.ts.map