/** * HTML to text parser — converts HTML to readable plain text without external dependencies. * Used internally by the web_fetch tool to extract readable content from web pages. */ /** * Convert HTML to readable plain text. * - Strips HTML tags * - Converts HTML entities (& < > "   &#NNN; &#xHHH;) * - Preserves paragraph breaks * - Removes script, style, nav, footer, header blocks entirely * - Extracts title separately * - Collapses multiple blank lines * - Trims whitespace * * @param html - Raw HTML string * @returns Plain text with preserved structure */ export declare function htmlToText(html: string): string;