import type { Text } from "@earendil-works/pi-tui"; import { type AgentToolResult, type Theme } from "@earendil-works/pi-coding-agent"; type ApplyPatchAffected = { added?: string[]; modified?: string[]; deleted?: string[]; }; type ApplyPatchFileAction = "added" | "modified" | "deleted" | "moved"; type ApplyPatchFile = { action?: ApplyPatchFileAction; path?: string; sourcePath?: string; diff?: string; }; type ApplyPatchDetails = { exitCode?: number; affected?: ApplyPatchAffected; files?: ApplyPatchFile[]; }; export declare function summarizeApplyPatchResult(details: ApplyPatchDetails | undefined): { title: string; suffix?: string; }; export declare function renderApplyPatchResult(theme: Theme, result: AgentToolResult, expanded: boolean): Text; export {}; //# sourceMappingURL=apply-patch.d.ts.map