import type { FileChange } from "../../tools/file-diff.js"; import { type ToolItem } from "../../ui-core/state/transcript-types.js"; import { type BlockContext } from "./block-context.js"; /** Preview caps already defined by the OpenTUI diff card; reused verbatim. */ export declare const SINGLE_FILE_PREVIEW_ROWS = 40; export declare const WRITE_MANY_PREVIEW_ROWS = 8; /** `gutter(4) + space + marker + two spaces`. */ export declare const DIFF_CODE_COLUMN: number; export declare function diffStatsSuffix(ctx: BlockContext, change: FileChange): string; export declare function diffTitleLine(ctx: BlockContext, item: ToolItem, change: FileChange | undefined): string; /** Below 68 columns the +N/−N counters move to their own row. */ export declare function diffStatsRow(ctx: BlockContext, change: FileChange): string | undefined; export declare function buildDiffLines(ctx: BlockContext, item: ToolItem): string[];