/** * Simple mutex implementation for async operations */ export declare class Mutex { private isLocked; private waitQueue; /** * Acquire the lock */ acquire(): Promise; /** * Release the lock */ release(): void; /** * Run a function exclusively with the lock */ runExclusive(fn: () => Promise): Promise; }