import type { GitFileDiff } from "@opengeni/sdk"; /** * Reconstruct a unified-diff patch string for a single `GitFileDiff` so it can * be fed to a generic patch renderer (e.g. Pierre's `PatchDiff`). The hook * already carries per-line old/new numbers and a hunk header, so we emit a * conventional `--- / +++ / @@` patch the parser understands. */ export declare function gitFileDiffToPatch(file: GitFileDiff): string;