kordoc 2.5.2 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -2
- package/dist/chunk-5CJGKKMZ.js +266 -0
- package/dist/chunk-5CJGKKMZ.js.map +1 -0
- package/dist/{chunk-24NKFRB4.js → chunk-GNN6MHH4.js} +14 -3
- package/dist/chunk-GNN6MHH4.js.map +1 -0
- package/dist/{chunk-NKKLA43G.js → chunk-LA66FVBN.js} +14 -3
- package/dist/chunk-LA66FVBN.js.map +1 -0
- package/dist/chunk-OBSPVJ6A.js +18947 -0
- package/dist/chunk-OBSPVJ6A.js.map +1 -0
- package/dist/{chunk-Z65OQP3H.cjs → chunk-RFGEEHI4.cjs} +14 -3
- package/dist/{chunk-Z65OQP3H.cjs.map → chunk-RFGEEHI4.cjs.map} +1 -1
- package/dist/cli.js +60 -5
- package/dist/cli.js.map +1 -1
- package/dist/{detect-I7YIS4Q6.js → detect-PJZMUL2Z.js} +6 -2
- package/dist/formula-3AQUUIRF.js +1151 -0
- package/dist/formula-3AQUUIRF.js.map +1 -0
- package/dist/formula-JCNF43NE.js +1153 -0
- package/dist/formula-JCNF43NE.js.map +1 -0
- package/dist/formula-XGG6ZP42.cjs +1151 -0
- package/dist/formula-XGG6ZP42.cjs.map +1 -0
- package/dist/index.cjs +14703 -455
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +73 -2
- package/dist/index.d.ts +73 -2
- package/dist/index.js +14575 -327
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +5 -5
- package/dist/{parser-FRROKAB7.js → parser-5CJGXQCJ.js} +135 -3
- package/dist/parser-5CJGXQCJ.js.map +1 -0
- package/dist/{parser-BQKQOIJU.js → parser-6L6DZCOB.js} +135 -3
- package/dist/parser-6L6DZCOB.js.map +1 -0
- package/dist/{parser-AZYPOKAR.cjs → parser-SRI2TIZX.cjs} +159 -27
- package/dist/{parser-AZYPOKAR.cjs.map → parser-SRI2TIZX.cjs.map} +1 -1
- package/dist/{watch-ZJAUWUAE.js → watch-7CTGUDQB.js} +4 -4
- package/package.json +25 -4
- package/dist/chunk-24NKFRB4.js.map +0 -1
- package/dist/chunk-2CAJSQK5.js +0 -5052
- package/dist/chunk-2CAJSQK5.js.map +0 -1
- package/dist/chunk-M3E3C5GS.js +0 -59
- package/dist/chunk-M3E3C5GS.js.map +0 -1
- package/dist/chunk-NKKLA43G.js.map +0 -1
- package/dist/parser-BQKQOIJU.js.map +0 -1
- package/dist/parser-FRROKAB7.js.map +0 -1
- /package/dist/{detect-I7YIS4Q6.js.map → detect-PJZMUL2Z.js.map} +0 -0
- /package/dist/{watch-ZJAUWUAE.js.map → watch-7CTGUDQB.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -108,6 +108,21 @@ interface ParseOptions {
|
|
|
108
108
|
removeHeaderFooter?: boolean;
|
|
109
109
|
/** 원본 파일 경로 (DRM COM fallback에 필요, 내부 전용) */
|
|
110
110
|
filePath?: string;
|
|
111
|
+
/**
|
|
112
|
+
* PDF 수식 OCR 활성화 (기본 false).
|
|
113
|
+
*
|
|
114
|
+
* 활성화 시 각 PDF 페이지를 이미지로 렌더링 → YOLOv8 기반 수식 영역 검출 →
|
|
115
|
+
* TrOCR 기반 LaTeX 인식. 감지된 수식은 `$...$` (inline) / `$$...$$` (display) 로
|
|
116
|
+
* 블록 텍스트에 삽입된다.
|
|
117
|
+
*
|
|
118
|
+
* 필수 optional 의존성: `onnxruntime-node`, `@huggingface/transformers`,
|
|
119
|
+
* `@hyzyla/pdfium`, `sharp`. 미설치 시 parse 에 실패하지 않고 **경고만** 남기고
|
|
120
|
+
* 수식 인식은 skip 한다 (일반 텍스트 추출은 정상 동작).
|
|
121
|
+
*
|
|
122
|
+
* 모델(~155MB) 은 첫 사용 시 HuggingFace 에서 자동 다운로드 되어
|
|
123
|
+
* `~/.cache/kordoc/models/pix2text/` 에 SHA-256 검증과 함께 저장된다.
|
|
124
|
+
*/
|
|
125
|
+
formulaOcr?: boolean;
|
|
111
126
|
}
|
|
112
127
|
/** 파싱 중 스킵/실패한 요소 보고 */
|
|
113
128
|
interface ParseWarning {
|
|
@@ -127,7 +142,7 @@ interface OutlineItem {
|
|
|
127
142
|
}
|
|
128
143
|
/** 구조화된 에러 코드 — 프로그래밍적 에러 핸들링용 */
|
|
129
144
|
type ErrorCode = "EMPTY_INPUT" | "UNSUPPORTED_FORMAT" | "ENCRYPTED" | "DRM_PROTECTED" | "CORRUPTED" | "DECOMPRESSION_BOMB" | "ZIP_BOMB" | "IMAGE_BASED_PDF" | "NO_SECTIONS" | "PARSE_ERROR" | "MISSING_DEPENDENCY";
|
|
130
|
-
type FileType = "hwpx" | "hwp" | "hwpml" | "pdf" | "xlsx" | "docx" | "unknown";
|
|
145
|
+
type FileType = "hwpx" | "hwp" | "hwp3" | "hwpml" | "pdf" | "xlsx" | "xls" | "docx" | "unknown";
|
|
131
146
|
interface ParseResultBase {
|
|
132
147
|
fileType: FileType;
|
|
133
148
|
/** 페이지/섹션 수 — PDF: 실제 페이지 수, HWP/HWPX: 섹션 수, XLSX: 시트 수 */
|
|
@@ -305,6 +320,51 @@ declare function fillHwpx(hwpxBuffer: ArrayBuffer, values: Record<string, string
|
|
|
305
320
|
*/
|
|
306
321
|
declare function markdownToHwpx(markdown: string): Promise<ArrayBuffer>;
|
|
307
322
|
|
|
323
|
+
/**
|
|
324
|
+
* Print Renderer — Markdown / IRBlock[] → PDF (puppeteer-core 기반).
|
|
325
|
+
*
|
|
326
|
+
* 흐름:
|
|
327
|
+
* blocks → markdown (blocksToMarkdown)
|
|
328
|
+
* markdown → HTML (markdown-it)
|
|
329
|
+
* HTML + 프리셋 CSS → PDF (puppeteer-core)
|
|
330
|
+
*
|
|
331
|
+
* puppeteer-core는 optional peer dep. 미설치 시 markdownToPdf는 명확한 에러를 던지지만
|
|
332
|
+
* `renderHtml()`은 항상 동작 (외부 PDF 엔진과 결합용).
|
|
333
|
+
*
|
|
334
|
+
* 참조: docs/SPEC.md §1.3
|
|
335
|
+
*/
|
|
336
|
+
|
|
337
|
+
type PrintPreset = "default" | "gov-formal" | "compact";
|
|
338
|
+
interface PageMargin {
|
|
339
|
+
top: string | number;
|
|
340
|
+
right: string | number;
|
|
341
|
+
bottom: string | number;
|
|
342
|
+
left: string | number;
|
|
343
|
+
}
|
|
344
|
+
interface PrintOptions {
|
|
345
|
+
preset?: PrintPreset;
|
|
346
|
+
pageSize?: "A4" | "Letter";
|
|
347
|
+
orientation?: "portrait" | "landscape";
|
|
348
|
+
margin?: PageMargin;
|
|
349
|
+
/** 페이지 머리글 (HTML 허용, gov-formal 프리셋에서 자동 표시) */
|
|
350
|
+
header?: string;
|
|
351
|
+
/** 페이지 바닥글 (HTML 허용) */
|
|
352
|
+
footer?: string;
|
|
353
|
+
/** 워터마크 텍스트 (대각선 회색) */
|
|
354
|
+
watermark?: string;
|
|
355
|
+
/** 사용자 정의 추가 CSS */
|
|
356
|
+
extraCss?: string;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Markdown 또는 IRBlock[] → HTML 문자열.
|
|
360
|
+
* 외부 PDF 엔진(weasyprint, wkhtmltopdf 등)과 결합 가능.
|
|
361
|
+
*/
|
|
362
|
+
declare function renderHtml(markdown: string, options?: PrintOptions): string;
|
|
363
|
+
/** Markdown → PDF (Buffer). */
|
|
364
|
+
declare function markdownToPdf(markdown: string, options?: PrintOptions): Promise<Buffer>;
|
|
365
|
+
/** IRBlock[] → PDF (Buffer). */
|
|
366
|
+
declare function blocksToPdf(blocks: IRBlock[], options?: PrintOptions): Promise<Buffer>;
|
|
367
|
+
|
|
308
368
|
/** 매직 바이트 기반 파일 포맷 감지 */
|
|
309
369
|
|
|
310
370
|
/** ZIP 파일 여부: PK\x03\x04 */
|
|
@@ -317,6 +377,13 @@ declare function isOldHwpFile(buffer: ArrayBuffer): boolean;
|
|
|
317
377
|
declare function isPdfFile(buffer: ArrayBuffer): boolean;
|
|
318
378
|
/** 동기 포맷 감지 — ZIP은 모두 "hwpx"로 반환 (하위 호환) */
|
|
319
379
|
declare function detectFormat(buffer: ArrayBuffer): FileType;
|
|
380
|
+
/**
|
|
381
|
+
* OLE2 컨테이너 내부 스트림 기반 포맷 세분화.
|
|
382
|
+
* HWP 5.x, XLS 모두 OLE2이므로 스트림 이름으로 구분.
|
|
383
|
+
* - "Workbook" 또는 "Book" → 'xls'
|
|
384
|
+
* - 그 외 (FileHeader 등) → 'hwp'
|
|
385
|
+
*/
|
|
386
|
+
declare function detectOle2Format(buffer: ArrayBuffer): "hwp" | "xls" | "unknown";
|
|
320
387
|
/**
|
|
321
388
|
* ZIP 내부 구조 기반 포맷 세분화.
|
|
322
389
|
* HWPX, XLSX, DOCX 모두 ZIP이므로 내부 파일로 구분.
|
|
@@ -343,6 +410,8 @@ declare const VERSION: string;
|
|
|
343
410
|
* ```
|
|
344
411
|
*/
|
|
345
412
|
declare function parse(input: string | ArrayBuffer | Buffer, options?: ParseOptions): Promise<ParseResult>;
|
|
413
|
+
/** HWP 3.x (구버전 한컴 워드프로세서) 파일을 Markdown 으로 변환. */
|
|
414
|
+
declare function parseHwp3(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
346
415
|
/** HWPX 파일을 Markdown으로 변환 */
|
|
347
416
|
declare function parseHwpx(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
348
417
|
/** HWP 5.x 바이너리 파일을 Markdown으로 변환 */
|
|
@@ -351,6 +420,8 @@ declare function parseHwp(buffer: ArrayBuffer, options?: ParseOptions): Promise<
|
|
|
351
420
|
declare function parsePdf(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
352
421
|
/** XLSX 파일을 Markdown으로 변환 */
|
|
353
422
|
declare function parseXlsx(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
423
|
+
/** XLS (Excel 97-2003) 파일을 Markdown으로 변환 */
|
|
424
|
+
declare function parseXls(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
354
425
|
/** DOCX 파일을 Markdown으로 변환 */
|
|
355
426
|
declare function parseDocx(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
356
427
|
/** HWPML (XML 기반 한컴 문서) 파일을 Markdown으로 변환 */
|
|
@@ -394,4 +465,4 @@ interface FillFormOutput {
|
|
|
394
465
|
*/
|
|
395
466
|
declare function fillForm(input: string | ArrayBuffer | Buffer, values: Record<string, string>, outputFormat?: FillOutputFormat): Promise<FillFormOutput>;
|
|
396
467
|
|
|
397
|
-
export { type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillOutputFormat, type FillResult, type FormField, type FormResult, type HwpxFillResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type OcrProvider, type OutlineItem, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, compare, detectFormat, detectZipFormat, diffBlocks, extractFormFields, fillForm, fillFormFields, fillHwpx, isHwpxFile, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, parse, parseDocx, parseHwp, parseHwpml, parseHwpx, parsePdf, parseXlsx };
|
|
468
|
+
export { type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillOutputFormat, type FillResult, type FormField, type FormResult, type HwpxFillResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type OcrProvider, type OutlineItem, type PageMargin, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type PrintOptions, type PrintPreset, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, blocksToPdf, compare, detectFormat, detectOle2Format, detectZipFormat, diffBlocks, extractFormFields, fillForm, fillFormFields, fillHwpx, isHwpxFile, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, markdownToPdf, parse, parseDocx, parseHwp, parseHwp3, parseHwpml, parseHwpx, parsePdf, parseXls, parseXlsx, renderHtml };
|
package/dist/index.d.ts
CHANGED
|
@@ -108,6 +108,21 @@ interface ParseOptions {
|
|
|
108
108
|
removeHeaderFooter?: boolean;
|
|
109
109
|
/** 원본 파일 경로 (DRM COM fallback에 필요, 내부 전용) */
|
|
110
110
|
filePath?: string;
|
|
111
|
+
/**
|
|
112
|
+
* PDF 수식 OCR 활성화 (기본 false).
|
|
113
|
+
*
|
|
114
|
+
* 활성화 시 각 PDF 페이지를 이미지로 렌더링 → YOLOv8 기반 수식 영역 검출 →
|
|
115
|
+
* TrOCR 기반 LaTeX 인식. 감지된 수식은 `$...$` (inline) / `$$...$$` (display) 로
|
|
116
|
+
* 블록 텍스트에 삽입된다.
|
|
117
|
+
*
|
|
118
|
+
* 필수 optional 의존성: `onnxruntime-node`, `@huggingface/transformers`,
|
|
119
|
+
* `@hyzyla/pdfium`, `sharp`. 미설치 시 parse 에 실패하지 않고 **경고만** 남기고
|
|
120
|
+
* 수식 인식은 skip 한다 (일반 텍스트 추출은 정상 동작).
|
|
121
|
+
*
|
|
122
|
+
* 모델(~155MB) 은 첫 사용 시 HuggingFace 에서 자동 다운로드 되어
|
|
123
|
+
* `~/.cache/kordoc/models/pix2text/` 에 SHA-256 검증과 함께 저장된다.
|
|
124
|
+
*/
|
|
125
|
+
formulaOcr?: boolean;
|
|
111
126
|
}
|
|
112
127
|
/** 파싱 중 스킵/실패한 요소 보고 */
|
|
113
128
|
interface ParseWarning {
|
|
@@ -127,7 +142,7 @@ interface OutlineItem {
|
|
|
127
142
|
}
|
|
128
143
|
/** 구조화된 에러 코드 — 프로그래밍적 에러 핸들링용 */
|
|
129
144
|
type ErrorCode = "EMPTY_INPUT" | "UNSUPPORTED_FORMAT" | "ENCRYPTED" | "DRM_PROTECTED" | "CORRUPTED" | "DECOMPRESSION_BOMB" | "ZIP_BOMB" | "IMAGE_BASED_PDF" | "NO_SECTIONS" | "PARSE_ERROR" | "MISSING_DEPENDENCY";
|
|
130
|
-
type FileType = "hwpx" | "hwp" | "hwpml" | "pdf" | "xlsx" | "docx" | "unknown";
|
|
145
|
+
type FileType = "hwpx" | "hwp" | "hwp3" | "hwpml" | "pdf" | "xlsx" | "xls" | "docx" | "unknown";
|
|
131
146
|
interface ParseResultBase {
|
|
132
147
|
fileType: FileType;
|
|
133
148
|
/** 페이지/섹션 수 — PDF: 실제 페이지 수, HWP/HWPX: 섹션 수, XLSX: 시트 수 */
|
|
@@ -305,6 +320,51 @@ declare function fillHwpx(hwpxBuffer: ArrayBuffer, values: Record<string, string
|
|
|
305
320
|
*/
|
|
306
321
|
declare function markdownToHwpx(markdown: string): Promise<ArrayBuffer>;
|
|
307
322
|
|
|
323
|
+
/**
|
|
324
|
+
* Print Renderer — Markdown / IRBlock[] → PDF (puppeteer-core 기반).
|
|
325
|
+
*
|
|
326
|
+
* 흐름:
|
|
327
|
+
* blocks → markdown (blocksToMarkdown)
|
|
328
|
+
* markdown → HTML (markdown-it)
|
|
329
|
+
* HTML + 프리셋 CSS → PDF (puppeteer-core)
|
|
330
|
+
*
|
|
331
|
+
* puppeteer-core는 optional peer dep. 미설치 시 markdownToPdf는 명확한 에러를 던지지만
|
|
332
|
+
* `renderHtml()`은 항상 동작 (외부 PDF 엔진과 결합용).
|
|
333
|
+
*
|
|
334
|
+
* 참조: docs/SPEC.md §1.3
|
|
335
|
+
*/
|
|
336
|
+
|
|
337
|
+
type PrintPreset = "default" | "gov-formal" | "compact";
|
|
338
|
+
interface PageMargin {
|
|
339
|
+
top: string | number;
|
|
340
|
+
right: string | number;
|
|
341
|
+
bottom: string | number;
|
|
342
|
+
left: string | number;
|
|
343
|
+
}
|
|
344
|
+
interface PrintOptions {
|
|
345
|
+
preset?: PrintPreset;
|
|
346
|
+
pageSize?: "A4" | "Letter";
|
|
347
|
+
orientation?: "portrait" | "landscape";
|
|
348
|
+
margin?: PageMargin;
|
|
349
|
+
/** 페이지 머리글 (HTML 허용, gov-formal 프리셋에서 자동 표시) */
|
|
350
|
+
header?: string;
|
|
351
|
+
/** 페이지 바닥글 (HTML 허용) */
|
|
352
|
+
footer?: string;
|
|
353
|
+
/** 워터마크 텍스트 (대각선 회색) */
|
|
354
|
+
watermark?: string;
|
|
355
|
+
/** 사용자 정의 추가 CSS */
|
|
356
|
+
extraCss?: string;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Markdown 또는 IRBlock[] → HTML 문자열.
|
|
360
|
+
* 외부 PDF 엔진(weasyprint, wkhtmltopdf 등)과 결합 가능.
|
|
361
|
+
*/
|
|
362
|
+
declare function renderHtml(markdown: string, options?: PrintOptions): string;
|
|
363
|
+
/** Markdown → PDF (Buffer). */
|
|
364
|
+
declare function markdownToPdf(markdown: string, options?: PrintOptions): Promise<Buffer>;
|
|
365
|
+
/** IRBlock[] → PDF (Buffer). */
|
|
366
|
+
declare function blocksToPdf(blocks: IRBlock[], options?: PrintOptions): Promise<Buffer>;
|
|
367
|
+
|
|
308
368
|
/** 매직 바이트 기반 파일 포맷 감지 */
|
|
309
369
|
|
|
310
370
|
/** ZIP 파일 여부: PK\x03\x04 */
|
|
@@ -317,6 +377,13 @@ declare function isOldHwpFile(buffer: ArrayBuffer): boolean;
|
|
|
317
377
|
declare function isPdfFile(buffer: ArrayBuffer): boolean;
|
|
318
378
|
/** 동기 포맷 감지 — ZIP은 모두 "hwpx"로 반환 (하위 호환) */
|
|
319
379
|
declare function detectFormat(buffer: ArrayBuffer): FileType;
|
|
380
|
+
/**
|
|
381
|
+
* OLE2 컨테이너 내부 스트림 기반 포맷 세분화.
|
|
382
|
+
* HWP 5.x, XLS 모두 OLE2이므로 스트림 이름으로 구분.
|
|
383
|
+
* - "Workbook" 또는 "Book" → 'xls'
|
|
384
|
+
* - 그 외 (FileHeader 등) → 'hwp'
|
|
385
|
+
*/
|
|
386
|
+
declare function detectOle2Format(buffer: ArrayBuffer): "hwp" | "xls" | "unknown";
|
|
320
387
|
/**
|
|
321
388
|
* ZIP 내부 구조 기반 포맷 세분화.
|
|
322
389
|
* HWPX, XLSX, DOCX 모두 ZIP이므로 내부 파일로 구분.
|
|
@@ -343,6 +410,8 @@ declare const VERSION: string;
|
|
|
343
410
|
* ```
|
|
344
411
|
*/
|
|
345
412
|
declare function parse(input: string | ArrayBuffer | Buffer, options?: ParseOptions): Promise<ParseResult>;
|
|
413
|
+
/** HWP 3.x (구버전 한컴 워드프로세서) 파일을 Markdown 으로 변환. */
|
|
414
|
+
declare function parseHwp3(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
346
415
|
/** HWPX 파일을 Markdown으로 변환 */
|
|
347
416
|
declare function parseHwpx(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
348
417
|
/** HWP 5.x 바이너리 파일을 Markdown으로 변환 */
|
|
@@ -351,6 +420,8 @@ declare function parseHwp(buffer: ArrayBuffer, options?: ParseOptions): Promise<
|
|
|
351
420
|
declare function parsePdf(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
352
421
|
/** XLSX 파일을 Markdown으로 변환 */
|
|
353
422
|
declare function parseXlsx(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
423
|
+
/** XLS (Excel 97-2003) 파일을 Markdown으로 변환 */
|
|
424
|
+
declare function parseXls(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
354
425
|
/** DOCX 파일을 Markdown으로 변환 */
|
|
355
426
|
declare function parseDocx(buffer: ArrayBuffer, options?: ParseOptions): Promise<ParseResult>;
|
|
356
427
|
/** HWPML (XML 기반 한컴 문서) 파일을 Markdown으로 변환 */
|
|
@@ -394,4 +465,4 @@ interface FillFormOutput {
|
|
|
394
465
|
*/
|
|
395
466
|
declare function fillForm(input: string | ArrayBuffer | Buffer, values: Record<string, string>, outputFormat?: FillOutputFormat): Promise<FillFormOutput>;
|
|
396
467
|
|
|
397
|
-
export { type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillOutputFormat, type FillResult, type FormField, type FormResult, type HwpxFillResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type OcrProvider, type OutlineItem, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, compare, detectFormat, detectZipFormat, diffBlocks, extractFormFields, fillForm, fillFormFields, fillHwpx, isHwpxFile, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, parse, parseDocx, parseHwp, parseHwpml, parseHwpx, parsePdf, parseXlsx };
|
|
468
|
+
export { type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillOutputFormat, type FillResult, type FormField, type FormResult, type HwpxFillResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type OcrProvider, type OutlineItem, type PageMargin, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type PrintOptions, type PrintPreset, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, blocksToPdf, compare, detectFormat, detectOle2Format, detectZipFormat, diffBlocks, extractFormFields, fillForm, fillFormFields, fillHwpx, isHwpxFile, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, markdownToPdf, parse, parseDocx, parseHwp, parseHwp3, parseHwpml, parseHwpx, parsePdf, parseXls, parseXlsx, renderHtml };
|