/** * Codex edits files through `apply_patch`, whose input is its own patch * dialect: one `*** Begin Patch` block holding `*** Add File:`, * `*** Update File:` (optionally followed by `*** Move to:`) and * `*** Delete File:` sections. Update sections carry hunks that are already * diff-shaped, so the text the judge sees is the section itself. */ export type PatchedFile = { kind: "add"; path: string; text: string; } | { kind: "update"; path: string; text: string; movedTo?: string; } | { kind: "delete"; path: string; }; export declare const parseApplyPatch: (command: string) => PatchedFile[]; //# sourceMappingURL=applyPatch.d.ts.map