export declare const strToKey: (name: string) => AdvisoryKey; type AdvisoryKey = [number, number]; interface CreateMutexFunction { (lockName: string): AdvisoryLock; } type WithLockFunction = (fn: () => Promise) => Promise; type UnlockFn = () => Promise; interface AdvisoryLock { lock: () => Promise; unlock: UnlockFn; tryLock: () => Promise; withLock: WithLockFunction; } declare const _default: (conString: string) => CreateMutexFunction; export default _default;