@clazic/kordoc 2.5.2 → 2.6.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 +29 -1
- package/dist/{chunk-5CILZHRW.js → chunk-4X5JCZFZ.js} +2 -2
- package/dist/{chunk-25ZYYLVP.js → chunk-BZPZXI66.js} +441 -6
- package/dist/chunk-BZPZXI66.js.map +1 -0
- package/dist/cli.js +87 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +649 -157
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +127 -2
- package/dist/index.d.ts +127 -2
- package/dist/index.js +639 -150
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +43 -2
- package/dist/mcp.js.map +1 -1
- package/dist/{utils-H2BL5GNR.js → utils-56QT5C33.js} +2 -2
- package/dist/{watch-D6ODQLPJ.js → watch-HRNMJWSE.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-25ZYYLVP.js.map +0 -1
- /package/dist/{chunk-5CILZHRW.js.map → chunk-4X5JCZFZ.js.map} +0 -0
- /package/dist/{utils-H2BL5GNR.js.map → utils-56QT5C33.js.map} +0 -0
- /package/dist/{watch-D6ODQLPJ.js.map → watch-HRNMJWSE.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -154,7 +154,7 @@ interface OutlineItem {
|
|
|
154
154
|
pageNumber?: number;
|
|
155
155
|
}
|
|
156
156
|
/** 구조화된 에러 코드 — 프로그래밍적 에러 핸들링용 */
|
|
157
|
-
type ErrorCode = "EMPTY_INPUT" | "UNSUPPORTED_FORMAT" | "ENCRYPTED" | "DRM_PROTECTED" | "CORRUPTED" | "DECOMPRESSION_BOMB" | "ZIP_BOMB" | "IMAGE_BASED_PDF" | "NO_SECTIONS" | "PARSE_ERROR" | "FILE_TOO_LARGE";
|
|
157
|
+
type ErrorCode = "EMPTY_INPUT" | "UNSUPPORTED_FORMAT" | "ENCRYPTED" | "DRM_PROTECTED" | "CORRUPTED" | "DECOMPRESSION_BOMB" | "ZIP_BOMB" | "IMAGE_BASED_PDF" | "NO_SECTIONS" | "PARSE_ERROR" | "FILE_TOO_LARGE" | "CONVERT_FAILED" | "TIMEOUT" | "SOFFICE_NOT_FOUND" | "UNSUPPORTED_PLATFORM";
|
|
158
158
|
type FileType = "hwpx" | "hwp" | "pdf" | "xlsx" | "docx" | "image" | "unknown";
|
|
159
159
|
interface ParseResultBase {
|
|
160
160
|
fileType: FileType;
|
|
@@ -251,6 +251,105 @@ interface WatchOptions {
|
|
|
251
251
|
pages?: string;
|
|
252
252
|
silent?: boolean;
|
|
253
253
|
}
|
|
254
|
+
/** 포맷 감지 단계 이벤트 */
|
|
255
|
+
interface ConvertDetectEvent {
|
|
256
|
+
type: "detect";
|
|
257
|
+
stage: "reading" | "format_detected" | "size_check";
|
|
258
|
+
message: string;
|
|
259
|
+
fileSize?: number;
|
|
260
|
+
format?: "hwp" | "hwpx";
|
|
261
|
+
}
|
|
262
|
+
/** 환경 검증 단계 이벤트 */
|
|
263
|
+
interface ConvertValidateEvent {
|
|
264
|
+
type: "validate";
|
|
265
|
+
stage: "soffice_check" | "soffice_found" | "soffice_not_found";
|
|
266
|
+
message: string;
|
|
267
|
+
sofficePath?: string;
|
|
268
|
+
}
|
|
269
|
+
/** 설치 단계 이벤트 */
|
|
270
|
+
interface ConvertInstallEvent {
|
|
271
|
+
type: "install";
|
|
272
|
+
stage: "install_start" | "download_progress" | "extract_progress" | "install_complete" | "install_failed";
|
|
273
|
+
message: string;
|
|
274
|
+
percent?: number;
|
|
275
|
+
downloadedBytes?: number;
|
|
276
|
+
totalBytes?: number;
|
|
277
|
+
installedPath?: string;
|
|
278
|
+
error?: string;
|
|
279
|
+
}
|
|
280
|
+
/** 변환 진행 이벤트 */
|
|
281
|
+
interface ConvertProgressEvent {
|
|
282
|
+
type: "convert";
|
|
283
|
+
stage: "convert_start" | "convert_progress" | "convert_done";
|
|
284
|
+
message: string;
|
|
285
|
+
percent: number;
|
|
286
|
+
}
|
|
287
|
+
/** 변환 완료 이벤트 */
|
|
288
|
+
interface ConvertCompleteEvent {
|
|
289
|
+
type: "complete";
|
|
290
|
+
stage: "success";
|
|
291
|
+
message: string;
|
|
292
|
+
result: {
|
|
293
|
+
sourceFormat: "hwp" | "hwpx";
|
|
294
|
+
pdfSize: number;
|
|
295
|
+
pageCount?: number;
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
/** 에러 이벤트 */
|
|
299
|
+
interface ConvertErrorEvent {
|
|
300
|
+
type: "error";
|
|
301
|
+
stage: "detect" | "validate" | "install" | "convert";
|
|
302
|
+
message: string;
|
|
303
|
+
code: ErrorCode;
|
|
304
|
+
recoverable: boolean;
|
|
305
|
+
suggestion?: string;
|
|
306
|
+
}
|
|
307
|
+
/** convertToPdf()에서 발생하는 모든 이벤트 */
|
|
308
|
+
type ConvertEvent = ConvertDetectEvent | ConvertValidateEvent | ConvertInstallEvent | ConvertProgressEvent | ConvertCompleteEvent | ConvertErrorEvent;
|
|
309
|
+
/** HWP/HWPX → PDF 변환 옵션 */
|
|
310
|
+
interface ConvertToPdfOptions {
|
|
311
|
+
/** 페이지 범위 ("1-3,5,7-10") — LibreOffice 필터가 지원하는 경우 */
|
|
312
|
+
pages?: string;
|
|
313
|
+
/** 품질/압축 설정 (미래 확장) */
|
|
314
|
+
quality?: "low" | "medium" | "high";
|
|
315
|
+
/** 타임아웃 (ms, 기본 60000) */
|
|
316
|
+
timeoutMs?: number;
|
|
317
|
+
/**
|
|
318
|
+
* 진행 상황 콜백 (deprecated — onEvent 사용 권장)
|
|
319
|
+
* @deprecated onEvent를 사용하세요
|
|
320
|
+
*/
|
|
321
|
+
onProgress?: (percent: number, stage: string) => void;
|
|
322
|
+
/**
|
|
323
|
+
* 이벤트 콜백 — 모든 진행 상황을 이벤트로 전달
|
|
324
|
+
*/
|
|
325
|
+
onEvent?: (event: ConvertEvent) => void;
|
|
326
|
+
/** LibreOffice 자동 설치 허용 (기본 true) */
|
|
327
|
+
autoInstallLibreOffice?: boolean;
|
|
328
|
+
/** LibreOffice 바이너리 직접 지정 */
|
|
329
|
+
sofficePath?: string;
|
|
330
|
+
}
|
|
331
|
+
/** PDF 변환 성공 결과 */
|
|
332
|
+
interface ConvertToPdfSuccess {
|
|
333
|
+
success: true;
|
|
334
|
+
/** PDF 바이너리 */
|
|
335
|
+
pdf: Uint8Array;
|
|
336
|
+
/** 원본 파일 형식 */
|
|
337
|
+
sourceFormat: "hwp" | "hwpx";
|
|
338
|
+
/** 페이지 수 (확인 가능한 경우) */
|
|
339
|
+
pageCount?: number;
|
|
340
|
+
}
|
|
341
|
+
/** PDF 변환 실패 결과 */
|
|
342
|
+
interface ConvertToPdfFailure {
|
|
343
|
+
success: false;
|
|
344
|
+
/** 에러 코드 */
|
|
345
|
+
code: ErrorCode;
|
|
346
|
+
/** 상세 에러 메시지 */
|
|
347
|
+
error: string;
|
|
348
|
+
/** 실패한 단계 */
|
|
349
|
+
stage?: "detect" | "validate" | "convert";
|
|
350
|
+
}
|
|
351
|
+
/** PDF 변환 결과 (discriminated union) */
|
|
352
|
+
type ConvertToPdfResult = ConvertToPdfSuccess | ConvertToPdfFailure;
|
|
254
353
|
|
|
255
354
|
/** 문서 비교 엔진 — IR 레벨 블록 비교로 신구대조표 생성 */
|
|
256
355
|
|
|
@@ -306,6 +405,32 @@ interface MarkdownToXlsxOptions {
|
|
|
306
405
|
*/
|
|
307
406
|
declare function markdownToXlsx(markdown: string, options?: MarkdownToXlsxOptions): Promise<ArrayBuffer>;
|
|
308
407
|
|
|
408
|
+
/**
|
|
409
|
+
* HWP/HWPX 파일을 PDF로 변환.
|
|
410
|
+
*
|
|
411
|
+
* @param input 파일 경로, Buffer, 또는 ArrayBuffer
|
|
412
|
+
* @param options 변환 옵션
|
|
413
|
+
* @returns 변환 결과 (성공/실패 discriminated union)
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* ```ts
|
|
417
|
+
* import { convertToPdf } from "kordoc"
|
|
418
|
+
* const result = await convertToPdf("document.hwp")
|
|
419
|
+
* if (result.success) {
|
|
420
|
+
* await writeFile("output.pdf", result.pdf)
|
|
421
|
+
* }
|
|
422
|
+
* ```
|
|
423
|
+
*/
|
|
424
|
+
declare function convertToPdf(input: string | ArrayBuffer | Buffer, options?: ConvertToPdfOptions): Promise<ConvertToPdfResult>;
|
|
425
|
+
/**
|
|
426
|
+
* HWP 5.x 파일을 PDF로 변환 (포맷 감지 생략).
|
|
427
|
+
*/
|
|
428
|
+
declare function convertHwpToPdf(input: string | ArrayBuffer | Buffer, options?: ConvertToPdfOptions): Promise<ConvertToPdfResult>;
|
|
429
|
+
/**
|
|
430
|
+
* HWPX 파일을 PDF로 변환 (포맷 감지 생략).
|
|
431
|
+
*/
|
|
432
|
+
declare function convertHwpxToPdf(input: string | ArrayBuffer | Buffer, options?: ConvertToPdfOptions): Promise<ConvertToPdfResult>;
|
|
433
|
+
|
|
309
434
|
/** 매직 바이트 기반 파일 포맷 감지 */
|
|
310
435
|
|
|
311
436
|
/** ZIP 파일 여부: PK\x03\x04 */
|
|
@@ -477,4 +602,4 @@ declare function parseXlsx(buffer: ArrayBuffer, options?: ParseOptions, zip?: JS
|
|
|
477
602
|
/** DOCX 파일을 Markdown으로 변환 */
|
|
478
603
|
declare function parseDocx(buffer: ArrayBuffer, options?: ParseOptions, zip?: JSZip): Promise<ParseResult>;
|
|
479
604
|
|
|
480
|
-
export { type AcquireResult, AllKeysCoolingDownError, type ApiKeyRotationOptions, ApiKeyRotationPool, type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FormField, type FormResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type KeyHealthSnapshot, type MarkdownToXlsxOptions, type OcrMode, type OcrProvider, type OutlineItem, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type StructuredOcrResult, type UnifiedOcrOptions, type UnifiedOcrProgressEvent, type UnifiedOcrResult, type UnifiedStage, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, compare, detectFormat, detectZipFormat, diffBlocks, extractFormFields, isHwpxFile, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, markdownToXlsx, parse, parseDocx, parseHwp, parseHwpx, parsePdf, parseXlsx, runUnifiedOcrPipeline };
|
|
605
|
+
export { type AcquireResult, AllKeysCoolingDownError, type ApiKeyRotationOptions, ApiKeyRotationPool, type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type ConvertToPdfFailure, type ConvertToPdfOptions, type ConvertToPdfResult, type ConvertToPdfSuccess, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FormField, type FormResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type KeyHealthSnapshot, type MarkdownToXlsxOptions, type OcrMode, type OcrProvider, type OutlineItem, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type StructuredOcrResult, type UnifiedOcrOptions, type UnifiedOcrProgressEvent, type UnifiedOcrResult, type UnifiedStage, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, compare, convertHwpToPdf, convertHwpxToPdf, convertToPdf, detectFormat, detectZipFormat, diffBlocks, extractFormFields, isHwpxFile, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, markdownToXlsx, parse, parseDocx, parseHwp, parseHwpx, parsePdf, parseXlsx, runUnifiedOcrPipeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ interface OutlineItem {
|
|
|
154
154
|
pageNumber?: number;
|
|
155
155
|
}
|
|
156
156
|
/** 구조화된 에러 코드 — 프로그래밍적 에러 핸들링용 */
|
|
157
|
-
type ErrorCode = "EMPTY_INPUT" | "UNSUPPORTED_FORMAT" | "ENCRYPTED" | "DRM_PROTECTED" | "CORRUPTED" | "DECOMPRESSION_BOMB" | "ZIP_BOMB" | "IMAGE_BASED_PDF" | "NO_SECTIONS" | "PARSE_ERROR" | "FILE_TOO_LARGE";
|
|
157
|
+
type ErrorCode = "EMPTY_INPUT" | "UNSUPPORTED_FORMAT" | "ENCRYPTED" | "DRM_PROTECTED" | "CORRUPTED" | "DECOMPRESSION_BOMB" | "ZIP_BOMB" | "IMAGE_BASED_PDF" | "NO_SECTIONS" | "PARSE_ERROR" | "FILE_TOO_LARGE" | "CONVERT_FAILED" | "TIMEOUT" | "SOFFICE_NOT_FOUND" | "UNSUPPORTED_PLATFORM";
|
|
158
158
|
type FileType = "hwpx" | "hwp" | "pdf" | "xlsx" | "docx" | "image" | "unknown";
|
|
159
159
|
interface ParseResultBase {
|
|
160
160
|
fileType: FileType;
|
|
@@ -251,6 +251,105 @@ interface WatchOptions {
|
|
|
251
251
|
pages?: string;
|
|
252
252
|
silent?: boolean;
|
|
253
253
|
}
|
|
254
|
+
/** 포맷 감지 단계 이벤트 */
|
|
255
|
+
interface ConvertDetectEvent {
|
|
256
|
+
type: "detect";
|
|
257
|
+
stage: "reading" | "format_detected" | "size_check";
|
|
258
|
+
message: string;
|
|
259
|
+
fileSize?: number;
|
|
260
|
+
format?: "hwp" | "hwpx";
|
|
261
|
+
}
|
|
262
|
+
/** 환경 검증 단계 이벤트 */
|
|
263
|
+
interface ConvertValidateEvent {
|
|
264
|
+
type: "validate";
|
|
265
|
+
stage: "soffice_check" | "soffice_found" | "soffice_not_found";
|
|
266
|
+
message: string;
|
|
267
|
+
sofficePath?: string;
|
|
268
|
+
}
|
|
269
|
+
/** 설치 단계 이벤트 */
|
|
270
|
+
interface ConvertInstallEvent {
|
|
271
|
+
type: "install";
|
|
272
|
+
stage: "install_start" | "download_progress" | "extract_progress" | "install_complete" | "install_failed";
|
|
273
|
+
message: string;
|
|
274
|
+
percent?: number;
|
|
275
|
+
downloadedBytes?: number;
|
|
276
|
+
totalBytes?: number;
|
|
277
|
+
installedPath?: string;
|
|
278
|
+
error?: string;
|
|
279
|
+
}
|
|
280
|
+
/** 변환 진행 이벤트 */
|
|
281
|
+
interface ConvertProgressEvent {
|
|
282
|
+
type: "convert";
|
|
283
|
+
stage: "convert_start" | "convert_progress" | "convert_done";
|
|
284
|
+
message: string;
|
|
285
|
+
percent: number;
|
|
286
|
+
}
|
|
287
|
+
/** 변환 완료 이벤트 */
|
|
288
|
+
interface ConvertCompleteEvent {
|
|
289
|
+
type: "complete";
|
|
290
|
+
stage: "success";
|
|
291
|
+
message: string;
|
|
292
|
+
result: {
|
|
293
|
+
sourceFormat: "hwp" | "hwpx";
|
|
294
|
+
pdfSize: number;
|
|
295
|
+
pageCount?: number;
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
/** 에러 이벤트 */
|
|
299
|
+
interface ConvertErrorEvent {
|
|
300
|
+
type: "error";
|
|
301
|
+
stage: "detect" | "validate" | "install" | "convert";
|
|
302
|
+
message: string;
|
|
303
|
+
code: ErrorCode;
|
|
304
|
+
recoverable: boolean;
|
|
305
|
+
suggestion?: string;
|
|
306
|
+
}
|
|
307
|
+
/** convertToPdf()에서 발생하는 모든 이벤트 */
|
|
308
|
+
type ConvertEvent = ConvertDetectEvent | ConvertValidateEvent | ConvertInstallEvent | ConvertProgressEvent | ConvertCompleteEvent | ConvertErrorEvent;
|
|
309
|
+
/** HWP/HWPX → PDF 변환 옵션 */
|
|
310
|
+
interface ConvertToPdfOptions {
|
|
311
|
+
/** 페이지 범위 ("1-3,5,7-10") — LibreOffice 필터가 지원하는 경우 */
|
|
312
|
+
pages?: string;
|
|
313
|
+
/** 품질/압축 설정 (미래 확장) */
|
|
314
|
+
quality?: "low" | "medium" | "high";
|
|
315
|
+
/** 타임아웃 (ms, 기본 60000) */
|
|
316
|
+
timeoutMs?: number;
|
|
317
|
+
/**
|
|
318
|
+
* 진행 상황 콜백 (deprecated — onEvent 사용 권장)
|
|
319
|
+
* @deprecated onEvent를 사용하세요
|
|
320
|
+
*/
|
|
321
|
+
onProgress?: (percent: number, stage: string) => void;
|
|
322
|
+
/**
|
|
323
|
+
* 이벤트 콜백 — 모든 진행 상황을 이벤트로 전달
|
|
324
|
+
*/
|
|
325
|
+
onEvent?: (event: ConvertEvent) => void;
|
|
326
|
+
/** LibreOffice 자동 설치 허용 (기본 true) */
|
|
327
|
+
autoInstallLibreOffice?: boolean;
|
|
328
|
+
/** LibreOffice 바이너리 직접 지정 */
|
|
329
|
+
sofficePath?: string;
|
|
330
|
+
}
|
|
331
|
+
/** PDF 변환 성공 결과 */
|
|
332
|
+
interface ConvertToPdfSuccess {
|
|
333
|
+
success: true;
|
|
334
|
+
/** PDF 바이너리 */
|
|
335
|
+
pdf: Uint8Array;
|
|
336
|
+
/** 원본 파일 형식 */
|
|
337
|
+
sourceFormat: "hwp" | "hwpx";
|
|
338
|
+
/** 페이지 수 (확인 가능한 경우) */
|
|
339
|
+
pageCount?: number;
|
|
340
|
+
}
|
|
341
|
+
/** PDF 변환 실패 결과 */
|
|
342
|
+
interface ConvertToPdfFailure {
|
|
343
|
+
success: false;
|
|
344
|
+
/** 에러 코드 */
|
|
345
|
+
code: ErrorCode;
|
|
346
|
+
/** 상세 에러 메시지 */
|
|
347
|
+
error: string;
|
|
348
|
+
/** 실패한 단계 */
|
|
349
|
+
stage?: "detect" | "validate" | "convert";
|
|
350
|
+
}
|
|
351
|
+
/** PDF 변환 결과 (discriminated union) */
|
|
352
|
+
type ConvertToPdfResult = ConvertToPdfSuccess | ConvertToPdfFailure;
|
|
254
353
|
|
|
255
354
|
/** 문서 비교 엔진 — IR 레벨 블록 비교로 신구대조표 생성 */
|
|
256
355
|
|
|
@@ -306,6 +405,32 @@ interface MarkdownToXlsxOptions {
|
|
|
306
405
|
*/
|
|
307
406
|
declare function markdownToXlsx(markdown: string, options?: MarkdownToXlsxOptions): Promise<ArrayBuffer>;
|
|
308
407
|
|
|
408
|
+
/**
|
|
409
|
+
* HWP/HWPX 파일을 PDF로 변환.
|
|
410
|
+
*
|
|
411
|
+
* @param input 파일 경로, Buffer, 또는 ArrayBuffer
|
|
412
|
+
* @param options 변환 옵션
|
|
413
|
+
* @returns 변환 결과 (성공/실패 discriminated union)
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* ```ts
|
|
417
|
+
* import { convertToPdf } from "kordoc"
|
|
418
|
+
* const result = await convertToPdf("document.hwp")
|
|
419
|
+
* if (result.success) {
|
|
420
|
+
* await writeFile("output.pdf", result.pdf)
|
|
421
|
+
* }
|
|
422
|
+
* ```
|
|
423
|
+
*/
|
|
424
|
+
declare function convertToPdf(input: string | ArrayBuffer | Buffer, options?: ConvertToPdfOptions): Promise<ConvertToPdfResult>;
|
|
425
|
+
/**
|
|
426
|
+
* HWP 5.x 파일을 PDF로 변환 (포맷 감지 생략).
|
|
427
|
+
*/
|
|
428
|
+
declare function convertHwpToPdf(input: string | ArrayBuffer | Buffer, options?: ConvertToPdfOptions): Promise<ConvertToPdfResult>;
|
|
429
|
+
/**
|
|
430
|
+
* HWPX 파일을 PDF로 변환 (포맷 감지 생략).
|
|
431
|
+
*/
|
|
432
|
+
declare function convertHwpxToPdf(input: string | ArrayBuffer | Buffer, options?: ConvertToPdfOptions): Promise<ConvertToPdfResult>;
|
|
433
|
+
|
|
309
434
|
/** 매직 바이트 기반 파일 포맷 감지 */
|
|
310
435
|
|
|
311
436
|
/** ZIP 파일 여부: PK\x03\x04 */
|
|
@@ -477,4 +602,4 @@ declare function parseXlsx(buffer: ArrayBuffer, options?: ParseOptions, zip?: JS
|
|
|
477
602
|
/** DOCX 파일을 Markdown으로 변환 */
|
|
478
603
|
declare function parseDocx(buffer: ArrayBuffer, options?: ParseOptions, zip?: JSZip): Promise<ParseResult>;
|
|
479
604
|
|
|
480
|
-
export { type AcquireResult, AllKeysCoolingDownError, type ApiKeyRotationOptions, ApiKeyRotationPool, type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FormField, type FormResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type KeyHealthSnapshot, type MarkdownToXlsxOptions, type OcrMode, type OcrProvider, type OutlineItem, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type StructuredOcrResult, type UnifiedOcrOptions, type UnifiedOcrProgressEvent, type UnifiedOcrResult, type UnifiedStage, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, compare, detectFormat, detectZipFormat, diffBlocks, extractFormFields, isHwpxFile, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, markdownToXlsx, parse, parseDocx, parseHwp, parseHwpx, parsePdf, parseXlsx, runUnifiedOcrPipeline };
|
|
605
|
+
export { type AcquireResult, AllKeysCoolingDownError, type ApiKeyRotationOptions, ApiKeyRotationPool, type BlockDiff, type BoundingBox, type CellContext, type CellDiff, type ConvertToPdfFailure, type ConvertToPdfOptions, type ConvertToPdfResult, type ConvertToPdfSuccess, type DiffChangeType, type DiffResult, type DocumentMetadata, type ErrorCode, type ExtractedImage, type FileType, type FormField, type FormResult, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type KeyHealthSnapshot, type MarkdownToXlsxOptions, type OcrMode, type OcrProvider, type OutlineItem, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type StructuredOcrResult, type UnifiedOcrOptions, type UnifiedOcrProgressEvent, type UnifiedOcrResult, type UnifiedStage, VERSION, type WarningCode, type WatchOptions, blocksToMarkdown, compare, convertHwpToPdf, convertHwpxToPdf, convertToPdf, detectFormat, detectZipFormat, diffBlocks, extractFormFields, isHwpxFile, isOldHwpFile, isPdfFile, isZipFile, markdownToHwpx, markdownToXlsx, parse, parseDocx, parseHwp, parseHwpx, parsePdf, parseXlsx, runUnifiedOcrPipeline };
|