import { JsonToToonOptions } from './core.js'; export declare function htmlToToon(html: string, options?: JsonToToonOptions): string; type HtmlJsonNode = { tag?: string; text?: string; children?: HtmlJsonNode[]; attrs?: Record; }; /** * Parse HTML into a simplified JSON structure (used for edge-case tests). * Throws when tags are unbalanced (very lightweight validation). */ export declare function htmlToJson(html: string, options?: { maxInputLength?: number; }): { children: HtmlJsonNode[]; }; export {}; //# sourceMappingURL=html.d.ts.map