import type { DiffComputer, DiffOptions, InputFactory, PairResult } from './diff_types.ts';
export declare const CHUNK_SIZE: number;
export declare const WORKER_LIMIT = 2;
export declare const IDLE_TTL = 1000;
export declare const QUEUE_LIMIT = 32;
export declare const RETIRE_BYTES: number;
export declare class DiffPool implements DiffComputer {
    private readonly entries;
    private readonly queue;
    private readonly active;
    private readonly cleanupErrors;
    private stopped;
    private closing;
    compare(options: DiffOptions, old: InputFactory, next: InputFactory, signal?: AbortSignal): Promise<PairResult>;
    stop(): void;
    close(): Promise<void>;
    private closeAll;
    private acquire;
    private pump;
    private run;
    private release;
    private retire;
}
//# sourceMappingURL=diff_pool.d.ts.map