import type { ToolDefinition } from "../agent/types.js";
export interface WriteFileHooks {
    afterWrite?: ((filePath: string, content: string) => void | Promise<void>) | undefined;
}
/**
 * Minimal options needed by the write_file tool. `AgentConfig` satisfies
 * this structurally, so passing the full config keeps working.
 */
export interface WriteFileToolOptions {
    workspaceRoot: string;
}
export declare function createWriteFileTool(options: WriteFileToolOptions, hooks?: WriteFileHooks): ToolDefinition;
//# sourceMappingURL=write-file.d.ts.map