import { type CharRange } from './paint.js'; export type DiffKind = 'same' | 'changed' | 'removed' | 'added' | 'moved'; export interface DiffEntry { readonly kind: DiffKind; readonly before: number | null; readonly after: number | null; readonly beforeRanges?: readonly CharRange[]; readonly afterRanges?: readonly CharRange[]; } export interface MatchBlock { readonly key: string; readonly text: string; readonly formats: readonly string[]; } export declare function matchBlocks(before: readonly MatchBlock[], after: readonly MatchBlock[]): DiffEntry[]; //# sourceMappingURL=match.d.ts.map