export interface PrivateFileExclusiveAsyncOptions { timeoutMs?: number; onWait?: () => void; } /** Wait without blocking other users of the same file in this process. */ export declare function runPrivateFileExclusiveAsync(lockPath: string, action: () => Result | PromiseLike, options?: PrivateFileExclusiveAsyncOptions): Promise; export declare function runPrivateFileExclusive(lockPath: string, action: () => Result): Result; //# sourceMappingURL=private-file-lock.d.ts.map