import { RunLockInfo } from "./types"; export declare function acquireRunLock(runDir: string, owner: string): Promise; export declare function releaseRunLock(runDir: string): Promise; export declare function readRunLock(runDir: string): Promise; export interface WithRunLockOptions { retries?: number; delayMs?: number; } export declare function withRunLock(runDir: string, owner: string, fn: () => Promise, options?: WithRunLockOptions): Promise; //# sourceMappingURL=lock.d.ts.map