export interface WordSegment {
    text: string;
    type: "added" | "removed" | "unchanged";
}
/**
 * Compute word-level diff between two strings.
 * Uses diffWordsWithSpace (not diffWords) so that whitespace/indentation
 * changes are visible — critical for code where indentation is meaningful.
 */
export declare function computeWordDiff(oldLine: string, newLine: string): WordSegment[];
//# sourceMappingURL=word-diff.d.ts.map