/** * HTML → HwpDocument IR. * * `htmlparser2` 로 SAX 파싱 → 트리 구축 → IR 변환. * - p, div, h1~h6 → paragraph (heading 은 굵게 + 큰 사이즈) * - strong/b, em/i → 굵게/기울임 run * - br → 줄바꿈 * - ul/ol/li → "- " / "1. " prefix paragraph * - table/thead/tbody/tr/th/td → HwpTableControl * - img → HwpPictureControl (src 가 data: URI 일 때만) * - blockquote → "> " prefix paragraph * - code/pre → 모노스페이스 * - a → 텍스트만 (URL 미보존) * - 기타 (style/script/head 등) → 무시 */ import type { HwpDocument, ConvertOptions } from "./types.js"; export declare function htmlToHwpDocument(html: string, options?: ConvertOptions): HwpDocument;