interface IMutex { acquire(): Promise; release(): Promise; } /** * Creates a mutex, make sure to call `release` when you're done with it. * * @param {string} key A unique key */ export declare function createMutex(key: string, timeout?: number): IMutex; export declare function releaseAllMutexes(): Promise; export {};