/** * HwpDocument IR → HWPX(OWPML) 패키지 빌더 (스타일 보존 포함). * * - DocInfo 의 fontFaces / charShapes / paraShapes / styles 를 header.xml refList 로 매핑 * - paragraph: paraPrIDRef = paraShapeId, styleIDRef = styleId * - run: charPrIDRef = charShapeId * - 표/이미지 + BinData 패키징 + manifest 등록 * * 1차 포팅 한계: BorderFill/Numbering/TabDef 는 paraShape 의 참조 ID 만 보존하고 * 실제 정의는 default(0) 로 둠. 추후 단계에서 정의 자체도 옮길 예정. */ import type { HwpDocument } from "./types.js"; export interface BuildOptions { title?: string; creator?: string; } export declare function buildHwpxFromDocument(doc: HwpDocument, options?: BuildOptions): Promise; /** HWP ColorRef (u32 LE 의 0xAABBGGRR 형식) → "#RRGGBB" */ export declare function colorBgrToHex(color: number): string;