export declare class ConcurrencyLimiter { private readonly maxConcurrent; private readonly waitTimeoutMs; private readonly formatTimeoutError; private readonly formatCancelError; private activeCount; private readonly waiters; constructor(maxConcurrent: () => number, waitTimeoutMs: () => number, formatTimeoutError: (limit: number, timeoutMs: number) => string, formatCancelError: () => string); get pendingCount(): number; get active(): number; acquire(signal?: AbortSignal): Promise; release(): void; }