@arbidocs/blocks 0.5.135 → 0.5.137

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 (283) hide show
  1. package/dist/{ConnectedCallDock-ZNS5BS2R.cjs → ConnectedCallDock-L27WYW4Y.cjs} +21 -21
  2. package/dist/{ConnectedCallDock-ZNS5BS2R.cjs.map → ConnectedCallDock-L27WYW4Y.cjs.map} +1 -1
  3. package/dist/{ConnectedCallRoom-ACNVSFH7.cjs → ConnectedCallRoom-ZXSS6CVG.cjs} +14 -14
  4. package/dist/{ConnectedCallRoom-ACNVSFH7.cjs.map → ConnectedCallRoom-ZXSS6CVG.cjs.map} +1 -1
  5. package/dist/{ConnectedNativeDocxComparison-W4KIGO54.cjs → ConnectedNativeDocxComparison-X2O5OIYZ.cjs} +16 -16
  6. package/dist/{ConnectedNativeDocxComparison-W4KIGO54.cjs.map → ConnectedNativeDocxComparison-X2O5OIYZ.cjs.map} +1 -1
  7. package/dist/{ConnectedPresentation-3JXN6SRT.cjs → ConnectedPresentation-XVCFF25X.cjs} +16 -16
  8. package/dist/{ConnectedPresentation-3JXN6SRT.cjs.map → ConnectedPresentation-XVCFF25X.cjs.map} +1 -1
  9. package/dist/{ConnectedProductionSetDialog-EOWZQ6J3.cjs → ConnectedProductionSetDialog-GM5D7IUG.cjs} +3 -3
  10. package/dist/{ConnectedProductionSetDialog-EOWZQ6J3.cjs.map → ConnectedProductionSetDialog-GM5D7IUG.cjs.map} +1 -1
  11. package/dist/{ConnectedSlidesTab-IECS2MJI.cjs → ConnectedSlidesTab-UG2NUFPS.cjs} +14 -14
  12. package/dist/{ConnectedSlidesTab-IECS2MJI.cjs.map → ConnectedSlidesTab-UG2NUFPS.cjs.map} +1 -1
  13. package/dist/{ConnectedStreamedWordArtifact-764NSXPQ.cjs → ConnectedStreamedWordArtifact-BI6WFIAW.cjs} +16 -16
  14. package/dist/{ConnectedStreamedWordArtifact-764NSXPQ.cjs.map → ConnectedStreamedWordArtifact-BI6WFIAW.cjs.map} +1 -1
  15. package/dist/{DocumentReviewCard-EM2AJUF3.cjs → DocumentReviewCard-SOWXEXMC.cjs} +15 -15
  16. package/dist/{DocumentReviewCard-EM2AJUF3.cjs.map → DocumentReviewCard-SOWXEXMC.cjs.map} +1 -1
  17. package/dist/{FilesViewerDialog-IFF2JR2A.cjs → FilesViewerDialog-A5OAV2YP.cjs} +45 -45
  18. package/dist/{FilesViewerDialog-IFF2JR2A.cjs.map → FilesViewerDialog-A5OAV2YP.cjs.map} +1 -1
  19. package/dist/{WorkspaceTableView-HMQ6PXUC.cjs → WorkspaceTableView-B5FAVVVA.cjs} +8 -8
  20. package/dist/{WorkspaceTableView-HMQ6PXUC.cjs.map → WorkspaceTableView-B5FAVVVA.cjs.map} +1 -1
  21. package/dist/agents/index.cjs +297 -297
  22. package/dist/{ai-QEXZ4SYR.cjs → ai-XVDR2XYV.cjs} +25 -25
  23. package/dist/ai-XVDR2XYV.cjs.map +1 -0
  24. package/dist/calls/index.cjs +121 -121
  25. package/dist/chat/index.cjs +1 -1
  26. package/dist/{chunk-LG36LSVZ.cjs → chunk-2WHI2PAJ.cjs} +4 -4
  27. package/dist/{chunk-LG36LSVZ.cjs.map → chunk-2WHI2PAJ.cjs.map} +1 -1
  28. package/dist/{chunk-TOYKBRAU.cjs → chunk-6JI4AXAY.cjs} +12 -12
  29. package/dist/{chunk-TOYKBRAU.cjs.map → chunk-6JI4AXAY.cjs.map} +1 -1
  30. package/dist/{chunk-VCDD763Y.cjs → chunk-7HU2NQVO.cjs} +3 -3
  31. package/dist/{chunk-VCDD763Y.cjs.map → chunk-7HU2NQVO.cjs.map} +1 -1
  32. package/dist/{chunk-BN33PC5F.cjs → chunk-7QZ7F3YL.cjs} +76 -76
  33. package/dist/{chunk-BN33PC5F.cjs.map → chunk-7QZ7F3YL.cjs.map} +1 -1
  34. package/dist/{chunk-X46QYO4S.cjs → chunk-ALR6NCVR.cjs} +4 -4
  35. package/dist/{chunk-X46QYO4S.cjs.map → chunk-ALR6NCVR.cjs.map} +1 -1
  36. package/dist/{chunk-TXBXIUTX.cjs → chunk-CYA7MDHZ.cjs} +6 -6
  37. package/dist/{chunk-TXBXIUTX.cjs.map → chunk-CYA7MDHZ.cjs.map} +1 -1
  38. package/dist/{chunk-UWTCK5IN.cjs → chunk-DNWJUTK6.cjs} +6 -6
  39. package/dist/{chunk-UWTCK5IN.cjs.map → chunk-DNWJUTK6.cjs.map} +1 -1
  40. package/dist/{chunk-QFXOTJ6G.cjs → chunk-DT4ORVVI.cjs} +3 -3
  41. package/dist/{chunk-QFXOTJ6G.cjs.map → chunk-DT4ORVVI.cjs.map} +1 -1
  42. package/dist/{chunk-MEYQLQWS.cjs → chunk-EHFSR633.cjs} +13 -13
  43. package/dist/{chunk-MEYQLQWS.cjs.map → chunk-EHFSR633.cjs.map} +1 -1
  44. package/dist/{chunk-IFJBE7M5.cjs → chunk-EY23TOPI.cjs} +11 -11
  45. package/dist/{chunk-IFJBE7M5.cjs.map → chunk-EY23TOPI.cjs.map} +1 -1
  46. package/dist/{chunk-TENWM7BH.cjs → chunk-G7E5IJST.cjs} +5 -5
  47. package/dist/{chunk-TENWM7BH.cjs.map → chunk-G7E5IJST.cjs.map} +1 -1
  48. package/dist/{chunk-5GHGIDZP.cjs → chunk-GRRD7SEY.cjs} +15 -15
  49. package/dist/{chunk-5GHGIDZP.cjs.map → chunk-GRRD7SEY.cjs.map} +1 -1
  50. package/dist/{chunk-ZN2JXV65.cjs → chunk-HQ7M75LU.cjs} +64 -64
  51. package/dist/{chunk-ZN2JXV65.cjs.map → chunk-HQ7M75LU.cjs.map} +1 -1
  52. package/dist/{chunk-MMKMQZ2B.cjs → chunk-HVVD4YSE.cjs} +50 -50
  53. package/dist/{chunk-MMKMQZ2B.cjs.map → chunk-HVVD4YSE.cjs.map} +1 -1
  54. package/dist/{chunk-RSQGDXAF.cjs → chunk-K3WSXEEI.cjs} +3 -3
  55. package/dist/{chunk-RSQGDXAF.cjs.map → chunk-K3WSXEEI.cjs.map} +1 -1
  56. package/dist/{chunk-LLD4PNBW.cjs → chunk-K424CT35.cjs} +4 -4
  57. package/dist/{chunk-LLD4PNBW.cjs.map → chunk-K424CT35.cjs.map} +1 -1
  58. package/dist/{chunk-OOW7H2YD.cjs → chunk-KZWPBL2P.cjs} +6 -6
  59. package/dist/{chunk-OOW7H2YD.cjs.map → chunk-KZWPBL2P.cjs.map} +1 -1
  60. package/dist/{chunk-LFMOQALU.cjs → chunk-LWWPIYFD.cjs} +48 -48
  61. package/dist/{chunk-LFMOQALU.cjs.map → chunk-LWWPIYFD.cjs.map} +1 -1
  62. package/dist/{chunk-VPKKPHJY.cjs → chunk-M5EQGQRC.cjs} +4 -4
  63. package/dist/{chunk-VPKKPHJY.cjs.map → chunk-M5EQGQRC.cjs.map} +1 -1
  64. package/dist/{chunk-ECSOXKJQ.cjs → chunk-N5UI363Q.cjs} +3 -3
  65. package/dist/{chunk-ECSOXKJQ.cjs.map → chunk-N5UI363Q.cjs.map} +1 -1
  66. package/dist/{chunk-FYFL3CET.cjs → chunk-NB6XGPEB.cjs} +4 -4
  67. package/dist/{chunk-FYFL3CET.cjs.map → chunk-NB6XGPEB.cjs.map} +1 -1
  68. package/dist/{chunk-C5APAFUY.cjs → chunk-PA7YEXL3.cjs} +4 -4
  69. package/dist/{chunk-C5APAFUY.cjs.map → chunk-PA7YEXL3.cjs.map} +1 -1
  70. package/dist/{chunk-R5NTEW4L.cjs → chunk-PTLILY4Q.cjs} +27 -27
  71. package/dist/{chunk-R5NTEW4L.cjs.map → chunk-PTLILY4Q.cjs.map} +1 -1
  72. package/dist/{chunk-EYXU32D7.cjs → chunk-Q77OKXYM.cjs} +6 -6
  73. package/dist/{chunk-EYXU32D7.cjs.map → chunk-Q77OKXYM.cjs.map} +1 -1
  74. package/dist/{chunk-U6XMZG6G.cjs → chunk-RDBUQCAS.cjs} +3 -3
  75. package/dist/{chunk-U6XMZG6G.cjs.map → chunk-RDBUQCAS.cjs.map} +1 -1
  76. package/dist/{chunk-FABKMTAI.cjs → chunk-REP5GA2Z.cjs} +10 -10
  77. package/dist/{chunk-FABKMTAI.cjs.map → chunk-REP5GA2Z.cjs.map} +1 -1
  78. package/dist/{chunk-ZTHYJP4G.cjs → chunk-RFPZKHZ6.cjs} +7 -7
  79. package/dist/{chunk-ZTHYJP4G.cjs.map → chunk-RFPZKHZ6.cjs.map} +1 -1
  80. package/dist/{chunk-IEAZX7L6.cjs → chunk-RIONTVEH.cjs} +7 -7
  81. package/dist/{chunk-IEAZX7L6.cjs.map → chunk-RIONTVEH.cjs.map} +1 -1
  82. package/dist/{chunk-6CGMSJLB.cjs → chunk-RJE6KXJQ.cjs} +3 -3
  83. package/dist/{chunk-6CGMSJLB.cjs.map → chunk-RJE6KXJQ.cjs.map} +1 -1
  84. package/dist/{chunk-VIUEPJ3Y.cjs → chunk-RUKEMF6Q.cjs} +35 -35
  85. package/dist/{chunk-VIUEPJ3Y.cjs.map → chunk-RUKEMF6Q.cjs.map} +1 -1
  86. package/dist/{chunk-JJZOL5MG.cjs → chunk-RYVZDFVO.cjs} +3 -3
  87. package/dist/{chunk-JJZOL5MG.cjs.map → chunk-RYVZDFVO.cjs.map} +1 -1
  88. package/dist/{chunk-MMMGOZYH.cjs → chunk-SUPCMKLP.cjs} +4 -4
  89. package/dist/{chunk-MMMGOZYH.cjs.map → chunk-SUPCMKLP.cjs.map} +1 -1
  90. package/dist/{chunk-VF26CUE3.cjs → chunk-TCVDV5RF.cjs} +3 -3
  91. package/dist/{chunk-VF26CUE3.cjs.map → chunk-TCVDV5RF.cjs.map} +1 -1
  92. package/dist/{chunk-SK6LFIU2.cjs → chunk-TIBTTITZ.cjs} +3 -3
  93. package/dist/{chunk-SK6LFIU2.cjs.map → chunk-TIBTTITZ.cjs.map} +1 -1
  94. package/dist/{chunk-JYZ6UE5X.cjs → chunk-ZHGIAVAC.cjs} +28 -28
  95. package/dist/{chunk-JYZ6UE5X.cjs.map → chunk-ZHGIAVAC.cjs.map} +1 -1
  96. package/dist/connect/docx.cjs +19 -19
  97. package/dist/connect/index.cjs +991 -991
  98. package/dist/connect/viewer.cjs +33 -33
  99. package/dist/dashboards/index.cjs +1 -1
  100. package/dist/embed/index.cjs +39 -39
  101. package/dist/files/index.cjs +224 -224
  102. package/dist/index.cjs +1590 -1590
  103. package/dist/settings/index.cjs +146 -146
  104. package/dist/shell/index.cjs +87 -87
  105. package/dist/studio/index.cjs +28 -28
  106. package/dist/vite/index.cjs +11 -1
  107. package/dist/vite/index.cjs.map +1 -1
  108. package/dist/vite/index.d.ts +13 -0
  109. package/dist/vite/index.js +11 -1
  110. package/dist/vite/index.js.map +1 -1
  111. package/dist/workflow-canvas/index.cjs +53 -53
  112. package/node_modules/@arbidocs/coedit/dist/commands.cjs +18 -1
  113. package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
  114. package/node_modules/@arbidocs/coedit/dist/commands.d.cts +2 -2
  115. package/node_modules/@arbidocs/coedit/dist/commands.d.ts +2 -2
  116. package/node_modules/@arbidocs/coedit/dist/commands.js +18 -1
  117. package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
  118. package/node_modules/@arbidocs/coedit/dist/{port-BbN5OZHx.d.cts → port-DXBNxZYw.d.cts} +2 -0
  119. package/node_modules/@arbidocs/coedit/dist/{port-BbN5OZHx.d.ts → port-DXBNxZYw.d.ts} +2 -0
  120. package/node_modules/@arbidocs/coedit/dist/server.cjs +16 -0
  121. package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
  122. package/node_modules/@arbidocs/coedit/dist/server.d.cts +1 -1
  123. package/node_modules/@arbidocs/coedit/dist/server.d.ts +1 -1
  124. package/node_modules/@arbidocs/coedit/dist/server.js +16 -0
  125. package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
  126. package/node_modules/@arbidocs/coedit/package.json +2 -2
  127. package/node_modules/@docx-editor.dev/core/README.md +25 -1
  128. package/node_modules/@docx-editor.dev/core/THIRD_PARTY_NOTICES.md +1 -0
  129. package/node_modules/@docx-editor.dev/core/dist/automation.cjs +1 -1
  130. package/node_modules/@docx-editor.dev/core/dist/automation.d.ts +21 -63
  131. package/node_modules/@docx-editor.dev/core/dist/automation.js +1 -1
  132. package/node_modules/@docx-editor.dev/core/dist/binding.cjs +1 -1
  133. package/node_modules/@docx-editor.dev/core/dist/binding.d.ts +49 -40
  134. package/node_modules/@docx-editor.dev/core/dist/binding.js +1 -1
  135. package/node_modules/@docx-editor.dev/core/dist/{chrome-print-CAs51cpq.d.ts → chrome-print-CrPI9ZQc.d.ts} +714 -290
  136. package/node_modules/@docx-editor.dev/core/dist/chunk-23MKR33J.js +4 -0
  137. package/node_modules/@docx-editor.dev/core/dist/chunk-2CWQY27B.cjs +1 -0
  138. package/node_modules/@docx-editor.dev/core/dist/chunk-2DEY5NUC.cjs +32 -0
  139. package/node_modules/@docx-editor.dev/core/dist/chunk-2DR4TH6B.js +1 -0
  140. package/node_modules/@docx-editor.dev/core/dist/chunk-2F2UEAE2.js +2 -0
  141. package/node_modules/@docx-editor.dev/core/dist/chunk-2GPGAFOJ.cjs +5 -0
  142. package/node_modules/@docx-editor.dev/core/dist/chunk-ALD626VU.cjs +2 -0
  143. package/node_modules/@docx-editor.dev/core/dist/chunk-AU33YWEJ.js +236 -0
  144. package/node_modules/@docx-editor.dev/core/dist/chunk-AXU63LYW.cjs +1 -0
  145. package/node_modules/@docx-editor.dev/core/dist/chunk-CM5VZRBV.js +32 -0
  146. package/node_modules/@docx-editor.dev/core/dist/chunk-D7FAFFTN.js +1 -0
  147. package/node_modules/@docx-editor.dev/core/dist/chunk-DYUVJNDD.cjs +1 -0
  148. package/node_modules/@docx-editor.dev/core/dist/chunk-ESYUKD5D.js +2 -0
  149. package/node_modules/@docx-editor.dev/core/dist/chunk-F7TGQMVR.js +5 -0
  150. package/node_modules/@docx-editor.dev/core/dist/chunk-FLW7KIQX.js +30 -0
  151. package/node_modules/@docx-editor.dev/core/dist/chunk-JG4A6W6I.js +7 -0
  152. package/node_modules/@docx-editor.dev/core/dist/chunk-JNGLSBPH.js +2 -0
  153. package/node_modules/@docx-editor.dev/core/dist/chunk-KE6ZWRIY.cjs +236 -0
  154. package/node_modules/@docx-editor.dev/core/dist/chunk-L3YXJDPX.js +1 -0
  155. package/node_modules/@docx-editor.dev/core/dist/chunk-LI42N7OW.cjs +4 -0
  156. package/node_modules/@docx-editor.dev/core/dist/chunk-PLKDS4JT.js +1 -0
  157. package/node_modules/@docx-editor.dev/core/dist/chunk-PXMTQ73F.cjs +2 -0
  158. package/node_modules/@docx-editor.dev/core/dist/chunk-R4R3AAE4.js +1 -0
  159. package/node_modules/@docx-editor.dev/core/dist/chunk-RFUNFTGV.cjs +1 -0
  160. package/node_modules/@docx-editor.dev/core/dist/chunk-SVM6PGMS.js +3 -0
  161. package/node_modules/@docx-editor.dev/core/dist/chunk-SZURLHR3.cjs +3 -0
  162. package/node_modules/@docx-editor.dev/core/dist/chunk-UYCGCVZ2.cjs +1 -0
  163. package/node_modules/@docx-editor.dev/core/dist/chunk-WN7ICTA5.js +1 -0
  164. package/node_modules/@docx-editor.dev/core/dist/chunk-X34QRAUU.cjs +1 -0
  165. package/node_modules/@docx-editor.dev/core/dist/chunk-XNBYG4XJ.cjs +30 -0
  166. package/node_modules/@docx-editor.dev/core/dist/chunk-ZDFJW5XS.cjs +2 -0
  167. package/node_modules/@docx-editor.dev/core/dist/chunk-ZWO4JHNN.cjs +7 -0
  168. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.cjs +1 -1
  169. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.d.ts +29 -5
  170. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.js +1 -1
  171. package/node_modules/@docx-editor.dev/core/dist/collaboration.cjs +1 -1
  172. package/node_modules/@docx-editor.dev/core/dist/collaboration.d.ts +5 -6
  173. package/node_modules/@docx-editor.dev/core/dist/collaboration.js +1 -1
  174. package/node_modules/@docx-editor.dev/core/dist/contracts/document.d.ts +3 -3
  175. package/node_modules/@docx-editor.dev/core/dist/contracts/editor.d.ts +13 -10
  176. package/node_modules/@docx-editor.dev/core/dist/contracts/interaction.d.ts +2 -2
  177. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.d.ts +15 -13
  178. package/node_modules/@docx-editor.dev/core/dist/contracts/types.d.ts +135 -2
  179. package/node_modules/@docx-editor.dev/core/dist/{custom-node-writes-Bn6uciLb.d.ts → custom-node-writes-AqY5KpVx.d.ts} +7 -2
  180. package/node_modules/@docx-editor.dev/core/dist/diagnostic-context-CuzhOX0g.d.ts +98 -0
  181. package/node_modules/@docx-editor.dev/core/dist/{diagnostic-hints-BeVjfNOv.d.ts → diagnostic-hints-BtCaCqQC.d.ts} +14 -7
  182. package/node_modules/@docx-editor.dev/core/dist/{document-protection-CUb55pl_.d.ts → document-protection-BvbpSXbQ.d.ts} +1 -1
  183. package/node_modules/@docx-editor.dev/core/dist/drawing-graphic-kind-CXYGYbB3.d.ts +324 -0
  184. package/node_modules/@docx-editor.dev/core/dist/drawing-preview-package-B9lSLRg4.d.ts +115 -0
  185. package/node_modules/@docx-editor.dev/core/dist/{editor-CZQZmTIU.d.ts → editor-B7OOAAie.d.ts} +536 -283
  186. package/node_modules/@docx-editor.dev/core/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
  187. package/node_modules/@docx-editor.dev/core/dist/editor-scope-CA6egMaK.d.ts +141 -0
  188. package/node_modules/@docx-editor.dev/core/dist/editor.cjs +1 -1
  189. package/node_modules/@docx-editor.dev/core/dist/editor.css +6 -4
  190. package/node_modules/@docx-editor.dev/core/dist/editor.d.ts +834 -34
  191. package/node_modules/@docx-editor.dev/core/dist/editor.js +1 -1
  192. package/node_modules/@docx-editor.dev/core/dist/export.cjs +2 -2
  193. package/node_modules/@docx-editor.dev/core/dist/export.d.ts +52 -21
  194. package/node_modules/@docx-editor.dev/core/dist/export.js +2 -2
  195. package/node_modules/@docx-editor.dev/core/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
  196. package/node_modules/@docx-editor.dev/core/dist/{font-resolver-lSBLirLR.d.ts → font-resolver-Bm9XqTNO.d.ts} +15 -1
  197. package/node_modules/@docx-editor.dev/core/dist/font-shaping-policy-BvpkrfxM.d.ts +7 -0
  198. package/node_modules/@docx-editor.dev/core/dist/index.cjs +1 -1
  199. package/node_modules/@docx-editor.dev/core/dist/index.d.ts +44 -27
  200. package/node_modules/@docx-editor.dev/core/dist/index.js +1 -1
  201. package/node_modules/@docx-editor.dev/core/dist/{layout-shaping-BD-dF_rn.d.ts → layout-shaping-Ci_BTnSU.d.ts} +3 -2
  202. package/node_modules/@docx-editor.dev/core/dist/layout.cjs +1 -1
  203. package/node_modules/@docx-editor.dev/core/dist/layout.d.ts +276 -126
  204. package/node_modules/@docx-editor.dev/core/dist/layout.js +1 -1
  205. package/node_modules/@docx-editor.dev/core/dist/metafile-drawing-DtMFyMKq.d.ts +107 -0
  206. package/node_modules/@docx-editor.dev/core/dist/{note-properties-qQUjO1GQ.d.ts → note-properties-DCIJUKIy.d.ts} +1 -1
  207. package/node_modules/@docx-editor.dev/core/dist/output.cjs +1 -1
  208. package/node_modules/@docx-editor.dev/core/dist/output.d.ts +24 -10
  209. package/node_modules/@docx-editor.dev/core/dist/output.js +1 -1
  210. package/node_modules/@docx-editor.dev/core/dist/{protocol-DYzzz2ej.d.ts → protocol-Cp_QzVxS.d.ts} +167 -5
  211. package/node_modules/@docx-editor.dev/core/dist/{review-paragraph-order-CN_0l2Cb.d.ts → review-paragraph-order-BJQ43_r0.d.ts} +1 -1
  212. package/node_modules/@docx-editor.dev/core/dist/revision-projection-OVusTS77.d.ts +258 -0
  213. package/node_modules/@docx-editor.dev/core/dist/{semantic-cell-selection-eYag3P47.d.ts → semantic-cell-selection-CoI5hHBm.d.ts} +2 -2
  214. package/node_modules/@docx-editor.dev/core/dist/{semantic-interaction-kR_QB845.d.ts → semantic-interaction-BbA4dgEo.d.ts} +1 -1
  215. package/node_modules/@docx-editor.dev/core/dist/{semantic-paint-ZayFF3tD.d.ts → semantic-paint-B5JcIv9c.d.ts} +19 -9
  216. package/node_modules/@docx-editor.dev/core/dist/{semantic-record-queries-Bsgth6lv.d.ts → semantic-record-queries-DnO8J5_j.d.ts} +1 -1
  217. package/node_modules/@docx-editor.dev/core/dist/{semantic-records-DQmumPgL.d.ts → semantic-records-DoK0lNjS.d.ts} +697 -608
  218. package/node_modules/@docx-editor.dev/core/dist/store.cjs +1 -1
  219. package/node_modules/@docx-editor.dev/core/dist/store.d.ts +527 -123
  220. package/node_modules/@docx-editor.dev/core/dist/store.js +1 -1
  221. package/node_modules/@docx-editor.dev/core/dist/{types-barrel-DuC5QBNC.d.ts → tree-op-types-Df4oY2u4.d.ts} +1723 -765
  222. package/node_modules/@docx-editor.dev/core/dist/{tree-package-store-CovjNARF.d.ts → tree-package-store-DXhX1PE-.d.ts} +617 -428
  223. package/node_modules/@docx-editor.dev/core/dist/{tree-session-contract-CZVAGl51.d.ts → tree-session-contract-CF2625mv.d.ts} +28 -13
  224. package/node_modules/@docx-editor.dev/core/dist/unsupported-elements-CUojsaCr.d.ts +23 -0
  225. package/node_modules/@docx-editor.dev/core/docs/accept-reject-without-scrolling.md +95 -0
  226. package/node_modules/@docx-editor.dev/core/docs/comment-on-found-text.md +72 -0
  227. package/node_modules/@docx-editor.dev/core/docs/custom-review-cards.md +178 -0
  228. package/node_modules/@docx-editor.dev/core/docs/highlight-ranges.md +48 -0
  229. package/node_modules/@docx-editor.dev/core/docs/index.md +36 -0
  230. package/node_modules/@docx-editor.dev/core/docs/propose-rewrite.md +247 -0
  231. package/node_modules/@docx-editor.dev/core/docs/tracked-replacement.md +68 -0
  232. package/node_modules/@docx-editor.dev/core/licenses/ECMA-376.md +29 -0
  233. package/node_modules/@docx-editor.dev/core/package.json +3 -2
  234. package/node_modules/@docx-editor.dev/react/README.md +71 -0
  235. package/node_modules/@docx-editor.dev/react/dist/index.d.mts +936 -86
  236. package/node_modules/@docx-editor.dev/react/dist/index.d.ts +936 -86
  237. package/node_modules/@docx-editor.dev/react/dist/index.js +3 -3
  238. package/node_modules/@docx-editor.dev/react/dist/index.mjs +3 -3
  239. package/node_modules/@docx-editor.dev/react/docs/accept-reject-without-scrolling.md +72 -0
  240. package/node_modules/@docx-editor.dev/react/docs/comment-on-found-text.md +47 -0
  241. package/node_modules/@docx-editor.dev/react/docs/custom-review-cards.md +105 -0
  242. package/node_modules/@docx-editor.dev/react/docs/highlight-ranges.md +25 -0
  243. package/node_modules/@docx-editor.dev/react/docs/index.md +36 -0
  244. package/node_modules/@docx-editor.dev/react/docs/propose-rewrite.md +247 -0
  245. package/node_modules/@docx-editor.dev/react/docs/tracked-replacement.md +45 -0
  246. package/node_modules/@docx-editor.dev/react/package.json +4 -3
  247. package/package.json +8 -8
  248. package/dist/ai-QEXZ4SYR.cjs.map +0 -1
  249. package/node_modules/@docx-editor.dev/core/dist/chunk-236O4YQW.js +0 -2
  250. package/node_modules/@docx-editor.dev/core/dist/chunk-6JIJOZDW.js +0 -1
  251. package/node_modules/@docx-editor.dev/core/dist/chunk-6JPL6ZAS.cjs +0 -5
  252. package/node_modules/@docx-editor.dev/core/dist/chunk-6ZQP4HQ7.js +0 -3
  253. package/node_modules/@docx-editor.dev/core/dist/chunk-7WQ7AAHW.cjs +0 -2
  254. package/node_modules/@docx-editor.dev/core/dist/chunk-BCXH4BXB.js +0 -5
  255. package/node_modules/@docx-editor.dev/core/dist/chunk-BTQKU64Q.cjs +0 -1
  256. package/node_modules/@docx-editor.dev/core/dist/chunk-BY2ACZZ6.cjs +0 -1
  257. package/node_modules/@docx-editor.dev/core/dist/chunk-CAJEXXVG.cjs +0 -4
  258. package/node_modules/@docx-editor.dev/core/dist/chunk-CPWLFPWC.js +0 -30
  259. package/node_modules/@docx-editor.dev/core/dist/chunk-D7ZMDMPX.cjs +0 -3
  260. package/node_modules/@docx-editor.dev/core/dist/chunk-DOHF6FA7.cjs +0 -30
  261. package/node_modules/@docx-editor.dev/core/dist/chunk-DVX32P2P.js +0 -27
  262. package/node_modules/@docx-editor.dev/core/dist/chunk-E4LOMDNL.js +0 -1
  263. package/node_modules/@docx-editor.dev/core/dist/chunk-EKLM7NWB.cjs +0 -7
  264. package/node_modules/@docx-editor.dev/core/dist/chunk-G3K63G7P.cjs +0 -27
  265. package/node_modules/@docx-editor.dev/core/dist/chunk-G4HOFIKJ.js +0 -1
  266. package/node_modules/@docx-editor.dev/core/dist/chunk-JLVBDYVQ.cjs +0 -2
  267. package/node_modules/@docx-editor.dev/core/dist/chunk-LQX36Z5P.js +0 -7
  268. package/node_modules/@docx-editor.dev/core/dist/chunk-LSZ6KPKK.js +0 -1
  269. package/node_modules/@docx-editor.dev/core/dist/chunk-MM5QBMTE.cjs +0 -1
  270. package/node_modules/@docx-editor.dev/core/dist/chunk-OMCG63ZF.js +0 -1
  271. package/node_modules/@docx-editor.dev/core/dist/chunk-OSFOJTHU.cjs +0 -18
  272. package/node_modules/@docx-editor.dev/core/dist/chunk-RCLZXP3B.js +0 -2
  273. package/node_modules/@docx-editor.dev/core/dist/chunk-T6K2QYNZ.cjs +0 -2
  274. package/node_modules/@docx-editor.dev/core/dist/chunk-TRGAVV2Y.js +0 -4
  275. package/node_modules/@docx-editor.dev/core/dist/chunk-U4JZVSOE.js +0 -2
  276. package/node_modules/@docx-editor.dev/core/dist/chunk-UHHYFIDT.cjs +0 -1
  277. package/node_modules/@docx-editor.dev/core/dist/chunk-W35WTWAO.cjs +0 -1
  278. package/node_modules/@docx-editor.dev/core/dist/chunk-YQ5G6LC7.js +0 -18
  279. package/node_modules/@docx-editor.dev/core/dist/diagnostic-context-B8M79cfK.d.ts +0 -30
  280. package/node_modules/@docx-editor.dev/core/dist/editor-scope-7o9xweiJ.d.ts +0 -84
  281. package/node_modules/@docx-editor.dev/core/dist/headless-document-view-pp3q7wIh.d.ts +0 -143
  282. package/node_modules/@docx-editor.dev/core/dist/image-resources-tXLQShoC.d.ts +0 -211
  283. package/node_modules/@docx-editor.dev/core/dist/omml-equation-BUbU0utM.d.ts +0 -85
@@ -12,21 +12,24 @@
12
12
  * @packageDocumentation
13
13
  * @public
14
14
  */
15
- import { e as ResourceLimits } from './image-resources-tXLQShoC.js';
16
- export { C as CreateImageResourceCacheOptions, D as DEFAULT_IMAGE_RESOURCE_LIMITS, f as DEFAULT_LIMITS, H as HARD_CEILINGS, g as IMAGE_RESOURCE_HARD_CEILINGS, c as ImageDecodePort, b as ImageResourceLimits, h as ImageResourceLookup, I as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, i as ValidatedRasterHeader, j as createImageResourceCache, k as hasBoundedSvgRoot, l as imageResourceLookupFor, m as liveDrawingReferenceCount, r as resolveImageResourceLimits, n as resolveLimits, s as sniffImageMime, o as validateGifHeader, p as validateJpegHeader, q as validatePngHeader, v as validateRasterHeader } from './image-resources-tXLQShoC.js';
17
- import { O as OoxmlPart, N as OoxmlNode, aU as OoxmlInvariantResult, aV as OoxmlInvariantIssue, ak as OoxmlElement, az as OoxmlParagraphNode, aW as OoxmlFldCharNode, aX as OoxmlFldSimpleNode, aY as OoxmlInstrTextNode, ag as TreeDocOp, av as TreeOpRejection, aZ as TreeOpResult, Q as OoxmlPackage, a_ as RelationshipRecord, V as OoxmlGenericElementNode, a$ as OoxmlHardBreakNode, b0 as OoxmlAttribute, ah as OoxmlProperty, au as RevisionSiteRefusal, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, b1 as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, ay as DrawingTreeDocOp, aH as ImpactClass, a1 as ImageWrapTarget } from './types-barrel-DuC5QBNC.js';
18
- export { b2 as ACCEPTED_PARAGRAPH_PROPERTIES, b3 as ACCEPTED_RUN_PROPERTIES, b4 as CONTENT_CONTROL_ID_MAX, b5 as CONTENT_CONTROL_PROPERTY_ORDER, b6 as CommentAnchor, b7 as CommentPosition, b8 as CommitTextFormFieldOp, b9 as ContentControlCheckbox, ba as ContentControlCheckboxState, bb as ContentControlDataBinding, bc as ContentControlDateFormat, bd as ContentControlEntry, be as ContentControlKind, bf as ContentControlLevel, bg as ContentControlListItem, bh as ContentControlLock, bi as ContentControlProperties, bj as ContentTypeError, bk as ContentTypeIndex, bl as ContentTypeRecords, bm as DEFAULT_OOXML_PACKAGE_LIMITS, bn as DEFAULT_ZIP_LIMITS, bo as DefaultRecord, bp as DeleteTextOp, aO as DrawingImageEffects, Y as DrawingKind, Z as DrawingLocks, _ as DrawingPositionInput, bq as HYPERLINK_RELATIONSHIP_TYPE, br as HyperlinkKind, bs as HyperlinkTarget, bt as IMAGE_RELATIONSHIP_TYPE, aK as IMAGE_WRAP_TARGETS, bu as ImageRelationshipResolution, bv as IndexResult, bw as InsertBuildingBlockOp, bx as InsertTextOp, by as LegacyCheckboxFieldRange, bz as MAX_CONTENT_CONTROLS_PER_PART, bA as MAX_CONTENT_CONTROL_NESTING, bB as NameRejection, bC as NameResult, bD as OFFICE_RELATIONSHIP_NAMESPACE_URI, bE as OOXML_NODE_IDENTITY_RULES, bF as OoxmlBodyNode, bG as OoxmlBookmarkEndNode, bH as OoxmlBookmarkStartNode, bI as OoxmlContentControlCalendarNode, bJ as OoxmlContentControlCheckboxNode, bK as OoxmlContentControlCheckedNode, bL as OoxmlContentControlCheckedStateNode, bM as OoxmlContentControlComboBoxNode, am as OoxmlContentControlContentNode, bN as OoxmlContentControlDataBindingNode, bO as OoxmlContentControlDateFormatNode, bP as OoxmlContentControlDateNode, bQ as OoxmlContentControlDropDownListNode, bR as OoxmlContentControlEndPropertiesNode, bS as OoxmlContentControlLidNode, bT as OoxmlContentControlListItemNode, al as OoxmlContentControlNode, bU as OoxmlContentControlPropertiesNode, bV as OoxmlContentControlStoreMappedDataAsNode, bW as OoxmlContentControlTextNode, bX as OoxmlContentControlUncheckedStateNode, aB as OoxmlContinuationSeparatorNode, bY as OoxmlDocumentNode, aC as OoxmlEndnotesNode, bZ as OoxmlExternalTarget, aD as OoxmlFootnotesNode, b_ as OoxmlGenericExtensionAttribute, b$ as OoxmlHyperlinkNode, c0 as OoxmlInvariantIssueCode, c1 as OoxmlKnownNodeAttribute, c2 as OoxmlNamespaceBinding, U as OoxmlNodeId, c3 as OoxmlNodeIdentityRules, aA as OoxmlNoteNode, aE as OoxmlNoteRefNode, aF as OoxmlNoteReferenceNode, ao as OoxmlPackageLimits, aj as OoxmlPackageRejection, ai as OoxmlPackageResult, c4 as OoxmlParagraphPropertiesNode, c5 as OoxmlPartMetadata, c6 as OoxmlReadRejection, c7 as OoxmlReadResult, c8 as OoxmlRunNode, c9 as OoxmlRunPropertiesNode, aG as OoxmlSeparatorNode, ca as OoxmlTabNode, cb as OoxmlTextElementNode, cc as OoxmlTextNode, cd as OoxmlWmlValAttribute, ce as OoxmlXmlSpaceAttribute, cf as OverrideRecord, cg as RelationshipError, ch as RelationshipSetResult, ci as RelationshipTargetResolver, cj as ResolveResult, ck as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, ap as RevisionAuthorEntry, a8 as RevisionAuthorResult, aq as RevisionAuthorSkipReason, ar as RevisionBatchEntry, a9 as RevisionBatchResult, as as RevisionBatchSkipDetail, at as RevisionBatchSkipReason, cl as SetLegacyCheckboxOp, cm as SetLegacyDropdownOp, cn as SetTextFormFieldDefaultOp, aI as SourceCrop, co as TABLE_BORDER_STYLES, cp as TabStopWrite, aM as TableBorderStyle, cq as TargetMode, aT as TextFormFieldOptions, aS as TextFormFieldRange, cr as TextFormFieldType, cs as TreeDocOpKind, ct as TreeOpEffect, cu as W15_NAMESPACE_URI, cv as WML_NAMESPACE_URI, cw as XMLNS_NAMESPACE_URI, cx as XML_NAMESPACE_URI, cy as XmlLimits, cz as XmlNode, cA as XmlRejection, cB as XmlResult, cC as ZipLimits, cD as ZipReadResult, cE as ZipRejection, cF as allocateContentControlId, cG as asciiFold, cH as buildContentTypeIndex, cI as buildRelationshipSet, cJ as childElements, cK as commentAnchorsOfStory, cL as commentsOfPart, cM as contentControlContentChildren, cN as contentControlContentNodeOf, cO as contentControlEndPropertiesNodeOf, cP as contentControlLevelOf, cQ as contentControlPropertiesNodeOf, cR as contentControlPropertiesOf, cS as contentControlTextOf, cT as contentControlsIn, cU as detectDuplicateNames, cV as extensionKey, cW as findContentControl, cX as findElement, cY as firstReviewRange, cZ as flattenContentControls, c_ as hasAnyComment, c$ as hyperlinkAnchorOf, d0 as hyperlinkRelationshipIdOf, d1 as hyperlinkTargetOf, d2 as isContentControlContentNode, d3 as isContentControlNode, d4 as isContentControlWrapper, d5 as isContentRevisionKind, d6 as isHyperlinkNode, d7 as isRangeMarkerKind, d8 as isValidMime, d9 as legacyCheckboxFieldsOf, da as lockForbidsEdit, db as lockForbidsRemoval, dc as normalizePartName, dd as orderedContentControlProperties, de as parseContentControlId, df as partNameKey, dg as planRevisionAuthorChange, dh as planRevisionBatch, di as projectDrawing, dj as readOnOffChild, dk as readOoxmlPackage, dl as readOoxmlPart, dm as readXml, dn as readZip, dp as resolveContentControlLock, dq as resolveContentType, dr as resolveImageRelationship, ds as resolveInternalTarget, dt as resolveRelationship, du as reviewItemKey, dv as reviewItemRanges, dw as textContent, dx as textFormFieldsOf, dy as threadStateOfPart, dz as validateExternalTarget, dA as withPart, dB as writeOoxmlPackage, dC as writeZip } from './types-barrel-DuC5QBNC.js';
19
- import { F as FieldResultsMode, e as TreeModelChange, f as TreeDocumentStore, T as TreePackageStore, S as StoryScope } from './tree-package-store-CovjNARF.js';
20
- export { l as AtomicNoteSpan, C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, m as DrawingPropertyIdResult, j as FragmentPasteInput, k as FragmentPasteResult, n as HeaderFooterKind, o as HeaderFooterLifecycleImpact, p as HeaderFooterLifecycleOp, q as HeaderFooterLifecycleRejection, s as HeaderFooterLifecycleResult, H as HeaderFooterParts, b as HeaderFooterSectionResolution, t as HeaderFooterSlotMeta, c as HeaderFooterVariant, u as HistoryCaptureKind, d as HistoryGroup, M as MAX_FRAGMENT_DECODED_BYTES, v as MAX_NOTES_PER_PART, w as MAX_NOTE_REFERENCE_PARTS, x as MAX_NOTE_REFERENCE_SCAN, y as NOTE_ATOM_CHAR, z as NOTE_CONTINUATION_SEPARATOR_ID, B as NOTE_ID_MAX, E as NOTE_ID_MIN, G as NOTE_SEPARATOR_ID, J as NoteDiagnostic, K as NoteDiagnosticCode, N as NoteKind, L as NoteLifecycleImpact, O as NoteLifecycleOp, P as NoteLifecycleOptions, Q as NoteLifecycleRejection, U as NoteLifecycleResult, V as NoteReferenceHit, W as NoteReferenceScanBudget, X as NoteType, Y as PackageTransactResult, Z as RemotePackageAttribution, g as SelectionMark, _ as StoryResolveResult, a as StoryTargetRejection, $ as TreeDocumentStoreOptions, a0 as TreePackageStoreOptions, a1 as TreeStoryRef, h as TreeTransactOptions, a2 as TreeTransactResult, a3 as TreeTransactionContext, a4 as allocateDrawingPropertyId, a5 as allocateNoteId, a6 as applyFragmentPaste, a7 as applyHeaderFooterLifecycleOp, a8 as applyNoteLifecycleOp, a9 as atomicNoteSpansOf, aa as cascadeDeletedNoteReferences, ab as collectNoteReferences, ac as collectPackageNoteReferences, ad as collectSectionPropertyNodes, ae as createNoteReferenceScanBudget, af as customMarkFollows, ag as diagnoseNoteReferences, ah as findNoteById, ai as formatNoteScopeId, aj as isContinuationSeparatorNode, ak as isEndnotesNode, al as isFootnotesNode, am as isHeaderFooterLifecycleOp, an as isNormalNote, ao as isNoteAtomNode, ap as isNoteLifecycleOp, aq as isNoteNode, ar as isNoteRefNode, as as isNoteReferenceNode, at as isSeparatorNode, au as normalNoteIds, av as noteAtomText, aw as noteIdOf, ax as noteKindOf, ay as noteRefKindOf, az as noteReferenceKindOf, aA as noteTypeOf, aB as notesOf, aC as notesPartHasId, aD as observeHistoryGroup, aE as parseNoteId, aF as parseNoteScopeId, r as reportHistoryGroup, aG as resolveHeaderFooterParts, aH as resolveHeaderFooterPartsBySection, aI as resolveHeaderFooterResolutionBySection, aJ as resolveNotesPart, aK as withBinaryPart, aL as withEmbeddedImage, aM as withoutUnreferencedImagePart } from './tree-package-store-CovjNARF.js';
21
- import { O as OmmlEquationProjection } from './omml-equation-BUbU0utM.js';
22
- export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-BUbU0utM.js';
23
- import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-Bn6uciLb.js';
24
- export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-Bn6uciLb.js';
25
- export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-CN_0l2Cb.js';
26
- export { D as DocumentProperties, E as EnsuredHyperlinkRelationship, a as HeadlessDocumentRejection, H as HeadlessDocumentView, b as HeadlessThemeFonts, O as OpenHeadlessDocumentResult, c as authorableHyperlinkTarget, e as ensureHyperlinkRelationship, h as headlessViewOfStore, o as openHeadlessDocument, r as relationshipTargetIn } from './headless-document-view-pp3q7wIh.js';
27
- export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, b as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, c as authoredDocumentEndnoteProperties, d as authoredDocumentFootnoteProperties, e as authoredEndnotePropertiesFromSectPr, f as authoredFootnotePropertiesFromSectPr, i as isLegalEndnotePosition, g as isLegalFootnotePosition, h as isLegalNumRestart, p as parseAuthoredNoteProperties, r as resolveEndnoteProperties, j as resolveFootnoteProperties, s as settingsPartOf } from './note-properties-qQUjO1GQ.js';
28
- export { D as DocumentProtectionEdit, a as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-CUb55pl_.js';
29
- import './editor-scope-7o9xweiJ.js';
15
+ import { bd as OoxmlAttribute, O as OoxmlPart, a4 as OoxmlNode, be as OoxmlInvariantResult, av as OoxmlElement, bf as LegacyTextArtProjection, aZ as VectorShapeComponent, bg as ChartPartResolver, bh as ChartexPartResolver, bi as ShapeSchemeColorResolver, bj as ShapeEffectList, b2 as PictureFrameEffects, b1 as VectorShapeProjection, bk as GroupTextboxProjection, bl as MetafileImageMime, aL as OoxmlParagraphNode, bm as OoxmlFldCharNode, bn as OoxmlFldSimpleNode, bo as OoxmlInstrTextNode, au as TreeDocOp, aF as TreeOpRejection, bp as TreeOpResult, a5 as OoxmlPackage, bq as RelationshipRecord, ax as OoxmlGenericElementNode, br as OoxmlHardBreakNode, bs as ShapeColor, bt as ResourceLimits, aC as OoxmlProperty, V as RevisionSiteRefusal, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, bu as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, aJ as DrawingTreeDocOp, aK as ImpactClass, ag as ImageWrapTarget } from './tree-op-types-Df4oY2u4.js';
16
+ export { bv as ACCEPTED_PARAGRAPH_PROPERTIES, bw as ACCEPTED_RUN_PROPERTIES, bx as BookmarkOpPosition, by as CHARTEX_GRAPHIC_DATA_URI, bz as CHARTEX_NAMESPACE_URI, bA as CHART_GRAPHIC_DATA_URI, bB as CHART_NAMESPACE_URI, bC as CHART_STYLE_NAMESPACE_URI, bD as CONTENT_CONTROL_ID_MAX, bE as CONTENT_CONTROL_PROPERTY_ORDER, bF as ChartPart, bG as ChartThemeFaces, bH as ChartexPart, bI as CommentAnchor, bJ as CommentPosition, bK as CommitTextFormFieldOp, bL as ContentControlCheckbox, bM as ContentControlCheckboxState, bN as ContentControlDataBinding, bO as ContentControlDateFormat, bP as ContentControlEntry, bQ as ContentControlKind, bR as ContentControlLevel, bS as ContentControlListItem, bT as ContentControlLock, bU as ContentControlProperties, bV as ContentTypeError, bW as ContentTypeIndex, bX as ContentTypeRecords, bY as CreateImageResourceCacheOptions, b6 as DEFAULT_IMAGE_RESOURCE_LIMITS, bZ as DEFAULT_LIMITS, b_ as DEFAULT_OOXML_PACKAGE_LIMITS, b$ as DEFAULT_ZIP_LIMITS, c0 as DIAGRAM_NAMESPACE_URI, c1 as DRAWINGML_MAIN_NAMESPACE_URI, c2 as DefaultRecord, c3 as DeleteBookmarkOp, c4 as DeleteTextOp, c5 as DiagramPartResolver, c6 as DiagramParts, a$ as DrawingImageEffects, a8 as DrawingKind, a9 as DrawingLocks, aa as DrawingPositionInput, c7 as HARD_CEILINGS, c8 as HYPERLINK_RELATIONSHIP_TYPE, c9 as HyperlinkKind, ca as HyperlinkTarget, cb as IMAGE_RELATIONSHIP_TYPE, cc as IMAGE_RESOURCE_HARD_CEILINGS, b7 as IMAGE_WRAP_TARGETS, ad as ImageDecodePort, cd as ImageRelationshipResolution, ae as ImageResourceLimits, ce as ImageResourceLookup, af as ImageResourceState, cf as IndexResult, cg as InsertBookmarkOp, ch as InsertBuildingBlockOp, ci as InsertComplexFieldOp, cj as InsertEquationOp, ck as InsertPageFieldOp, cl as InsertTextOp, cm as LegacyCheckboxFieldRange, cn as MAX_CONTENT_CONTROLS_PER_PART, co as MAX_CONTENT_CONTROL_NESTING, cp as MAX_SVG_SNIFF_BYTES, cq as NameRejection, cr as NameResult, cs as OFFICE_RELATIONSHIP_NAMESPACE_URI, ct as OOXML_NODE_IDENTITY_RULES, cu as OoxmlBodyNode, cv as OoxmlBookmarkEndNode, cw as OoxmlBookmarkStartNode, cx as OoxmlContentControlCalendarNode, cy as OoxmlContentControlCheckboxNode, cz as OoxmlContentControlCheckedNode, cA as OoxmlContentControlCheckedStateNode, cB as OoxmlContentControlComboBoxNode, ay as OoxmlContentControlContentNode, cC as OoxmlContentControlDataBindingNode, cD as OoxmlContentControlDateFormatNode, cE as OoxmlContentControlDateNode, cF as OoxmlContentControlDropDownListNode, cG as OoxmlContentControlEndPropertiesNode, cH as OoxmlContentControlLidNode, cI as OoxmlContentControlListItemNode, aw as OoxmlContentControlNode, cJ as OoxmlContentControlPropertiesNode, cK as OoxmlContentControlStoreMappedDataAsNode, cL as OoxmlContentControlTextNode, cM as OoxmlContentControlUncheckedStateNode, aN as OoxmlContinuationSeparatorNode, cN as OoxmlDocumentNode, aO as OoxmlEndnotesNode, cO as OoxmlExternalTarget, aP as OoxmlFootnotesNode, cP as OoxmlGenericExtensionAttribute, cQ as OoxmlHyperlinkNode, aI as OoxmlInvariantIssue, cR as OoxmlInvariantIssueCode, cS as OoxmlKnownNodeAttribute, cT as OoxmlNamespaceBinding, aG as OoxmlNodeId, cU as OoxmlNodeIdentityRules, aM as OoxmlNoteNode, aQ as OoxmlNoteRefNode, aR as OoxmlNoteReferenceNode, az as OoxmlPackageLimits, aA as OoxmlPackageRejection, aD as OoxmlPackageResult, cV as OoxmlParagraphPropertiesNode, cW as OoxmlPartMetadata, cX as OoxmlReadRejection, cY as OoxmlReadResult, cZ as OoxmlRunNode, c_ as OoxmlRunPropertiesNode, aS as OoxmlSeparatorNode, c$ as OoxmlTabNode, d0 as OoxmlTextElementNode, d1 as OoxmlTextNode, d2 as OoxmlWmlValAttribute, d3 as OoxmlXmlSpaceAttribute, d4 as OverrideRecord, aj as PreservedImageMime, d5 as RelationshipError, d6 as RelationshipSetResult, d7 as RelationshipTargetResolver, al as RenderableImageMime, d8 as ResolveResult, d9 as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, da as SetFieldResultOp, db as SetLegacyCheckboxOp, dc as SetLegacyDropdownOp, dd as SetTextFormFieldDefaultOp, de as ShapeReflection, df as ShapeShadow, aT as SourceCrop, an as SupportedImageMime, dg as TABLE_BORDER_STYLES, dh as TabStopWrite, aX as TableBorderStyle, di as TargetMode, aV as TextFormFieldOptions, aU as TextFormFieldRange, dj as TextFormFieldType, dk as TextboxStoryProjection, dl as TreeDocOpKind, dm as TreeOpEffect, ap as ValidatedImageBytesHandle, dn as ValidatedRasterHeader, dp as VectorGradient, dq as VectorPattern, dr as W15_NAMESPACE_URI, ds as WML_NAMESPACE_URI, dt as XMLNS_NAMESPACE_URI, du as XML_NAMESPACE_URI, dv as XmlLimits, dw as XmlNode, dx as XmlRejection, dy as XmlResult, dz as ZipLimits, dA as ZipReadResult, dB as ZipRejection, dC as allocateContentControlId, dD as asciiFold, dE as buildContentTypeIndex, dF as buildRelationshipSet, dG as childElements, dH as commentAnchorsOfStory, dI as commentsOfPart, dJ as contentControlContentChildren, dK as contentControlContentNodeOf, dL as contentControlEndPropertiesNodeOf, dM as contentControlLevelOf, dN as contentControlPropertiesNodeOf, dO as contentControlPropertiesOf, dP as contentControlTextOf, dQ as contentControlsIn, dR as createImageResourceCache, dS as detectDuplicateNames, dT as directFill, dU as enclosedBookmarkDeletions, dV as extensionKey, dW as findContentControl, dX as findElement, dY as firstReviewRange, dZ as flattenContentControls, d_ as hasAnyComment, d$ as hasBoundedSvgRoot, e0 as hyperlinkAnchorOf, e1 as hyperlinkRelationshipIdOf, e2 as hyperlinkTargetOf, e3 as imageResourceLookupFor, e4 as isContentControlContentNode, e5 as isContentControlNode, e6 as isContentControlWrapper, e7 as isContentRevisionKind, e8 as isElement, e9 as isHyperlinkNode, ea as isRangeMarkerKind, eb as isValidMime, ec as legacyCheckboxFieldsOf, ed as liveDrawingReferenceCount, ee as lockForbidsEdit, ef as lockForbidsRemoval, eg as normalizePartName, eh as orderedContentControlProperties, ei as parseContentControlId, ej as partNameKey, ek as planRevisionAuthorChange, el as planRevisionBatch, em as projectDrawing, en as readOnOffChild, eo as readOoxmlPackage, ep as readOoxmlPart, eq as readXml, er as readZip, es as resolveColorNode, et as resolveContentControlLock, eu as resolveContentType, ev as resolveImageRelationship, b9 as resolveImageResourceLimits, ew as resolveInternalTarget, ex as resolveLimits, ey as resolveRelationship, ez as reviewItemKey, eA as reviewItemRanges, bb as sniffImageMime, eB as textContent, eC as textFormFieldsOf, eD as threadStateOfPart, eE as validateExternalTarget, eF as validateGifHeader, eG as validateJpegHeader, eH as validatePngHeader, bc as validateRasterHeader, eI as withPart, eJ as withoutBookmarkInPart, eK as writeOoxmlPackage, eL as writeZip } from './tree-op-types-Df4oY2u4.js';
17
+ import { F as FieldResultsMode, E as EditOptions, c as TreeModelChange, d as TreeDocumentStore, T as TreePackageStore, S as StoryScope, b as HistoryGroup } from './tree-package-store-DXhX1PE-.js';
18
+ export { l as AtomicNoteSpan, m as CascadeDeletedNoteReferencesOptions, C as ContentLockPolicy, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, n as DrawingPropertyIdResult, j as FragmentPasteInput, k as FragmentPasteResult, o as HeaderFooterKind, p as HeaderFooterLifecycleImpact, q as HeaderFooterLifecycleOp, s as HeaderFooterLifecycleRejection, t as HeaderFooterLifecycleResult, e as HeaderFooterParts, f as HeaderFooterSectionResolution, u as HeaderFooterSlotMeta, H as HeaderFooterVariant, v as HistoryCaptureKind, M as MAX_FRAGMENT_DECODED_BYTES, w as MAX_NOTES_PER_PART, x as MAX_NOTE_REFERENCE_PARTS, y as MAX_NOTE_REFERENCE_SCAN, z as NOTE_ATOM_CHAR, B as NOTE_CONTINUATION_SEPARATOR_ID, G as NOTE_ID_MAX, J as NOTE_ID_MIN, K as NOTE_SEPARATOR_ID, L as NoteDiagnostic, O as NoteDiagnosticCode, N as NoteKind, P as NoteLifecycleImpact, Q as NoteLifecycleOp, U as NoteLifecycleOptions, V as NoteLifecycleRejection, W as NoteLifecycleResult, X as NoteReferenceHit, Y as NoteReferenceScanBudget, Z as NoteType, _ as OoxmlEditResult, $ as PackageTransactResult, a0 as RemotePackageAttribution, g as SelectionMark, a1 as StoryResolveResult, a as StoryTargetRejection, a2 as TransactionRevisionIds, a3 as TreeDocumentStoreOptions, a4 as TreePackageStoreOptions, a5 as TreeStoryRef, h as TreeTransactOptions, a6 as TreeTransactResult, a7 as TreeTransactionContext, a8 as allocateDrawingPropertyId, a9 as allocateNoteId, aa as applyEdits, ab as applyFragmentPaste, ac as applyHeaderFooterLifecycleOp, ad as applyNoteLifecycleOp, ae as atomicNoteSpansOf, af as cascadeDeletedNoteReferences, ag as collectNodeIds, ah as collectNoteReferences, ai as collectPackageNoteReferences, aj as collectSectionPropertyNodes, ak as createNodeIdAllocator, al as createNoteReferenceScanBudget, am as customMarkFollows, an as diagnoseNoteReferences, ao as findNode, ap as findNoteById, aq as formatNoteScopeId, ar as hasNode, as as insertChildren, at as isContinuationSeparatorNode, au as isEndnotesNode, av as isFootnotesNode, aw as isHeaderFooterLifecycleOp, ax as isNormalNote, ay as isNoteAtomNode, az as isNoteLifecycleOp, aA as isNoteNode, aB as isNoteRefNode, aC as isNoteReferenceNode, aD as isSeparatorNode, aE as normalNoteIds, aF as noteAtomText, aG as noteIdOf, aH as noteKindOf, aI as noteRefKindOf, aJ as noteReferenceKindOf, aK as noteTypeOf, aL as notesOf, aM as notesPartHasId, aN as observeHistoryGroup, aO as parentNodeOf, aP as parseNoteId, aQ as parseNoteScopeId, aR as removeNode, aS as replaceChildren, aT as replaceNode, r as reportHistoryGroup, aU as resolveHeaderFooterParts, aV as resolveHeaderFooterPartsBySection, aW as resolveHeaderFooterResolutionBySection, aX as resolveNotesPart, aY as withBinaryPart, aZ as withEmbeddedImage, a_ as withoutUnreferencedImagePart } from './tree-package-store-DXhX1PE-.js';
19
+ import { O as OmmlEquationProjection, a as DrawingSupport, D as DrawingGraphicKind, b as DrawingSupportIssue } from './drawing-graphic-kind-CXYGYbB3.js';
20
+ export { e as DEFAULT_OMML_LIMITS, c as DocumentProperties, E as EnsuredHyperlinkRelationship, f as EquationControlSource, g as EquationExpression, d as HeadlessDocumentRejection, H as HeadlessDocumentView, h as HeadlessThemeFonts, L as LinearMathOmmlResult, i as LinearMathParseResult, j as LinearMathRejection, k as OFFICE_MATH_NAMESPACE_URI, l as OmmlLimits, m as OpenHeadlessDocumentResult, n as authorableHyperlinkTarget, o as ensureHyperlinkRelationship, p as equationExpressionToLinearMath, q as headlessViewOfStore, r as linearMathToOmml, s as openHeadlessDocument, t as parseLinearMath, u as projectOmmlEquation, v as relationshipTargetIn } from './drawing-graphic-kind-CXYGYbB3.js';
21
+ import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-AqY5KpVx.js';
22
+ export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-AqY5KpVx.js';
23
+ export { B as BookmarkNameProblem, D as DrawingPreviewPackageLimits, a as DrawingPreviewPackageResult, b as DrawingPreviewTarget, M as MAX_AUTHORED_BOOKMARK_NAME_LENGTH, c as bookmarkNameKey, d as bookmarkNameProblem, e as createDrawingPreviewPackage, i as isHiddenBookmarkName } from './drawing-preview-package-B9lSLRg4.js';
24
+ export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-BJQ43_r0.js';
25
+ export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, b as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, c as authoredDocumentEndnoteProperties, d as authoredDocumentFootnoteProperties, e as authoredEndnotePropertiesFromSectPr, f as authoredFootnotePropertiesFromSectPr, i as isLegalEndnotePosition, g as isLegalFootnotePosition, h as isLegalNumRestart, p as parseAuthoredNoteProperties, r as resolveEndnoteProperties, j as resolveFootnoteProperties, s as settingsPartOf } from './note-properties-DCIJUKIy.js';
26
+ export { D as DocumentProtectionEdit, a as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-BvbpSXbQ.js';
27
+ import { h as MetafileRenderOptions, a as MetafileReplay } from './metafile-drawing-DtMFyMKq.js';
28
+ export { b as MetafileCommand, c as MetafileDrawing, M as MetafileFont, d as MetafileMatrix, e as MetafilePaint, f as MetafilePathCommand, g as MetafileRaster } from './metafile-drawing-DtMFyMKq.js';
29
+ import './editor-scope-CA6egMaK.js';
30
+
31
+ /** Schema-local attribute: unqualified only (no owner-namespace or foreign lookalikes). @internal */
32
+ declare function schemaAttributeValue(attributes: readonly OoxmlAttribute[], localName: string): string | undefined;
30
33
 
31
34
  /**
32
35
  * Serialize normalized XML from a canonical part using repository-controlled
@@ -51,118 +54,252 @@ declare function ooxmlTreesEqual(left: OoxmlPart | OoxmlNode, right: OoxmlPart |
51
54
  */
52
55
  declare function validateOoxmlPart(part: OoxmlPart): OoxmlInvariantResult;
53
56
 
54
- /** An edited part, or the invariant violations that rejected the edit. */
55
- type OoxmlEditResult = {
56
- readonly ok: true;
57
- readonly part: OoxmlPart;
58
- } | {
59
- readonly ok: false;
60
- readonly issues: readonly OoxmlInvariantIssue[];
61
- };
57
+ /** @internal */
58
+ declare function parseEmu(value: string | undefined, clamp?: boolean): number | null;
59
+ /** @internal */
60
+ declare function findDirectChild(nodes: readonly OoxmlNode[], options: {
61
+ readonly typedKind?: string;
62
+ readonly namespaceUri?: string;
63
+ readonly localName?: string;
64
+ }): OoxmlElement | null;
65
+
62
66
  /**
63
- * How an edit primitive validates its result.
67
+ * A string's glyph outlines in points, x right and y down from the pen origin on the
68
+ * baseline. `path` holds only absolute `M`, `L`, `Q`, `C` and `Z` commands.
64
69
  *
65
- * By default every primitive runs the full-part invariant validation before handing its
66
- * result back — the safe reading for an isolated call. A TRANSACTION applying many ops pays
67
- * that full-tree walk once per primitive, which is what made a hundred-paragraph paste
68
- * quadratic; it defers instead, and runs the same validation ONCE on the final tree before
69
- * anything is published. Deferring is only sound for a caller that owns a commit boundary:
70
- * nothing may escape between the unvalidated intermediate and the validated result.
70
+ * @internal
71
71
  */
72
- interface EditOptions {
73
- readonly deferValidation?: boolean;
72
+ interface TextArtOutline {
73
+ readonly path: string;
74
+ readonly ink: {
75
+ readonly left: number;
76
+ readonly top: number;
77
+ readonly right: number;
78
+ readonly bottom: number;
79
+ };
80
+ }
81
+ /**
82
+ * What a text art layout reads.
83
+ *
84
+ * @internal
85
+ */
86
+ interface TextArtLayoutInput {
87
+ readonly textArt: LegacyTextArtProjection;
88
+ /** The unrotated shape box, in points. */
89
+ readonly widthPt: number;
90
+ readonly heightPt: number;
74
91
  /**
75
- * A shared minter for `@w:id` on a NEW revision, for the ops of one transaction.
76
- *
77
- * `nextRevisionId` walks the whole part to find the highest id in use, and a formatting
78
- * write emits one op per run — so a Select All + Bold in suggesting mode paid a
79
- * document-wide walk thousands of times over. The transaction hands its ops one minter
80
- * instead, and it is DROPPED the moment an op that can import foreign revision ids runs
81
- * (a paste carries its own), because a stale minter would hand out an id the document had
82
- * just started using — and two revisions sharing an address are one card in the pane.
83
- *
84
- * Absent means "mint your own": every applier falls back to its own walk, which is what a
85
- * caller outside a transaction gets.
92
+ * The outlines of `text` in the text art's face at `fontSizePt`, or null when the face has
93
+ * no outlines for it. A face that does not resolve falls back to the document default.
86
94
  */
87
- readonly revisionIds?: () => string;
95
+ readonly outline: (text: string, fontSizePt: number) => TextArtOutline | null;
96
+ }
97
+ /**
98
+ * Text art as painted geometry.
99
+ *
100
+ * @internal
101
+ */
102
+ interface TextArtLayout {
88
103
  /**
89
- * The transaction's revision-id bookkeeping for the tracked TEXT ops, where `revisionIds`
90
- * above hands the property ops one shared id for their whole group.
91
- *
92
- * Absent means "mint your own and remember nothing", which is what a caller outside a
93
- * transaction gets: every applier falls back to its own walk of the part.
104
+ * Components in paint order, in EMU from the box's top-left corner, unrotated: paint turns
105
+ * them about the box centre with the shape.
94
106
  */
95
- readonly trackedRevisionIds?: TransactionRevisionIds;
107
+ readonly components: readonly VectorShapeComponent[];
108
+ /** Box-local bounds of all ink in points, when it reaches past the box. */
109
+ readonly inkBounds?: Readonly<{
110
+ left: number;
111
+ top: number;
112
+ right: number;
113
+ bottom: number;
114
+ }>;
115
+ }
116
+ /**
117
+ * Lays out text art whose projection carries `renderData`, or returns null to leave it to the
118
+ * engine's plain fit.
119
+ *
120
+ * @internal
121
+ */
122
+ type TextArtLayoutRenderer = (input: TextArtLayoutInput) => TextArtLayout | null;
123
+
124
+ /**
125
+ * What a shape effects renderer reads for one shape: its properties, the effect list the
126
+ * engine resolved for the outer shadow, and the components the engine painted.
127
+ *
128
+ * @internal
129
+ */
130
+ interface ShapeEffectsInput {
131
+ /** The shape (`wps:wsp`) or picture (`pic:pic`) element. */
132
+ readonly shape: OoxmlElement;
133
+ /** Its shape properties (`wps:spPr` or `pic:spPr`). */
134
+ readonly spPr: OoxmlElement;
135
+ /** Its own effect list or the theme one it references; null when it has neither. */
136
+ readonly effectList: ShapeEffectList | null;
137
+ readonly resolveSchemeColor?: ShapeSchemeColorResolver;
138
+ }
139
+ /**
140
+ * What a picture effects renderer returns: effects that change how the picture paints, and
141
+ * components that paint under it.
142
+ *
143
+ * @internal
144
+ */
145
+ interface PictureEffectsProjection {
146
+ readonly effects?: PictureFrameEffects;
147
+ /** Painted first, under the picture's shadow, fill and image. */
148
+ readonly underComponents?: readonly VectorShapeComponent[];
149
+ }
150
+ /**
151
+ * Shape and picture effects beyond the outer shadow: glow, inner shadow, reflection, soft
152
+ * edge, and the rim of a dark-edged bevel.
153
+ *
154
+ * @internal
155
+ */
156
+ interface DrawingEffectsRenderer {
96
157
  /**
97
- * How the op addresses saved field results (`field-result-mode.ts`). Absent keeps the mode
98
- * of the enclosing store call, which is `atomic` outside any editable transaction.
158
+ * The components of a shape with its effects added, in paint order. Return `components`
159
+ * itself when the shape has no effect the renderer paints.
99
160
  */
100
- readonly fieldResults?: FieldResultsMode;
161
+ readonly shape: (input: ShapeEffectsInput & {
162
+ readonly components: readonly VectorShapeComponent[];
163
+ readonly extent: Readonly<{
164
+ cx: number;
165
+ cy: number;
166
+ }>;
167
+ }) => readonly VectorShapeComponent[];
168
+ /**
169
+ * The effects of a picture. `outlineEmu` holds the closed outlines of the picture's frame in
170
+ * its extent, or null when the frame paints nothing (a turned picture, or one past the point
171
+ * budget). Null when the picture has no effect the renderer paints.
172
+ */
173
+ readonly picture: (input: ShapeEffectsInput & {
174
+ readonly outlineEmu: readonly (readonly Readonly<{
175
+ x: number;
176
+ y: number;
177
+ }>[])[] | null;
178
+ }) => PictureEffectsProjection | null;
179
+ }
180
+ /** A metafile raster for the editor: PNG bytes the image pipeline validates again. @internal */
181
+ interface MetafileRasterImage {
182
+ readonly bytes: Uint8Array;
183
+ readonly mime: 'image/png';
101
184
  }
102
185
  /**
103
- * What one transaction knows about the revision ids its tracked text ops write.
186
+ * EMF and WMF pictures: a vector replay for exporters, and a raster for the browser editor.
187
+ * Both run on attacker-controlled bytes and must bound their own work.
104
188
  *
105
- * TWO questions, and they are the same bookkeeping. `nextRevisionId` walks the whole part, so
106
- * a replacement — a `deleteText` and an `insertText` in one transaction — walked it twice, and
107
- * on a five-hundred-page document that doubled the cost of every one. And an insertion aimed
108
- * at the front edge of a deletion relocates past it only when that deletion is THIS
109
- * transaction's own: typing over a selection. Backspace, then a keystroke, is two
110
- * transactions, and there the typed text belongs in FRONT of the struck character, as Word
111
- * writes it. Adjacency alone cannot tell the two apart; the ids can.
189
+ * @internal
112
190
  */
113
- interface TransactionRevisionIds {
114
- /** A fresh `@w:id`, from this transaction's one walk of the part. */
115
- mint(): string;
191
+ interface MetafileRenderer {
192
+ /** Vector drawing commands in canvas pixels, or null when the bytes do not replay. */
193
+ readonly replay: (bytes: Uint8Array, mime: MetafileImageMime, options: MetafileRenderOptions) => Promise<MetafileReplay | null>;
116
194
  /**
117
- * Record a wrapper this transaction wrote, by its FULL `CT_TrackChange` identity — id,
118
- * author and date, as `revisionKey` spells it. Not by the id alone: that number comes out
119
- * of the file, nothing makes it unique, and a strike joining `w:id="3"` in one paragraph
120
- * would otherwise claim an unrelated `w:id="3"` elsewhere as this edit's own.
195
+ * A PNG of the metafile no larger than `maxEdge` pixels on a side, drawn in the current
196
+ * browser, or null when it does not draw.
121
197
  */
122
- wrote(key: string): void;
123
- /** Whether this transaction wrote a wrapper with that identity. */
124
- wroteUnder(key: string): boolean;
125
- }
126
- /** Every node id currently present in the part. */
127
- declare function collectNodeIds(part: OoxmlPart): Set<string>;
128
- /**
129
- * Mint ids for nodes an edit introduces.
130
- *
131
- * Deterministic and collision-checked against the whole part: a structural-path id from the
132
- * original parse (`/word/document.xml#0.1.2`) and a minted one (`/word/document.xml#new:3`)
133
- * can never coincide, and the counter skips anything already taken so repeated edits in one
134
- * session stay unique.
135
- *
136
- * Allocators share reservations across edited roots and restored roots. Preview edits,
137
- * detached nodes, and undo branches must not reuse an identity that collaboration retains.
138
- *
139
- * Checks the part's node index directly rather than copying every id into a fresh set: the
140
- * copy was O(document) per op, and an allocator is created for every op.
141
- */
142
- declare function createNodeIdAllocator(part: OoxmlPart, family?: 'new' | 'paste'): () => string;
143
- /** Whether a node id exists in the part. */
144
- declare function hasNode(part: OoxmlPart, nodeId: string): boolean;
145
- /** Read a node back out of a part by id. */
146
- declare function findNode(part: OoxmlPart, nodeId: string): OoxmlNode | null;
147
- /** The element that holds a node, or null for the root and for unknown ids. */
148
- declare function parentNodeOf(part: OoxmlPart, nodeId: string): OoxmlElement | null;
149
- /** Replace one node's children wholesale. */
150
- declare function replaceChildren(part: OoxmlPart, nodeId: string, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
151
- /** Insert children into a node at `index` (clamped to the child list). */
152
- declare function insertChildren(part: OoxmlPart, nodeId: string, index: number, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
153
- /** Replace one node with another, keeping its position among its siblings. */
154
- declare function replaceNode(part: OoxmlPart, nodeId: string, replacement: OoxmlNode, options?: EditOptions): OoxmlEditResult;
155
- /** Remove a node and its subtree. */
156
- declare function removeNode(part: OoxmlPart, nodeId: string, options?: EditOptions): OoxmlEditResult;
157
- /**
158
- * Apply several primitives as ONE atomic step.
159
- *
160
- * Each edit runs against the result of the previous one, and the whole sequence is
161
- * validated once at the end. If any step fails, the ORIGINAL part is what the caller keeps
162
- * — there is no partially-edited intermediate to publish. This is the shape a multi-`DocOp`
163
- * store transaction needs.
164
- */
165
- declare function applyEdits(part: OoxmlPart, edits: readonly ((current: OoxmlPart) => OoxmlEditResult)[], options?: EditOptions): OoxmlEditResult;
198
+ readonly rasterize?: (bytes: Uint8Array, mime: MetafileImageMime, options: Readonly<{
199
+ maxEdge: number;
200
+ }>) => Promise<MetafileRasterImage | null>;
201
+ }
202
+ /**
203
+ * What a drawing renderer paints: vector components over the drawing extent, and read-only
204
+ * stories for its text.
205
+ *
206
+ * @internal
207
+ */
208
+ interface DrawingGraphicProjection {
209
+ readonly vectorShape: VectorShapeProjection | null;
210
+ readonly groupTextboxes: readonly GroupTextboxProjection[] | null;
211
+ }
212
+ /**
213
+ * What a chart renderer reads beside the drawing.
214
+ *
215
+ * @internal
216
+ */
217
+ interface ChartRenderContext {
218
+ readonly resolveChartPart?: ChartPartResolver;
219
+ /** The chartex part behind a `cx:chart` element (waterfall, funnel, histogram, ...). */
220
+ readonly resolveChartexPart?: ChartexPartResolver;
221
+ readonly resolveSchemeColor?: ShapeSchemeColorResolver;
222
+ }
223
+ /**
224
+ * The parts a SmartArt layout engine lays a diagram out from.
225
+ *
226
+ * @internal
227
+ */
228
+ interface DiagramLayoutParts {
229
+ readonly dataModel: OoxmlElement;
230
+ readonly layoutDef: OoxmlElement;
231
+ readonly styleDef: OoxmlElement | null;
232
+ readonly colorsDef: OoxmlElement | null;
233
+ }
234
+ /**
235
+ * What a SmartArt layout engine reads beside the diagram parts.
236
+ *
237
+ * @internal
238
+ */
239
+ interface DiagramLayoutOptions {
240
+ /** The theme's minor (body) Latin font, which diagram text uses by default. */
241
+ readonly fontFamily?: string;
242
+ readonly resolveSchemeColor?: ShapeSchemeColorResolver;
243
+ }
244
+ /**
245
+ * What a text art renderer reads beside the shape.
246
+ *
247
+ * @internal
248
+ */
249
+ interface LegacyTextArtContext {
250
+ /**
251
+ * The `v:shapetype` the shape names with its `type`, when the same drawing holds it. A
252
+ * renderer that reads its geometry accepts it; the engine refuses any other custom template.
253
+ */
254
+ readonly template?: OoxmlElement;
255
+ }
256
+ /**
257
+ * Renderers a capability package installs.
258
+ *
259
+ * @internal
260
+ */
261
+ interface DrawingRenderers {
262
+ /**
263
+ * The shapes and labels of a chart drawing, classic (`c:chart`) or chartex (`cx:chart`), or
264
+ * null when the drawing is not a chart or the chart is outside what the renderer paints.
265
+ */
266
+ readonly chart?: (anchor: OoxmlElement, extent: Readonly<{
267
+ cx: number;
268
+ cy: number;
269
+ }>, context: ChartRenderContext) => DrawingGraphicProjection | null;
270
+ /**
271
+ * The drawing part (`dsp:drawing`) Office would save for a diagram at this extent, or null
272
+ * when its layout is outside what the engine places.
273
+ */
274
+ readonly diagramLayout?: (parts: DiagramLayoutParts, extent: Readonly<{
275
+ cx: number;
276
+ cy: number;
277
+ }>, options: DiagramLayoutOptions) => OoxmlElement | null;
278
+ /** Glow, inner shadow, reflection, soft edge and bevel rim. The outer shadow is the engine's. */
279
+ readonly effects?: DrawingEffectsRenderer;
280
+ /**
281
+ * The text art of a VML text path (`v:shape` of a text path type, `#_x0000_t136` to
282
+ * `#_x0000_t175`) outside a watermark, or null when the shape is outside what the renderer
283
+ * projects. A watermark's text art is the engine's.
284
+ */
285
+ readonly legacyTextArt?: (shape: OoxmlElement, context?: LegacyTextArtContext) => LegacyTextArtProjection | null;
286
+ /**
287
+ * The painted geometry of text art whose projection carries `renderData`: glyph outlines
288
+ * warped to the text path, with fills, outlines, shadows and extrusion. Without it, or
289
+ * when it returns null, the engine fits the plain text to the box.
290
+ */
291
+ readonly textArtLayout?: TextArtLayoutRenderer;
292
+ /** EMF and WMF pictures. */
293
+ readonly metafile?: MetafileRenderer;
294
+ }
295
+ /**
296
+ * Install drawing renderers for every editor and export in this process. A later install
297
+ * replaces the renderers it names and keeps the others. Install before any document opens:
298
+ * a drawing already read keeps what it read.
299
+ *
300
+ * @internal
301
+ */
302
+ declare function installDrawingRenderers(renderers: DrawingRenderers): void;
166
303
 
167
304
  /** UTF-16 placeholder for one atomic field unit in `paragraphTextOf` / segments. */
168
305
  declare const FIELD_ATOM_CHAR = "\uFFFC";
@@ -355,7 +492,7 @@ declare function inlineControlEndingAt(paragraph: OoxmlParagraphNode, offset: nu
355
492
  declare function inlineControlStartingAt(paragraph: OoxmlParagraphNode, offset: number): InlineControlSpan | null;
356
493
 
357
494
  /** Structural validation, run before any tree work so a rejection changes nothing. */
358
- declare function validateTreeOp(part: OoxmlPart, op: TreeDocOp): TreeOpRejection | null;
495
+ declare function validateTreeOp(part: OoxmlPart, op: TreeDocOp, options?: Pick<EditOptions, 'contentLockPolicy'>): TreeOpRejection | null;
359
496
 
360
497
  /**
361
498
  * Paragraph text as the ops address it, for tests and callers computing offsets.
@@ -538,6 +675,18 @@ type HrefProjection = {
538
675
  declare function sanitizeHref(raw: string): HrefProjection;
539
676
  /** XML-escape a value for validated serialization back into owned OOXML. */
540
677
  declare function escapeXml(value: string): string;
678
+ /** XML-escape a value bound for an ATTRIBUTE, preserving CR/LF/TAB across a re-parse. @internal */
679
+ declare function escapeXmlAttribute(value: string): string;
680
+ /**
681
+ * Validate that a string contains only characters legal in XML 1.0 text/attributes. escapeXml
682
+ * handles the markup-significant characters but leaves control chars, U+FFFE/U+FFFF, and unpaired
683
+ * surrogates — which would emit malformed XML (or be silently mangled during UTF-8 encoding). Returns
684
+ * false so a caller can reject fail-closed. Valid supplementary characters (correct surrogate pairs)
685
+ * pass.
686
+ *
687
+ * @internal
688
+ */
689
+ declare function isValidXmlText(value: string): boolean;
541
690
  /**
542
691
  * CSS string-escape a file-derived value (e.g. an `@font-face` family name or an
543
692
  * inline style value). Emits `\<hex> ` escapes for quotes, backslash, and
@@ -719,7 +868,7 @@ declare const twips: (value: number) => Twips;
719
868
  *
720
869
  * @public
721
870
  */
722
- declare const points: (value: number) => Points;
871
+ declare const points$1: (value: number) => Points;
723
872
  /**
724
873
  * The one twips-to-points conversion. Exact division; twips are the finer unit.
725
874
  *
@@ -988,6 +1137,33 @@ declare function mintedParagraphIdentityAttributes(prefix: string, value: string
988
1137
  */
989
1138
  declare function normalizeParagraphIdentity(part: OoxmlPart): OoxmlPart;
990
1139
 
1140
+ /** A text position: a paragraph's node id and a UTF-16 offset in its text. */
1141
+ interface BookmarkPosition {
1142
+ readonly paragraphId: string;
1143
+ readonly offset: number;
1144
+ }
1145
+ /** One bookmark, both ends resolved. */
1146
+ interface BookmarkRecord {
1147
+ /** The name as the document writes it. */
1148
+ readonly name: string;
1149
+ /** Names starting with an underscore are hidden. */
1150
+ readonly hidden: boolean;
1151
+ /** The marker pair's `@w:id`. */
1152
+ readonly markerId: string;
1153
+ readonly start: BookmarkPosition;
1154
+ readonly end: BookmarkPosition;
1155
+ /** Node ids of the two markers. */
1156
+ readonly startNodeId: string;
1157
+ readonly endNodeId: string;
1158
+ /**
1159
+ * How many marker pairs in the part carry this name, compared without case: 1, or more
1160
+ * where concurrent edits left copies. The record is the first; the rest are not listed.
1161
+ */
1162
+ readonly copies: number;
1163
+ }
1164
+ /** List each name once, using its first marker pair in document order. @public */
1165
+ declare function listBookmarks(part: OoxmlPart): readonly BookmarkRecord[];
1166
+
991
1167
  /** One `w:docPart` of the glossary, with the blocks its body holds. */
992
1168
  interface BuildingBlock {
993
1169
  /** `w:docPartPr/w:name`, the identity a control's placeholder and a pick refer to. */
@@ -1347,6 +1523,164 @@ type CustomNodeExportResult = {
1347
1523
  */
1348
1524
  declare function withExportedCustomNodes(pkg: OoxmlPackage, request: CustomNodeExportRequest): CustomNodeExportResult;
1349
1525
 
1526
+ /** Named inputs a formula may read besides adjust values and earlier formulas. @internal */
1527
+ interface VmlFormulaContext {
1528
+ readonly width: number;
1529
+ readonly height: number;
1530
+ readonly adjust: readonly number[];
1531
+ }
1532
+ /** The values of `eqns` in order, or null when one cannot be read. @internal */
1533
+ declare function vmlFormulaValues(eqns: readonly string[], context: VmlFormulaContext): readonly number[] | null;
1534
+
1535
+ /** The VML namespace. @internal */
1536
+ declare const VML = "urn:schemas-microsoft-com:vml";
1537
+ /** The Office VML extensions namespace (`o:`). @internal */
1538
+ declare const OFFICE = "urn:schemas-microsoft-com:office:office";
1539
+ /** The Word VML extensions namespace (`w10:`). @internal */
1540
+ declare const WORD_VML = "urn:schemas-microsoft-com:office:word";
1541
+ /** Whether `node` is the element `ns`:`name`. @internal */
1542
+ declare const named: (node: OoxmlNode, ns: string, name: string) => boolean;
1543
+ /** The value of attribute `name` in namespace `ns` (none by default). @internal */
1544
+ declare const attribute: (node: OoxmlElement, name: string, ns?: string) => string | undefined;
1545
+ /** The element children of `node`. @internal */
1546
+ declare function children(node: OoxmlElement): OoxmlElement[];
1547
+ /** Whether a VML boolean is false (`f`, `false`, `0`). @internal */
1548
+ declare const off: (value: string | undefined) => boolean;
1549
+ /** A plain decimal number, bounded; NaN when malformed. @internal */
1550
+ declare function numeric(value: string | undefined): number;
1551
+ /** A VML length in points (`pt`, `in`, `cm`, `mm`, `px`); NaN when malformed. @internal */
1552
+ declare function points(value: string | undefined): number;
1553
+ /**
1554
+ * VML rotation in degrees (`315`, `-45`, or `fd` sixty-five-thousandths). NaN when malformed.
1555
+ *
1556
+ * @internal
1557
+ */
1558
+ declare function legacyRotationDegrees(raw: string | undefined): number;
1559
+ /** The declarations of a `style` attribute by lower-case name; null when malformed. @internal */
1560
+ declare function styleOf(node: OoxmlElement): ReadonlyMap<string, string> | null;
1561
+ /** A VML colour as `#rrggbb`, `fallback` when absent; null when malformed. @internal */
1562
+ declare function color(value: string | undefined, fallback: string): string | null;
1563
+
1564
+ interface GeometryGuide {
1565
+ readonly name: string;
1566
+ readonly op: string;
1567
+ readonly args: readonly string[];
1568
+ }
1569
+
1570
+ type GeometryFill = 'norm' | 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
1571
+ type GeometryCommand = {
1572
+ readonly op: 'M' | 'L';
1573
+ readonly args: readonly [string, string];
1574
+ } | {
1575
+ readonly op: 'A';
1576
+ readonly args: readonly [string, string, string, string];
1577
+ } | {
1578
+ readonly op: 'Q';
1579
+ readonly args: readonly [string, string, string, string];
1580
+ } | {
1581
+ readonly op: 'C';
1582
+ readonly args: readonly [string, string, string, string, string, string];
1583
+ } | {
1584
+ readonly op: 'Z';
1585
+ readonly args: readonly [];
1586
+ };
1587
+ interface GeometryPath {
1588
+ /** Path coordinate space; 0 means the shape's own EMU space on that axis. */
1589
+ readonly width: number;
1590
+ readonly height: number;
1591
+ readonly fill: GeometryFill;
1592
+ readonly stroke: boolean;
1593
+ readonly commands: readonly GeometryCommand[];
1594
+ }
1595
+ /** @internal */
1596
+ interface GeometryDefinition {
1597
+ readonly avLst: readonly GeometryGuide[];
1598
+ readonly gdLst: readonly GeometryGuide[];
1599
+ /** Text rectangle guide references l/t/r/b; null means the whole shape. */
1600
+ readonly textRect: readonly [string, string, string, string] | null;
1601
+ readonly paths: readonly GeometryPath[];
1602
+ }
1603
+ interface GeometryPoint {
1604
+ readonly x: number;
1605
+ readonly y: number;
1606
+ }
1607
+ interface EvaluatedSubpath {
1608
+ readonly points: readonly GeometryPoint[];
1609
+ readonly closed: boolean;
1610
+ }
1611
+ interface EvaluatedPath {
1612
+ readonly subpaths: readonly EvaluatedSubpath[];
1613
+ readonly fill: GeometryFill;
1614
+ readonly stroke: boolean;
1615
+ }
1616
+ /** @internal */
1617
+ interface EvaluatedGeometry {
1618
+ readonly paths: readonly EvaluatedPath[];
1619
+ readonly textRect: Readonly<{
1620
+ left: number;
1621
+ top: number;
1622
+ right: number;
1623
+ bottom: number;
1624
+ }>;
1625
+ }
1626
+ /** The ECMA-376 preset geometry named by `a:prstGeom/@prst`, or null for an unknown name. @internal */
1627
+ declare function presetGeometryDefinition(name: string): GeometryDefinition | null;
1628
+ /**
1629
+ * Evaluate a definition at a shape size. `adjust` replaces avLst values by name, as
1630
+ * `a:prstGeom/a:avLst` does. Null when the flattened geometry would exceed
1631
+ * MAX_GEOMETRY_POINTS; sizes that are negative or not finite read as 0.
1632
+ *
1633
+ * @internal
1634
+ */
1635
+ declare function evaluateGeometry(definition: GeometryDefinition, widthEmu: number, heightEmu: number, adjust?: ReadonlyMap<string, number>): EvaluatedGeometry | null;
1636
+
1637
+ /** The text a shape's style supplies: `a:fontRef` names a theme font slot and a colour. @internal */
1638
+ interface DrawingTextDefaults {
1639
+ readonly fontSlot: 'major' | 'minor' | null;
1640
+ readonly color: ShapeColor | null;
1641
+ }
1642
+ /**
1643
+ * A lowered text body; `'no-text'` when it holds nothing to paint; `'unsupported'` when it
1644
+ * holds text the lowering cannot express (a vertical mode other than a quarter turn, several
1645
+ * columns, or a body past the bounds), so its shape must not render without it.
1646
+ *
1647
+ * @internal
1648
+ */
1649
+ type TextBodyLowering = LoweredDrawingText | 'no-text' | 'unsupported';
1650
+ /** @internal */
1651
+ interface LoweredDrawingText {
1652
+ /** A `w:txbxContent` root holding the lowered paragraphs; node ids are namespaced. */
1653
+ readonly content: OoxmlElement;
1654
+ readonly insetsEmu: Readonly<{
1655
+ top: number;
1656
+ right: number;
1657
+ bottom: number;
1658
+ left: number;
1659
+ }>;
1660
+ readonly verticalAnchor: 'top' | 'center' | 'bottom';
1661
+ readonly noWrap: boolean;
1662
+ /** Clockwise turn `a:bodyPr/@rot` adds to the text, in degrees. */
1663
+ readonly rotationDegrees: number;
1664
+ /**
1665
+ * `vert="vert"` (90) or `vert="vert270"` (270): the lines run along the box's long side, so
1666
+ * the story lays out in the box turned a quarter. Insets are already in text space.
1667
+ */
1668
+ readonly quarterTurn: 0 | 90 | 270;
1669
+ }
1670
+ /** Lower one text body; see {@link TextBodyLowering}. @internal */
1671
+ declare function lowerDrawingTextBody(txBody: OoxmlElement, partName: string, defaults: DrawingTextDefaults, resolveSchemeColor?: ShapeSchemeColorResolver): TextBodyLowering;
1672
+
1673
+ /** @internal */
1674
+ declare function findGraphicData(anchor: OoxmlElement): OoxmlElement | null;
1675
+
1676
+ /**
1677
+ * The theme and settings identity behind a scheme colour resolver. Resolvers are rebuilt for
1678
+ * every package revision; the token stays the same while the theme and settings parts do.
1679
+ *
1680
+ * @internal
1681
+ */
1682
+ declare function shapeThemeCacheToken(resolveSchemeColor: (token: string) => string | null): string | undefined;
1683
+
1350
1684
  /**
1351
1685
  * Every kind of thing the registry gives a stable identity to.
1352
1686
  *
@@ -2267,14 +2601,14 @@ declare function commentsExtendedPartNameOf(pkg: OoxmlPackage, storyPartName: st
2267
2601
  * The story store still performs the write. The package coordinator records the undo unit
2268
2602
  * and, when observed, the primitive journal.
2269
2603
  */
2270
- declare function addPackageComment(packageStore: TreePackageStore, request: AddCommentRequest, scope?: StoryScope): AddCommentResult;
2604
+ declare function addPackageComment(packageStore: TreePackageStore, request: AddCommentRequest, scope?: StoryScope, historyGroup?: HistoryGroup): AddCommentResult;
2271
2605
  /**
2272
2606
  * Resolve or reopen a comment thread and publish the new package shell.
2273
2607
  *
2274
2608
  * `@w15:done` lives in `commentsExtended.xml`, which a document with no reply does not have.
2275
2609
  * Capture must be armed for that create-part, or a peer keeps an open thread.
2276
2610
  */
2277
- declare function setPackageCommentResolved(packageStore: TreePackageStore, commentId: string, resolved: boolean): SetCommentResolvedResult;
2611
+ declare function setPackageCommentResolved(packageStore: TreePackageStore, commentId: string, resolved: boolean, historyGroup?: HistoryGroup): SetCommentResolvedResult;
2278
2612
  /** One comment object in a delete batch: a root, or a reply naming its parent. */
2279
2613
  interface PackageCommentDelete {
2280
2614
  readonly commentId: string;
@@ -2287,7 +2621,7 @@ interface PackageCommentDelete {
2287
2621
  * store, and a header the reader had entered would restore its markers after the body
2288
2622
  * had already dropped them.
2289
2623
  */
2290
- declare function deletePackageComments(packageStore: TreePackageStore, comments: readonly PackageCommentDelete[], scope?: StoryScope, noteId?: number): boolean;
2624
+ declare function deletePackageComments(packageStore: TreePackageStore, comments: readonly PackageCommentDelete[], scope?: StoryScope, noteId?: number, historyGroup?: HistoryGroup): boolean;
2291
2625
 
2292
2626
  /**
2293
2627
  * Insert a custom node on one story and publish the new package shell.
@@ -2295,7 +2629,7 @@ declare function deletePackageComments(packageStore: TreePackageStore, comments:
2295
2629
  * The store hangs off the main document part even when the control lands in a header:
2296
2630
  * Word enumerates data stores from that part and nowhere else.
2297
2631
  */
2298
- declare function insertPackageCustomNode(packageStore: TreePackageStore, write: InsertCustomNodeWrite, scope?: StoryScope): CustomNodeWriteResult;
2632
+ declare function insertPackageCustomNode(packageStore: TreePackageStore, write: InsertCustomNodeWrite, scope?: StoryScope, historyGroup?: HistoryGroup): CustomNodeWriteResult;
2299
2633
  /** Remove a custom node and the payload it bound, then publish the new package shell. */
2300
2634
  declare function removePackageCustomNode(packageStore: TreePackageStore, controlNodeId: string, scope?: StoryScope): CustomNodeWriteResult;
2301
2635
 
@@ -2667,6 +3001,9 @@ declare function isSearchableQuery(query: unknown): query is string;
2667
3001
  declare function findOccurrences(text: string, query: string, limit: number, options?: TextMatchOptions): TextOccurrences;
2668
3002
 
2669
3003
  declare function drawingOpImpact(op: DrawingTreeDocOp): ImpactClass;
3004
+ /** Whether an op is one of the drawing ops. Narrows the type. */
3005
+ declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
3006
+
2670
3007
  /** Validate a drawing op's extents, crops and positions before it reaches the store. */
2671
3008
  declare function validateDrawingOp(part: OoxmlPart, op: DrawingTreeDocOp): TreeOpRejection | null;
2672
3009
  /** Map the nine wrap targets to anchor wrap element + behindDoc. */
@@ -2675,8 +3012,6 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
2675
3012
  readonly wrapLocalName: 'wrapNone' | 'wrapSquare' | 'wrapTight' | 'wrapThrough' | 'wrapTopAndBottom';
2676
3013
  readonly wrapText?: 'bothSides' | 'left' | 'right' | 'largest';
2677
3014
  };
2678
- /** Whether an op is one of the drawing ops. Narrows the type. */
2679
- declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
2680
3015
 
2681
3016
  /**
2682
3017
  * Fill every empty prompt-bearing control in `part` with its placeholder and mark it as
@@ -2701,8 +3036,77 @@ declare function formsProtectionEnabled(root: OoxmlNode | null | undefined): boo
2701
3036
  */
2702
3037
  declare function sectionProtectsForms(part: OoxmlPart, nodeId: string): boolean;
2703
3038
 
3039
+ /**
3040
+ * One drawing in a {@link DrawingSupportReport}. Pass the entry to
3041
+ * `createDrawingPreviewPackage` with the same package to build its preview DOCX.
3042
+ *
3043
+ * @public
3044
+ */
3045
+ interface DrawingSupportEntry {
3046
+ /** The part that holds the drawing, such as `/word/document.xml` or `/word/header1.xml`. */
3047
+ readonly ownerPartName: string;
3048
+ /**
3049
+ * The node of `source` in the inspected package. Node identifiers belong to that package
3050
+ * object; they do not persist in the saved XML.
3051
+ */
3052
+ readonly nodeId: string;
3053
+ /**
3054
+ * The node of the drawing that the editor shows, inside `source`: for `mc:AlternateContent`,
3055
+ * the drawing in the selected branch. `null` when the drawing is `unplaced`.
3056
+ */
3057
+ readonly drawingNodeId: string | null;
3058
+ /**
3059
+ * What the editor shows: `projected` (the drawing renders), `fallback` (a saved fallback
3060
+ * renders), `placeholder` (a labeled box), `hidden` (the drawing is hidden by design), or
3061
+ * `unplaced` (no layout position, nothing shows). Image decoding is not checked.
3062
+ */
3063
+ readonly state: 'projected' | 'fallback' | 'placeholder' | 'hidden' | 'unplaced';
3064
+ /**
3065
+ * One verdict from `state` and `issues`: `projected` and `hidden` give `native` or
3066
+ * `partial`, `fallback` gives `partial`, and `placeholder` and `unplaced` give `unrendered`.
3067
+ */
3068
+ readonly support: DrawingSupport;
3069
+ /** The graphic the selected drawing holds, whether or not it renders. */
3070
+ readonly graphicKind: DrawingGraphicKind;
3071
+ /**
3072
+ * The drawing's source: its `w:drawing`, `w:pict`, or `w:object`, or the enclosing
3073
+ * `mc:AlternateContent`. Treat it as read-only and untrusted.
3074
+ */
3075
+ readonly source: OoxmlElement;
3076
+ /**
3077
+ * The features the editor does not show as authored: the same list as an editor
3078
+ * occurrence's `drawingIssues`, plus projection diagnostics. A `projection-diagnostic` with
3079
+ * `detail: 'unsupported-graphic'` appears only for placeholders, where it names the graphic.
3080
+ */
3081
+ readonly issues: readonly DrawingSupportIssue[];
3082
+ }
3083
+ /**
3084
+ * Every drawing in the body, headers, footers, footnotes, and endnotes, including drawings
3085
+ * without a layout position. The scan is bounded. @public
3086
+ */
3087
+ interface DrawingSupportReport {
3088
+ /** One entry for each drawing, in document order within each part. */
3089
+ readonly entries: readonly DrawingSupportEntry[];
3090
+ /** False when a scan budget prevented a complete inventory. */
3091
+ readonly complete: boolean;
3092
+ /**
3093
+ * What the issue check covers: `explicit-source-effects`, the effects, fallbacks, and 3-D
3094
+ * properties written in each drawing's own XML. Chart and diagram parts, inherited theme
3095
+ * effects, and image bytes are not checked.
3096
+ */
3097
+ readonly coverage: 'explicit-source-effects';
3098
+ }
3099
+ /**
3100
+ * Inspect story drawings without opening a DOM, decoding images, or loading external resources.
3101
+ * Pass a parsed package from the same saved snapshot you send to your rendering service.
3102
+ * A complete inventory is not a complete fidelity assessment. Related chart, diagram, and theme
3103
+ * contents, inactive alternatives, and final image decoding need separate checks.
3104
+ * @public
3105
+ */
3106
+ declare function inspectDrawingSupport(pkg: OoxmlPackage): DrawingSupportReport;
3107
+
2704
3108
  /** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
2705
- declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "setRevisionAttribution", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setFieldCode", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setMathEquation", "removeMathEquation", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableProperties", "authorTable", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "setDocumentProtection", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults", "setTextFormFieldDefault", "commitTextFormField", "setLegacyCheckbox", "setLegacyDropdown", "insertBuildingBlock"];
3109
+ declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "setRevisionAttribution", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "insertComplexField", "insertEquation", "setFieldCode", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setMathEquation", "removeMathEquation", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "mergeTableCells", "splitTableCell", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableProperties", "authorTable", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "setDocumentProtection", "setWatermark", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults", "setFieldResult", "setTextFormFieldDefault", "commitTextFormField", "setLegacyCheckbox", "setLegacyDropdown", "insertBuildingBlock", "insertBookmark", "deleteBookmark"];
2706
3110
 
2707
- export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingTreeDocOp, FIELD_ATOM_CHAR, FieldResultsMode, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, MAX_STORY_SDT_NESTING, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, RevisionSiteRefusal, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, addComment, addPackageComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, displayMathAlignment, drawingOpImpact, endOperation, equationsOfAtom, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isOmmlDisplay, isOmmlEquationAtom, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, linkRevisionReplies, locateSites, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
2708
- export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DigestDifference, DocumentViewSettings, EditOptions, EncodedEnvelope, EnforcementPhase, ExternalResourceConsentPort, FeatureBundle, FixtureExpectation, FixtureOutcome, FixtureSource, FixtureStep, FldCharType, FontPort, FormattingDisplayMode, FormattingRevisionAuthorFilter, FragmentCoverage, FragmentExtractRejection, FragmentExtractResult, FragmentMergeRejection, FragmentMergeResult, HardBreakKind, HrefProjection, IdKind, IdentityPort, ImagePort, InertExecutableKind, InlineControlSpan, Json, LimitSpec, LimitUnit, LinkableReviewItem, ModelChangeSummary, OffsetSpan, OoxmlEditResult, OoxmlIndexes, OoxmlStoryKind, OoxmlStoryRoot, OperationContext, OperationInit, PackageCommentDelete, PackageInvariantCode, PackageInvariantIssue, PackageInvariantResult, ParagraphDigest, ParagraphIndexEntry, ParagraphOffsetIndex, PersistencePort, Points, RegistryErrorCode, ReplacementPolicy, ReplayOutcome, ReplayReport, ReplayStore, Reservation, ResolveOptions, ResolvedRegistry, ResourceAccountingPort, RunPropertyEdit, SchedulingPort, ScrubResult, Segment, SemVer, SemanticDigest, SetCommentResolvedResult, ShapingPort, StoryDigest, StoryIndexEntry, StyleIndexEntry, TextMatchOptions, TextOccurrence, TextOccurrences, TextboxStoryRoot, TocEntryPlan, TocInstruction, TocOutlineHeading, TransactionRevisionIds, TransportPort, Twips, ValidationResult };
3111
+ export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, ChartPartResolver, ChartexPartResolver, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingGraphicKind, DrawingSupport, DrawingSupportIssue, DrawingTreeDocOp, EditOptions, FIELD_ATOM_CHAR, FieldResultsMode, GroupTextboxProjection, HistoryGroup, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LegacyTextArtProjection, LimitExceededError, MAX_STORY_SDT_NESTING, MetafileImageMime, MetafileRenderOptions, MetafileReplay, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PictureFrameEffects, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, RevisionSiteRefusal, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, ShapeColor, ShapeEffectList, ShapeSchemeColorResolver, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, VML as VML_NAMESPACE_URI, OFFICE as VML_OFFICE_NAMESPACE_URI, WORD_VML as VML_WORD_NAMESPACE_URI, VectorShapeComponent, VectorShapeProjection, addComment, addPackageComment, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, displayMathAlignment, drawingOpImpact, endOperation, equationsOfAtom, escapeCssString, escapeXml, escapeXmlAttribute, evaluateGeometry, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findDirectChild, findGraphicData, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertPackageCustomNode, inspectDrawingSupport, installDrawingRenderers, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isOmmlDisplay, isOmmlEquationAtom, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isValidXmlText, isWholeWord, legacyRotationDegrees, linkRevisionReplies, listBookmarks, locateSites, lowerDrawingTextBody, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parseEmu, parseSemVer, parseTocInstruction, planTocEntries, points$1 as points, pointsToTwips, presetGeometryDefinition, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removePackageCustomNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, schemaAttributeValue, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, shapeThemeCacheToken, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, attribute as vmlAttribute, children as vmlChildren, color as vmlColor, vmlFormulaValues, named as vmlNamed, numeric as vmlNumber, off as vmlOff, points as vmlPoints, styleOf as vmlStyle, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
3112
+ export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BookmarkPosition, BookmarkRecord, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ChartRenderContext, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DiagramLayoutOptions, DiagramLayoutParts, DigestDifference, DocumentViewSettings, DrawingEffectsRenderer, DrawingGraphicProjection, DrawingRenderers, DrawingSupportEntry, DrawingSupportReport, DrawingTextDefaults, EncodedEnvelope, EnforcementPhase, EvaluatedGeometry, ExternalResourceConsentPort, FeatureBundle, FixtureExpectation, FixtureOutcome, FixtureSource, FixtureStep, FldCharType, FontPort, FormattingDisplayMode, FormattingRevisionAuthorFilter, FragmentCoverage, FragmentExtractRejection, FragmentExtractResult, FragmentMergeRejection, FragmentMergeResult, GeometryDefinition, HardBreakKind, HrefProjection, IdKind, IdentityPort, ImagePort, InertExecutableKind, InlineControlSpan, Json, LegacyTextArtContext, LimitSpec, LimitUnit, LinkableReviewItem, LoweredDrawingText, MetafileRasterImage, MetafileRenderer, ModelChangeSummary, OffsetSpan, OoxmlIndexes, OoxmlStoryKind, OoxmlStoryRoot, OperationContext, OperationInit, PackageCommentDelete, PackageInvariantCode, PackageInvariantIssue, PackageInvariantResult, ParagraphDigest, ParagraphIndexEntry, ParagraphOffsetIndex, PersistencePort, PictureEffectsProjection, Points, RegistryErrorCode, ReplacementPolicy, ReplayOutcome, ReplayReport, ReplayStore, Reservation, ResolveOptions, ResolvedRegistry, ResourceAccountingPort, RunPropertyEdit, SchedulingPort, ScrubResult, Segment, SemVer, SemanticDigest, SetCommentResolvedResult, ShapeEffectsInput, ShapingPort, StoryDigest, StoryIndexEntry, StyleIndexEntry, TextArtLayout, TextArtLayoutInput, TextArtLayoutRenderer, TextArtOutline, TextBodyLowering, TextMatchOptions, TextOccurrence, TextOccurrences, TextboxStoryRoot, TocEntryPlan, TocInstruction, TocOutlineHeading, TransportPort, Twips, ValidationResult, VmlFormulaContext };