import type { WorkerInterface } from './web_worker';
export declare const PRELOAD_POOL_ID = "mapboxgl_preloaded_worker_pool";
/**
 * Constructs a worker pool.
 * @private
 */
export default class WorkerPool {
    static workerCount: number;
    active: {
        [_ in number | string]: boolean;
    };
    workers: Array<WorkerInterface>;
    constructor();
    acquire(mapId: number | string): Array<WorkerInterface>;
    release(mapId: number | string): void;
    isPreloaded(): boolean;
    numActive(): number;
}
//# sourceMappingURL=worker_pool.d.ts.map