export declare type MutexReleaser = () => void;
export declare type QueuedRunnable = (MutexReleaser: MutexReleaser) => void;
export declare class Mutex {
    private _queue;
    private _pending;
    acquire(): Promise<MutexReleaser>;
    private dispatch();
}
