export type PatchAction = { action: "replace"; file: string; search_block: string; replace_block: string; } | { action: "create"; file: string; content: string; } | { action: "delete"; file: string; }; export type PatchFormat = "search_replace" | "file_writes"; export interface PatchPayload { patches: PatchAction[]; } export declare const PATCHES_ARRAY_MISSING_ERROR = "Patch payload is missing required 'patches' array"; export declare const PATCHES_ARRAY_TYPE_ERROR = "Patch payload field 'patches' must be an array"; export declare const PATCHES_ARRAY_EMPTY_ERROR = "Patch payload includes empty patches array"; export declare const FILES_ARRAY_MISSING_ERROR = "Patch payload is missing required 'files' array"; export declare const FILES_ARRAY_TYPE_ERROR = "Patch payload field 'files' must be an array"; export declare const FILES_ARRAY_EMPTY_ERROR = "Patch payload includes empty files array"; export declare const parsePatchOutput: (content: string, format?: PatchFormat) => PatchPayload; //# sourceMappingURL=BuilderOutputParser.d.ts.map