kordoc 4.0.3 → 4.0.5

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.
Files changed (59) hide show
  1. package/README.md +8 -0
  2. package/dist/{-QSF64HNK.js → -QVHGOOCR.js} +9 -7
  3. package/dist/chunk-5RPYBC2Q.js +88 -0
  4. package/dist/chunk-5RPYBC2Q.js.map +1 -0
  5. package/dist/{chunk-6JSZBSOD.js → chunk-6BABRVOJ.js} +2 -2
  6. package/dist/{chunk-PNQDQ3SM.js → chunk-6PED5OOG.js} +34 -4
  7. package/dist/chunk-6PED5OOG.js.map +1 -0
  8. package/dist/{chunk-OVESZY5R.cjs → chunk-6R5FY47W.cjs} +38 -8
  9. package/dist/chunk-6R5FY47W.cjs.map +1 -0
  10. package/dist/{chunk-RO2GVZ3I.js → chunk-6WDPB4SN.js} +3 -3
  11. package/dist/{chunk-TQYX5E32.js → chunk-FKK4K53F.js} +34 -4
  12. package/dist/chunk-FKK4K53F.js.map +1 -0
  13. package/dist/{chunk-MQLKSRIK.js → chunk-OMERK4AW.js} +76 -25
  14. package/dist/chunk-OMERK4AW.js.map +1 -0
  15. package/dist/{chunk-AUJICYJG.js → chunk-QK2G34WE.js} +4 -3
  16. package/dist/chunk-QK2G34WE.js.map +1 -0
  17. package/dist/{chunk-K2SETHJ6.js → chunk-Z6Q3YG22.js} +1632 -765
  18. package/dist/chunk-Z6Q3YG22.js.map +1 -0
  19. package/dist/chunk-ZGMMLYAL.js +92 -0
  20. package/dist/chunk-ZGMMLYAL.js.map +1 -0
  21. package/dist/cli.js +119 -72
  22. package/dist/cli.js.map +1 -1
  23. package/dist/index.cjs +21162 -20243
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +53 -1
  26. package/dist/index.d.ts +53 -1
  27. package/dist/index.js +20987 -20068
  28. package/dist/index.js.map +1 -1
  29. package/dist/mcp.js +106 -83
  30. package/dist/mcp.js.map +1 -1
  31. package/dist/{parser-FMONFTAN.cjs → parser-2V5SPTU7.cjs} +106 -17
  32. package/dist/parser-2V5SPTU7.cjs.map +1 -0
  33. package/dist/{parser-AODAQQLQ.js → parser-3MAYZUJX.js} +95 -6
  34. package/dist/parser-3MAYZUJX.js.map +1 -0
  35. package/dist/{parser-J7YREDNS.js → parser-YSHZC5FQ.js} +94 -5
  36. package/dist/parser-YSHZC5FQ.js.map +1 -0
  37. package/dist/profile-io-3EECPDHG.js +11 -0
  38. package/dist/render-MJSQ4TG2.js +10 -0
  39. package/dist/seal-R3POFNOU.js +10 -0
  40. package/dist/seal-R3POFNOU.js.map +1 -0
  41. package/dist/{watch-P65Z24AL.js → watch-7MHSCKEQ.js} +7 -7
  42. package/package.json +1 -1
  43. package/dist/chunk-AUJICYJG.js.map +0 -1
  44. package/dist/chunk-K2SETHJ6.js.map +0 -1
  45. package/dist/chunk-MQLKSRIK.js.map +0 -1
  46. package/dist/chunk-OVESZY5R.cjs.map +0 -1
  47. package/dist/chunk-PNQDQ3SM.js.map +0 -1
  48. package/dist/chunk-TQYX5E32.js.map +0 -1
  49. package/dist/parser-AODAQQLQ.js.map +0 -1
  50. package/dist/parser-FMONFTAN.cjs.map +0 -1
  51. package/dist/parser-J7YREDNS.js.map +0 -1
  52. package/dist/render-JPP7YTV3.js +0 -10
  53. package/dist/seal-MDE4DXZQ.js +0 -10
  54. /package/dist/{-QSF64HNK.js.map → -QVHGOOCR.js.map} +0 -0
  55. /package/dist/{chunk-6JSZBSOD.js.map → chunk-6BABRVOJ.js.map} +0 -0
  56. /package/dist/{chunk-RO2GVZ3I.js.map → chunk-6WDPB4SN.js.map} +0 -0
  57. /package/dist/{render-JPP7YTV3.js.map → profile-io-3EECPDHG.js.map} +0 -0
  58. /package/dist/{seal-MDE4DXZQ.js.map → render-MJSQ4TG2.js.map} +0 -0
  59. /package/dist/{watch-P65Z24AL.js.map → watch-7MHSCKEQ.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -10,6 +10,13 @@ interface CellContext {
10
10
  }
11
11
  /** 블록 타입 — v2.0에서 heading, list, image, separator 추가 */
12
12
  type IRBlockType = "paragraph" | "table" | "heading" | "list" | "image" | "separator";
13
+ /** 인라인 강조 run-span — 문단 텍스트를 서식 단위로 쪼갠 조각 (텍스트 연결 = block.text) */
14
+ interface IRSpan {
15
+ text: string;
16
+ bold?: boolean;
17
+ italic?: boolean;
18
+ code?: boolean;
19
+ }
13
20
  interface IRBlock {
14
21
  type: IRBlockType;
15
22
  text?: string;
@@ -32,6 +39,23 @@ interface IRBlock {
32
39
  footnoteText?: string;
33
40
  /** 이미지 데이터 (type="image"일 때) */
34
41
  imageData?: ImageData;
42
+ /** 인라인 강조 run-span (선택 — kordoc 생성 hwpx 왕복 채널 + 외래 실속성 볼드/이탤릭).
43
+ * 존재하면 마크다운 변환이 **·*·` 마커를 재방출한다 */
44
+ spans?: IRSpan[];
45
+ /** 인용문 문단 (선택 — kordoc 생성 hwpx 왕복 채널) — 마크다운 변환이 "> " 접두 재방출 */
46
+ quote?: boolean;
47
+ /**
48
+ * 문단 들여쓰기(HWPUNIT, 선택) — HWPX paraPr `<hh:margin>` 자식요소형 hc:left
49
+ * (+양수 hc:intent 첫줄분). 마크다운 방출엔 쓰지 않는 관찰 슬롯 — gongmun 리스트
50
+ * depth 재유도·양식 분석 등 소비자 몫 (v4.0.4)
51
+ */
52
+ indent?: number;
53
+ /**
54
+ * gongmun 리스트 단계(1~7, 선택) — indent를 levelIndent 단위로 역산한 소비 결과
55
+ * (v4.0.5). md 리스트 문법과 충돌하는 부호('- '·'1) ') 문단에만 채워지며,
56
+ * 마크다운 변환이 2칸/단계 선행 공백을 방출해 재생성 시 depth가 복원된다
57
+ */
58
+ listDepth?: number;
35
59
  }
36
60
  /** 추출된 이미지 바이너리 데이터 */
37
61
  interface ImageData {
@@ -735,6 +759,12 @@ interface GongmunOptions {
735
759
  declare const PRESET_ALIAS: Record<string, GongmunPreset>;
736
760
  /** 프리셋 입력(영문 키 또는 한글 별칭)을 내부 GongmunPreset로 정규화. 미상은 'official' */
737
761
  declare function normalizeGongmunPreset(preset?: string): GongmunPreset;
762
+ /**
763
+ * 프리셋과 비호환이라 resolveGongmun이 조용히 폐기/무시하는 옵션의 경고 목록 (v4.0.6).
764
+ * 순수 함수 — 배선은 호출자 몫 (CLI stderr / MCP 응답 병기, unknownFontWarnings 관례).
765
+ * 게이팅 조건은 resolveGongmun 본문과 1:1 — 여기 조건을 바꾸면 본문도 함께.
766
+ */
767
+ declare function incompatibleGongmunWarnings(opts: GongmunOptions): string[];
738
768
 
739
769
  /** HWPX 생성 시 적용할 시각 테마 (모두 선택) */
740
770
  interface HwpxTheme {
@@ -799,6 +829,12 @@ interface CharPrDef {
799
829
  underline?: boolean;
800
830
  /** fontfaces HANGUL 순번. render는 이름표로 손실하므로 원본 순번 보존용 */
801
831
  fontRef_hangul?: string;
832
+ /**
833
+ * HANGUL 글꼴 이름 (스키마 0.3.0) — 순번(fontRef_hangul)은 원본 fontfaces에서만
834
+ * 유효하므로, 이름을 실어 생성 문서 header에 fontface를 append + 리맵해 재현한다.
835
+ * 없으면(구버전 프로필) 생성 header 범위 내 순번만 존중, 밖이면 기본(0) 폴딩.
836
+ */
837
+ fontName_hangul?: string;
802
838
  }
803
839
  /** 셀 하나의 서식 참조 (좌표 = 병합 셀 좌상단 앵커) */
804
840
  interface CellProfile {
@@ -825,6 +861,12 @@ interface TableProfile {
825
861
  * 어긋나도, 앵커+치수가 맞는 프로필만 골라 적용해 남의 서식 오적용을 막는다(v3.18.1).
826
862
  */
827
863
  anchor_text?: string;
864
+ /**
865
+ * 첫 행 전체 텍스트의 정규화 지문(normalizeRowAnchor) — 다중 지문 2순위 키 (0.3.0).
866
+ * (0,0)이 빈 셀인 크로스탭은 anchor_text가 비어 순번 폴백뿐이었는데, 첫 행 전체를
867
+ * 이어붙인 지문으로 동형 쌍둥이 표를 가른다.
868
+ */
869
+ anchor_row?: string;
828
870
  width_hwpunit?: string;
829
871
  col_widths_hwpunit?: string[];
830
872
  cells: CellProfile[];
@@ -963,11 +1005,21 @@ declare function charWidthEm1000(cp: number): number;
963
1005
  /** HWP 공백 폭(em×1000) — useFontSpace=0(기본): 반각 고정 500 / =1: 글꼴값 300 */
964
1006
  declare const SPACE_EM_FIXED = 500;
965
1007
  declare const SPACE_EM_FONT = 300;
1008
+ /**
1009
+ * 폭 테이블 클래스 — 'hcr'(함초롬 실측, 기본) / 'fixedPitch'(고정폭 글꼴:
1010
+ * ASCII 0.5em·그 외 1.0em). 굴림체·돋움체·바탕체·궁서체('체' 접미 = 고정폭)가
1011
+ * 대상 — 전자결재 변환기 산출물의 지배 본문 글꼴. 한글이 HCR(0.97em)보다 3%
1012
+ * 넓어 함초롬 테이블로 재면 줄당 1~2자 과대적재로 wrap 지점이 어긋난다
1013
+ * (bench/verify-linebreak.mjs seoul 코퍼스 실측: fixedPitch 테이블로 74/75 일치).
1014
+ */
1015
+ type FaceClass = "hcr" | "fixedPitch";
966
1016
  interface MeasureOptions {
967
1017
  /** 공백 폭(em×1000). 기본 SPACE_EM_FIXED(500) = useFontSpace 0 */
968
1018
  spaceEm?: number;
969
1019
  /** 자간(charPr spacing %) — 글자폭의 %가 문자마다 추가 */
970
1020
  spacingPct?: number;
1021
+ /** 폭 테이블 클래스 — 기본 'hcr' (함초롬 실측 테이블) */
1022
+ faceClass?: FaceClass;
971
1023
  }
972
1024
  /**
973
1025
  * 텍스트 폭(HWPUNIT). height=charPr height(pt×100), ratioPct=장평 %.
@@ -1504,4 +1556,4 @@ interface FillFormOutput {
1504
1556
  */
1505
1557
  declare function fillForm(input: string | ArrayBuffer | Buffer, values: Record<string, FillInput>, outputFormat?: FillOutputFormat): Promise<FillFormOutput>;
1506
1558
 
1507
- export { type BlockCapability, type BlockCapabilityInfo, type BlockDiff, type BlockEdit, type BlockSourceRef, type BorderDef, type BorderFillDef, type BoundingBox, type CellCapability, type CellContext, type CellDiff, type CellProfile, type CharPrDef, type DiffChangeType, type DiffResult, type DocumentMetadata, type DocumentQualitySummary, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillInput, type FillOutputFormat, type FillResult, type FillValue, type FormField, type FormFieldSchema, type FormFieldType, type FormResult, type FormSchemaResult, type FormatProfile, type GongmunFont, type GongmunLintFinding, type GongmunNumbering, type GongmunOptions, type GongmunPreset, type GongmunPresetInput, type HwpxFillResult, HwpxSession, type HwpxTheme, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type MarkdownToHwpxOptions, type MeasureOptions, type OcrProvider, type OutlineItem, PRESET_ALIAS, type PageMargin, type PageQuality, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type PatchOptions, type PatchResult, type PatchSkip, type PlaceSealResult, type PrintOptions, type PrintPreset, type RenderSvgOptions, type RenderSvgResult, SPACE_EM_FIXED, SPACE_EM_FONT, type ScanCell, type ScanParaKind, type ScanParagraph, type ScanTable, type SealOp, type SealPlacement, type SectionScan, type SpliceEdit, type TRange, type TableProfile, VERSION, type ValidateIssue, type ValidateResult, ValueCursor, type WarningCode, type WatchOptions, type WrapMode, type WrapResult, applySplices, blocksToMarkdown, blocksToPdf, buildParagraphSplices, buildRangeSplices, charWidthEm1000, compare, detectFormat, detectOle2Format, detectZipFormat, diffBlocks, extractFormFields, extractFormSchema, fillForm, fillFormFields, fillHwpx, fillWithUniqueGuard, fitRatioForFewerLines, formatFillValue, gongmunLintWarnings, hwpxToProfile, inferFieldType, isHwpxFile, isKnownFont, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, lintGongmunText, markdownToHwpx, markdownToPdf, measureTextWidth, normalizeGongmunPreset, openHwpxDocument, parse, parseDocx, parseHwp, parseHwp3, parseHwpml, parseHwpx, parsePdf, parseXls, parseXlsx, patchHwp, patchHwpx, patchHwpxBlocks, placeSealHwpx, renderHtml, renderHwpxToSvg, scanSectionXml, simulateWrap, simulateWrapKeepWord, unknownFontWarnings, validateHwpx };
1559
+ export { type BlockCapability, type BlockCapabilityInfo, type BlockDiff, type BlockEdit, type BlockSourceRef, type BorderDef, type BorderFillDef, type BoundingBox, type CellCapability, type CellContext, type CellDiff, type CellProfile, type CharPrDef, type DiffChangeType, type DiffResult, type DocumentMetadata, type DocumentQualitySummary, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillInput, type FillOutputFormat, type FillResult, type FillValue, type FormField, type FormFieldSchema, type FormFieldType, type FormResult, type FormSchemaResult, type FormatProfile, type GongmunFont, type GongmunLintFinding, type GongmunNumbering, type GongmunOptions, type GongmunPreset, type GongmunPresetInput, type HwpxFillResult, HwpxSession, type HwpxTheme, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type MarkdownToHwpxOptions, type MeasureOptions, type OcrProvider, type OutlineItem, PRESET_ALIAS, type PageMargin, type PageQuality, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type PatchOptions, type PatchResult, type PatchSkip, type PlaceSealResult, type PrintOptions, type PrintPreset, type RenderSvgOptions, type RenderSvgResult, SPACE_EM_FIXED, SPACE_EM_FONT, type ScanCell, type ScanParaKind, type ScanParagraph, type ScanTable, type SealOp, type SealPlacement, type SectionScan, type SpliceEdit, type TRange, type TableProfile, VERSION, type ValidateIssue, type ValidateResult, ValueCursor, type WarningCode, type WatchOptions, type WrapMode, type WrapResult, applySplices, blocksToMarkdown, blocksToPdf, buildParagraphSplices, buildRangeSplices, charWidthEm1000, compare, detectFormat, detectOle2Format, detectZipFormat, diffBlocks, extractFormFields, extractFormSchema, fillForm, fillFormFields, fillHwpx, fillWithUniqueGuard, fitRatioForFewerLines, formatFillValue, gongmunLintWarnings, hwpxToProfile, incompatibleGongmunWarnings, inferFieldType, isHwpxFile, isKnownFont, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, lintGongmunText, markdownToHwpx, markdownToPdf, measureTextWidth, normalizeGongmunPreset, openHwpxDocument, parse, parseDocx, parseHwp, parseHwp3, parseHwpml, parseHwpx, parsePdf, parseXls, parseXlsx, patchHwp, patchHwpx, patchHwpxBlocks, placeSealHwpx, renderHtml, renderHwpxToSvg, scanSectionXml, simulateWrap, simulateWrapKeepWord, unknownFontWarnings, validateHwpx };
package/dist/index.d.ts CHANGED
@@ -10,6 +10,13 @@ interface CellContext {
10
10
  }
11
11
  /** 블록 타입 — v2.0에서 heading, list, image, separator 추가 */
12
12
  type IRBlockType = "paragraph" | "table" | "heading" | "list" | "image" | "separator";
13
+ /** 인라인 강조 run-span — 문단 텍스트를 서식 단위로 쪼갠 조각 (텍스트 연결 = block.text) */
14
+ interface IRSpan {
15
+ text: string;
16
+ bold?: boolean;
17
+ italic?: boolean;
18
+ code?: boolean;
19
+ }
13
20
  interface IRBlock {
14
21
  type: IRBlockType;
15
22
  text?: string;
@@ -32,6 +39,23 @@ interface IRBlock {
32
39
  footnoteText?: string;
33
40
  /** 이미지 데이터 (type="image"일 때) */
34
41
  imageData?: ImageData;
42
+ /** 인라인 강조 run-span (선택 — kordoc 생성 hwpx 왕복 채널 + 외래 실속성 볼드/이탤릭).
43
+ * 존재하면 마크다운 변환이 **·*·` 마커를 재방출한다 */
44
+ spans?: IRSpan[];
45
+ /** 인용문 문단 (선택 — kordoc 생성 hwpx 왕복 채널) — 마크다운 변환이 "> " 접두 재방출 */
46
+ quote?: boolean;
47
+ /**
48
+ * 문단 들여쓰기(HWPUNIT, 선택) — HWPX paraPr `<hh:margin>` 자식요소형 hc:left
49
+ * (+양수 hc:intent 첫줄분). 마크다운 방출엔 쓰지 않는 관찰 슬롯 — gongmun 리스트
50
+ * depth 재유도·양식 분석 등 소비자 몫 (v4.0.4)
51
+ */
52
+ indent?: number;
53
+ /**
54
+ * gongmun 리스트 단계(1~7, 선택) — indent를 levelIndent 단위로 역산한 소비 결과
55
+ * (v4.0.5). md 리스트 문법과 충돌하는 부호('- '·'1) ') 문단에만 채워지며,
56
+ * 마크다운 변환이 2칸/단계 선행 공백을 방출해 재생성 시 depth가 복원된다
57
+ */
58
+ listDepth?: number;
35
59
  }
36
60
  /** 추출된 이미지 바이너리 데이터 */
37
61
  interface ImageData {
@@ -735,6 +759,12 @@ interface GongmunOptions {
735
759
  declare const PRESET_ALIAS: Record<string, GongmunPreset>;
736
760
  /** 프리셋 입력(영문 키 또는 한글 별칭)을 내부 GongmunPreset로 정규화. 미상은 'official' */
737
761
  declare function normalizeGongmunPreset(preset?: string): GongmunPreset;
762
+ /**
763
+ * 프리셋과 비호환이라 resolveGongmun이 조용히 폐기/무시하는 옵션의 경고 목록 (v4.0.6).
764
+ * 순수 함수 — 배선은 호출자 몫 (CLI stderr / MCP 응답 병기, unknownFontWarnings 관례).
765
+ * 게이팅 조건은 resolveGongmun 본문과 1:1 — 여기 조건을 바꾸면 본문도 함께.
766
+ */
767
+ declare function incompatibleGongmunWarnings(opts: GongmunOptions): string[];
738
768
 
739
769
  /** HWPX 생성 시 적용할 시각 테마 (모두 선택) */
740
770
  interface HwpxTheme {
@@ -799,6 +829,12 @@ interface CharPrDef {
799
829
  underline?: boolean;
800
830
  /** fontfaces HANGUL 순번. render는 이름표로 손실하므로 원본 순번 보존용 */
801
831
  fontRef_hangul?: string;
832
+ /**
833
+ * HANGUL 글꼴 이름 (스키마 0.3.0) — 순번(fontRef_hangul)은 원본 fontfaces에서만
834
+ * 유효하므로, 이름을 실어 생성 문서 header에 fontface를 append + 리맵해 재현한다.
835
+ * 없으면(구버전 프로필) 생성 header 범위 내 순번만 존중, 밖이면 기본(0) 폴딩.
836
+ */
837
+ fontName_hangul?: string;
802
838
  }
803
839
  /** 셀 하나의 서식 참조 (좌표 = 병합 셀 좌상단 앵커) */
804
840
  interface CellProfile {
@@ -825,6 +861,12 @@ interface TableProfile {
825
861
  * 어긋나도, 앵커+치수가 맞는 프로필만 골라 적용해 남의 서식 오적용을 막는다(v3.18.1).
826
862
  */
827
863
  anchor_text?: string;
864
+ /**
865
+ * 첫 행 전체 텍스트의 정규화 지문(normalizeRowAnchor) — 다중 지문 2순위 키 (0.3.0).
866
+ * (0,0)이 빈 셀인 크로스탭은 anchor_text가 비어 순번 폴백뿐이었는데, 첫 행 전체를
867
+ * 이어붙인 지문으로 동형 쌍둥이 표를 가른다.
868
+ */
869
+ anchor_row?: string;
828
870
  width_hwpunit?: string;
829
871
  col_widths_hwpunit?: string[];
830
872
  cells: CellProfile[];
@@ -963,11 +1005,21 @@ declare function charWidthEm1000(cp: number): number;
963
1005
  /** HWP 공백 폭(em×1000) — useFontSpace=0(기본): 반각 고정 500 / =1: 글꼴값 300 */
964
1006
  declare const SPACE_EM_FIXED = 500;
965
1007
  declare const SPACE_EM_FONT = 300;
1008
+ /**
1009
+ * 폭 테이블 클래스 — 'hcr'(함초롬 실측, 기본) / 'fixedPitch'(고정폭 글꼴:
1010
+ * ASCII 0.5em·그 외 1.0em). 굴림체·돋움체·바탕체·궁서체('체' 접미 = 고정폭)가
1011
+ * 대상 — 전자결재 변환기 산출물의 지배 본문 글꼴. 한글이 HCR(0.97em)보다 3%
1012
+ * 넓어 함초롬 테이블로 재면 줄당 1~2자 과대적재로 wrap 지점이 어긋난다
1013
+ * (bench/verify-linebreak.mjs seoul 코퍼스 실측: fixedPitch 테이블로 74/75 일치).
1014
+ */
1015
+ type FaceClass = "hcr" | "fixedPitch";
966
1016
  interface MeasureOptions {
967
1017
  /** 공백 폭(em×1000). 기본 SPACE_EM_FIXED(500) = useFontSpace 0 */
968
1018
  spaceEm?: number;
969
1019
  /** 자간(charPr spacing %) — 글자폭의 %가 문자마다 추가 */
970
1020
  spacingPct?: number;
1021
+ /** 폭 테이블 클래스 — 기본 'hcr' (함초롬 실측 테이블) */
1022
+ faceClass?: FaceClass;
971
1023
  }
972
1024
  /**
973
1025
  * 텍스트 폭(HWPUNIT). height=charPr height(pt×100), ratioPct=장평 %.
@@ -1504,4 +1556,4 @@ interface FillFormOutput {
1504
1556
  */
1505
1557
  declare function fillForm(input: string | ArrayBuffer | Buffer, values: Record<string, FillInput>, outputFormat?: FillOutputFormat): Promise<FillFormOutput>;
1506
1558
 
1507
- export { type BlockCapability, type BlockCapabilityInfo, type BlockDiff, type BlockEdit, type BlockSourceRef, type BorderDef, type BorderFillDef, type BoundingBox, type CellCapability, type CellContext, type CellDiff, type CellProfile, type CharPrDef, type DiffChangeType, type DiffResult, type DocumentMetadata, type DocumentQualitySummary, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillInput, type FillOutputFormat, type FillResult, type FillValue, type FormField, type FormFieldSchema, type FormFieldType, type FormResult, type FormSchemaResult, type FormatProfile, type GongmunFont, type GongmunLintFinding, type GongmunNumbering, type GongmunOptions, type GongmunPreset, type GongmunPresetInput, type HwpxFillResult, HwpxSession, type HwpxTheme, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type MarkdownToHwpxOptions, type MeasureOptions, type OcrProvider, type OutlineItem, PRESET_ALIAS, type PageMargin, type PageQuality, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type PatchOptions, type PatchResult, type PatchSkip, type PlaceSealResult, type PrintOptions, type PrintPreset, type RenderSvgOptions, type RenderSvgResult, SPACE_EM_FIXED, SPACE_EM_FONT, type ScanCell, type ScanParaKind, type ScanParagraph, type ScanTable, type SealOp, type SealPlacement, type SectionScan, type SpliceEdit, type TRange, type TableProfile, VERSION, type ValidateIssue, type ValidateResult, ValueCursor, type WarningCode, type WatchOptions, type WrapMode, type WrapResult, applySplices, blocksToMarkdown, blocksToPdf, buildParagraphSplices, buildRangeSplices, charWidthEm1000, compare, detectFormat, detectOle2Format, detectZipFormat, diffBlocks, extractFormFields, extractFormSchema, fillForm, fillFormFields, fillHwpx, fillWithUniqueGuard, fitRatioForFewerLines, formatFillValue, gongmunLintWarnings, hwpxToProfile, inferFieldType, isHwpxFile, isKnownFont, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, lintGongmunText, markdownToHwpx, markdownToPdf, measureTextWidth, normalizeGongmunPreset, openHwpxDocument, parse, parseDocx, parseHwp, parseHwp3, parseHwpml, parseHwpx, parsePdf, parseXls, parseXlsx, patchHwp, patchHwpx, patchHwpxBlocks, placeSealHwpx, renderHtml, renderHwpxToSvg, scanSectionXml, simulateWrap, simulateWrapKeepWord, unknownFontWarnings, validateHwpx };
1559
+ export { type BlockCapability, type BlockCapabilityInfo, type BlockDiff, type BlockEdit, type BlockSourceRef, type BorderDef, type BorderFillDef, type BoundingBox, type CellCapability, type CellContext, type CellDiff, type CellProfile, type CharPrDef, type DiffChangeType, type DiffResult, type DocumentMetadata, type DocumentQualitySummary, type ErrorCode, type ExtractedImage, type FileType, type FillFormOutput, type FillInput, type FillOutputFormat, type FillResult, type FillValue, type FormField, type FormFieldSchema, type FormFieldType, type FormResult, type FormSchemaResult, type FormatProfile, type GongmunFont, type GongmunLintFinding, type GongmunNumbering, type GongmunOptions, type GongmunPreset, type GongmunPresetInput, type HwpxFillResult, HwpxSession, type HwpxTheme, type IRBlock, type IRBlockType, type IRCell, type IRTable, type ImageData, type InlineStyle, type MarkdownToHwpxOptions, type MeasureOptions, type OcrProvider, type OutlineItem, PRESET_ALIAS, type PageMargin, type PageQuality, type ParseFailure, type ParseOptions, type ParseResult, type ParseSuccess, type ParseWarning, type PatchOptions, type PatchResult, type PatchSkip, type PlaceSealResult, type PrintOptions, type PrintPreset, type RenderSvgOptions, type RenderSvgResult, SPACE_EM_FIXED, SPACE_EM_FONT, type ScanCell, type ScanParaKind, type ScanParagraph, type ScanTable, type SealOp, type SealPlacement, type SectionScan, type SpliceEdit, type TRange, type TableProfile, VERSION, type ValidateIssue, type ValidateResult, ValueCursor, type WarningCode, type WatchOptions, type WrapMode, type WrapResult, applySplices, blocksToMarkdown, blocksToPdf, buildParagraphSplices, buildRangeSplices, charWidthEm1000, compare, detectFormat, detectOle2Format, detectZipFormat, diffBlocks, extractFormFields, extractFormSchema, fillForm, fillFormFields, fillHwpx, fillWithUniqueGuard, fitRatioForFewerLines, formatFillValue, gongmunLintWarnings, hwpxToProfile, incompatibleGongmunWarnings, inferFieldType, isHwpxFile, isKnownFont, isLabelCell, isOldHwpFile, isPdfFile, isZipFile, lintGongmunText, markdownToHwpx, markdownToPdf, measureTextWidth, normalizeGongmunPreset, openHwpxDocument, parse, parseDocx, parseHwp, parseHwp3, parseHwpml, parseHwpx, parsePdf, parseXls, parseXlsx, patchHwp, patchHwpx, patchHwpxBlocks, placeSealHwpx, renderHtml, renderHwpxToSvg, scanSectionXml, simulateWrap, simulateWrapKeepWord, unknownFontWarnings, validateHwpx };