/** @jsxImportSource @opentui/react */ /** * File-diff UI for tool cards: collapse chips, code rows, single-file and * writeMany previews. Kept separate so tool-card.tsx stays under the line budget. */ import { type ReactNode } from "react"; import type { Theme } from "../../../ui-core/rendering/theme.js"; import type { FileChange } from "../../../tools/file-diff.js"; /** * Hover chip for collapse / collapse-all. Stops propagation so parent * header click does NOT open the file modal. */ export declare function DiffActionButton(props: { label: string; theme: Theme; onClick: () => void; }): ReactNode; export declare function FileDiffBody(props: { changes: readonly FileChange[]; theme: Theme; diffExpanded: boolean; onOpen: (change: FileChange) => void; /** writeMany: multi-file path headers + compact per-file hunks when expanded. */ multiFilePreview?: boolean; }): ReactNode;