/**
 * One process's session-worker budget (`SESSION_WORKER_LIMITS.workers`), shared by every pool that starts
 * session-worker isolates: the session registry and the loopless worker pool count against the same cap
 * (Z2, senpi#5413). Each pool registers the count of workers it holds, opening ones included.
 */
export declare class WorkerCapacity {
    private readonly counts;
    track(count: () => number): () => void;
    inUse(): number;
}
//# sourceMappingURL=worker-capacity.d.ts.map