/** * Simple async mutex for serializing write operations. * * Uses a FIFO queue to ensure fairness - waiters are processed * in the order they called acquire(). */ export declare class Mutex { private locked; private waiting; /** * Acquire the mutex. If already locked, waits until released. */ acquire(): Promise; /** * Release the mutex. If there are waiters, the next one acquires. */ release(): void; /** * Check if the mutex is currently locked. */ isLocked(): boolean; } //# sourceMappingURL=mutex.d.ts.map