import { t } from "structural"; import * as toolMap from "./tools/tool-defs/index.ts"; type DiffEdit = t.GetType; export declare const DiffApplySuccess: t.Struct<{ success: t.Value; search: t.TypeOf; }>; export declare const DiffApplyFailure: t.Struct<{ success: t.Value; }>; export declare const DiffApplyResponse: t.Type; search: t.TypeOf; }> | t.UnwrappedTypeStruct<{ success: t.Value; }>>; export declare function fixEditPrompt(brokenEdit: { file: string; edit: DiffEdit; }): string; export declare const JsonFixSuccess: t.Struct<{ success: t.Value; fixed: t.Type; }>; export declare const JsonFixFailure: t.Struct<{ success: t.Value; }>; export declare const JsonFixResponse: t.Type; fixed: t.Type; }> | t.UnwrappedTypeStruct<{ success: t.Value; }>>; export declare function fixJsonPrompt(str: string): string; export {};