import { z } from "zod/v4"; import { ToolMessage } from "@langchain/core/messages"; export declare const writeFileSchema: z.ZodObject<{ explanation: z.ZodString; path: z.ZodString; contents: z.ZodString; }, z.core.$strip>; export declare const generateFileMetadata: (workspace: string, id: string, input: z.infer) => Promise<{ id: string; path: string; code: string; original: string; diff: string; }>; /** * Creates a write file tool with the given workspace */ export declare const createWriteFileTool: (workspace: string, autoCommit?: boolean) => import("@langchain/core/tools").DynamicStructuredTool, { explanation: string; path: string; contents: string; }, { explanation: string; path: string; contents: string; }, ToolMessage>;