/**
 * Whitespace / range helpers shared by the XML and text tool-call parsers.
 * Kept dependency-free so both parsers can import it without a cycle
 * (tool-parser already imports xml-parser).
 */
/**
 * Normalize whitespace artifacts left after stripping tool calls: trailing
 * spaces, runs of spaces mid-line, whitespace-only lines, and 3+ blank lines.
 */
export declare function normalizeWhitespace(content: string): string;
/**
 * Remove the given `[start, end)` ranges from content. Splices from the end
 * (ranges sorted descending) so each removal leaves earlier offsets valid.
 */
export declare function removeRanges(content: string, ranges: Array<[number, number]>): string;
//# sourceMappingURL=whitespace.d.ts.map