import type { IViewLocker } from '../interfaces/IViewLocker.js'; export declare class InMemoryLock implements IViewLocker { #private; /** * Indicates if lock is acquired */ get locked(): boolean; get ready(): boolean; /** * Acquire the lock on the current instance. * Resolves when the lock is successfully acquired */ lock(): Promise; /** * Release the lock acquired earlier */ unlock(): Promise; /** * Wait until the lock is released. * Resolves immediately if the lock is not acquired */ once(event: 'ready'): Promise; }