export declare class Lock {
    private readonly queue;
    private acquired;
    acquire(): Promise<void>;
    release(): Promise<void>;
    critical<T>(task: () => Promise<T>): Promise<T>;
}
//# sourceMappingURL=lock.d.ts.map