export declare class Semaphore {
    private static semaphores;
    private key;
    private maxLocks;
    private currentLocks;
    private queue;
    constructor(key: string, maxLocks: number);
    private static hash;
    acquire(): Promise<void>;
    release(): void;
    static get(key: string, maxLocks: number): Semaphore;
}
