export declare function acquireLock(lockName: string, timeoutMs?: number): Promise<() => Promise>;