export interface TextEdit { start: number; end: number; newText: string; } /** * Applies a sequence of text edits to a source string. * * @param source - The original source string * @param edits - Array of text edits to apply * @returns The modified source string with all edits applied */ export declare function applyTextEdits(source: string, edits: TextEdit[], sorted?: boolean): string;