export type DiffOp = { type: 'no_change'; } | { type: 'update_line'; line: number; content: string; } | { type: 'delete_line'; line: number; } | { type: 'insert_line'; line: number; content: string; }; /** * Diff two frames to generate minimal update operations. * * Strategy: * - If only a small continuous region of a line changes, use partial update * - If multiple regions change or changes are scattered, redraw the whole line * - When lines are deleted, all lines below need to be redrawn (reflow) */ export declare function diffFrames(prev: string[], curr: string[]): DiffOp[]; //# sourceMappingURL=diff.d.ts.map