type LockHandle = { release: () => Promise; }; type Lock = { acquire: () => Promise; }; /** * A lock implementation only useful for applications with a single process/instance. Not useful for distributed applications. */ export declare class PromiseQueueLock implements Lock { private queue; private isLocked; acquire(): Promise<{ release: () => Promise; }>; } export {};