/** * SplitDiffViewer * * A line-by-line split diff viewer for comparing two values. * Shows PREV on the left and CUR on the right with word-level highlighting. * This is a dumb component - all state is controlled externally. */ import React from "react"; import { DiffTheme } from "./diffThemes"; export interface SplitDiffViewerOptions { /** Hide line numbers */ hideLineNumbers?: boolean; /** Disable word-level diff highlighting */ disableWordDiff?: boolean; /** Only show changed lines with context */ showDiffOnly?: boolean; /** Comparison method */ compareMethod?: "chars" | "words" | "lines" | "trimmedLines"; /** Number of context lines when showDiffOnly is true */ contextLines?: number; } export interface SplitDiffViewerProps { /** Old (previous) value to compare */ oldValue: unknown; /** New (current) value to compare */ newValue: unknown; /** Theme for styling (defaults to devToolsDefault) */ theme?: DiffTheme; /** Diff options */ options?: SplitDiffViewerOptions; /** Show theme name badge */ showThemeName?: boolean; /** Fixed height (defaults to 400) */ height?: number; } /** * SplitDiffViewer displays a side-by-side diff comparison. */ export declare const SplitDiffViewer: React.NamedExoticComponent; //# sourceMappingURL=SplitDiffViewer.d.ts.map