import { type FileLockOptions } from "../config/file-lock"; export type EditPathMutationOptions = { /** * When true (default), also acquire a durable cross-process file lock. * Disable for injectible/in-memory filesystem tests that do not touch disk. */ crossProcess?: boolean; fileLock?: FileLockOptions; }; /** * Run `fn` while holding exclusive mutation rights for every absolute path. * Paths are locked in lexicographic order to avoid deadlocks on multi-path ops * (e.g. rename source + destination). */ export declare function withEditPathMutation(absolutePaths: readonly string[], fn: () => Promise, options?: EditPathMutationOptions): Promise;