/** * The text diff `nylorun apply` prints under a plan's change to the instructions (track T7): the * plan carries the instructions before and after (`from`, `to`), and the lines that differ print * as `-` and `+`, without the lines both keep. Pure. */ import type { AgentManifestPlan } from "@nylorun/agents"; /** * The lines that differ between `before` and `after`, in order: `- line` for a removed one and * `+ line` for an added one, with `…` between changes that are apart. A longest common * subsequence of lines, so a moved block shows as removed and added. */ export declare function lineDiff(before: string, after: string): string[]; /** The diff lines to print under one of a plan's changes: the instructions' text, else none. */ export declare function changeDiffLines(change: AgentManifestPlan["changes"][number], indent?: string): string[];