/** * Line-by-line diff computation for React Native * * Provides utilities for computing line-by-line diffs between objects, * with support for word-level highlighting and various comparison methods. */ export declare enum DiffType { DEFAULT = "unchanged", ADDED = "added", REMOVED = "removed", MODIFIED = "modified" } export interface WordDiff { value: string; type: DiffType; } export interface LineDiffInfo { leftLineNumber?: number; rightLineNumber?: number; type: DiffType; leftContent?: string | WordDiff[]; rightContent?: string | WordDiff[]; leftRaw?: string; rightRaw?: string; } export interface DiffComputeOptions { compareMethod?: "chars" | "words" | "lines" | "trimmedLines"; disableWordDiff?: boolean; showDiffOnly?: boolean; contextLines?: number; } /** * Compute line-by-line diff between two objects */ export declare function computeLineDiff(oldValue: unknown, newValue: unknown, options?: DiffComputeOptions): LineDiffInfo[]; //# sourceMappingURL=lineDiff.d.ts.map