/** * Text edit application and fix orchestration. */ export interface TextEdit { range: { start: { line: number; character: number; }; end: { line: number; character: number; }; }; newText: string; } export declare function applyEdits(content: string, edits: TextEdit[]): string; export interface FixResult { initial: number; remaining: number; } export declare function fixFile(filePath: string, initialDiags: any[], fileContents: Map, version: Map, onPass?: (pass: number) => void, timeoutMs?: number): Promise;