export declare function detectLineEnding(content: string): '\r\n' | '\n'; export declare function normalizeToLF(text: string): string; export declare function restoreLineEndings(text: string, ending: '\r\n' | '\n'): string; export declare function normalizeForFuzzyMatch(text: string): string; export interface FuzzyMatchResult { found: boolean; index: number; matchLength: number; usedFuzzyMatch: boolean; originalText: string; matchedText: string; contentForReplacement: string; } export declare function fuzzyFindText(original: string, search: string, options?: { ignoreWhitespace?: boolean; ignoreCase?: boolean; }): FuzzyMatchResult; export declare function stripBom(text: string): string; export declare function generateDiffString(oldText: string, newText: string, filePath: string, options?: { contextLines?: number; }): string;