export declare function lock(lockId: string, cb: () => Promise): Promise;