export interface DiffLine { op: 'add' | 'remove' | 'keep'; val: string; } /** * Shortest Edit Script (SES) using Myers' algorithm. * O((N+M)D) time and space complexity. */ export declare function myersDiff(a: string[], b: string[]): DiffLine[]; /** * Renders a professional ANSI diff between two strings. * Shows contextLines lines of context around changes, * collapses large unchanged blocks with a separator. */ export declare function renderDiff(oldText: string, newText: string, contextLines?: number): string; //# sourceMappingURL=diff.d.ts.map