export interface AcquiredLock { release(): void; } export declare class AsyncLock { private taskQueue; private active; acquireLock(): Promise; withLock(action: () => Promise): Promise; }