declare const lock: { acquire(key: string, ttl: number): Promise; release(key: string): Promise; using(key: string, fn: () => Promise, ttl?: number): Promise; }; type Lock = typeof lock; export { type Lock, lock };