/** * diff — compares two Frames and emits the MINIMAL set of changes, as runs * (contiguous segments) per changed line. A pure function (ADR-0001). */ import type { Cell, Frame, Size } from '../frame/index.js'; export interface Run { readonly x: number; readonly cells: readonly Cell[]; } export interface LinePatch { readonly y: number; readonly runs: readonly Run[]; } export interface Patch { readonly size: Size; readonly lines: readonly LinePatch[]; readonly isEmpty: boolean; } export interface DifferOptions { readonly minGap?: number; } export interface Differ { diff(prev: Frame, next: Frame): Patch; } export declare function createDiffer(options?: DifferOptions): Differ; //# sourceMappingURL=index.d.ts.map