export type UNLOCKED = 'UNLOCKED'; export declare class Lock { private static UNLOCK_TOKEN; private promise; private resolve; lock(): Promise; unlock(): boolean; isLocked(): boolean; isUnlockToken(resolvedValue: any): resolvedValue is UNLOCKED; }