import type { FileStateCache } from '../../state/file-cache.js'; import type { ProjectIndex } from '../../state/project-index.js'; import type { FileUndoManager } from '../../state/file-undo.js'; /** Dependencies forwarded to the underlying write tool factory. */ export interface WriteDeps { fileCache?: FileStateCache | undefined; projectIndex?: ProjectIndex | undefined; fileUndoManager?: FileUndoManager | undefined; } /** * Create a phased write tool. * * Category : `write`, routes to the mutating-filesystem concurrency pool. * Cancellable: `false`, write operations are not safe to interrupt mid-flight; * a partial write leaves files in an inconsistent state. * * @param deps - Optional dependency overrides (shared cache instances, undo manager). * @returns A PhasedTool that delegates execution to `createWriteTool`. */ export declare function createPhasedWriteTool(projectRoot: string, deps?: WriteDeps): import("../../runtime/tools/adapter.js").PhasedTool; //# sourceMappingURL=phased.d.ts.map