/** * HwpDocument IR → HWPX/Text 변환기. * * - hwpToText: 모든 섹션의 문단 텍스트를 평탄화 (표 셀, 헤더/푸터 등 포함). * - hwpToHwpx: hwpxBuilder 로 풍부한 HWPX 패키지 생성 (표/이미지 포함). */ import { hwpDocumentToMarkdown, type MarkdownWriteOptions } from "./mdWriter.js"; import { markdownToHwpDocument } from "./mdReader.js"; import { htmlToHwpDocument } from "./htmlReader.js"; import type { HwpDocument } from "./types.js"; export { hwpDocumentToMarkdown, markdownToHwpDocument, htmlToHwpDocument }; export type { MarkdownWriteOptions }; export interface HwpToTextOptions { paragraphSeparator?: string; sectionSeparator?: string; } export declare function hwpDocumentToText(doc: HwpDocument, options?: HwpToTextOptions): string; export interface HwpToHwpxOptions { title?: string; creator?: string; } export declare function hwpDocumentToHwpx(doc: HwpDocument, options?: HwpToHwpxOptions): Promise;