import type { HwpxDocumentInfo, HwpxReaderApi as HwpxReaderInterface, HwpxTextExtractOptions, HwpxHtmlOptions } from "./types.js"; export declare class HwpxReader implements HwpxReaderInterface { private zip; private files; private encryptedCache; private characterProperties; private fontFaces; loadFromArrayBuffer(buffer: ArrayBuffer): Promise; private isLikelyHwpxMime; private getTextFile; private findFilePathIgnoreCase; private parseXml; private summarizePackage; private getSectionPathsBySpine; private detectEncryption; private containsEncryptionMarker; private readMetadata; getDocumentInfo(): Promise; extractText(options?: HwpxTextExtractOptions): Promise; /** * 한 문단()에서 텍스트를 추출. 표/이미지 등 인라인 컨트롤이 있으면 셀/내부 문단을 재귀 탐색. * * 표는 셀 단위로 텍스트를 모은 후 같은 행 내 셀은 공백으로, 행 사이는 줄바꿈으로 결합한다. */ private extractParagraphText; private extractTableText; private extractCellText; /** * 문서 전체를 Markdown 으로 변환. * 표는 마크다운 표 (셀 병합은 평탄화), 이미지는 `![](BinData/...)`. */ extractMarkdown(options?: { embedImages?: boolean; imageSrcResolver?: (binPath: string) => string; }): Promise; private extractParagraphMarkdown; private extractTableMarkdown; applyTemplateToText(raw: string, data: Record): string; extractHtml(options?: HwpxHtmlOptions): Promise; private collectTablesInParagraph; private renderTableHtml; private renderCellContentHtml; private getAlignStyle; private renderNodeToHtml; private collectAllText; private renderRunToHtml; private findBinRefInRun; private resolveBinaryPath; private normalizeColor; private normalizeSize; private convertHwpUnitToPoints; private parseStyleDefinitions; private processCharacterProperties; private detectMimeType; private toBase64; private extractTextFromNode; private escapeHtml; listImages(): Promise; } export default HwpxReader;