import { Mutex } from "redis-semaphore"; export declare function createMutex(identifier: string): Mutex; export declare function withMutex(identifier: string, fn: () => Promise): Promise;