import { z } from 'zod'; /** * Two schemas, on purpose. * * `inputSchema` is what a HOST may send, and it accepts the `oldStr`/`newStr` * aliases and `insertLine` because hosts that expose replacement under those * names are real. `modelInputSchema` below is what a MODEL is constrained to * — one closed canonical shape — because giving a model four spellings of the * same field is how it learns to guess between them. * * `.strict()` is what makes the accepted set closed. Without it zod's default * is to STRIP an unknown key, so a hallucinated or misspelled field is * silently dropped and the edit proceeds against an input nobody wrote. */ declare const inputSchema: z.ZodEffects; old_string: z.ZodOptional; oldStr: z.ZodOptional; new_string: z.ZodOptional; newStr: z.ZodOptional; insertLine: z.ZodOptional>; replace_all: z.ZodOptional; edits: z.ZodOptional; }, "strict", z.ZodTypeAny, { old_string: string; new_string: string; replace_all?: boolean | undefined; }, { old_string: string; new_string: string; replace_all?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }>, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }>, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }>, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }, { path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }>; export type EditInput = z.infer; export declare const EditTool: import("../../types/tool/index.js").ToolDefinition<{ path: string; old_string?: string | undefined; oldStr?: string | undefined; new_string?: string | undefined; newStr?: string | undefined; insertLine?: string | number | undefined; replace_all?: boolean | undefined; edits?: { old_string: string; new_string: string; replace_all?: boolean | undefined; }[] | undefined; }>; export {}; //# sourceMappingURL=edit.d.ts.map