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