export declare class Semaphore {
    private maxConcurrency;
    private currentCount;
    private queue;
    constructor(maxConcurrency: number);
    acquire(task: () => Promise<any>): Promise<any>;
    tryNext(): void;
}
//# sourceMappingURL=semaphore.d.ts.map