@docx-editor.dev/core 2.33.0 → 2.34.0

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 (111) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +11 -11
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +13 -13
  6. package/dist/binding.js +1 -1
  7. package/dist/{chrome-print-CrPI9ZQc.d.ts → chrome-print-DY0xsXm_.d.ts} +163 -112
  8. package/dist/{chunk-X34QRAUU.cjs → chunk-37IYWENL.cjs} +1 -1
  9. package/dist/chunk-37RNWL45.js +4 -0
  10. package/dist/chunk-5HUVQXET.cjs +4 -0
  11. package/dist/chunk-5JP3QQF7.js +7 -0
  12. package/dist/chunk-5KOLFKOB.cjs +5 -0
  13. package/dist/chunk-6MF5PN2E.js +236 -0
  14. package/dist/chunk-77JT2AU7.js +2 -0
  15. package/dist/{chunk-2F2UEAE2.js → chunk-7FUORGCW.js} +1 -1
  16. package/dist/chunk-A5BTVPET.cjs +236 -0
  17. package/dist/chunk-AFXFH2T2.js +3 -0
  18. package/dist/chunk-AVCYP7OY.js +5 -0
  19. package/dist/chunk-BL2E4QRA.js +1 -0
  20. package/dist/chunk-DB7X4Y6O.js +4 -0
  21. package/dist/chunk-DR6W23TB.cjs +2 -0
  22. package/dist/{chunk-2DR4TH6B.js → chunk-DYLB5U42.js} +1 -1
  23. package/dist/chunk-E5BKDHIP.cjs +1 -0
  24. package/dist/chunk-IWXBRUPG.cjs +4 -0
  25. package/dist/{chunk-L3YXJDPX.js → chunk-KCUXXO3Q.js} +1 -1
  26. package/dist/chunk-KYA4Y2YB.js +1 -0
  27. package/dist/{chunk-PXMTQ73F.cjs → chunk-L74TCGVH.cjs} +1 -1
  28. package/dist/chunk-NBSSQSKY.js +30 -0
  29. package/dist/{chunk-RFUNFTGV.cjs → chunk-NEM774E3.cjs} +1 -1
  30. package/dist/chunk-NKZVMMHU.cjs +1 -0
  31. package/dist/chunk-TXIO5WYQ.cjs +32 -0
  32. package/dist/chunk-UKG2TXWH.cjs +7 -0
  33. package/dist/chunk-V7CO55DO.cjs +3 -0
  34. package/dist/chunk-VLQDQNSS.js +1 -0
  35. package/dist/chunk-VQOAC3VI.cjs +30 -0
  36. package/dist/chunk-YWJSQA2O.js +32 -0
  37. package/dist/chunk-ZJ74LCFI.cjs +1 -0
  38. package/dist/collaboration/replication.cjs +1 -1
  39. package/dist/collaboration/replication.d.ts +3 -3
  40. package/dist/collaboration/replication.js +1 -1
  41. package/dist/collaboration.d.ts +2 -2
  42. package/dist/contracts/document.d.ts +2 -2
  43. package/dist/contracts/editor.d.ts +9 -9
  44. package/dist/contracts/modules.d.ts +11 -11
  45. package/dist/contracts/types.d.ts +3 -3
  46. package/dist/{custom-node-writes-AqY5KpVx.d.ts → custom-node-writes-DparEcZK.d.ts} +45 -7
  47. package/dist/{diagnostic-context-CuzhOX0g.d.ts → diagnostic-context-CkZKkKvB.d.ts} +1 -1
  48. package/dist/{diagnostic-hints-BtCaCqQC.d.ts → diagnostic-hints-BTyb8yzX.d.ts} +1 -1
  49. package/dist/{document-protection-BvbpSXbQ.d.ts → document-protection-DdWxihIN.d.ts} +1 -1
  50. package/dist/{drawing-graphic-kind-CXYGYbB3.d.ts → drawing-graphic-kind-CK0cMc7H.d.ts} +91 -18
  51. package/dist/{drawing-preview-package-B9lSLRg4.d.ts → drawing-preview-package-fFjXpOMS.d.ts} +1 -1
  52. package/dist/{editor-B7OOAAie.d.ts → editor-DDCkWqfD.d.ts} +47 -15
  53. package/dist/editor.cjs +1 -1
  54. package/dist/editor.css +2 -2
  55. package/dist/editor.d.ts +200 -75
  56. package/dist/editor.js +1 -1
  57. package/dist/export.cjs +2 -2
  58. package/dist/export.d.ts +8 -8
  59. package/dist/export.js +1 -1
  60. package/dist/index.cjs +1 -1
  61. package/dist/index.d.ts +20 -20
  62. package/dist/index.js +1 -1
  63. package/dist/{layout-shaping-Ci_BTnSU.d.ts → layout-shaping-Byj-TwsI.d.ts} +1 -1
  64. package/dist/layout.cjs +1 -1
  65. package/dist/layout.d.ts +289 -129
  66. package/dist/layout.js +1 -1
  67. package/dist/{metafile-drawing-DtMFyMKq.d.ts → metafile-drawing-Ce6TuWLm.d.ts} +9 -1
  68. package/dist/{note-properties-DCIJUKIy.d.ts → note-properties-BiunaIQa.d.ts} +31 -7
  69. package/dist/output.cjs +1 -1
  70. package/dist/output.d.ts +76 -12
  71. package/dist/output.js +1 -1
  72. package/dist/{protocol-Cp_QzVxS.d.ts → protocol-Dn44dL4M.d.ts} +184 -120
  73. package/dist/{review-paragraph-order-BJQ43_r0.d.ts → review-paragraph-order-BWMXAKuA.d.ts} +1 -1
  74. package/dist/{revision-projection-OVusTS77.d.ts → revision-projection-DwFhgIR0.d.ts} +1 -1
  75. package/dist/{semantic-cell-selection-CoI5hHBm.d.ts → semantic-cell-selection-DhalxEBH.d.ts} +2 -2
  76. package/dist/{semantic-interaction-BbA4dgEo.d.ts → semantic-interaction-QeuzEtAk.d.ts} +2 -4
  77. package/dist/{semantic-paint-B5JcIv9c.d.ts → semantic-paint-BYDZbTiY.d.ts} +4 -4
  78. package/dist/{semantic-record-queries-DnO8J5_j.d.ts → semantic-record-queries-Bf5bgQL3.d.ts} +1 -1
  79. package/dist/{semantic-records-DoK0lNjS.d.ts → semantic-records-CzZiWMY8.d.ts} +99 -94
  80. package/dist/store.cjs +1 -1
  81. package/dist/store.d.ts +31 -16
  82. package/dist/store.js +1 -1
  83. package/dist/{tree-op-types-Df4oY2u4.d.ts → tree-op-types-DKvJSH8T.d.ts} +204 -147
  84. package/dist/{tree-package-store-DXhX1PE-.d.ts → tree-package-store-Cl3BkWXF.d.ts} +1 -1
  85. package/dist/{tree-session-contract-CF2625mv.d.ts → tree-session-contract-BL50pqs8.d.ts} +14 -7
  86. package/dist/{unsupported-elements-CUojsaCr.d.ts → unsupported-elements-Bra4QTOM.d.ts} +1 -1
  87. package/package.json +2 -2
  88. package/dist/chunk-23MKR33J.js +0 -4
  89. package/dist/chunk-2DEY5NUC.cjs +0 -32
  90. package/dist/chunk-2GPGAFOJ.cjs +0 -5
  91. package/dist/chunk-ALD626VU.cjs +0 -2
  92. package/dist/chunk-AU33YWEJ.js +0 -236
  93. package/dist/chunk-AXU63LYW.cjs +0 -1
  94. package/dist/chunk-CM5VZRBV.js +0 -32
  95. package/dist/chunk-D7FAFFTN.js +0 -1
  96. package/dist/chunk-DYUVJNDD.cjs +0 -1
  97. package/dist/chunk-ESYUKD5D.js +0 -2
  98. package/dist/chunk-F7TGQMVR.js +0 -5
  99. package/dist/chunk-FLW7KIQX.js +0 -30
  100. package/dist/chunk-JG4A6W6I.js +0 -7
  101. package/dist/chunk-JNGLSBPH.js +0 -2
  102. package/dist/chunk-KE6ZWRIY.cjs +0 -236
  103. package/dist/chunk-LI42N7OW.cjs +0 -4
  104. package/dist/chunk-PLKDS4JT.js +0 -1
  105. package/dist/chunk-R4R3AAE4.js +0 -1
  106. package/dist/chunk-SVM6PGMS.js +0 -3
  107. package/dist/chunk-SZURLHR3.cjs +0 -3
  108. package/dist/chunk-UYCGCVZ2.cjs +0 -1
  109. package/dist/chunk-XNBYG4XJ.cjs +0 -30
  110. package/dist/chunk-ZDFJW5XS.cjs +0 -2
  111. package/dist/chunk-ZWO4JHNN.cjs +0 -7
package/dist/layout.d.ts CHANGED
@@ -11,24 +11,24 @@
11
11
  * @packageDocumentation
12
12
  * @public
13
13
  */
14
- import { v as NumberingLevel, w as NumberingIndex, S as SemanticLayout, g as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, x as TableBorderSide, b as LayoutBox, D as DrawingPoint, y as DrawingInsets, z as TableFloatXSpec, E as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, G as NumberingLevelIndent, J as ResolvedListItem, K as RefFieldContext, T as TextMeasurer, O as InlineDrawingLayoutContext, Q as CellBorderBox, W as TableBorderBox, X as TableCellStyleFormatting, Y as TableFloatPosition, Z as StyleCascadeTable, C as ContentControlBoundaryRecord$1, n as FixedPointRoundingMode, _ as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, $ as FontByteValidator, s as ShapedRun, L as LineRecord, a0 as SourceRange, a1 as HyperlinkProjector, a2 as FieldLinkProjector, a3 as StoryPageFieldNeeds, a4 as HyperlinkFieldSpec, a5 as SpanLinkRecord, a6 as PageGeometry, a7 as SectionColumns, a8 as SectionPageBorders, a9 as PageBorderFrameRecord, aa as ParagraphBorderStrokeRecord, ab as StrikeoutStrokePt, ac as TextOutline } from './semantic-records-DoK0lNjS.js';
15
- export { ad as AUTO_PARAGRAPH_SPACING_PT, ae as AbstractNumDefinition, af as AnchoredDrawingLayoutFallback, ag as BidiEmbeddingLevels, ah as BorderGridGeometry, ai as CascadedParagraphFormatting, aj as CjkTypographySettings, ak as ContentControlGeometryFragment, al as ContentControlLevel, d as ContentControlLock, am as ContentControlMappedType, an as ContentControlModelRange, ao as DEFAULT_PAGE_GEOMETRY, ap as DEFAULT_RUN_STYLE, aq as DEFAULT_SECTION_PROPERTIES, ar as DEFAULT_TAB_INTERVAL_PT, as as DEFAULT_TAB_INTERVAL_TWIPS, at as DeclaredFontSubstitution, au as DocumentSection, av as DocumentSectionsEnumeration, aw as DrawingClipFallback, ax as DrawingGeometry, ay as DrawingGroupPictureLayerRecord, az as DrawingGroupPictureRecord, aA as DrawingPlaceholderKind, aB as DrawingTextArtRecord, aC as EMPTY_NUMBERING_INDEX, aD as EMPTY_TAB_STOPS, aE as EquationBarGeometry, aF as EquationFractionGeometry, aG as EquationGeometry, aH as EquationNaryGeometry, aI as EquationRadicalGeometry, aJ as EquationRowGeometry, aK as EquationScriptGeometry, aL as EquationSpanRecord, aM as EquationTextGeometry, aN as FieldAtomMarker, aO as FontFingerprintInputs, o as FontRequest, aP as FontResolutionError, aQ as FontResolutionErrorCode, aR as FontResourceDefinition, aS as FontResourceInstrumentation, F as FontResourceSnapshot, aT as FontResourceSnapshotOptions, aU as FontSlot, r as FontSubstitution, aV as FontValidationResult, aW as GlyphOutline, aX as GroupTextboxStoryRecord, aY as HARD_MAX_AGGREGATE_FONT_BYTES, aZ as HARD_MAX_FONT_BYTES, a_ as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, a$ as LevelOverride, b0 as LineSpacingRule, b1 as ListMarkerAlign, q as ListMarkerPictureRecord, b2 as ListMarkerRecord, b3 as ListSuffix, b4 as MAX_BORDER_SPACE_PT, b5 as MAX_BORDER_WIDTH_PT, b6 as MAX_DOCUMENT_SECTIONS, b7 as MAX_LVL_OVERRIDES, b8 as MAX_NUMBERING_DEFINITIONS, b9 as MAX_PARAGRAPH_SPACING_PT, ba as MAX_SHAPING_CONTEXT, bb as MAX_STYLE_DEFINITIONS, bc as MAX_TABLE_BORDER_STROKES, bd as MAX_TAB_POSITION_TWIPS, be as MAX_TAB_STOPS, m as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, bf as NumDefinition, bg as NumberingPictureBullet, bh as PAGE_BORDER_SIDES, bi as PARAGRAPH_BORDER_SIDES, bj as PageBorderDisplay, bk as PageBorderOffsetFrom, bl as PageBorderSide, bm as PageBorderStrokeRecord, bn as PageBorderZOrder, bo as PageRefCalibrationCell, bp as PageRefFieldProjection, bq as ParagraphAutoSpacingContext, br as ParagraphBorderEdge, bs as ParagraphBorderSide, bt as ParagraphBorders, bu as ParagraphBottomBorderRecord, bv as ParagraphIndent, bw as ParagraphLayoutInputs, bx as ParagraphLineSpacing, by as ParagraphSpacing, bz as RefFieldSpec, bA as RefNoteParts, bB as ResolvedCellBorders, l as ResolvedFont, bC as ResolvedPictureBullet, R as ResolvedRunStyle, bD as ResolvedTabStops, bE as ResolvedTableBorderEdge, bF as ResolvedTableBorderEdgeSegment, bG as ResolvedUnderline, bH as SINGLE_LINE_SPACING, bI as ScriptItem, bJ as SectionBreakMarkRecord, bK as SectionBreakType, bL as SectionColumnDefinition, bM as SectionMargins, bN as SectionPageNumbering, t as SectionProperties, bO as SemanticArtifactRootStoryKind, bP as SemanticArtifactStoryKind, bQ as SemanticCommentArtifactRecord, bR as SemanticReviewArtifactOccurrence, bS as SemanticReviewArtifactOccurrenceGeometry, bT as SemanticReviewArtifactPosition, p as SemanticReviewArtifactRecord, bU as SemanticReviewArtifactSource, bV as SemanticTrackedChangeArtifactRecord, bW as ShapeInput, bX as ShapedCluster, bY as ShapedFontSpan, bZ as ShapedGlyph, b_ as ShapedRunComparatorInputs, b$ as ShapedVerticalMetrics, c0 as ShapingContext, c1 as ShapingEnvironment, c2 as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, c3 as StyleDefinition, c4 as TAB_LEADER_GLYPH, c5 as TabAlignment, c6 as TabDestination, c7 as TabLeader, c8 as TabStop, c9 as TableBorderSideName, ca as TableBorderStrokeRecord, cb as TableCellDiagonalRecord, i as TableCellFragmentRecord, cc as TableFragmentRecord, h as TableRowFragmentRecord, cd as TextArtFit, ce as TextDirection, cf as TextboxStoryFallbackReason, cg as TextboxStoryLayout, U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule, ch as UnsupportedScriptError, ci as VerticalAlign, cj as appliedSpaceBefore, ck as applyLineSpacing, cl as baselineShiftPtOf, cm as borderExtentPt, cn as borderWeight, co as bottomBorderExtentPt, cp as boundedStructuralFontValidator, cq as buildNumberingIndex, cr as buildStyleCascadeTable, cs as cascadeParagraphFormatting, ct as cascadeRunProperties, cu as cascadedBottomBorder, cv as cascadedParagraphBorders, cw as cascadedTabStops, cx as collapsedSpaceBefore, cy as createFontResourceSnapshot, cz as createShapedRun, cA as createShapingEnvironment, cB as createUnsupportedContentProjector, cC as defaultTabIntervalFromSettings, cD as displayText, cE as enumerateDocumentSections, cF as enumerateDocumentSectionsBounded, cG as fixedPoint, cH as fontRequestKey, cI as geometryOfSection, cJ as glyphSizeFactorOf, cK as groupPictureLayerDrawing, cL as isValidStyleId, cM as itemizeScriptFontSlots, cN as layoutEquation, cO as measureDisplayText, cP as nextTabDestination, cQ as pageBordersFingerprint, cR as paragraphBorderExtentPt, cS as paragraphBorderStrokeWidthPt, cT as paragraphBorders, cU as paragraphBordersFingerprint, cV as paragraphBreaksBefore, cW as paragraphContextualSpacing, cX as paragraphLineSpacing, cY as paragraphSectionNode, cZ as paragraphSpacing, c_ as paragraphTabStops, c$ as parsePageBorders, d0 as parsePageNumbering, d1 as parseRefInstruction, d2 as parseSectionProperties, d3 as projectedSectionSourceIndexes, d4 as readBorderSide, d5 as readCellBorders, d6 as readNumPr, d7 as readSectionProperties, d8 as readTableBorders, d9 as resolveBorderConflict, da as resolveNumberingLevel, db as resolveParagraphLayoutInputs, dc as resolveRunStyle, dd as resolveStoryListItems, de as resolveStoryRefFields, df as resolveTableCellBorderGrid, dg as runStylesEqual, dh as shapedRunComparatorInputs, di as shapingEnvironmentFingerprint, dj as shapingEnvironmentFingerprintInputs, dk as styleForFontSlot, dl as tabAdvanceWidth, dm as tabStopsFingerprint, dn as withDefaultTabInterval, dp as withNumberingStyleLinks, dq as withResolvedListItems } from './semantic-records-DoK0lNjS.js';
14
+ import { v as NumberingLevel, w as NumberingIndex, S as SemanticLayout, x as TextDirection, y as FontSlot, R as ResolvedRunStyle, e as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, z as TableBorderSide, b as LayoutBox, D as DrawingPoint, E as DrawingInsets, G as TableFloatXSpec, J as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, K as NumberingLevelIndent, O as ResolvedListItem, Q as RefFieldContext, T as TextMeasurer, W as InlineDrawingLayoutContext, X as CellBorderBox, Y as TableBorderBox, Z as TableCellStyleFormatting, _ as TableFloatPosition, $ as StyleCascadeTable, C as ContentControlBoundaryRecord$1, n as FixedPointRoundingMode, a0 as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, a1 as FontByteValidator, s as ShapedRun, L as LineRecord, a2 as SourceRange, a3 as HyperlinkProjector, a4 as FieldLinkProjector, a5 as StoryPageFieldNeeds, a6 as HyperlinkFieldSpec, a7 as SpanLinkRecord, a8 as PageGeometry, a9 as SectionColumns, aa as SectionPageBorders, ab as PageBorderFrameRecord, ac as ParagraphBorderStrokeRecord, ad as StrikeoutStrokePt, ae as TextOutline } from './semantic-records-CzZiWMY8.js';
15
+ export { af as AUTO_PARAGRAPH_SPACING_PT, ag as AbstractNumDefinition, ah as AnchoredDrawingLayoutFallback, ai as BorderGridGeometry, aj as CascadedParagraphFormatting, ak as CjkTypographySettings, al as ContentControlGeometryFragment, am as ContentControlLevel, d as ContentControlLock, an as ContentControlMappedType, ao as ContentControlModelRange, ap as DEFAULT_PAGE_GEOMETRY, aq as DEFAULT_RUN_STYLE, ar as DEFAULT_SECTION_PROPERTIES, as as DEFAULT_TAB_INTERVAL_PT, at as DEFAULT_TAB_INTERVAL_TWIPS, au as DeclaredFontSubstitution, av as DocumentSection, aw as DocumentSectionsEnumeration, ax as DrawingClipFallback, ay as DrawingGeometry, az as DrawingGroupPictureLayerRecord, aA as DrawingGroupPictureRecord, aB as DrawingPlaceholderKind, aC as DrawingTextArtRecord, aD as EMPTY_NUMBERING_INDEX, aE as EMPTY_TAB_STOPS, aF as EquationBarGeometry, aG as EquationBorderBoxGeometry, aH as EquationDiagonal, aI as EquationFractionGeometry, aJ as EquationGeometry, aK as EquationNaryGeometry, aL as EquationRadicalGeometry, aM as EquationRowGeometry, aN as EquationScriptGeometry, aO as EquationSpanRecord, aP as EquationTextGeometry, aQ as FieldAtomMarker, aR as FontFingerprintInputs, o as FontRequest, aS as FontResolutionError, aT as FontResolutionErrorCode, aU as FontResourceDefinition, aV as FontResourceInstrumentation, F as FontResourceSnapshot, aW as FontResourceSnapshotOptions, r as FontSubstitution, aX as FontValidationResult, aY as GlyphOutline, aZ as GroupTextboxStoryRecord, a_ as HARD_MAX_AGGREGATE_FONT_BYTES, a$ as HARD_MAX_FONT_BYTES, b0 as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, b1 as LevelOverride, b2 as LineSpacingRule, b3 as ListMarkerAlign, q as ListMarkerPictureRecord, b4 as ListMarkerRecord, b5 as ListSuffix, b6 as MAX_BORDER_SPACE_PT, b7 as MAX_BORDER_WIDTH_PT, b8 as MAX_DOCUMENT_SECTIONS, b9 as MAX_LVL_OVERRIDES, ba as MAX_NUMBERING_DEFINITIONS, bb as MAX_PARAGRAPH_SPACING_PT, bc as MAX_SHAPING_CONTEXT, bd as MAX_STYLE_DEFINITIONS, be as MAX_TABLE_BORDER_STROKES, bf as MAX_TAB_POSITION_TWIPS, bg as MAX_TAB_STOPS, m as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, bh as NumDefinition, bi as NumberingPictureBullet, bj as PAGE_BORDER_SIDES, bk as PARAGRAPH_BORDER_SIDES, bl as PageBorderDisplay, bm as PageBorderOffsetFrom, bn as PageBorderSide, bo as PageBorderStrokeRecord, bp as PageBorderZOrder, bq as PageRefCalibrationCell, br as PageRefFieldProjection, bs as ParagraphAutoSpacingContext, bt as ParagraphBorderEdge, bu as ParagraphBorderSide, bv as ParagraphBorders, bw as ParagraphBottomBorderRecord, bx as ParagraphIndent, by as ParagraphLayoutInputs, bz as ParagraphLineSpacing, bA as ParagraphSpacing, bB as RefFieldSpec, bC as RefNoteParts, bD as ResolvedCellBorders, l as ResolvedFont, bE as ResolvedPictureBullet, bF as ResolvedTabStops, bG as ResolvedTableBorderEdge, bH as ResolvedTableBorderEdgeSegment, bI as ResolvedUnderline, bJ as SINGLE_LINE_SPACING, bK as SectionBreakMarkRecord, bL as SectionBreakType, bM as SectionColumnDefinition, bN as SectionMargins, bO as SectionPageNumbering, t as SectionProperties, bP as SemanticArtifactRootStoryKind, bQ as SemanticArtifactStoryKind, bR as SemanticCommentArtifactRecord, bS as SemanticReviewArtifactOccurrence, bT as SemanticReviewArtifactOccurrenceGeometry, bU as SemanticReviewArtifactPosition, p as SemanticReviewArtifactRecord, bV as SemanticReviewArtifactSource, bW as SemanticTrackedChangeArtifactRecord, bX as ShapeInput, bY as ShapedCluster, bZ as ShapedFontSpan, b_ as ShapedGlyph, b$ as ShapedRunComparatorInputs, c0 as ShapedVerticalMetrics, c1 as ShapingContext, c2 as ShapingEnvironment, c3 as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, c4 as StyleDefinition, c5 as TAB_LEADER_GLYPH, c6 as TabAlignment, c7 as TabDestination, c8 as TabLeader, c9 as TabStop, ca as TableBorderSideName, cb as TableBorderStrokeRecord, cc as TableCellDiagonalRecord, g as TableCellFragmentRecord, cd as TableFragmentRecord, f as TableRowFragmentRecord, ce as TextArtFit, cf as TextboxStoryFallbackReason, cg as TextboxStoryLayout, U as UnsupportedElement, h as UnsupportedElementLayout, i as UnsupportedElementRule, ch as VerticalAlign, ci as appliedSpaceBefore, cj as applyLineSpacing, ck as baselineShiftPtOf, cl as borderExtentPt, cm as borderWeight, cn as bottomBorderExtentPt, co as boundedStructuralFontValidator, cp as buildNumberingIndex, cq as buildStyleCascadeTable, cr as cascadeParagraphFormatting, cs as cascadeRunProperties, ct as cascadedBottomBorder, cu as cascadedParagraphBorders, cv as cascadedTabStops, cw as collapsedSpaceBefore, cx as createFontResourceSnapshot, cy as createShapedRun, cz as createShapingEnvironment, cA as createUnsupportedContentProjector, cB as defaultTabIntervalFromSettings, cC as displayText, cD as enumerateDocumentSections, cE as enumerateDocumentSectionsBounded, cF as fixedPoint, cG as fontRequestKey, cH as geometryOfSection, cI as glyphSizeFactorOf, cJ as groupPictureLayerDrawing, cK as isValidStyleId, cL as layoutEquation, cM as measureDisplayText, cN as nextTabDestination, cO as pageBordersFingerprint, cP as paragraphBorderExtentPt, cQ as paragraphBorderStrokeWidthPt, cR as paragraphBorders, cS as paragraphBordersFingerprint, cT as paragraphBreaksBefore, cU as paragraphContextualSpacing, cV as paragraphLineSpacing, cW as paragraphSectionNode, cX as paragraphSpacing, cY as paragraphTabStops, cZ as parsePageBorders, c_ as parsePageNumbering, c$ as parseRefInstruction, d0 as parseSectionProperties, d1 as projectedSectionSourceIndexes, d2 as readBorderSide, d3 as readCellBorders, d4 as readSectionProperties, d5 as readTableBorders, d6 as resolveBorderConflict, d7 as resolveNumberingLevel, d8 as resolveParagraphLayoutInputs, d9 as resolveRunStyle, da as resolveStoryListItems, db as resolveStoryRefFields, dc as resolveTableCellBorderGrid, dd as runStylesEqual, de as shapedRunComparatorInputs, df as shapingEnvironmentFingerprint, dg as shapingEnvironmentFingerprintInputs, dh as tabAdvanceWidth, di as tabStopsFingerprint, dj as withDefaultTabInterval, dk as withNumberingStyleLinks, dl as withResolvedListItems } from './semantic-records-CzZiWMY8.js';
16
16
  export { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
17
- export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-Ci_BTnSU.js';
18
- import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-DnO8J5_j.js';
19
- export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-DnO8J5_j.js';
20
- import { aK as ImpactClass, a4 as OoxmlNode, aC as OoxmlProperty, av as OoxmlElement, O as OoxmlPart, au as TreeDocOp, a5 as OoxmlPackage, bQ as ContentControlKind, bR as ContentControlLevel, bT as ContentControlLock, bN as ContentControlDataBinding, a as ReviewItem } from './tree-op-types-Df4oY2u4.js';
21
- export { eM as AffineMatrix, bI as CommentAnchor, bJ as CommentPosition, C as CommentRecord, bu as CommentThreadState, a_ as DrawingAccessibility, eN as DrawingChartPlotType, eO as DrawingChartShownAs, b0 as DrawingChartSummary, a7 as DrawingHorizontalReferenceFrame, a$ as DrawingImageEffects, aW as DrawingTransform, ab as DrawingVerticalReferenceFrame, eP as GradientStop, ag as ImageWrapTarget, b2 as PictureFrameEffects, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, bs as ShapeColor, de as ShapeReflection, df as ShapeShadow, aT as SourceCrop, aX as TableBorderStyle, aY as TextboxOutlineProjection, dp as VectorGradient, dq as VectorPattern, aZ as VectorShapeComponent, b1 as VectorShapeProjection, dr as W15_NAMESPACE_URI, eQ as activeReviewItem, dY as firstReviewRange, ez as reviewItemKey, eR as reviewItemPositionRank, eA as reviewItemRanges, eS as reviewItemsAt, eT as reviewThreadRootOf } from './tree-op-types-Df4oY2u4.js';
22
- import { c as DocumentProperties, H as HeadlessDocumentView, v as relationshipTargetIn } from './drawing-graphic-kind-CXYGYbB3.js';
23
- export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-CXYGYbB3.js';
24
- import { q as RevisionAttribution, b as RevisionDisplayMode, p as RevisionAuthorFilter } from './revision-projection-OVusTS77.js';
25
- export { s as DEFAULT_REVISION_DISPLAY_MODE, t as RevisionFilter, u as RevisionKind, v as formatRevisionOf, w as markRevisionRemovesMark, x as paragraphMarkFormatRevisionOf, y as paragraphMarkRevisionOf, z as paragraphMarkRevisionsOf, A as revisionAuthorFilter, B as revisionsAreDeletion, C as revisionsVisible, E as shownMarkRevision } from './revision-projection-OVusTS77.js';
26
- import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-DCIJUKIy.js';
27
- import { c as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-DXhX1PE-.js';
28
- export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-BJQ43_r0.js';
29
- import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-BbA4dgEo.js';
30
- export { c as CaretAtOptions, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlsInLayout, i as deletedTextBoundaries, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-BbA4dgEo.js';
31
- export { C as CellSelection, D as DEFAULT_VERTICAL_WEIGHT, a as DrawingOverlayFrame, H as HitPoint, b as HitTestOptions, P as PlacedCell, S as SemanticHit, c as SemanticHitDrawing, T as TableCellAddress, d as TableCellContext, e as caretBoxOnLine, f as cellSelectionBetween, g as cellSelectionRects, h as cellSelectionText, i as contentControlAtPoint, j as findDrawingOverlayFrameInLayout, k as hitTestPage, l as hitTestSheet, m as isFurniturePoint, n as lineEndOffset, p as pageAtY, o as paragraphsInCells, s as spanOffsetX, q as spansInCells, t as tableContextAt } from './semantic-cell-selection-CoI5hHBm.js';
17
+ export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-Byj-TwsI.js';
18
+ import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-Bf5bgQL3.js';
19
+ export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-Bf5bgQL3.js';
20
+ import { aK as ImpactClass, a4 as OoxmlNode, aC as OoxmlProperty, av as OoxmlElement, O as OoxmlPart, au as TreeDocOp, a5 as OoxmlPackage, bQ as ContentControlKind, bR as ContentControlLevel, bT as ContentControlLock, bN as ContentControlDataBinding, a as ReviewItem } from './tree-op-types-DKvJSH8T.js';
21
+ export { eP as AffineMatrix, bI as CommentAnchor, bJ as CommentPosition, C as CommentRecord, bu as CommentThreadState, aX as DrawingAccessibility, eQ as DrawingChartPlotType, eR as DrawingChartShownAs, a_ as DrawingChartSummary, a7 as DrawingHorizontalReferenceFrame, aY as DrawingImageEffects, aZ as DrawingTransform, ab as DrawingVerticalReferenceFrame, eS as GradientStop, ag as ImageWrapTarget, b0 as PictureFrameEffects, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, bs as ShapeColor, dh as ShapeReflection, di as ShapeShadow, aT as SourceCrop, aU as TableBorderStyle, aV as TextboxOutlineProjection, ds as VectorGradient, dt as VectorPattern, aW as VectorShapeComponent, a$ as VectorShapeProjection, du as W15_NAMESPACE_URI, eT as activeReviewItem, d$ as firstReviewRange, eC as reviewItemKey, eU as reviewItemPositionRank, eD as reviewItemRanges, eV as reviewItemsAt, eW as reviewThreadRootOf } from './tree-op-types-DKvJSH8T.js';
22
+ import { c as DocumentProperties, H as HeadlessDocumentView, x as relationshipTargetIn } from './drawing-graphic-kind-CK0cMc7H.js';
23
+ export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-CK0cMc7H.js';
24
+ import { q as RevisionAttribution, b as RevisionDisplayMode, p as RevisionAuthorFilter } from './revision-projection-DwFhgIR0.js';
25
+ export { s as DEFAULT_REVISION_DISPLAY_MODE, t as RevisionFilter, u as RevisionKind, v as formatRevisionOf, w as markRevisionRemovesMark, x as paragraphMarkFormatRevisionOf, y as paragraphMarkRevisionOf, z as paragraphMarkRevisionsOf, A as revisionAuthorFilter, B as revisionsAreDeletion, C as revisionsVisible, E as shownMarkRevision } from './revision-projection-DwFhgIR0.js';
26
+ import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-BiunaIQa.js';
27
+ import { c as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-Cl3BkWXF.js';
28
+ export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-BWMXAKuA.js';
29
+ import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-QeuzEtAk.js';
30
+ export { c as CaretAtOptions, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlsInLayout, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-QeuzEtAk.js';
31
+ export { C as CellSelection, D as DEFAULT_VERTICAL_WEIGHT, a as DrawingOverlayFrame, H as HitPoint, b as HitTestOptions, P as PlacedCell, S as SemanticHit, c as SemanticHitDrawing, T as TableCellAddress, d as TableCellContext, e as caretBoxOnLine, f as cellSelectionBetween, g as cellSelectionRects, h as cellSelectionText, i as contentControlAtPoint, j as findDrawingOverlayFrameInLayout, k as hitTestPage, l as hitTestSheet, m as isFurniturePoint, n as lineEndOffset, p as pageAtY, o as paragraphsInCells, s as spanOffsetX, q as spansInCells, t as tableContextAt } from './semantic-cell-selection-DhalxEBH.js';
32
32
  import './editor-scope-CA6egMaK.js';
33
33
 
34
34
  /**
@@ -65,8 +65,23 @@ interface ListCounterState {
65
65
  */
66
66
  advance(numId: string, ilvl: number): ListCounterAdvance | null;
67
67
  }
68
+ /** The counter values of one bag at one point of its walk. */
69
+ interface ListCounterSnapshot {
70
+ /** Keyed by abstractNumId. */
71
+ readonly counters: ReadonlyMap<string, readonly number[]>;
72
+ /** Keyed by abstractNumId. */
73
+ readonly initialized: ReadonlyMap<string, readonly boolean[]>;
74
+ /** The numIds whose `w:startOverride` restart has already applied. */
75
+ readonly restarted: ReadonlySet<string>;
76
+ }
68
77
  /**
69
78
  * Create a fresh counter bag for one story (body, or one header/footer part).
79
+ *
80
+ * Every `w:num` over one `w:abstractNum` counts on the same vector. A `w:num` with a
81
+ * `w:startOverride` restarts it once: at its first paragraph whose level carries an override,
82
+ * that level starts again from the `w:num`'s value. The restart applies to that level alone and
83
+ * is then spent, so a later paragraph of the same `w:num` on another overridden level continues.
84
+ * A level that starts again after a parent level takes the start of the `w:num` counting it.
70
85
  */
71
86
  declare function createListCounterState(index: NumberingIndex): ListCounterState;
72
87
 
@@ -210,6 +225,68 @@ interface FieldPageContext {
210
225
  */
211
226
  declare function formatPageNumber(value: number, format: string | undefined): string;
212
227
 
228
+ /**
229
+ * UAX #9 embedding levels, one per UTF-16 code unit, plus the paragraph ranges they were resolved
230
+ * within.
231
+ *
232
+ * The level is EXACT, not a direction: its parity gives direction, but the numeric value is what
233
+ * reordering needs, and collapsing it early loses nested isolates.
234
+ */
235
+ interface BidiEmbeddingLevels {
236
+ readonly levels: Uint8Array;
237
+ readonly paragraphs: readonly {
238
+ readonly start: number;
239
+ readonly end: number;
240
+ readonly level: number;
241
+ }[];
242
+ }
243
+
244
+ /**
245
+ * A run of text sharing one script, direction and font slot — the unit handed to the shaper.
246
+ *
247
+ * Shaping cannot span a script change: Arabic and Latin in one call would produce wrong joining
248
+ * behaviour, so a run is itemized into these first.
249
+ */
250
+ interface ScriptItem {
251
+ readonly from: number;
252
+ readonly to: number;
253
+ readonly direction: TextDirection;
254
+ readonly bidiLevel: number;
255
+ /** The shaping script. The public union restates the shared slot policy's set. */
256
+ readonly script: 'Zyyy' | 'Latn' | 'Grek' | 'Cyrl' | 'Hani' | 'Hebr' | 'Arab' | 'Deva' | 'Beng' | 'Thai' | 'Khmr';
257
+ readonly slot: FontSlot;
258
+ }
259
+ /**
260
+ * A code point whose script this engine does not itemize.
261
+ *
262
+ * Carries the offending `codePoint` so the caller can report which character stopped it, rather
263
+ * than failing anonymously somewhere in the middle of a paragraph.
264
+ */
265
+ declare class UnsupportedScriptError extends Error {
266
+ readonly name = "UnsupportedScriptError";
267
+ readonly code = "unsupportedScript";
268
+ readonly codePoint: number;
269
+ constructor(codePoint: number);
270
+ }
271
+ /**
272
+ * Split text into shapeable runs by script, bidi level and font slot.
273
+ *
274
+ * Consumes the bidi levels rather than re-deriving direction, so itemization and reordering agree
275
+ * by construction instead of by two implementations happening to match.
276
+ */
277
+ declare function itemizeScriptFontSlots(text: string, paragraphOffset: number, embedding: BidiEmbeddingLevels): readonly ScriptItem[];
278
+ /**
279
+ * The style a piece's text is MEASURED AND PAINTED in, given the font slot it carries.
280
+ *
281
+ * This is the measurer-boundary resolution: pieces and spans keep the run's real resolved
282
+ * style — with `fontFamily` and `fontFamilyEastAsia` both intact, so formatting readback
283
+ * and the format painter see the run as authored — and every consumer that turns text into
284
+ * geometry or ink resolves the face through here. The derived object is memoized per
285
+ * (style, family) by {@link withFontFamily}, so measurers amortizing over style identity
286
+ * keep their caches.
287
+ */
288
+ declare function styleForFontSlot(style: ResolvedRunStyle, slot: FontSlot | undefined): ResolvedRunStyle;
289
+
213
290
  type AutonumFieldKind = 'AUTONUM' | 'AUTONUMLGL' | 'AUTONUMOUT';
214
291
  /** One recognized AUTONUM-family instruction: the kind and its supported switches. */
215
292
  interface AutonumFieldSpec {
@@ -226,6 +303,133 @@ interface AutonumFieldSpec {
226
303
  */
227
304
  declare function parseAutonumInstruction(raw: string): AutonumFieldSpec | null;
228
305
 
306
+ /** A horizontal run of x a float leaves free on one line, in paragraph-local coordinates. */
307
+ interface WrapInterval {
308
+ readonly start: number;
309
+ readonly end: number;
310
+ }
311
+ /** The one passage that holds a whole line. */
312
+ interface WrapSegment extends WrapInterval {
313
+ /**
314
+ * Where the content ends, when the pen stepped over a float but placed nothing past it.
315
+ * Alignment measures the content from here rather than from the pen.
316
+ */
317
+ readonly contentEnd?: number;
318
+ }
319
+
320
+ /**
321
+ * How far each space may shrink under a legacy compatibility rule: down to half its face's
322
+ * average character width (OS/2 `xAvgCharWidth`, the metric of the reverse automatic spacing
323
+ * gap), or down to a quarter of its font size.
324
+ */
325
+ type SpaceShrinkFloor = 'halfAverage' | 'quarterEm';
326
+
327
+ interface PendingLine {
328
+ readonly spans: StyleSpanRecord[];
329
+ readonly drawings: InlineDrawingRecord[];
330
+ readonly start: number;
331
+ end: number;
332
+ width: number;
333
+ height: number;
334
+ baseline: number;
335
+ /**
336
+ * Space ABOVE the glyph band inside {@link height}.
337
+ *
338
+ * Exact spacing can center the glyphs and move the baseline. Auto/atLeast spacing leaves
339
+ * this at zero and puts its extra depth below instead.
340
+ */
341
+ leading: number;
342
+ /**
343
+ * Auto/atLeast line-spacing depth below the painted glyph band.
344
+ *
345
+ * Word lets this external depth cross the bottom text margin when the glyphs themselves
346
+ * still fit. Pagination therefore budgets {@link height} minus this amount at a page
347
+ * bottom, while paint keeps the full box and padding.
348
+ */
349
+ trailingSpacing: number;
350
+ /** When true, layout must start a new page after this line is placed. */
351
+ pageBreakAfter?: boolean;
352
+ /** When true, layout must advance to the next authored section column. */
353
+ columnBreakAfter?: boolean;
354
+ /** An authored line break (`w:br` textWrapping or `w:cr`), never an automatic wrap. */
355
+ manualBreakAfter?: true;
356
+ /**
357
+ * The flow kept the paragraph's last word on this line by borrowing inter-word space.
358
+ * Alignment compresses a paragraph's last line only when this is set, never for another
359
+ * overflow such as hanging punctuation.
360
+ */
361
+ spaceShrink?: true;
362
+ /**
363
+ * The flow admitted a word on this line by borrowing inter-word space, so its natural
364
+ * content can run past its float passage while the compressed line stays inside it.
365
+ */
366
+ borrowedSpace?: true;
367
+ /**
368
+ * The line borrowed inter-word space under a rule for every alignment
369
+ * (`SpaceShrinkRule.everyAlignment`), so alignment compresses it to fill the measure as it
370
+ * does a justified line, each space down to this floor.
371
+ */
372
+ compressesSpaces?: SpaceShrinkFloor;
373
+ /** Model ranges on this line covering deleted content; see {@link LineRecord.deletedRanges}. */
374
+ deletedRanges?: readonly ModelRange[];
375
+ /** Vertical gap inserted before this line to clear a drawing exclusion band. */
376
+ exclusionSkipBefore?: number;
377
+ /**
378
+ * The line follows a text wrapping break that clears floating objects (`w:br w:clear`).
379
+ * Placement keeps its skip even on a line before the paragraph's first anchor.
380
+ */
381
+ breakClearance?: true;
382
+ /**
383
+ * The skip clears a paragraph-framed band of an anchor on a later line of the same paragraph
384
+ * (`top-and-bottom-earlier-lines.ts`). Placement keeps it, as it keeps {@link breakClearance}.
385
+ */
386
+ ownBandClearance?: true;
387
+ /** Clearance inherited by an empty anchor paragraph from other drawing bands. */
388
+ anchorClearanceBefore?: number;
389
+ /**
390
+ * The first-line offset this line was broken with: the paragraph's first line, and the
391
+ * first line after page breaks that open it ({@link holdsOnlyPageBreak}). Absent when zero.
392
+ */
393
+ firstLineOffset?: number;
394
+ /**
395
+ * The horizontal passage a float left this line, when that passage is narrower than the
396
+ * paragraph's measure and holds the whole line.
397
+ *
398
+ * `start` is where the line's content begins (after any first-line indent) and `end` is the
399
+ * passage's right edge, both in paragraph-local coordinates. Centring, right alignment and
400
+ * justification align INSIDE this passage: Word centres a heading between the two pictures
401
+ * beside it, not between the page margins, and stretches a justified line to the float's
402
+ * near edge rather than through it. Absent when no float shortens the line, when the line
403
+ * steps over a float into a later passage, or when the passage is the whole measure.
404
+ * `contentEnd` marks a line whose pen stepped over a float without placing anything past it.
405
+ */
406
+ wrapSegment?: WrapSegment;
407
+ /**
408
+ * The float passages a line that steps over a float holds content in, in the order its pen
409
+ * met them, in paragraph-local coordinates (mirrored when {@link wrapMirrored}). The first
410
+ * starts where the line's content begins.
411
+ *
412
+ * Each part of such a line aligns INSIDE its own passage: centred text is centred beside the
413
+ * float on each side, and right-aligned text ends at each passage's right edge. Aligning the
414
+ * line as one block moved the text before the float onto the picture. Absent on a line that
415
+ * one passage holds whole, which {@link wrapSegment} describes.
416
+ */
417
+ wrapPassages?: readonly {
418
+ readonly start: number;
419
+ readonly end: number;
420
+ }[];
421
+ /**
422
+ * The line broke in x mirrored about its paragraph's measure, as a right-to-left line does
423
+ * beside a float (`wrap-break-space.ts`): it fills the rightmost passage first. Its spans,
424
+ * {@link wrapSegment} and {@link wrapPassages} are then in that mirrored x, in break order.
425
+ */
426
+ wrapMirrored?: true;
427
+ /** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
428
+ anchorRevisions?: readonly RevisionAttribution[];
429
+ /** Revisions a resolved view answered on this line; see {@link LineRecord.changeSites}. */
430
+ changeSites?: readonly RevisionAttribution[];
431
+ }
432
+
229
433
  /**
230
434
  * Lookup of derived display marks keyed by {@link formatNoteScopeId}.
231
435
  *
@@ -415,108 +619,6 @@ interface FieldCodeRange {
415
619
  }
416
620
  type FieldCodeRanges = ReadonlyMap<string, readonly FieldCodeRange[]>;
417
621
 
418
- /** A horizontal run of x a float leaves free on one line, in paragraph-local coordinates. */
419
- interface WrapInterval {
420
- readonly start: number;
421
- readonly end: number;
422
- }
423
- /** The one passage that holds a whole line. */
424
- interface WrapSegment extends WrapInterval {
425
- /**
426
- * Where the content ends, when the pen stepped over a float but placed nothing past it.
427
- * Alignment measures the content from here rather than from the pen.
428
- */
429
- readonly contentEnd?: number;
430
- }
431
-
432
- interface PendingLine {
433
- readonly spans: StyleSpanRecord[];
434
- readonly drawings: InlineDrawingRecord[];
435
- readonly start: number;
436
- end: number;
437
- width: number;
438
- height: number;
439
- baseline: number;
440
- /**
441
- * Space ABOVE the glyph band inside {@link height}.
442
- *
443
- * Exact spacing can center the glyphs and move the baseline. Auto/atLeast spacing leaves
444
- * this at zero and puts its extra depth below instead.
445
- */
446
- leading: number;
447
- /**
448
- * Auto/atLeast line-spacing depth below the painted glyph band.
449
- *
450
- * Word lets this external depth cross the bottom text margin when the glyphs themselves
451
- * still fit. Pagination therefore budgets {@link height} minus this amount at a page
452
- * bottom, while paint keeps the full box and padding.
453
- */
454
- trailingSpacing: number;
455
- /** When true, layout must start a new page after this line is placed. */
456
- pageBreakAfter?: boolean;
457
- /** When true, layout must advance to the next authored section column. */
458
- columnBreakAfter?: boolean;
459
- /** An authored line break (`w:br` textWrapping or `w:cr`), never an automatic wrap. */
460
- manualBreakAfter?: true;
461
- /**
462
- * The flow kept the paragraph's last word on this line by borrowing inter-word space.
463
- * Alignment compresses a paragraph's last line only when this is set, never for another
464
- * overflow such as hanging punctuation.
465
- */
466
- spaceShrink?: true;
467
- /** Model ranges on this line covering deleted content; see {@link LineRecord.deletedRanges}. */
468
- deletedRanges?: readonly ModelRange[];
469
- /** Vertical gap inserted before this line to clear a drawing exclusion band. */
470
- exclusionSkipBefore?: number;
471
- /**
472
- * The line follows a text wrapping break that clears floating objects (`w:br w:clear`).
473
- * Placement keeps its skip even on a line before the paragraph's first anchor.
474
- */
475
- breakClearance?: true;
476
- /**
477
- * The skip clears a paragraph-framed band of an anchor on a later line of the same paragraph
478
- * (`top-and-bottom-earlier-lines.ts`). Placement keeps it, as it keeps {@link breakClearance}.
479
- */
480
- ownBandClearance?: true;
481
- /** Clearance inherited by an empty anchor paragraph from other drawing bands. */
482
- anchorClearanceBefore?: number;
483
- /**
484
- * The first-line offset this line was broken with: the paragraph's first line, and the
485
- * first line after page breaks that open it ({@link holdsOnlyPageBreak}). Absent when zero.
486
- */
487
- firstLineOffset?: number;
488
- /**
489
- * The horizontal passage a float left this line, when that passage is narrower than the
490
- * paragraph's measure and holds the whole line.
491
- *
492
- * `start` is where the line's content begins (after any first-line indent) and `end` is the
493
- * passage's right edge, both in paragraph-local coordinates. Centring, right alignment and
494
- * justification align INSIDE this passage: Word centres a heading between the two pictures
495
- * beside it, not between the page margins, and stretches a justified line to the float's
496
- * near edge rather than through it. Absent when no float shortens the line, when the line
497
- * steps over a float into a later passage, or when the passage is the whole measure.
498
- * `contentEnd` marks a line whose pen stepped over a float without placing anything past it.
499
- */
500
- wrapSegment?: WrapSegment;
501
- /**
502
- * The float passages a line that steps over a float holds content in, left to right, in
503
- * paragraph-local coordinates. The first starts where the line's content begins.
504
- *
505
- * Each part of such a line aligns INSIDE its own passage: centred text is centred beside the
506
- * float on each side, and right-aligned text ends at each passage's right edge. Aligning the
507
- * line as one block moved the text before the float onto the picture. Absent on a line that
508
- * one passage holds whole, which {@link wrapSegment} describes.
509
- */
510
- wrapPassages?: readonly {
511
- readonly start: number;
512
- readonly end: number;
513
- }[];
514
- /** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
515
- anchorRevisions?: readonly RevisionAttribution[];
516
- /** Revisions a resolved view answered on this line; see {@link LineRecord.changeSites}. */
517
- changeSites?: readonly RevisionAttribution[];
518
- }
519
-
520
622
  /**
521
623
  * What one cell side is before any ADJACENT cell has its say.
522
624
  *
@@ -595,6 +697,12 @@ interface WrapExclusionInput {
595
697
  readonly wrapDistances: DrawingInsets;
596
698
  readonly effectInsets: DrawingInsets;
597
699
  readonly textSide: WrapTextSide;
700
+ /**
701
+ * The physical side `largest` keeps when both sides are equally wide. Absent means the
702
+ * right, as in compatibility modes before 15; the paragraph breaker sets the left for
703
+ * mode 15 and later (`largestWrapTieLeft`).
704
+ */
705
+ readonly largestTie?: 'left' | 'right';
598
706
  readonly contentLeft: number;
599
707
  readonly contentRight: number;
600
708
  }
@@ -892,6 +1000,26 @@ interface LayoutSession {
892
1000
  */
893
1001
  declare function createLayoutSession(): LayoutSession;
894
1002
 
1003
+ /**
1004
+ * Read `w:numPr` from cascaded paragraph-property nodes (lowest precedence first).
1005
+ *
1006
+ * Flat `OoxmlProperty[]` bags drop nested `ilvl`/`numId`, so this walks the tree nodes
1007
+ * the same way borders and tabs do.
1008
+ *
1009
+ * `w:ilvl` and `w:numId` inherit INDEPENDENTLY through the style chain and the direct
1010
+ * `w:pPr` (§17.3.1.19): a tier stating only the level keeps the id it inherits — Word's
1011
+ * standard Heading2–Heading9 shape, where only Heading1 names the `w:num` — and a tier
1012
+ * stating only the id keeps the inherited level. Treating each `w:numPr` node as a full
1013
+ * replacement dropped the id at every level-only tier and unnumbered the paragraph. A
1014
+ * stated `w:numId w:val="0"` (or an invalid value) still switches numbering off at that
1015
+ * tier even when a lower tier set one; a higher tier stating a valid id re-enables. A
1016
+ * level-only tier with no id inherited from below resolves to no numbering.
1017
+ */
1018
+ declare function readNumPr(paragraphPropertyNodes: readonly OoxmlNode[]): {
1019
+ numId: string;
1020
+ ilvl: number;
1021
+ } | null;
1022
+
895
1023
  /**
896
1024
  * The effective indent of a list paragraph: `inherited`, then the numbering LEVEL, then
897
1025
  * `direct`, per attribute.
@@ -1004,6 +1132,7 @@ type CellVerticalAlign = 'top' | 'center' | 'bottom';
1004
1132
  interface TableAutofitContext {
1005
1133
  /** Measures text exactly as line breaking does. */
1006
1134
  readonly measurer: TextMeasurer;
1135
+ /** Nested in a fixed table's cell (`nestedAutofitStructure`). */ readonly parentTableFixed?: true;
1007
1136
  /** List items by paragraph id: a list level indents its paragraph. */
1008
1137
  readonly listItems?: ReadonlyMap<string, ResolvedListItem>;
1009
1138
  /** Resolves inline pictures, so a picture column keeps the width the picture paints at. */
@@ -1219,16 +1348,28 @@ interface SemanticTableStructure {
1219
1348
  readonly legacyTrailingOuterEdge?: true;
1220
1349
  /**
1221
1350
  * Derived, never serialized: how far the grid moves from the aligned table edge, in points.
1222
- * A supported mode-14 fixed table shifts by its leading cell margin in the other direction.
1351
+ * A supported legacy table with an absolute width shifts by its aligned cell margin so its
1352
+ * content meets the aligned text edge (`legacyContentOffsetPt`).
1223
1353
  * A compatibility-mode-15 left- or right-aligned table puts the outer edge of its side rule
1224
1354
  * on that edge, so its first grid line sits half a rule inward. Positive moves right.
1225
1355
  */
1226
1356
  readonly outerRuleOffsetPt?: number;
1357
+ /**
1358
+ * Derived, never serialized: the legacy content-edge offset, which `outerRuleOffsetPt`
1359
+ * carries. It does not depend on the column widths, so AutoFit widening keeps it.
1360
+ */
1361
+ readonly legacyContentOffsetPt?: number;
1227
1362
  /**
1228
1363
  * Derived, never serialized: the outer side rule an automatic-width mode-15 AutoFit table
1229
1364
  * keeps inside its container, so its grid settles that much narrower than the room.
1230
1365
  */
1231
1366
  readonly autoOuterRulePt?: number;
1367
+ /** Derived, never serialized: a right-to-left text-box table's move right, in points. */
1368
+ readonly textBoxBidiShiftPt?: number;
1369
+ /** Derived, never serialized: a top-level table of a text box story. */
1370
+ readonly textBox?: true;
1371
+ /** Derived, never serialized: AutoFit widening keeps the shared grid lines. */
1372
+ readonly sharedGridLinesHold?: true;
1232
1373
  /**
1233
1374
  * Derived, never serialized: a top-level autofit table whose absolute `w:tblW` is wider than
1234
1375
  * its text column. See `tableWidthPastTextColumn`.
@@ -1357,6 +1498,9 @@ pages?: ReadonlySet<number>,
1357
1498
  /** For exact intra-span edge positions (see {@link selectionRects}). */
1358
1499
  measurer?: TextMeasurer): Map<string, SelectionRect[]>;
1359
1500
 
1501
+ /** Visible deletion boundaries split words without changing canonical text offsets. */
1502
+ declare function deletedTextBoundaries(layout: SemanticLayout, paragraphId: string): ReadonlySet<number>;
1503
+
1360
1504
  /**
1361
1505
  * The next word boundary from `offset`, in `direction`.
1362
1506
  *
@@ -1930,6 +2074,14 @@ interface HeaderFooterStoryInputs {
1930
2074
  * merged into the paragraph's own.
1931
2075
  */
1932
2076
  readonly numberingIndex?: NumberingIndex;
2077
+ /**
2078
+ * The list counters this story starts from. Header and footer stories continue one count
2079
+ * across the document (see `furniture-list-seeds.ts`); absent, the story counts from fresh
2080
+ * counters.
2081
+ *
2082
+ * @internal
2083
+ */
2084
+ readonly listCounterSeed?: ListCounterSnapshot;
1933
2085
  /** Sanitized hyperlink seams scoped to this header/footer part. */
1934
2086
  readonly projectLink?: HyperlinkProjector;
1935
2087
  readonly projectFieldLink?: FieldLinkProjector;
@@ -2045,17 +2197,22 @@ type ResolvedNoteProperties = ResolvedFootnoteProperties | ResolvedEndnoteProper
2045
2197
  /**
2046
2198
  * Derive display marks for references of one note kind in document order.
2047
2199
  *
2048
- * Restart rules:
2049
- * - `continuous` — single sequence across the document from `numStart`
2050
- * - `eachSect` — restart at `numStart` when `sectionIndex` changes
2051
- * - `eachPage` — restart when `pageIndex` changes (falls back to continuous if unknown)
2200
+ * A note's number is its section's `numStart` plus the note's index in its numbering domain:
2201
+ * - `continuous` — the domain is the whole document, so the index counts every earlier
2202
+ * numbered note, in any section
2203
+ * - `eachSect` — the domain is the reference's section
2204
+ * - `eachPage` — the domain is the reference's page (continuous when the page is unknown)
2205
+ *
2206
+ * So a later section that sets only `numStart` 10, after two notes, numbers its notes 12 and
2207
+ * 13, and a section without its own `numStart` continues from 1 plus the index.
2052
2208
  *
2053
2209
  * IDs are stable; only display numbers change. Non-mutating.
2054
2210
  */
2055
2211
  declare function deriveNoteDisplayMarks(noteKind: NoteKind, references: readonly NoteReferenceSite[], properties: ResolvedNoteProperties): readonly NoteDisplayMark[];
2056
2212
  /**
2057
2213
  * Derive marks using per-reference-section resolved properties (`numFmt` / `numStart` /
2058
- * `numRestart`). Restart rules consult each site's own section props.
2214
+ * `numRestart`). Each site uses its own section's properties: the format, the start value, and
2215
+ * the restart rule that picks its numbering domain (see {@link deriveNoteDisplayMarks}).
2059
2216
  */
2060
2217
  declare function deriveNoteDisplayMarksResolved(_noteKind: NoteKind, references: readonly NoteReferenceSite[], resolveProps: (sectionIndex: number) => ResolvedNoteProperties): readonly NoteDisplayMark[];
2061
2218
  /** Map noteId → formatted mark for quick lookup (last site wins if duplicated). */
@@ -2314,7 +2471,10 @@ interface NotesLayoutInput {
2314
2471
  readonly footnotePropsBySection: readonly ResolvedFootnoteProperties[];
2315
2472
  /** Per-section resolved endnote properties. */
2316
2473
  readonly endnotePropsBySection: readonly ResolvedEndnoteProperties[];
2317
- /** Document-level defaults (section 0 fallback). */
2474
+ /**
2475
+ * Properties of a section with none of its own: the defaults, plus the settings.xml endnote
2476
+ * position. The fallback when the document has no enumerated sections.
2477
+ */
2318
2478
  readonly documentFootnoteProps: ResolvedFootnoteProperties;
2319
2479
  readonly documentEndnoteProps: ResolvedEndnoteProperties;
2320
2480
  readonly measurer: TextMeasurer;
@@ -2836,7 +2996,7 @@ declare function layoutSemanticDocument(part: OoxmlPart, revision: number, optio
2836
2996
  declare const MAX_MARKER_TEXT_LENGTH = 64;
2837
2997
  /** Soft ceiling on authored `w:lvlText` before expansion. */
2838
2998
  declare const MAX_LVL_TEXT_LENGTH = 64;
2839
- /** Clamp a list counter into a safe non-negative integer Word can format. */
2999
+ /** Clamp a list counter into a safe non-negative integer that every format can display. */
2840
3000
  declare function clampListValue(value: number): number;
2841
3001
  /** `decimal` (§17.18.59). Clamped, because the counter derives from file-declared restarts. */
2842
3002
  declare function formatDecimal(value: number): string;
@@ -3294,5 +3454,5 @@ declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, s
3294
3454
  */
3295
3455
  declare function shapedRunOutline(run: ShapedRun, pointSize: number, fixedPointScale: number): TextOutline | undefined;
3296
3456
 
3297
- export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CaretGeometry, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, NumberingLevelIndent, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SYNTHETIC_BOLD_ADVANCE_EM, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextOutline, TextShaper, TextboxOwnerRecord, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, automaticTextColor, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, compoundBorderStrokesForExtentPt, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlAtSemantic, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, hitTestSemantic, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, shapedRunOutline, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, walkStoryParagraphs, wordBoundary, wordSegmentsToGraphemeRecords };
3298
- export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, CompoundBorderStroke, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticLayoutOptions, SemanticSpanVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };
3457
+ export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CaretGeometry, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, FontSlot, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, NumberingLevelIndent, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ResolvedRunStyle, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SYNTHETIC_BOLD_ADVANCE_EM, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextDirection, TextMeasurer, TextOutline, TextShaper, TextboxOwnerRecord, UnsupportedScriptError, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, automaticTextColor, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, compoundBorderStrokesForExtentPt, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlAtSemantic, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deletedTextBoundaries, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, hitTestSemantic, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, itemizeScriptFontSlots, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readNumPr, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, shapedRunOutline, storyBlocks, styleForFontSlot, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, walkStoryParagraphs, wordBoundary, wordSegmentsToGraphemeRecords };
3458
+ export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, BidiEmbeddingLevels, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, CompoundBorderStroke, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, ScriptItem, SemanticLayoutOptions, SemanticSpanVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };