/** * Canonical key for a mutation target: absolute, and symlink-resolved when the path * exists so an alias and its target share one queue. A not-yet-created file falls back to * the resolved path, which is what lets `write` create files. * * Exported so callers that need to name the same target (diagnostics, coordination) cannot * drift into a second normalizer. */ export declare function canonicalMutationKey(filePath: string): Promise; /** * Serialize file mutation operations targeting the same file. * Operations for different files still run in parallel. * * The holder is handed the canonical key this call registered under. Registration already * paid for the `realpath`, so a holder that has to name its own target in a diagnostic takes * the answer from here instead of resolving the path a second time under the lock. */ export declare function withFileMutationQueue(filePath: string, fn: (canonicalKey: string) => Promise): Promise; //# sourceMappingURL=file-mutation-queue.d.ts.map