type CriticalPath = () => Promise<any>;
export declare class Lock {
    private executing;
    private waiters;
    lockForPath(f: CriticalPath): Promise<unknown>;
    private _execute;
}
export default Lock;
