import { TypedEmitter } from '../typed-emitter'; type ConcurrencyEvents = { 'execution-throttled': { executionId: string; }; 'execution-released': string; 'concurrency-check': { capacity: number; }; }; export declare class ConcurrencyQueue extends TypedEmitter { private capacity; private readonly queue; constructor(capacity: number); enqueue(executionId: string): Promise; get currentCapacity(): number; dequeue(): void; remove(executionId: string): void; getAll(): Set; has(executionId: string): boolean; private resolveNext; } export {};