superdoc 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (687) hide show
  1. package/AGENTS.md +337 -0
  2. package/LICENSE +661 -0
  3. package/NOTICE +8 -0
  4. package/README.md +107 -0
  5. package/dist/chunks/FindReplaceSurface-BEW-1NhM.es.js +344 -0
  6. package/dist/chunks/FindReplaceSurface-DLxnCQOB.cjs +346 -0
  7. package/dist/chunks/PasswordPromptSurface-BA6HHqEa.es.js +111 -0
  8. package/dist/chunks/PasswordPromptSurface-DMbfDvpQ.cjs +113 -0
  9. package/dist/chunks/PdfViewer-CNOtyS-I.es.js +531 -0
  10. package/dist/chunks/PdfViewer-CoFiGAhm.cjs +535 -0
  11. package/dist/chunks/_plugin-vue_export-helper-BTwbGDKw.cjs +11 -0
  12. package/dist/chunks/_plugin-vue_export-helper-CInC0bKI.es.js +6 -0
  13. package/dist/chunks/blank-docx-CJAXnJKp.es.js +2 -0
  14. package/dist/chunks/blank-docx-DA-G-3VB.cjs +7 -0
  15. package/dist/chunks/constants-CY3R3_kF.es.js +3 -0
  16. package/dist/chunks/constants-sbCZ2O_A.cjs +14 -0
  17. package/dist/chunks/create-super-doc-ui-CXCqHc2m.cjs +9451 -0
  18. package/dist/chunks/create-super-doc-ui-fxF2Q8Ib.es.js +9188 -0
  19. package/dist/chunks/eventemitter3-B60Fsz-a.es.js +131 -0
  20. package/dist/chunks/eventemitter3-DCfwFVNn.cjs +137 -0
  21. package/dist/chunks/jszip-BdUBlUeG.cjs +4679 -0
  22. package/dist/chunks/jszip-DzmwAHr3.es.js +4650 -0
  23. package/dist/chunks/rolldown-runtime-BJVcqBbz.es.js +43 -0
  24. package/dist/chunks/rolldown-runtime-_dR15c8t.cjs +68 -0
  25. package/dist/chunks/uuid-B2Sqk-3p.es.js +32 -0
  26. package/dist/chunks/uuid-CFp0WGVU.cjs +38 -0
  27. package/dist/collaboration-upgrade-engine.cjs +37 -0
  28. package/dist/collaboration-upgrade-engine.es.js +30 -0
  29. package/dist/document-api/src/authorities/authorities.d.ts +29 -0
  30. package/dist/document-api/src/authorities/authorities.types.d.ts +113 -0
  31. package/dist/document-api/src/blocks/blocks.d.ts +29 -0
  32. package/dist/document-api/src/bookmarks/bookmarks.d.ts +15 -0
  33. package/dist/document-api/src/bookmarks/bookmarks.types.d.ts +82 -0
  34. package/dist/document-api/src/capabilities/capabilities.d.ts +82 -0
  35. package/dist/document-api/src/captions/captions.d.ts +17 -0
  36. package/dist/document-api/src/captions/captions.types.d.ts +61 -0
  37. package/dist/document-api/src/citations/citations.d.ts +39 -0
  38. package/dist/document-api/src/citations/citations.types.d.ts +151 -0
  39. package/dist/document-api/src/clear-content/clear-content.d.ts +25 -0
  40. package/dist/document-api/src/clipboard/clipboard.d.ts +11 -0
  41. package/dist/document-api/src/comments/comments.d.ts +222 -0
  42. package/dist/document-api/src/comments/comments.types.d.ts +227 -0
  43. package/dist/document-api/src/content-controls/content-controls.d.ts +136 -0
  44. package/dist/document-api/src/content-controls/content-controls.types.d.ts +453 -0
  45. package/dist/document-api/src/contract/command-catalog.d.ts +17 -0
  46. package/dist/document-api/src/contract/index.d.ts +9 -0
  47. package/dist/document-api/src/contract/metadata-types.d.ts +30 -0
  48. package/dist/document-api/src/contract/operation-definitions.d.ts +3645 -0
  49. package/dist/document-api/src/contract/operation-map.d.ts +5 -0
  50. package/dist/document-api/src/contract/operation-registry.d.ts +2002 -0
  51. package/dist/document-api/src/contract/reference-aliases.d.ts +19 -0
  52. package/dist/document-api/src/contract/reference-doc-map.d.ts +12 -0
  53. package/dist/document-api/src/contract/schemas.d.ts +35 -0
  54. package/dist/document-api/src/contract/step-op-catalog.d.ts +26 -0
  55. package/dist/document-api/src/contract/types.d.ts +31 -0
  56. package/dist/document-api/src/create/create.d.ts +27 -0
  57. package/dist/document-api/src/cross-refs/cross-refs.d.ts +15 -0
  58. package/dist/document-api/src/cross-refs/cross-refs.types.d.ts +68 -0
  59. package/dist/document-api/src/customXml/customXml.d.ts +19 -0
  60. package/dist/document-api/src/customXml/customXml.types.d.ts +148 -0
  61. package/dist/document-api/src/delete/delete.d.ts +20 -0
  62. package/dist/document-api/src/diff/diff.d.ts +14 -0
  63. package/dist/document-api/src/diff/diff.types.d.ts +83 -0
  64. package/dist/document-api/src/diff/index.d.ts +3 -0
  65. package/dist/document-api/src/errors.d.ts +11 -0
  66. package/dist/document-api/src/export/export.d.ts +10 -0
  67. package/dist/document-api/src/export/export.types.d.ts +40 -0
  68. package/dist/document-api/src/extract/extract.d.ts +15 -0
  69. package/dist/document-api/src/fields/fields.d.ts +15 -0
  70. package/dist/document-api/src/fields/fields.types.d.ts +90 -0
  71. package/dist/document-api/src/find/find.d.ts +52 -0
  72. package/dist/document-api/src/footnotes/footnotes.d.ts +17 -0
  73. package/dist/document-api/src/footnotes/footnotes.types.d.ts +104 -0
  74. package/dist/document-api/src/format/format.d.ts +92 -0
  75. package/dist/document-api/src/format/inline-run-patch.d.ts +138 -0
  76. package/dist/document-api/src/get/get.d.ts +19 -0
  77. package/dist/document-api/src/get-html/get-html.d.ts +27 -0
  78. package/dist/document-api/src/get-markdown/get-markdown.d.ts +22 -0
  79. package/dist/document-api/src/get-node/get-node.d.ts +46 -0
  80. package/dist/document-api/src/get-text/get-text.d.ts +22 -0
  81. package/dist/document-api/src/header-footers/header-footers.d.ts +37 -0
  82. package/dist/document-api/src/header-footers/header-footers.types.d.ts +116 -0
  83. package/dist/document-api/src/history/history.d.ts +38 -0
  84. package/dist/document-api/src/history/history.types.d.ts +100 -0
  85. package/dist/document-api/src/hyperlinks/hyperlinks.d.ts +17 -0
  86. package/dist/document-api/src/hyperlinks/hyperlinks.types.d.ts +112 -0
  87. package/dist/document-api/src/images/images.d.ts +63 -0
  88. package/dist/document-api/src/images/images.types.d.ts +209 -0
  89. package/dist/document-api/src/images/z-order.d.ts +10 -0
  90. package/dist/document-api/src/index/index.d.ts +29 -0
  91. package/dist/document-api/src/index/index.types.d.ts +125 -0
  92. package/dist/document-api/src/index.d.ts +560 -0
  93. package/dist/document-api/src/info/info.d.ts +19 -0
  94. package/dist/document-api/src/inline-semantics/directives.d.ts +95 -0
  95. package/dist/document-api/src/inline-semantics/error-types.d.ts +68 -0
  96. package/dist/document-api/src/inline-semantics/index.d.ts +20 -0
  97. package/dist/document-api/src/inline-semantics/property-ids.d.ts +24 -0
  98. package/dist/document-api/src/inline-semantics/token-parsers.d.ts +59 -0
  99. package/dist/document-api/src/inline-semantics/token-sets.d.ts +34 -0
  100. package/dist/document-api/src/insert/insert.d.ts +65 -0
  101. package/dist/document-api/src/invoke/invoke.d.ts +17 -0
  102. package/dist/document-api/src/lists/lists.d.ts +100 -0
  103. package/dist/document-api/src/lists/lists.types.d.ts +499 -0
  104. package/dist/document-api/src/markdown-to-fragment/markdown-to-fragment.d.ts +15 -0
  105. package/dist/document-api/src/metadata/anchored-metadata.d.ts +33 -0
  106. package/dist/document-api/src/metadata/anchored-metadata.types.d.ts +175 -0
  107. package/dist/document-api/src/paragraphs/paragraphs.d.ts +84 -0
  108. package/dist/document-api/src/paragraphs/paragraphs.types.d.ts +214 -0
  109. package/dist/document-api/src/permission-ranges/permission-ranges.d.ts +15 -0
  110. package/dist/document-api/src/permission-ranges/permission-ranges.types.d.ts +49 -0
  111. package/dist/document-api/src/plan/plan.d.ts +73 -0
  112. package/dist/document-api/src/protection/protection.d.ts +11 -0
  113. package/dist/document-api/src/protection/protection.types.d.ts +47 -0
  114. package/dist/document-api/src/ranges/index.d.ts +2 -0
  115. package/dist/document-api/src/ranges/ranges.types.d.ts +121 -0
  116. package/dist/document-api/src/ranges/resolve.d.ts +2 -0
  117. package/dist/document-api/src/receipt-bridge.d.ts +30 -0
  118. package/dist/document-api/src/replace/replace.d.ts +24 -0
  119. package/dist/document-api/src/sections/sections.d.ts +42 -0
  120. package/dist/document-api/src/sections/sections.types.d.ts +236 -0
  121. package/dist/document-api/src/selection/selection.d.ts +23 -0
  122. package/dist/document-api/src/selection/selection.types.d.ts +85 -0
  123. package/dist/document-api/src/selection-mutation.d.ts +46 -0
  124. package/dist/document-api/src/styles/apply.d.ts +142 -0
  125. package/dist/document-api/src/styles/catalog.d.ts +154 -0
  126. package/dist/document-api/src/styles/index.d.ts +14 -0
  127. package/dist/document-api/src/styles/registry.d.ts +43 -0
  128. package/dist/document-api/src/styles/schema.d.ts +9 -0
  129. package/dist/document-api/src/styles/validation.d.ts +38 -0
  130. package/dist/document-api/src/tables/color-formats.d.ts +12 -0
  131. package/dist/document-api/src/tables/tables.d.ts +83 -0
  132. package/dist/document-api/src/templates/apply.d.ts +160 -0
  133. package/dist/document-api/src/templates/index.d.ts +7 -0
  134. package/dist/document-api/src/toc/toc.d.ts +25 -0
  135. package/dist/document-api/src/toc/toc.types.d.ts +247 -0
  136. package/dist/document-api/src/track-changes/track-changes.d.ts +177 -0
  137. package/dist/document-api/src/types/adapter-result.d.ts +10 -0
  138. package/dist/document-api/src/types/address.d.ts +169 -0
  139. package/dist/document-api/src/types/base.d.ts +89 -0
  140. package/dist/document-api/src/types/blocks.types.d.ts +190 -0
  141. package/dist/document-api/src/types/clipboard.d.ts +216 -0
  142. package/dist/document-api/src/types/comments.types.d.ts +17 -0
  143. package/dist/document-api/src/types/create.types.d.ts +56 -0
  144. package/dist/document-api/src/types/discovery.d.ts +99 -0
  145. package/dist/document-api/src/types/extract.types.d.ts +163 -0
  146. package/dist/document-api/src/types/fragment.d.ts +29 -0
  147. package/dist/document-api/src/types/index.d.ts +30 -0
  148. package/dist/document-api/src/types/info.types.d.ts +109 -0
  149. package/dist/document-api/src/types/inline.types.d.ts +28 -0
  150. package/dist/document-api/src/types/media.types.d.ts +72 -0
  151. package/dist/document-api/src/types/mutation-plan.types.d.ts +264 -0
  152. package/dist/document-api/src/types/node.d.ts +9 -0
  153. package/dist/document-api/src/types/paragraph.types.d.ts +61 -0
  154. package/dist/document-api/src/types/placement.d.ts +24 -0
  155. package/dist/document-api/src/types/query-match.types.d.ts +212 -0
  156. package/dist/document-api/src/types/query.d.ts +133 -0
  157. package/dist/document-api/src/types/receipt.d.ts +191 -0
  158. package/dist/document-api/src/types/references.types.d.ts +9 -0
  159. package/dist/document-api/src/types/sd-contract.d.ts +54 -0
  160. package/dist/document-api/src/types/sd-envelope.d.ts +59 -0
  161. package/dist/document-api/src/types/sd-nodes.d.ts +375 -0
  162. package/dist/document-api/src/types/sd-objects.d.ts +144 -0
  163. package/dist/document-api/src/types/sd-props.d.ts +240 -0
  164. package/dist/document-api/src/types/sd-sections.d.ts +126 -0
  165. package/dist/document-api/src/types/sd-styles.d.ts +36 -0
  166. package/dist/document-api/src/types/step-manifest.types.d.ts +30 -0
  167. package/dist/document-api/src/types/story.types.d.ts +123 -0
  168. package/dist/document-api/src/types/structural-input.d.ts +40 -0
  169. package/dist/document-api/src/types/structured.types.d.ts +21 -0
  170. package/dist/document-api/src/types/style-policy.types.d.ts +49 -0
  171. package/dist/document-api/src/types/table-operations.types.d.ts +618 -0
  172. package/dist/document-api/src/types/tables.types.d.ts +43 -0
  173. package/dist/document-api/src/types/toc.types.d.ts +1 -0
  174. package/dist/document-api/src/types/track-changes.types.d.ts +703 -0
  175. package/dist/document-api/src/validation/create-location-validator.d.ts +2 -0
  176. package/dist/document-api/src/validation/fragment-validator.d.ts +13 -0
  177. package/dist/document-api/src/validation/selection-target-validator.d.ts +7 -0
  178. package/dist/document-api/src/validation/story-validator.d.ts +12 -0
  179. package/dist/document-api/src/validation-primitives.d.ts +29 -0
  180. package/dist/document-api/src/write/locator.d.ts +24 -0
  181. package/dist/document-api/src/write/write.d.ts +73 -0
  182. package/dist/images/altText_add.svg +3 -0
  183. package/dist/images/altText_disclaimer.svg +3 -0
  184. package/dist/images/altText_done.svg +3 -0
  185. package/dist/images/altText_spinner.svg +30 -0
  186. package/dist/images/altText_warning.svg +3 -0
  187. package/dist/images/annotation-check.svg +11 -0
  188. package/dist/images/annotation-comment.svg +16 -0
  189. package/dist/images/annotation-help.svg +26 -0
  190. package/dist/images/annotation-insert.svg +10 -0
  191. package/dist/images/annotation-key.svg +11 -0
  192. package/dist/images/annotation-newparagraph.svg +11 -0
  193. package/dist/images/annotation-noicon.svg +7 -0
  194. package/dist/images/annotation-note.svg +42 -0
  195. package/dist/images/annotation-paperclip.svg +6 -0
  196. package/dist/images/annotation-paragraph.svg +16 -0
  197. package/dist/images/annotation-pushpin.svg +7 -0
  198. package/dist/images/checkmark.svg +5 -0
  199. package/dist/images/comment-actionsButton.svg +3 -0
  200. package/dist/images/comment-closeButton.svg +3 -0
  201. package/dist/images/comment-editButton.svg +8 -0
  202. package/dist/images/comment-popup-editButton.svg +5 -0
  203. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  204. package/dist/images/cursor-editorFreeText.svg +3 -0
  205. package/dist/images/cursor-editorInk.svg +4 -0
  206. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  207. package/dist/images/editor-toolbar-delete.svg +5 -0
  208. package/dist/images/editor-toolbar-edit.svg +3 -0
  209. package/dist/images/findbarButton-next.svg +3 -0
  210. package/dist/images/findbarButton-previous.svg +3 -0
  211. package/dist/images/gv-toolbarButton-download.svg +3 -0
  212. package/dist/images/loading-icon.gif +0 -0
  213. package/dist/images/loading.svg +1 -0
  214. package/dist/images/messageBar_closingButton.svg +3 -0
  215. package/dist/images/messageBar_info.svg +3 -0
  216. package/dist/images/messageBar_warning.svg +3 -0
  217. package/dist/images/pages_closeButton.svg +3 -0
  218. package/dist/images/pages_selected.svg +7 -0
  219. package/dist/images/pages_viewArrow.svg +3 -0
  220. package/dist/images/pages_viewButton.svg +3 -0
  221. package/dist/images/secondaryToolbarButton-documentProperties.svg +3 -0
  222. package/dist/images/secondaryToolbarButton-firstPage.svg +3 -0
  223. package/dist/images/secondaryToolbarButton-handTool.svg +3 -0
  224. package/dist/images/secondaryToolbarButton-lastPage.svg +3 -0
  225. package/dist/images/secondaryToolbarButton-rotateCcw.svg +3 -0
  226. package/dist/images/secondaryToolbarButton-rotateCw.svg +3 -0
  227. package/dist/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
  228. package/dist/images/secondaryToolbarButton-scrollPage.svg +3 -0
  229. package/dist/images/secondaryToolbarButton-scrollVertical.svg +3 -0
  230. package/dist/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
  231. package/dist/images/secondaryToolbarButton-selectTool.svg +3 -0
  232. package/dist/images/secondaryToolbarButton-spreadEven.svg +3 -0
  233. package/dist/images/secondaryToolbarButton-spreadNone.svg +3 -0
  234. package/dist/images/secondaryToolbarButton-spreadOdd.svg +3 -0
  235. package/dist/images/toolbarButton-bookmark.svg +3 -0
  236. package/dist/images/toolbarButton-currentOutlineItem.svg +3 -0
  237. package/dist/images/toolbarButton-download.svg +4 -0
  238. package/dist/images/toolbarButton-editorFreeText.svg +5 -0
  239. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  240. package/dist/images/toolbarButton-editorInk.svg +4 -0
  241. package/dist/images/toolbarButton-editorSignature.svg +6 -0
  242. package/dist/images/toolbarButton-editorStamp.svg +8 -0
  243. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  244. package/dist/images/toolbarButton-openFile.svg +3 -0
  245. package/dist/images/toolbarButton-pageDown.svg +3 -0
  246. package/dist/images/toolbarButton-pageUp.svg +3 -0
  247. package/dist/images/toolbarButton-presentationMode.svg +3 -0
  248. package/dist/images/toolbarButton-print.svg +3 -0
  249. package/dist/images/toolbarButton-search.svg +3 -0
  250. package/dist/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
  251. package/dist/images/toolbarButton-viewAttachments.svg +3 -0
  252. package/dist/images/toolbarButton-viewLayers.svg +3 -0
  253. package/dist/images/toolbarButton-viewOutline.svg +3 -0
  254. package/dist/images/toolbarButton-viewThumbnail.svg +3 -0
  255. package/dist/images/toolbarButton-viewsManagerToggle.svg +3 -0
  256. package/dist/images/toolbarButton-zoomIn.svg +3 -0
  257. package/dist/images/toolbarButton-zoomOut.svg +3 -0
  258. package/dist/images/treeitem-collapsed.svg +1 -0
  259. package/dist/images/treeitem-expanded.svg +1 -0
  260. package/dist/layout-engine/contracts/src/author-colors.d.ts +56 -0
  261. package/dist/layout-engine/contracts/src/cell-spacing.d.ts +12 -0
  262. package/dist/layout-engine/contracts/src/clip-path-inset.d.ts +27 -0
  263. package/dist/layout-engine/contracts/src/column-layout.d.ts +79 -0
  264. package/dist/layout-engine/contracts/src/direction-context.d.ts +219 -0
  265. package/dist/layout-engine/contracts/src/drawing-taxonomy.d.ts +126 -0
  266. package/dist/layout-engine/contracts/src/engines/image-wrap.d.ts +54 -0
  267. package/dist/layout-engine/contracts/src/engines/index.d.ts +17 -0
  268. package/dist/layout-engine/contracts/src/engines/lists.d.ts +57 -0
  269. package/dist/layout-engine/contracts/src/engines/paragraph.d.ts +59 -0
  270. package/dist/layout-engine/contracts/src/engines/tables.d.ts +89 -0
  271. package/dist/layout-engine/contracts/src/engines/tabs.d.ts +117 -0
  272. package/dist/layout-engine/contracts/src/graphic-placement.d.ts +76 -0
  273. package/dist/layout-engine/contracts/src/header-footer-inheritance.d.ts +22 -0
  274. package/dist/layout-engine/contracts/src/header-footer-resolution.d.ts +28 -0
  275. package/dist/layout-engine/contracts/src/incremental-dependency.d.ts +10 -0
  276. package/dist/layout-engine/contracts/src/index.d.ts +2459 -0
  277. package/dist/layout-engine/contracts/src/justify-utils.d.ts +98 -0
  278. package/dist/layout-engine/contracts/src/layout-identity.d.ts +136 -0
  279. package/dist/layout-engine/contracts/src/ooxml-z-index.d.ts +46 -0
  280. package/dist/layout-engine/contracts/src/page-number-formatting.d.ts +26 -0
  281. package/dist/layout-engine/contracts/src/page-ref-anchor.d.ts +2 -0
  282. package/dist/layout-engine/contracts/src/pm-range.d.ts +45 -0
  283. package/dist/layout-engine/contracts/src/resolved-layout.d.ts +541 -0
  284. package/dist/layout-engine/contracts/src/run-helpers.d.ts +23 -0
  285. package/dist/layout-engine/contracts/src/sdt-container.d.ts +13 -0
  286. package/dist/layout-engine/contracts/src/segment-geometry.d.ts +192 -0
  287. package/dist/layout-engine/contracts/src/semantic-colors.d.ts +150 -0
  288. package/dist/layout-engine/contracts/src/table-cell-spacing.d.ts +12 -0
  289. package/dist/layout-engine/contracts/src/table-column-rescale.d.ts +13 -0
  290. package/dist/layout-engine/contracts/src/vertical-text.d.ts +43 -0
  291. package/dist/layout-engine/dom-contract/src/class-names.d.ts +62 -0
  292. package/dist/layout-engine/dom-contract/src/data-attrs.d.ts +103 -0
  293. package/dist/layout-engine/dom-contract/src/index.d.ts +18 -0
  294. package/dist/layout-engine/dom-contract/src/selectors.d.ts +47 -0
  295. package/dist/layout-engine/layout-bridge/src/cache-warmer.d.ts +73 -0
  296. package/dist/layout-engine/layout-bridge/src/cache.d.ts +143 -0
  297. package/dist/layout-engine/layout-bridge/src/cacheInvalidation.d.ts +117 -0
  298. package/dist/layout-engine/layout-bridge/src/cursor-renderer.d.ts +201 -0
  299. package/dist/layout-engine/layout-bridge/src/debounced-passes.d.ts +130 -0
  300. package/dist/layout-engine/layout-bridge/src/diff.d.ts +36 -0
  301. package/dist/layout-engine/layout-bridge/src/dirty-tracker.d.ts +128 -0
  302. package/dist/layout-engine/layout-bridge/src/dom-mapping.d.ts +80 -0
  303. package/dist/layout-engine/layout-bridge/src/featureFlags.d.ts +95 -0
  304. package/dist/layout-engine/layout-bridge/src/field-annotation-key.d.ts +2 -0
  305. package/dist/layout-engine/layout-bridge/src/focus-watchdog.d.ts +170 -0
  306. package/dist/layout-engine/layout-bridge/src/font-metrics-cache.d.ts +164 -0
  307. package/dist/layout-engine/layout-bridge/src/footnote-scorer.d.ts +63 -0
  308. package/dist/layout-engine/layout-bridge/src/headerFooterUtils.d.ts +218 -0
  309. package/dist/layout-engine/layout-bridge/src/ime-handler.d.ts +81 -0
  310. package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +390 -0
  311. package/dist/layout-engine/layout-bridge/src/index.d.ts +211 -0
  312. package/dist/layout-engine/layout-bridge/src/instrumentation.d.ts +245 -0
  313. package/dist/layout-engine/layout-bridge/src/layoutHeaderFooter.d.ts +123 -0
  314. package/dist/layout-engine/layout-bridge/src/list-indent-utils.d.ts +205 -0
  315. package/dist/layout-engine/layout-bridge/src/local-paragraph-layout.d.ts +93 -0
  316. package/dist/layout-engine/layout-bridge/src/neutral-hit.d.ts +142 -0
  317. package/dist/layout-engine/layout-bridge/src/neutral-segment-geometry.d.ts +32 -0
  318. package/dist/layout-engine/layout-bridge/src/page-geometry-helper.d.ts +197 -0
  319. package/dist/layout-engine/layout-bridge/src/paragraph-hash-utils.d.ts +126 -0
  320. package/dist/layout-engine/layout-bridge/src/paragraph-line-cache.d.ts +152 -0
  321. package/dist/layout-engine/layout-bridge/src/performance-metrics.d.ts +249 -0
  322. package/dist/layout-engine/layout-bridge/src/pm-dom-fallback.d.ts +188 -0
  323. package/dist/layout-engine/layout-bridge/src/pm-position-validator.d.ts +100 -0
  324. package/dist/layout-engine/layout-bridge/src/position-hit.d.ts +167 -0
  325. package/dist/layout-engine/layout-bridge/src/remeasure.d.ts +75 -0
  326. package/dist/layout-engine/layout-bridge/src/resolveHeaderFooterTokens.d.ts +76 -0
  327. package/dist/layout-engine/layout-bridge/src/rtl-text-geometry.d.ts +34 -0
  328. package/dist/layout-engine/layout-bridge/src/run-visual-marks.d.ts +12 -0
  329. package/dist/layout-engine/layout-bridge/src/safety-net.d.ts +234 -0
  330. package/dist/layout-engine/layout-bridge/src/sectionAwareHeaderFooter.d.ts +15 -0
  331. package/dist/layout-engine/layout-bridge/src/table-handler.d.ts +86 -0
  332. package/dist/layout-engine/layout-bridge/src/text-boundaries.d.ts +17 -0
  333. package/dist/layout-engine/layout-bridge/src/text-measurement.d.ts +69 -0
  334. package/dist/layout-engine/layout-bridge/src/track-changes-handler.d.ts +90 -0
  335. package/dist/layout-engine/layout-bridge/src/tracked-changes-utils.d.ts +41 -0
  336. package/dist/layout-engine/layout-engine/src/anchors.d.ts +52 -0
  337. package/dist/layout-engine/layout-engine/src/column-balancing.d.ts +255 -0
  338. package/dist/layout-engine/layout-engine/src/column-utils.d.ts +1 -0
  339. package/dist/layout-engine/layout-engine/src/floating-objects.d.ts +60 -0
  340. package/dist/layout-engine/layout-engine/src/floating-table-anchor.d.ts +21 -0
  341. package/dist/layout-engine/layout-engine/src/index.d.ts +349 -0
  342. package/dist/layout-engine/layout-engine/src/layout-drawing.d.ts +60 -0
  343. package/dist/layout-engine/layout-engine/src/layout-image.d.ts +16 -0
  344. package/dist/layout-engine/layout-engine/src/layout-paragraph.d.ts +101 -0
  345. package/dist/layout-engine/layout-engine/src/layout-table.d.ts +71 -0
  346. package/dist/layout-engine/layout-engine/src/layout-textbox.d.ts +4 -0
  347. package/dist/layout-engine/layout-engine/src/layout-utils.d.ts +104 -0
  348. package/dist/layout-engine/layout-engine/src/normalize-header-footer-fragments.d.ts +45 -0
  349. package/dist/layout-engine/layout-engine/src/pageNumbering.d.ts +73 -0
  350. package/dist/layout-engine/layout-engine/src/paginator.d.ts +131 -0
  351. package/dist/layout-engine/layout-engine/src/paragraph-layout-eligibility.d.ts +1 -0
  352. package/dist/layout-engine/layout-engine/src/resolvePageRefs.d.ts +31 -0
  353. package/dist/layout-engine/layout-engine/src/resolvePageTokens.d.ts +82 -0
  354. package/dist/layout-engine/layout-engine/src/section-breaks.d.ts +98 -0
  355. package/dist/layout-engine/layout-engine/src/section-props.d.ts +65 -0
  356. package/dist/layout-engine/layout-engine/src/table-cell-slice.d.ts +98 -0
  357. package/dist/layout-engine/painters/dom/src/_test-utils.d.ts +21 -0
  358. package/dist/layout-engine/painters/dom/src/chart-renderer.d.ts +13 -0
  359. package/dist/layout-engine/painters/dom/src/constants.d.ts +10 -0
  360. package/dist/layout-engine/painters/dom/src/css-token.d.ts +10 -0
  361. package/dist/layout-engine/painters/dom/src/features/feature-registry.d.ts +41 -0
  362. package/dist/layout-engine/painters/dom/src/features/inline-direction/index.d.ts +22 -0
  363. package/dist/layout-engine/painters/dom/src/features/inline-direction/rtl-styles.d.ts +27 -0
  364. package/dist/layout-engine/painters/dom/src/features/inline-direction/run-direction.d.ts +75 -0
  365. package/dist/layout-engine/painters/dom/src/features/math/converters/accent.d.ts +25 -0
  366. package/dist/layout-engine/painters/dom/src/features/math/converters/bar.d.ts +16 -0
  367. package/dist/layout-engine/painters/dom/src/features/math/converters/box.d.ts +38 -0
  368. package/dist/layout-engine/painters/dom/src/features/math/converters/delimiter.d.ts +13 -0
  369. package/dist/layout-engine/painters/dom/src/features/math/converters/equation-array.d.ts +19 -0
  370. package/dist/layout-engine/painters/dom/src/features/math/converters/fraction.d.ts +13 -0
  371. package/dist/layout-engine/painters/dom/src/features/math/converters/function.d.ts +16 -0
  372. package/dist/layout-engine/painters/dom/src/features/math/converters/group-character.d.ts +26 -0
  373. package/dist/layout-engine/painters/dom/src/features/math/converters/index.d.ts +27 -0
  374. package/dist/layout-engine/painters/dom/src/features/math/converters/lower-limit.d.ts +13 -0
  375. package/dist/layout-engine/painters/dom/src/features/math/converters/math-run.d.ts +47 -0
  376. package/dist/layout-engine/painters/dom/src/features/math/converters/matrix.d.ts +23 -0
  377. package/dist/layout-engine/painters/dom/src/features/math/converters/nary.d.ts +23 -0
  378. package/dist/layout-engine/painters/dom/src/features/math/converters/phantom.d.ts +17 -0
  379. package/dist/layout-engine/painters/dom/src/features/math/converters/pre-sub-superscript.d.ts +25 -0
  380. package/dist/layout-engine/painters/dom/src/features/math/converters/radical.d.ts +14 -0
  381. package/dist/layout-engine/painters/dom/src/features/math/converters/sub-superscript.d.ts +13 -0
  382. package/dist/layout-engine/painters/dom/src/features/math/converters/subscript.d.ts +13 -0
  383. package/dist/layout-engine/painters/dom/src/features/math/converters/superscript.d.ts +13 -0
  384. package/dist/layout-engine/painters/dom/src/features/math/converters/upper-limit.d.ts +13 -0
  385. package/dist/layout-engine/painters/dom/src/features/math/index.d.ts +14 -0
  386. package/dist/layout-engine/painters/dom/src/features/math/omml-to-mathml.d.ts +18 -0
  387. package/dist/layout-engine/painters/dom/src/features/math/types.d.ts +41 -0
  388. package/dist/layout-engine/painters/dom/src/images/drawing-image.d.ts +5 -0
  389. package/dist/layout-engine/painters/dom/src/images/hyperlink.d.ts +2 -0
  390. package/dist/layout-engine/painters/dom/src/images/image-block.d.ts +15 -0
  391. package/dist/layout-engine/painters/dom/src/images/image-clip-path.d.ts +17 -0
  392. package/dist/layout-engine/painters/dom/src/images/image-fragment.d.ts +34 -0
  393. package/dist/layout-engine/painters/dom/src/images/image-selectors.d.ts +9 -0
  394. package/dist/layout-engine/painters/dom/src/images/types.d.ts +2 -0
  395. package/dist/layout-engine/painters/dom/src/index.d.ts +125 -0
  396. package/dist/layout-engine/painters/dom/src/page-content.d.ts +209 -0
  397. package/dist/layout-engine/painters/dom/src/paragraph/block-version.d.ts +8 -0
  398. package/dist/layout-engine/painters/dom/src/paragraph/borders/border-layer.d.ts +59 -0
  399. package/dist/layout-engine/painters/dom/src/paragraph/borders/group-analysis.d.ts +38 -0
  400. package/dist/layout-engine/painters/dom/src/paragraph/borders/index.d.ts +18 -0
  401. package/dist/layout-engine/painters/dom/src/paragraph/frame.d.ts +3 -0
  402. package/dist/layout-engine/painters/dom/src/paragraph/indentation.d.ts +25 -0
  403. package/dist/layout-engine/painters/dom/src/paragraph/list-marker.d.ts +51 -0
  404. package/dist/layout-engine/painters/dom/src/paragraph/marker-tracked-change.d.ts +34 -0
  405. package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphContent.d.ts +87 -0
  406. package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphFragment.d.ts +33 -0
  407. package/dist/layout-engine/painters/dom/src/paragraph/styles.d.ts +3 -0
  408. package/dist/layout-engine/painters/dom/src/paragraph-hash-utils.d.ts +13 -0
  409. package/dist/layout-engine/painters/dom/src/pm-position-validation.d.ts +149 -0
  410. package/dist/layout-engine/painters/dom/src/renderer.d.ts +681 -0
  411. package/dist/layout-engine/painters/dom/src/ruler/index.d.ts +41 -0
  412. package/dist/layout-engine/painters/dom/src/ruler/ruler-core.d.ts +195 -0
  413. package/dist/layout-engine/painters/dom/src/ruler/ruler-renderer.d.ts +97 -0
  414. package/dist/layout-engine/painters/dom/src/ruler/ruler-styles.d.ts +31 -0
  415. package/dist/layout-engine/painters/dom/src/runs/field-annotation-run.d.ts +14 -0
  416. package/dist/layout-engine/painters/dom/src/runs/font-synthesis.d.ts +1 -0
  417. package/dist/layout-engine/painters/dom/src/runs/formatting-marks.d.ts +3 -0
  418. package/dist/layout-engine/painters/dom/src/runs/hash.d.ts +82 -0
  419. package/dist/layout-engine/painters/dom/src/runs/image-run.d.ts +37 -0
  420. package/dist/layout-engine/painters/dom/src/runs/index.d.ts +13 -0
  421. package/dist/layout-engine/painters/dom/src/runs/links.d.ts +58 -0
  422. package/dist/layout-engine/painters/dom/src/runs/math-run.d.ts +7 -0
  423. package/dist/layout-engine/painters/dom/src/runs/render-line.d.ts +2 -0
  424. package/dist/layout-engine/painters/dom/src/runs/render-run.d.ts +12 -0
  425. package/dist/layout-engine/painters/dom/src/runs/tab-run.d.ts +66 -0
  426. package/dist/layout-engine/painters/dom/src/runs/text-run.d.ts +35 -0
  427. package/dist/layout-engine/painters/dom/src/runs/tracked-changes.d.ts +90 -0
  428. package/dist/layout-engine/painters/dom/src/runs/types.d.ts +67 -0
  429. package/dist/layout-engine/painters/dom/src/sdt/boundaries.d.ts +16 -0
  430. package/dist/layout-engine/painters/dom/src/sdt/container.d.ts +32 -0
  431. package/dist/layout-engine/painters/dom/src/sdt/dataset.d.ts +7 -0
  432. package/dist/layout-engine/painters/dom/src/sdt/inline.d.ts +9 -0
  433. package/dist/layout-engine/painters/dom/src/sdt/snapshot.d.ts +29 -0
  434. package/dist/layout-engine/painters/dom/src/styles.d.ts +71 -0
  435. package/dist/layout-engine/painters/dom/src/svg-utils.d.ts +101 -0
  436. package/dist/layout-engine/painters/dom/src/table/border-utils.d.ts +185 -0
  437. package/dist/layout-engine/painters/dom/src/table/grid-geometry.d.ts +69 -0
  438. package/dist/layout-engine/painters/dom/src/table/renderTableCell.d.ts +170 -0
  439. package/dist/layout-engine/painters/dom/src/table/renderTableFragment.d.ts +132 -0
  440. package/dist/layout-engine/painters/dom/src/table/renderTableRow.d.ts +146 -0
  441. package/dist/layout-engine/painters/dom/src/test-utils/normalize-line.d.ts +39 -0
  442. package/dist/layout-engine/painters/dom/src/utils/anchor-helpers.d.ts +3 -0
  443. package/dist/layout-engine/painters/dom/src/utils/apply-styles.d.ts +1 -0
  444. package/dist/layout-engine/painters/dom/src/utils/layout-identity.d.ts +9 -0
  445. package/dist/layout-engine/painters/dom/src/utils/source-anchor.d.ts +2 -0
  446. package/dist/layout-engine/style-engine/src/bench/resolveSdtMetadata.bench.d.ts +1 -0
  447. package/dist/layout-engine/style-engine/src/cascade.d.ts +43 -0
  448. package/dist/layout-engine/style-engine/src/index.d.ts +121 -0
  449. package/dist/layout-engine/style-engine/src/normalize/colors.d.ts +13 -0
  450. package/dist/layout-engine/style-engine/src/normalize/index.d.ts +13 -0
  451. package/dist/layout-engine/style-engine/src/normalize/paragraph-attrs.d.ts +3 -0
  452. package/dist/layout-engine/style-engine/src/normalize/run-attrs.d.ts +17 -0
  453. package/dist/layout-engine/style-engine/src/normalize/types.d.ts +36 -0
  454. package/dist/layout-engine/style-engine/src/normalize/units.d.ts +13 -0
  455. package/dist/layout-engine/style-engine/src/ooxml/index.d.ts +64 -0
  456. package/dist/layout-engine/style-engine/src/ooxml/numbering-types.d.ts +126 -0
  457. package/dist/layout-engine/style-engine/src/ooxml/styles-types.d.ts +363 -0
  458. package/dist/layout-engine/style-engine/src/ooxml/table-style-selection.d.ts +86 -0
  459. package/dist/layout-engine/style-engine/src/ooxml/types.d.ts +459 -0
  460. package/dist/layout-engine/style-engine/src/ooxml/word-style-model/parse-theme.d.ts +33 -0
  461. package/dist/layout-engine/style-engine/src/ooxml/word-style-model/parse-xml.d.ts +29 -0
  462. package/dist/public/ui-react.cjs +175 -0
  463. package/dist/public/ui-react.es.js +159 -0
  464. package/dist/public/ui.cjs +5 -0
  465. package/dist/public/ui.es.js +2 -0
  466. package/dist/shared/common/comments-types.d.ts +102 -0
  467. package/dist/shared/common/layout-constants.d.ts +7 -0
  468. package/dist/shared/common/list-marker-utils.d.ts +186 -0
  469. package/dist/shared/common/list-numbering/index.d.ts +16 -0
  470. package/dist/shared/font-system/src/activation.d.ts +64 -0
  471. package/dist/shared/font-system/src/bundled-manifest.d.ts +32 -0
  472. package/dist/shared/font-system/src/bundled.d.ts +41 -0
  473. package/dist/shared/font-system/src/document-font-options.d.ts +53 -0
  474. package/dist/shared/font-system/src/epoch.d.ts +6 -0
  475. package/dist/shared/font-system/src/font-offerings.d.ts +120 -0
  476. package/dist/shared/font-system/src/index.d.ts +35 -0
  477. package/dist/shared/font-system/src/os2.d.ts +30 -0
  478. package/dist/shared/font-system/src/registry.d.ts +188 -0
  479. package/dist/shared/font-system/src/report.d.ts +98 -0
  480. package/dist/shared/font-system/src/resolver.d.ts +215 -0
  481. package/dist/shared/font-system/src/substitution-evidence.d.ts +103 -0
  482. package/dist/shared/font-system/src/types.d.ts +128 -0
  483. package/dist/style.css +3316 -0
  484. package/dist/style.layered.css +3316 -0
  485. package/dist/superdoc/src/SuperDoc.vue.d.ts +88 -0
  486. package/dist/superdoc/src/cdn-entry.d.ts +2 -0
  487. package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +62 -0
  488. package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +26 -0
  489. package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +19 -0
  490. package/dist/superdoc/src/components/CommentsLayer/CommentsDropdown.vue.d.ts +30 -0
  491. package/dist/superdoc/src/components/CommentsLayer/InternalDropdown.vue.d.ts +10 -0
  492. package/dist/superdoc/src/components/CommentsLayer/collect-removed-comment-ids.d.ts +1 -0
  493. package/dist/superdoc/src/components/CommentsLayer/collect-tracked-change-thread.d.ts +6 -0
  494. package/dist/superdoc/src/components/CommentsLayer/comment-schemas.d.ts +18 -0
  495. package/dist/superdoc/src/components/CommentsLayer/commentsList/commentsList.vue.d.ts +9 -0
  496. package/dist/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts +21 -0
  497. package/dist/superdoc/src/components/CommentsLayer/floating-comment-positioning.d.ts +28 -0
  498. package/dist/superdoc/src/components/CommentsLayer/helpers.d.ts +7 -0
  499. package/dist/superdoc/src/components/CommentsLayer/tracked-change-threading.d.ts +2 -0
  500. package/dist/superdoc/src/components/CommentsLayer/types.d.ts +3 -0
  501. package/dist/superdoc/src/components/CommentsLayer/use-comment.d.ts +8 -0
  502. package/dist/superdoc/src/components/CommentsLayer/use-conversation.d.ts +22 -0
  503. package/dist/superdoc/src/components/CommentsLayer/use-floating-comment.d.ts +11 -0
  504. package/dist/superdoc/src/components/HtmlViewer/HtmlViewer.vue.d.ts +10 -0
  505. package/dist/superdoc/src/components/PdfViewer/PdfViewer.vue.d.ts +61 -0
  506. package/dist/superdoc/src/components/PdfViewer/PdfViewerDocument.vue.d.ts +21 -0
  507. package/dist/superdoc/src/components/PdfViewer/PdfViewerPage.vue.d.ts +24 -0
  508. package/dist/superdoc/src/components/Whiteboard/WhiteboardLayer.vue.d.ts +19 -0
  509. package/dist/superdoc/src/components/Whiteboard/WhiteboardPage.vue.d.ts +17 -0
  510. package/dist/superdoc/src/components/Whiteboard/use-whiteboard.d.ts +18 -0
  511. package/dist/superdoc/src/components/surfaces/FindReplaceSurface.vue.d.ts +19 -0
  512. package/dist/superdoc/src/components/surfaces/PasswordPromptSurface.vue.d.ts +17 -0
  513. package/dist/superdoc/src/components/surfaces/SurfaceDialog.vue.d.ts +12 -0
  514. package/dist/superdoc/src/components/surfaces/SurfaceExternalMount.vue.d.ts +19 -0
  515. package/dist/superdoc/src/components/surfaces/SurfaceFloating.vue.d.ts +10 -0
  516. package/dist/superdoc/src/components/surfaces/SurfaceHost.vue.d.ts +31 -0
  517. package/dist/superdoc/src/components/surfaces/focusable-selector.d.ts +5 -0
  518. package/dist/superdoc/src/composables/find-shortcut-owner.d.ts +32 -0
  519. package/dist/superdoc/src/composables/replace-continuation.d.ts +37 -0
  520. package/dist/superdoc/src/composables/use-ai.d.ts +10 -0
  521. package/dist/superdoc/src/composables/use-comment-small-screen.d.ts +10 -0
  522. package/dist/superdoc/src/composables/use-compact-comment-popover.d.ts +21 -0
  523. package/dist/superdoc/src/composables/use-document.d.ts +34 -0
  524. package/dist/superdoc/src/composables/use-field.d.ts +33 -0
  525. package/dist/superdoc/src/composables/use-find-replace.d.ts +83 -0
  526. package/dist/superdoc/src/composables/use-high-contrast-mode.d.ts +4 -0
  527. package/dist/superdoc/src/composables/use-link-popover.d.ts +221 -0
  528. package/dist/superdoc/src/composables/use-password-prompt.d.ts +33 -0
  529. package/dist/superdoc/src/composables/use-selected-text.d.ts +16 -0
  530. package/dist/superdoc/src/composables/use-viewport-fit.d.ts +50 -0
  531. package/dist/superdoc/src/composables/useUiFontFamily.d.ts +24 -0
  532. package/dist/superdoc/src/core/EventEmitter.d.ts +55 -0
  533. package/dist/superdoc/src/core/SuperDoc.d.ts +775 -0
  534. package/dist/superdoc/src/core/collaboration/collaboration-comments.d.ts +4 -0
  535. package/dist/superdoc/src/core/collaboration/collaboration.d.ts +28 -0
  536. package/dist/superdoc/src/core/collaboration/helpers.d.ts +8 -0
  537. package/dist/superdoc/src/core/collaboration/permissions.d.ts +19 -0
  538. package/dist/superdoc/src/core/collaboration/resolve-v2-collaboration-target.d.ts +99 -0
  539. package/dist/superdoc/src/core/collaboration/room-overwrite.d.ts +22 -0
  540. package/dist/superdoc/src/core/collaboration/v2-awareness-bridge.d.ts +57 -0
  541. package/dist/superdoc/src/core/config/merge-defined.d.ts +35 -0
  542. package/dist/superdoc/src/core/config/normalize-interaction-config.d.ts +15 -0
  543. package/dist/superdoc/src/core/config/normalize-surfaces-config.d.ts +23 -0
  544. package/dist/superdoc/src/core/config/normalize-ui-config.d.ts +62 -0
  545. package/dist/superdoc/src/core/create-app.d.ts +32 -0
  546. package/dist/superdoc/src/core/editor-runtime/conformance/fake-v2-runtime.d.ts +9 -0
  547. package/dist/superdoc/src/core/editor-runtime/editor-runtime-registry.d.ts +117 -0
  548. package/dist/superdoc/src/core/editor-runtime/index.d.ts +1 -0
  549. package/dist/superdoc/src/core/editor-runtime/root-marker.d.ts +33 -0
  550. package/dist/superdoc/src/core/editor-runtime/types.d.ts +405 -0
  551. package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +185 -0
  552. package/dist/superdoc/src/core/editor-runtime/v2/v2-session-shortcut-routes.d.ts +47 -0
  553. package/dist/superdoc/src/core/extensions/define.d.ts +56 -0
  554. package/dist/superdoc/src/core/extensions/index.d.ts +2 -0
  555. package/dist/superdoc/src/core/extensions/types.d.ts +519 -0
  556. package/dist/superdoc/src/core/helpers/export.d.ts +2 -0
  557. package/dist/superdoc/src/core/helpers/file.d.ts +43 -0
  558. package/dist/superdoc/src/core/helpers/normalize-track-changes-config.d.ts +60 -0
  559. package/dist/superdoc/src/core/helpers/normalize-user.d.ts +13 -0
  560. package/dist/superdoc/src/core/index.d.ts +1 -0
  561. package/dist/superdoc/src/core/pdf/helpers/constants.d.ts +2 -0
  562. package/dist/superdoc/src/core/pdf/helpers/floor.d.ts +1 -0
  563. package/dist/superdoc/src/core/pdf/helpers/range.d.ts +1 -0
  564. package/dist/superdoc/src/core/pdf/helpers/read-file.d.ts +1 -0
  565. package/dist/superdoc/src/core/pdf/pdf-adapter.d.ts +66 -0
  566. package/dist/superdoc/src/core/surface-manager.d.ts +90 -0
  567. package/dist/superdoc/src/core/theme/create-theme.d.ts +82 -0
  568. package/dist/superdoc/src/core/types/index.d.ts +3006 -0
  569. package/dist/superdoc/src/core/v2-integration/browser-peer-runtime.d.ts +3 -0
  570. package/dist/superdoc/src/core/v2-integration/cdn-engine-loader.d.ts +16 -0
  571. package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +97 -0
  572. package/dist/superdoc/src/core/whiteboard/Whiteboard.d.ts +247 -0
  573. package/dist/superdoc/src/core/whiteboard/WhiteboardPage.d.ts +251 -0
  574. package/dist/superdoc/src/core/whiteboard/WhiteboardRenderer.d.ts +2 -0
  575. package/dist/superdoc/src/core/whiteboard/helpers/createTextarea.d.ts +1 -0
  576. package/dist/superdoc/src/core/whiteboard/helpers/flattenPoints.d.ts +1 -0
  577. package/dist/superdoc/src/core/whiteboard/helpers/getRandomId.d.ts +1 -0
  578. package/dist/superdoc/src/helpers/collect-touched-tracked-change-ids.d.ts +11 -0
  579. package/dist/superdoc/src/helpers/comment-focus.d.ts +4 -0
  580. package/dist/superdoc/src/helpers/comment-small-screen.d.ts +14 -0
  581. package/dist/superdoc/src/helpers/deprecation.d.ts +26 -0
  582. package/dist/superdoc/src/helpers/floor.d.ts +1 -0
  583. package/dist/superdoc/src/helpers/group-changes.d.ts +1 -0
  584. package/dist/superdoc/src/helpers/interaction-trace.d.ts +26 -0
  585. package/dist/superdoc/src/helpers/selection-source.d.ts +1 -0
  586. package/dist/superdoc/src/helpers/transaction-touches-structural-change.d.ts +19 -0
  587. package/dist/superdoc/src/helpers/use-selection.d.ts +17 -0
  588. package/dist/superdoc/src/helpers/v2-author-required-rejection.d.ts +22 -0
  589. package/dist/superdoc/src/helpers/v2-remote-review-hydration.d.ts +12 -0
  590. package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +15 -0
  591. package/dist/superdoc/src/helpers/v2-review-mutation-reconciler.d.ts +19 -0
  592. package/dist/superdoc/src/helpers/v2-review-target.d.ts +7 -0
  593. package/dist/superdoc/src/helpers/v2-selection-sync.d.ts +12 -0
  594. package/dist/superdoc/src/helpers/v2-typing-mutation-event.d.ts +5 -0
  595. package/dist/superdoc/src/icons.d.ts +11 -0
  596. package/dist/superdoc/src/index.d.cts +13 -0
  597. package/dist/superdoc/src/index.d.ts +11 -0
  598. package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +21 -0
  599. package/dist/superdoc/src/internal/toolbar/built-in/AlignmentButtons.vue.d.ts +6 -0
  600. package/dist/superdoc/src/internal/toolbar/built-in/ButtonGroup.vue.d.ts +10 -0
  601. package/dist/superdoc/src/internal/toolbar/built-in/DocumentMode.vue.d.ts +10 -0
  602. package/dist/superdoc/src/internal/toolbar/built-in/FontFamilyCombobox.vue.d.ts +10 -0
  603. package/dist/superdoc/src/internal/toolbar/built-in/FontSizeCombobox.vue.d.ts +10 -0
  604. package/dist/superdoc/src/internal/toolbar/built-in/IconGrid.vue.d.ts +14 -0
  605. package/dist/superdoc/src/internal/toolbar/built-in/IconGridRow.vue.d.ts +13 -0
  606. package/dist/superdoc/src/internal/toolbar/built-in/LinkInput.vue.d.ts +37 -0
  607. package/dist/superdoc/src/internal/toolbar/built-in/LinkedStyle.vue.d.ts +12 -0
  608. package/dist/superdoc/src/internal/toolbar/built-in/OverflowMenu.vue.d.ts +10 -0
  609. package/dist/superdoc/src/internal/toolbar/built-in/SdTooltip.vue.d.ts +34 -0
  610. package/dist/superdoc/src/internal/toolbar/built-in/StyleButtonsList.vue.d.ts +14 -0
  611. package/dist/superdoc/src/internal/toolbar/built-in/TableActions.vue.d.ts +8 -0
  612. package/dist/superdoc/src/internal/toolbar/built-in/TableGrid.vue.d.ts +6 -0
  613. package/dist/superdoc/src/internal/toolbar/built-in/Toolbar.vue.d.ts +4 -0
  614. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +24 -0
  615. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButtonIcon.vue.d.ts +11 -0
  616. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarComboBox.vue.d.ts +18 -0
  617. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +38 -0
  618. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarSeparator.vue.d.ts +8 -0
  619. package/dist/superdoc/src/internal/toolbar/built-in/color-dropdown-helpers.d.ts +24 -0
  620. package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +102 -0
  621. package/dist/superdoc/src/internal/toolbar/built-in/default-items.d.ts +17 -0
  622. package/dist/superdoc/src/internal/toolbar/built-in/font-options.d.ts +1 -0
  623. package/dist/superdoc/src/internal/toolbar/built-in/font-typeahead.d.ts +11 -0
  624. package/dist/superdoc/src/internal/toolbar/built-in/format-negation.d.ts +5 -0
  625. package/dist/superdoc/src/internal/toolbar/built-in/general.d.ts +1 -0
  626. package/dist/superdoc/src/internal/toolbar/built-in/helpers.d.ts +5 -0
  627. package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +10 -0
  628. package/dist/superdoc/src/internal/toolbar/built-in/scroll-helpers.d.ts +4 -0
  629. package/dist/superdoc/src/internal/toolbar/built-in/toolbar-focus-helpers.d.ts +1 -0
  630. package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +76 -0
  631. package/dist/superdoc/src/internal/toolbar/built-in/toolbarTexts.d.ts +58 -0
  632. package/dist/superdoc/src/internal/toolbar/built-in/url-safety.d.ts +8 -0
  633. package/dist/superdoc/src/internal/toolbar/built-in/use-toolbar-item.d.ts +48 -0
  634. package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +237 -0
  635. package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +59 -0
  636. package/dist/superdoc/src/internal/toolbar/image-upload.d.ts +63 -0
  637. package/dist/superdoc/src/internal/toolbar/index.d.ts +10 -0
  638. package/dist/superdoc/src/main.d.ts +1 -0
  639. package/dist/superdoc/src/public/browser-document-api.d.ts +53 -0
  640. package/dist/superdoc/src/public/collaboration-upgrade-engine.d.cts +26 -0
  641. package/dist/superdoc/src/public/collaboration-upgrade-engine.d.ts +130 -0
  642. package/dist/superdoc/src/public/index.d.cts +359 -0
  643. package/dist/superdoc/src/public/index.d.ts +179 -0
  644. package/dist/superdoc/src/public/ui/commands.d.ts +249 -0
  645. package/dist/superdoc/src/public/ui/create-super-doc-ui.d.ts +18 -0
  646. package/dist/superdoc/src/public/ui/entity-at.d.ts +29 -0
  647. package/dist/superdoc/src/public/ui/equality.d.ts +10 -0
  648. package/dist/superdoc/src/public/ui/format-painter-helpers.d.ts +36 -0
  649. package/dist/superdoc/src/public/ui/react.d.ts +81 -0
  650. package/dist/superdoc/src/public/ui/reasons.d.ts +99 -0
  651. package/dist/superdoc/src/public/ui/types.d.ts +1425 -0
  652. package/dist/superdoc/src/public/ui-react.d.cts +20 -0
  653. package/dist/superdoc/src/public/ui-react.d.ts +20 -0
  654. package/dist/superdoc/src/public/ui.d.cts +194 -0
  655. package/dist/superdoc/src/public/ui.d.ts +29 -0
  656. package/dist/superdoc/src/stores/comments-store.d.ts +676 -0
  657. package/dist/superdoc/src/stores/helpers/floating-comment-instances.d.ts +14 -0
  658. package/dist/superdoc/src/stores/helpers/tracked-change-thread-index.d.ts +14 -0
  659. package/dist/superdoc/src/stores/hrbr-fields-store.d.ts +43 -0
  660. package/dist/superdoc/src/stores/superdoc-store.d.ts +2182 -0
  661. package/dist/superdoc.cjs +36521 -0
  662. package/dist/superdoc.es.js +36449 -0
  663. package/dist/word-layout/src/index.d.ts +64 -0
  664. package/dist/word-layout/src/list-marker.d.ts +68 -0
  665. package/dist/word-layout/src/marker-utils.d.ts +20 -0
  666. package/dist/word-layout/src/numbering-manager.d.ts +85 -0
  667. package/dist/word-layout/src/tab-layout.d.ts +193 -0
  668. package/dist/word-layout/src/types.d.ts +106 -0
  669. package/dist/word-layout/src/unit-conversions.d.ts +120 -0
  670. package/dist-cdn/style.layered.css +2 -0
  671. package/dist-cdn/superdoc.min.css +2 -0
  672. package/dist-cdn/superdoc.min.js +108 -0
  673. package/package.json +137 -24
  674. package/.npmignore +0 -4
  675. package/data.json +0 -17
  676. package/index.js +0 -2
  677. package/lib/Augmenter.js +0 -27
  678. package/lib/Runner.js +0 -80
  679. package/lib/Stopper.js +0 -71
  680. package/test/superdoc.js +0 -126
  681. package/utils/app.js +0 -18
  682. package/utils/server.js +0 -2
  683. package/web/index.js +0 -54
  684. package/web/public/style.css +0 -74
  685. package/web/views/index.ejs +0 -53
  686. package/web/views/layout.ejs +0 -13
  687. package/web/views/method.ejs +0 -59
@@ -0,0 +1,3645 @@
1
+ import { CommandStaticMetadata } from './metadata-types.js';
2
+ export type ReferenceGroupKey = 'core' | 'blocks' | 'capabilities' | 'create' | 'sections' | 'format' | 'format.paragraph' | 'styles' | 'styles.paragraph' | 'templates' | 'lists' | 'comments' | 'trackChanges' | 'query' | 'mutations' | 'tables' | 'history' | 'toc' | 'images' | 'hyperlinks' | 'headerFooters' | 'contentControls' | 'bookmarks' | 'footnotes' | 'clipboard' | 'crossRefs' | 'index' | 'captions' | 'fields' | 'citations' | 'authorities' | 'ranges' | 'selection' | 'diff' | 'export' | 'protection' | 'permissionRanges' | 'customXml' | 'metadata';
3
+ export interface OperationDefinitionEntry {
4
+ memberPath: string;
5
+ description: string;
6
+ expectedResult: string;
7
+ requiresDocumentContext: boolean;
8
+ metadata: CommandStaticMetadata;
9
+ referenceDocPath: string;
10
+ referenceGroup: ReferenceGroupKey;
11
+ skipAsATool?: boolean;
12
+ /** Which intent tool this operation belongs to (e.g. 'edit' → superdoc_edit). */
13
+ intentGroup?: string;
14
+ /** Action enum value within the intent group (e.g. 'insert', 'replace'). */
15
+ intentAction?: string;
16
+ }
17
+ export interface IntentGroupMeta {
18
+ toolName: string;
19
+ description: string;
20
+ /**
21
+ * Concrete input examples for LLM tool calling (e.g. Anthropic's input_examples).
22
+ * Each example must be a valid input object for this tool.
23
+ * Kept here (source of truth) and propagated to provider formats during codegen.
24
+ */
25
+ inputExamples?: Record<string, unknown>[];
26
+ }
27
+ export declare const V1_RUNTIME_UNAVAILABLE_OPERATION_IDS: readonly ["blocks.split", "blocks.merge", "blocks.move", "lists.getState", "lists.apply", "lists.continue", "lists.restart", "lists.remove", "format.paragraph.setMarkRunProps", "tables.moveRow"];
28
+ export declare const INTENT_GROUP_META: Record<string, IntentGroupMeta>;
29
+ export declare const OPERATION_DEFINITIONS: {
30
+ readonly 'styles.apply': {
31
+ readonly memberPath: "styles.apply";
32
+ readonly description: "Apply document-level default style changes to the stylesheet (word/styles.xml). Targets docDefaults run and paragraph channels with set-style patch semantics.";
33
+ readonly expectedResult: "Returns a StylesApplyReceipt with per-channel success/failure details for each property change.";
34
+ readonly requiresDocumentContext: true;
35
+ readonly metadata: CommandStaticMetadata;
36
+ readonly referenceDocPath: "styles/apply.mdx";
37
+ readonly referenceGroup: "styles";
38
+ };
39
+ readonly 'styles.getCatalog': {
40
+ readonly memberPath: "styles.getCatalog";
41
+ readonly description: "List the available styles as a normalized catalogue with stable IDs, display names, type, visibility, priority, provenance, and source diagnostics. Supports view (quickGallery/recommended/currentDocument/all/inUse), type filtering, hidden/latent inclusion, usage rollups, and UI-safe preview tokens. Distinct from DocumentInfo.styles, which is a usage summary.";
42
+ readonly expectedResult: "Returns a StylesGetCatalogResult with the requested view, the full filtered style set, document defaults, per-source status, and diagnostics (including labeled fallbacks and unsupported-option notices).";
43
+ readonly requiresDocumentContext: true;
44
+ readonly metadata: CommandStaticMetadata;
45
+ readonly referenceDocPath: "styles/get-catalog.mdx";
46
+ readonly referenceGroup: "styles";
47
+ };
48
+ readonly 'templates.apply': {
49
+ readonly memberPath: "templates.apply";
50
+ readonly description: "Apply detected DOCX template/substrate (styles, numbering, settings, theme, font table, web settings, headers/footers, section defaults) from a source package onto the current document, preserving body content. Scopes are auto-detected from source package evidence.";
51
+ readonly expectedResult: "Returns a TemplatesApplyReceipt with detected/applied/skipped scopes, unsupported items, changed parts, id mappings, and warnings.";
52
+ readonly requiresDocumentContext: true;
53
+ readonly metadata: CommandStaticMetadata;
54
+ readonly referenceDocPath: "templates/apply.mdx";
55
+ readonly referenceGroup: "templates";
56
+ };
57
+ readonly 'create.paragraph': {
58
+ readonly memberPath: "create.paragraph";
59
+ readonly description: "Create a standalone paragraph at the target position. To add a list item, use lists.insert instead.";
60
+ readonly expectedResult: "Returns a CreateParagraphResult with the new paragraph block ID and address.";
61
+ readonly requiresDocumentContext: true;
62
+ readonly metadata: CommandStaticMetadata;
63
+ readonly referenceDocPath: "create/paragraph.mdx";
64
+ readonly referenceGroup: "create";
65
+ readonly intentGroup: "create";
66
+ readonly intentAction: "paragraph";
67
+ };
68
+ readonly 'create.heading': {
69
+ readonly memberPath: "create.heading";
70
+ readonly description: "Create a new heading at the target position.";
71
+ readonly expectedResult: "Returns a CreateHeadingResult with the new heading block ID and address.";
72
+ readonly requiresDocumentContext: true;
73
+ readonly metadata: CommandStaticMetadata;
74
+ readonly referenceDocPath: "create/heading.mdx";
75
+ readonly referenceGroup: "create";
76
+ readonly intentGroup: "create";
77
+ readonly intentAction: "heading";
78
+ };
79
+ readonly 'create.sectionBreak': {
80
+ readonly memberPath: "create.sectionBreak";
81
+ readonly description: "Create a section break at the target location with optional initial section properties.";
82
+ readonly expectedResult: "Returns a CreateSectionBreakResult with the new section break position and section address.";
83
+ readonly requiresDocumentContext: true;
84
+ readonly metadata: CommandStaticMetadata;
85
+ readonly referenceDocPath: "create/section-break.mdx";
86
+ readonly referenceGroup: "create";
87
+ };
88
+ readonly 'sections.list': {
89
+ readonly memberPath: "sections.list";
90
+ readonly description: "List sections in deterministic order with section-target handles.";
91
+ readonly expectedResult: "Returns a SectionsListResult with an ordered array of section summaries and their target handles.";
92
+ readonly requiresDocumentContext: true;
93
+ readonly metadata: CommandStaticMetadata;
94
+ readonly referenceDocPath: "sections/list.mdx";
95
+ readonly referenceGroup: "sections";
96
+ };
97
+ readonly 'sections.get': {
98
+ readonly memberPath: "sections.get";
99
+ readonly description: "Retrieve full section information by section address.";
100
+ readonly expectedResult: "Returns a SectionInfo object with full section properties including margins, columns, and header/footer refs.";
101
+ readonly requiresDocumentContext: true;
102
+ readonly metadata: CommandStaticMetadata;
103
+ readonly referenceDocPath: "sections/get.mdx";
104
+ readonly referenceGroup: "sections";
105
+ };
106
+ readonly 'sections.setBreakType': {
107
+ readonly memberPath: "sections.setBreakType";
108
+ readonly description: "Set the section break type.";
109
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if the section already has the requested break type.";
110
+ readonly requiresDocumentContext: true;
111
+ readonly metadata: CommandStaticMetadata;
112
+ readonly referenceDocPath: "sections/set-break-type.mdx";
113
+ readonly referenceGroup: "sections";
114
+ };
115
+ readonly 'sections.setPageMargins': {
116
+ readonly memberPath: "sections.setPageMargins";
117
+ readonly description: "Set page-edge margins for a section.";
118
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if margins already match the requested values.";
119
+ readonly requiresDocumentContext: true;
120
+ readonly metadata: CommandStaticMetadata;
121
+ readonly referenceDocPath: "sections/set-page-margins.mdx";
122
+ readonly referenceGroup: "sections";
123
+ };
124
+ readonly 'sections.setHeaderFooterMargins': {
125
+ readonly memberPath: "sections.setHeaderFooterMargins";
126
+ readonly description: "Set header/footer margin distances for a section.";
127
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if header/footer margins already match the requested values.";
128
+ readonly requiresDocumentContext: true;
129
+ readonly metadata: CommandStaticMetadata;
130
+ readonly referenceDocPath: "sections/set-header-footer-margins.mdx";
131
+ readonly referenceGroup: "sections";
132
+ };
133
+ readonly 'sections.setPageSetup': {
134
+ readonly memberPath: "sections.setPageSetup";
135
+ readonly description: "Set page size/orientation properties for a section.";
136
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if page size and orientation already match the requested values.";
137
+ readonly requiresDocumentContext: true;
138
+ readonly metadata: CommandStaticMetadata;
139
+ readonly referenceDocPath: "sections/set-page-setup.mdx";
140
+ readonly referenceGroup: "sections";
141
+ };
142
+ readonly 'sections.setColumns': {
143
+ readonly memberPath: "sections.setColumns";
144
+ readonly description: "Set column configuration for a section.";
145
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if column configuration already matches.";
146
+ readonly requiresDocumentContext: true;
147
+ readonly metadata: CommandStaticMetadata;
148
+ readonly referenceDocPath: "sections/set-columns.mdx";
149
+ readonly referenceGroup: "sections";
150
+ };
151
+ readonly 'sections.setLineNumbering': {
152
+ readonly memberPath: "sections.setLineNumbering";
153
+ readonly description: "Enable or configure line numbering for a section.";
154
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if line numbering settings already match.";
155
+ readonly requiresDocumentContext: true;
156
+ readonly metadata: CommandStaticMetadata;
157
+ readonly referenceDocPath: "sections/set-line-numbering.mdx";
158
+ readonly referenceGroup: "sections";
159
+ };
160
+ readonly 'sections.setPageNumbering': {
161
+ readonly memberPath: "sections.setPageNumbering";
162
+ readonly description: "Set page numbering format/start and chapter numbering settings for a section.";
163
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if page numbering settings already match.";
164
+ readonly requiresDocumentContext: true;
165
+ readonly metadata: CommandStaticMetadata;
166
+ readonly referenceDocPath: "sections/set-page-numbering.mdx";
167
+ readonly referenceGroup: "sections";
168
+ };
169
+ readonly 'sections.setTitlePage': {
170
+ readonly memberPath: "sections.setTitlePage";
171
+ readonly description: "Enable or disable title-page behavior for a section.";
172
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if the title-page setting already matches.";
173
+ readonly requiresDocumentContext: true;
174
+ readonly metadata: CommandStaticMetadata;
175
+ readonly referenceDocPath: "sections/set-title-page.mdx";
176
+ readonly referenceGroup: "sections";
177
+ };
178
+ readonly 'sections.setOddEvenHeadersFooters': {
179
+ readonly memberPath: "sections.setOddEvenHeadersFooters";
180
+ readonly description: "Enable or disable odd/even header-footer mode in document settings.";
181
+ readonly expectedResult: "Returns a DocumentMutationResult (not SectionMutationResult) because odd/even headers-footers is a document-level setting, not per-section. Reports NO_OP if the setting already matches.";
182
+ readonly requiresDocumentContext: true;
183
+ readonly metadata: CommandStaticMetadata;
184
+ readonly referenceDocPath: "sections/set-odd-even-headers-footers.mdx";
185
+ readonly referenceGroup: "sections";
186
+ };
187
+ readonly 'sections.setVerticalAlign': {
188
+ readonly memberPath: "sections.setVerticalAlign";
189
+ readonly description: "Set vertical page alignment for a section.";
190
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if vertical alignment already matches.";
191
+ readonly requiresDocumentContext: true;
192
+ readonly metadata: CommandStaticMetadata;
193
+ readonly referenceDocPath: "sections/set-vertical-align.mdx";
194
+ readonly referenceGroup: "sections";
195
+ };
196
+ readonly 'sections.setSectionDirection': {
197
+ readonly memberPath: "sections.setSectionDirection";
198
+ readonly description: "Set section text flow direction (LTR/RTL).";
199
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if text direction already matches.";
200
+ readonly requiresDocumentContext: true;
201
+ readonly metadata: CommandStaticMetadata;
202
+ readonly referenceDocPath: "sections/set-section-direction.mdx";
203
+ readonly referenceGroup: "sections";
204
+ };
205
+ readonly 'sections.setHeaderFooterRef': {
206
+ readonly memberPath: "sections.setHeaderFooterRef";
207
+ readonly description: "Set or replace a section header/footer reference for a variant.";
208
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if the header/footer reference already matches.";
209
+ readonly requiresDocumentContext: true;
210
+ readonly metadata: CommandStaticMetadata;
211
+ readonly referenceDocPath: "sections/set-header-footer-ref.mdx";
212
+ readonly referenceGroup: "sections";
213
+ };
214
+ readonly 'sections.clearHeaderFooterRef': {
215
+ readonly memberPath: "sections.clearHeaderFooterRef";
216
+ readonly description: "Clear a section header/footer reference for a specific variant.";
217
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if no reference exists for the specified variant.";
218
+ readonly requiresDocumentContext: true;
219
+ readonly metadata: CommandStaticMetadata;
220
+ readonly referenceDocPath: "sections/clear-header-footer-ref.mdx";
221
+ readonly referenceGroup: "sections";
222
+ };
223
+ readonly 'sections.setLinkToPrevious': {
224
+ readonly memberPath: "sections.setLinkToPrevious";
225
+ readonly description: "Set or clear link-to-previous behavior for a header/footer variant.";
226
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if link-to-previous already matches the requested value.";
227
+ readonly requiresDocumentContext: true;
228
+ readonly metadata: CommandStaticMetadata;
229
+ readonly referenceDocPath: "sections/set-link-to-previous.mdx";
230
+ readonly referenceGroup: "sections";
231
+ };
232
+ readonly 'sections.setPageBorders': {
233
+ readonly memberPath: "sections.setPageBorders";
234
+ readonly description: "Set page border configuration for a section.";
235
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if page border configuration already matches.";
236
+ readonly requiresDocumentContext: true;
237
+ readonly metadata: CommandStaticMetadata;
238
+ readonly referenceDocPath: "sections/set-page-borders.mdx";
239
+ readonly referenceGroup: "sections";
240
+ };
241
+ readonly 'sections.clearPageBorders': {
242
+ readonly memberPath: "sections.clearPageBorders";
243
+ readonly description: "Clear page border configuration for a section.";
244
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if no page borders are configured on the section.";
245
+ readonly requiresDocumentContext: true;
246
+ readonly metadata: CommandStaticMetadata;
247
+ readonly referenceDocPath: "sections/clear-page-borders.mdx";
248
+ readonly referenceGroup: "sections";
249
+ };
250
+ readonly 'styles.paragraph.setStyle': {
251
+ readonly memberPath: "styles.paragraph.setStyle";
252
+ readonly description: "Apply a paragraph style (w:pStyle) to a paragraph-like block, clearing direct run formatting while preserving character-style references.";
253
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the style already matches. When the style changes, direct run formatting is cleared while character-style references are preserved.";
254
+ readonly requiresDocumentContext: true;
255
+ readonly metadata: CommandStaticMetadata;
256
+ readonly referenceDocPath: "styles/paragraph/set-style.mdx";
257
+ readonly referenceGroup: "styles.paragraph";
258
+ readonly intentGroup: "format";
259
+ readonly intentAction: "set_style";
260
+ };
261
+ readonly 'styles.paragraph.setStyleRef': {
262
+ readonly memberPath: "styles.paragraph.setStyleRef";
263
+ readonly description: "Apply a paragraph style (w:pStyle) to a paragraph-like block without clearing direct run formatting.";
264
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the style reference already matches. Unlike setStyle, existing run formatting is preserved.";
265
+ readonly requiresDocumentContext: true;
266
+ readonly metadata: CommandStaticMetadata;
267
+ readonly referenceDocPath: "styles/paragraph/set-style-ref.mdx";
268
+ readonly referenceGroup: "styles.paragraph";
269
+ readonly intentGroup: "format";
270
+ readonly intentAction: "set_style_ref";
271
+ };
272
+ readonly 'styles.paragraph.clearStyle': {
273
+ readonly memberPath: "styles.paragraph.clearStyle";
274
+ readonly description: "Remove the paragraph style reference from a paragraph-like block.";
275
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no style is set.";
276
+ readonly requiresDocumentContext: true;
277
+ readonly metadata: CommandStaticMetadata;
278
+ readonly referenceDocPath: "styles/paragraph/clear-style.mdx";
279
+ readonly referenceGroup: "styles.paragraph";
280
+ };
281
+ readonly 'format.paragraph.resetDirectFormatting': {
282
+ readonly memberPath: "format.paragraph.resetDirectFormatting";
283
+ readonly description: "Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.";
284
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no direct formatting is present.";
285
+ readonly requiresDocumentContext: true;
286
+ readonly metadata: CommandStaticMetadata;
287
+ readonly referenceDocPath: "format/paragraph/reset-direct-formatting.mdx";
288
+ readonly referenceGroup: "format.paragraph";
289
+ };
290
+ readonly 'format.paragraph.setAlignment': {
291
+ readonly memberPath: "format.paragraph.setAlignment";
292
+ readonly description: "Set visual paragraph alignment on a paragraph-like block. For RTL paragraphs, left/right are translated to Word-compatible stored justification values.";
293
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the alignment already matches.";
294
+ readonly requiresDocumentContext: true;
295
+ readonly metadata: CommandStaticMetadata;
296
+ readonly referenceDocPath: "format/paragraph/set-alignment.mdx";
297
+ readonly referenceGroup: "format.paragraph";
298
+ readonly intentGroup: "format";
299
+ readonly intentAction: "set_alignment";
300
+ };
301
+ readonly 'format.paragraph.clearAlignment': {
302
+ readonly memberPath: "format.paragraph.clearAlignment";
303
+ readonly description: "Remove direct paragraph alignment, reverting to style-defined or default alignment.";
304
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no direct alignment is set.";
305
+ readonly requiresDocumentContext: true;
306
+ readonly metadata: CommandStaticMetadata;
307
+ readonly referenceDocPath: "format/paragraph/clear-alignment.mdx";
308
+ readonly referenceGroup: "format.paragraph";
309
+ };
310
+ readonly 'format.paragraph.setIndentation': {
311
+ readonly memberPath: "format.paragraph.setIndentation";
312
+ readonly description: "Set paragraph indentation properties (signed left/right, firstLine, hanging) in twips.";
313
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if indentation already matches.";
314
+ readonly requiresDocumentContext: true;
315
+ readonly metadata: CommandStaticMetadata;
316
+ readonly referenceDocPath: "format/paragraph/set-indentation.mdx";
317
+ readonly referenceGroup: "format.paragraph";
318
+ readonly intentGroup: "format";
319
+ readonly intentAction: "set_indentation";
320
+ };
321
+ readonly 'format.paragraph.clearIndentation': {
322
+ readonly memberPath: "format.paragraph.clearIndentation";
323
+ readonly description: "Remove all direct paragraph indentation.";
324
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no direct indentation is set.";
325
+ readonly requiresDocumentContext: true;
326
+ readonly metadata: CommandStaticMetadata;
327
+ readonly referenceDocPath: "format/paragraph/clear-indentation.mdx";
328
+ readonly referenceGroup: "format.paragraph";
329
+ };
330
+ readonly 'format.paragraph.setSpacing': {
331
+ readonly memberPath: "format.paragraph.setSpacing";
332
+ readonly description: "Set paragraph spacing properties (before, after, line, lineRule) in twips.";
333
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if spacing already matches.";
334
+ readonly requiresDocumentContext: true;
335
+ readonly metadata: CommandStaticMetadata;
336
+ readonly referenceDocPath: "format/paragraph/set-spacing.mdx";
337
+ readonly referenceGroup: "format.paragraph";
338
+ readonly intentGroup: "format";
339
+ readonly intentAction: "set_spacing";
340
+ };
341
+ readonly 'format.paragraph.clearSpacing': {
342
+ readonly memberPath: "format.paragraph.clearSpacing";
343
+ readonly description: "Remove all direct paragraph spacing.";
344
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no direct spacing is set.";
345
+ readonly requiresDocumentContext: true;
346
+ readonly metadata: CommandStaticMetadata;
347
+ readonly referenceDocPath: "format/paragraph/clear-spacing.mdx";
348
+ readonly referenceGroup: "format.paragraph";
349
+ };
350
+ readonly 'format.paragraph.setKeepOptions': {
351
+ readonly memberPath: "format.paragraph.setKeepOptions";
352
+ readonly description: "Set keep-with-next, keep-lines-together, and widow/orphan control flags.";
353
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if all flags already match.";
354
+ readonly requiresDocumentContext: true;
355
+ readonly metadata: CommandStaticMetadata;
356
+ readonly referenceDocPath: "format/paragraph/set-keep-options.mdx";
357
+ readonly referenceGroup: "format.paragraph";
358
+ };
359
+ readonly 'format.paragraph.setOutlineLevel': {
360
+ readonly memberPath: "format.paragraph.setOutlineLevel";
361
+ readonly description: "Set the paragraph outline level (0–9) or null to clear.";
362
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if outline level already matches.";
363
+ readonly requiresDocumentContext: true;
364
+ readonly metadata: CommandStaticMetadata;
365
+ readonly referenceDocPath: "format/paragraph/set-outline-level.mdx";
366
+ readonly referenceGroup: "format.paragraph";
367
+ };
368
+ readonly 'format.paragraph.setFlowOptions': {
369
+ readonly memberPath: "format.paragraph.setFlowOptions";
370
+ readonly description: "Set paragraph flow flags: contextual spacing, page-break-before, suppress-auto-hyphens, and the advanced layout toggles auto-space-DE, auto-space-DN, adjust-right-indent, and snap-to-grid.";
371
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if all flags already match.";
372
+ readonly requiresDocumentContext: true;
373
+ readonly metadata: CommandStaticMetadata;
374
+ readonly referenceDocPath: "format/paragraph/set-flow-options.mdx";
375
+ readonly referenceGroup: "format.paragraph";
376
+ readonly intentGroup: "format";
377
+ readonly intentAction: "set_flow_options";
378
+ };
379
+ readonly 'format.paragraph.setTabStop': {
380
+ readonly memberPath: "format.paragraph.setTabStop";
381
+ readonly description: "Add or replace a tab stop at a given position.";
382
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if an identical tab stop already exists.";
383
+ readonly requiresDocumentContext: true;
384
+ readonly metadata: CommandStaticMetadata;
385
+ readonly referenceDocPath: "format/paragraph/set-tab-stop.mdx";
386
+ readonly referenceGroup: "format.paragraph";
387
+ };
388
+ readonly 'format.paragraph.clearTabStop': {
389
+ readonly memberPath: "format.paragraph.clearTabStop";
390
+ readonly description: "Remove a tab stop at a given position.";
391
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no tab stop exists at that position.";
392
+ readonly requiresDocumentContext: true;
393
+ readonly metadata: CommandStaticMetadata;
394
+ readonly referenceDocPath: "format/paragraph/clear-tab-stop.mdx";
395
+ readonly referenceGroup: "format.paragraph";
396
+ };
397
+ readonly 'format.paragraph.clearAllTabStops': {
398
+ readonly memberPath: "format.paragraph.clearAllTabStops";
399
+ readonly description: "Remove all tab stops from a paragraph.";
400
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no tab stops exist.";
401
+ readonly requiresDocumentContext: true;
402
+ readonly metadata: CommandStaticMetadata;
403
+ readonly referenceDocPath: "format/paragraph/clear-all-tab-stops.mdx";
404
+ readonly referenceGroup: "format.paragraph";
405
+ };
406
+ readonly 'format.paragraph.setBorder': {
407
+ readonly memberPath: "format.paragraph.setBorder";
408
+ readonly description: "Set border properties for a specific side of a paragraph.";
409
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the border already matches.";
410
+ readonly requiresDocumentContext: true;
411
+ readonly metadata: CommandStaticMetadata;
412
+ readonly referenceDocPath: "format/paragraph/set-border.mdx";
413
+ readonly referenceGroup: "format.paragraph";
414
+ };
415
+ readonly 'format.paragraph.clearBorder': {
416
+ readonly memberPath: "format.paragraph.clearBorder";
417
+ readonly description: "Remove border for a specific side or all sides of a paragraph.";
418
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the border is already absent.";
419
+ readonly requiresDocumentContext: true;
420
+ readonly metadata: CommandStaticMetadata;
421
+ readonly referenceDocPath: "format/paragraph/clear-border.mdx";
422
+ readonly referenceGroup: "format.paragraph";
423
+ };
424
+ readonly 'format.paragraph.setShading': {
425
+ readonly memberPath: "format.paragraph.setShading";
426
+ readonly description: "Set paragraph shading (background fill, pattern color, pattern type).";
427
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the shading already matches.";
428
+ readonly requiresDocumentContext: true;
429
+ readonly metadata: CommandStaticMetadata;
430
+ readonly referenceDocPath: "format/paragraph/set-shading.mdx";
431
+ readonly referenceGroup: "format.paragraph";
432
+ };
433
+ readonly 'format.paragraph.clearShading': {
434
+ readonly memberPath: "format.paragraph.clearShading";
435
+ readonly description: "Remove all paragraph shading.";
436
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no shading is set.";
437
+ readonly requiresDocumentContext: true;
438
+ readonly metadata: CommandStaticMetadata;
439
+ readonly referenceDocPath: "format/paragraph/clear-shading.mdx";
440
+ readonly referenceGroup: "format.paragraph";
441
+ };
442
+ readonly 'format.paragraph.setMarkRunProps': {
443
+ readonly memberPath: "format.paragraph.setMarkRunProps";
444
+ readonly description: string;
445
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the encoded mark run properties already match.";
446
+ readonly requiresDocumentContext: true;
447
+ readonly metadata: CommandStaticMetadata;
448
+ readonly referenceDocPath: "format/paragraph/set-mark-run-props.mdx";
449
+ readonly referenceGroup: "format.paragraph";
450
+ };
451
+ readonly 'format.paragraph.setDirection': {
452
+ readonly memberPath: "format.paragraph.setDirection";
453
+ readonly description: "Set paragraph base direction (LTR or RTL via w:bidi). Optionally align text to match.";
454
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the direction already matches.";
455
+ readonly requiresDocumentContext: true;
456
+ readonly metadata: CommandStaticMetadata;
457
+ readonly referenceDocPath: "format/paragraph/set-direction.mdx";
458
+ readonly referenceGroup: "format.paragraph";
459
+ readonly intentGroup: "format";
460
+ readonly intentAction: "set_direction";
461
+ };
462
+ readonly 'format.paragraph.clearDirection': {
463
+ readonly memberPath: "format.paragraph.clearDirection";
464
+ readonly description: "Remove explicit paragraph direction, reverting to inherited or default (LTR).";
465
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if no direction is set.";
466
+ readonly requiresDocumentContext: true;
467
+ readonly metadata: CommandStaticMetadata;
468
+ readonly referenceDocPath: "format/paragraph/clear-direction.mdx";
469
+ readonly referenceGroup: "format.paragraph";
470
+ };
471
+ readonly 'format.paragraph.setNumbering': {
472
+ readonly memberPath: "format.paragraph.setNumbering";
473
+ readonly description: "Attach numbering (numId + level) to an existing paragraph or heading so it joins a numbered sequence. Numbering is a paragraph property; the node and its style are otherwise unchanged, though any direct paragraph indent is cleared so the numbering level controls indentation. Direct edits only; tracked mode is unsupported.";
474
+ readonly expectedResult: "Returns a ParagraphMutationResult; reports NO_OP if the block already carries this numbering. On a successful apply, resolution.target reflects the post-mutation address (a numbered plain paragraph re-resolves to listItem; a heading stays a heading); a dryRun returns the input target.";
475
+ readonly requiresDocumentContext: true;
476
+ readonly metadata: CommandStaticMetadata;
477
+ readonly referenceDocPath: "format/paragraph/set-numbering.mdx";
478
+ readonly referenceGroup: "format.paragraph";
479
+ };
480
+ readonly 'lists.list': {
481
+ readonly memberPath: "lists.list";
482
+ readonly description: "List all list nodes in the document, optionally filtered by scope.";
483
+ readonly expectedResult: "Returns a ListsListResult with an array of list item summaries and total count.";
484
+ readonly requiresDocumentContext: true;
485
+ readonly metadata: CommandStaticMetadata;
486
+ readonly referenceDocPath: "lists/list.mdx";
487
+ readonly referenceGroup: "lists";
488
+ };
489
+ readonly 'lists.get': {
490
+ readonly memberPath: "lists.get";
491
+ readonly description: "Retrieve a specific list node by target.";
492
+ readonly expectedResult: "Returns a ListItemInfo object with the item kind, level, marker, and address.";
493
+ readonly requiresDocumentContext: true;
494
+ readonly metadata: CommandStaticMetadata;
495
+ readonly referenceDocPath: "lists/get.mdx";
496
+ readonly referenceGroup: "lists";
497
+ };
498
+ readonly 'lists.insert': {
499
+ readonly memberPath: "lists.insert";
500
+ readonly description: "Insert a new list item before or after an existing list item. The new item inherits the target list context.";
501
+ readonly expectedResult: "Returns a ListsInsertResult with the new list item address and block ID.";
502
+ readonly requiresDocumentContext: true;
503
+ readonly metadata: CommandStaticMetadata;
504
+ readonly referenceDocPath: "lists/insert.mdx";
505
+ readonly referenceGroup: "lists";
506
+ readonly intentGroup: "list";
507
+ readonly intentAction: "insert";
508
+ };
509
+ readonly 'lists.create': {
510
+ readonly memberPath: "lists.create";
511
+ readonly description: "Create a new list from one or more paragraphs. Supports optional preset or style for new sequences. When sequence.mode is \"continuePrevious\", preset and style are not allowed: the new items inherit formatting from the previous sequence.";
512
+ readonly expectedResult: "Returns a ListsCreateResult with the new listId and the first item address.";
513
+ readonly requiresDocumentContext: true;
514
+ readonly metadata: CommandStaticMetadata;
515
+ readonly referenceDocPath: "lists/create.mdx";
516
+ readonly referenceGroup: "lists";
517
+ readonly intentGroup: "list";
518
+ readonly intentAction: "create";
519
+ };
520
+ readonly 'lists.attach': {
521
+ readonly memberPath: "lists.attach";
522
+ readonly description: "Convert non-list paragraphs to list items under an existing list sequence.";
523
+ readonly expectedResult: "Returns a ListsMutateItemResult confirming attachment. Tracked-mode results include `trackedChangeRefs` pointing at the pPrChange-backed numPr revision.";
524
+ readonly requiresDocumentContext: true;
525
+ readonly metadata: CommandStaticMetadata;
526
+ readonly referenceDocPath: "lists/attach.mdx";
527
+ readonly referenceGroup: "lists";
528
+ readonly intentGroup: "list";
529
+ readonly intentAction: "attach";
530
+ };
531
+ readonly 'lists.detach': {
532
+ readonly memberPath: "lists.detach";
533
+ readonly description: "Remove numbering properties from list items, converting them to plain paragraphs.";
534
+ readonly expectedResult: "Returns a ListsDetachResult confirming the item was converted to a plain paragraph.";
535
+ readonly requiresDocumentContext: true;
536
+ readonly metadata: CommandStaticMetadata;
537
+ readonly referenceDocPath: "lists/detach.mdx";
538
+ readonly referenceGroup: "lists";
539
+ readonly intentGroup: "list";
540
+ readonly intentAction: "detach";
541
+ };
542
+ readonly 'lists.delete': {
543
+ readonly memberPath: "lists.delete";
544
+ readonly description: string;
545
+ readonly expectedResult: "Returns a ListsDeleteResult with `deletedCount` (number of items removed). Reports failure (INVALID_TARGET) if the target is not a list item.";
546
+ readonly requiresDocumentContext: true;
547
+ readonly metadata: CommandStaticMetadata;
548
+ readonly referenceDocPath: "lists/delete.mdx";
549
+ readonly referenceGroup: "lists";
550
+ readonly intentGroup: "list";
551
+ readonly intentAction: "delete";
552
+ };
553
+ readonly 'lists.indent': {
554
+ readonly memberPath: "lists.indent";
555
+ readonly description: "Increase the indentation level of a list item.";
556
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the item is already at maximum indent level.";
557
+ readonly requiresDocumentContext: true;
558
+ readonly metadata: CommandStaticMetadata;
559
+ readonly referenceDocPath: "lists/indent.mdx";
560
+ readonly referenceGroup: "lists";
561
+ readonly intentGroup: "list";
562
+ readonly intentAction: "indent";
563
+ };
564
+ readonly 'lists.outdent': {
565
+ readonly memberPath: "lists.outdent";
566
+ readonly description: "Decrease the indentation level of a list item.";
567
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the item is already at the root level.";
568
+ readonly requiresDocumentContext: true;
569
+ readonly metadata: CommandStaticMetadata;
570
+ readonly referenceDocPath: "lists/outdent.mdx";
571
+ readonly referenceGroup: "lists";
572
+ readonly intentGroup: "list";
573
+ readonly intentAction: "outdent";
574
+ };
575
+ readonly 'lists.join': {
576
+ readonly memberPath: "lists.join";
577
+ readonly description: "Merge two adjacent list sequences into one.";
578
+ readonly expectedResult: "Returns a ListsJoinResult with the resulting listId of the merged sequence.";
579
+ readonly requiresDocumentContext: true;
580
+ readonly metadata: CommandStaticMetadata;
581
+ readonly referenceDocPath: "lists/join.mdx";
582
+ readonly referenceGroup: "lists";
583
+ };
584
+ readonly 'lists.canJoin': {
585
+ readonly memberPath: "lists.canJoin";
586
+ readonly description: "Check whether two adjacent list sequences can be joined.";
587
+ readonly expectedResult: "Returns a ListsCanJoinResult indicating feasibility and reason if not possible.";
588
+ readonly requiresDocumentContext: true;
589
+ readonly metadata: CommandStaticMetadata;
590
+ readonly referenceDocPath: "lists/can-join.mdx";
591
+ readonly referenceGroup: "lists";
592
+ };
593
+ readonly 'lists.separate': {
594
+ readonly memberPath: "lists.separate";
595
+ readonly description: "Split a list sequence at the target item, creating a new sequence from that point forward.";
596
+ readonly expectedResult: "Returns a ListsSeparateResult with the new listId and numId.";
597
+ readonly requiresDocumentContext: true;
598
+ readonly metadata: CommandStaticMetadata;
599
+ readonly referenceDocPath: "lists/separate.mdx";
600
+ readonly referenceGroup: "lists";
601
+ };
602
+ readonly 'lists.merge': {
603
+ readonly memberPath: "lists.merge";
604
+ readonly description: "Compound: merge two adjacent list sequences into one. Reassigns numId on the absorbed sequence (no strict abstractNumId check: absorbed items adopt the absorbing definition) and deletes empty paragraphs between the two sequences. Use this instead of lists.join for the user-facing \"merge these lists\" intent.";
605
+ readonly expectedResult: "Returns a ListsMergeResult with the merged listId, absorbedCount, and removedEmptyBlocks count.";
606
+ readonly requiresDocumentContext: true;
607
+ readonly metadata: CommandStaticMetadata;
608
+ readonly referenceDocPath: "lists/merge.mdx";
609
+ readonly referenceGroup: "lists";
610
+ readonly intentGroup: "list";
611
+ readonly intentAction: "merge";
612
+ };
613
+ readonly 'lists.split': {
614
+ readonly memberPath: "lists.split";
615
+ readonly description: "Compound: split a list sequence at the target item into two independent sequences. Runs lists.separate then (by default) lists.setValue(1) so the new half starts numbering fresh at 1. Pass restartNumbering:false for raw separate semantics (new half continues the previous count).";
616
+ readonly expectedResult: "Returns a ListsSplitResult with the new listId, numId, and the restart value applied (or null).";
617
+ readonly requiresDocumentContext: true;
618
+ readonly metadata: CommandStaticMetadata;
619
+ readonly referenceDocPath: "lists/split.mdx";
620
+ readonly referenceGroup: "lists";
621
+ readonly intentGroup: "list";
622
+ readonly intentAction: "split";
623
+ };
624
+ readonly 'lists.setLevel': {
625
+ readonly memberPath: "lists.setLevel";
626
+ readonly description: "Set the absolute nesting level (0..8) of a list item.";
627
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if already at the target level.";
628
+ readonly requiresDocumentContext: true;
629
+ readonly metadata: CommandStaticMetadata;
630
+ readonly referenceDocPath: "lists/set-level.mdx";
631
+ readonly referenceGroup: "lists";
632
+ readonly intentGroup: "list";
633
+ readonly intentAction: "set_level";
634
+ };
635
+ readonly 'lists.setValue': {
636
+ readonly memberPath: "lists.setValue";
637
+ readonly description: "Set an explicit numbering value at the target item. Mid-sequence targets are atomically separated first.";
638
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt.";
639
+ readonly requiresDocumentContext: true;
640
+ readonly metadata: CommandStaticMetadata;
641
+ readonly referenceDocPath: "lists/set-value.mdx";
642
+ readonly referenceGroup: "lists";
643
+ readonly intentGroup: "list";
644
+ readonly intentAction: "set_value";
645
+ };
646
+ readonly 'lists.continuePrevious': {
647
+ readonly memberPath: "lists.continuePrevious";
648
+ readonly description: "Continue numbering from the nearest compatible previous list sequence.";
649
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt.";
650
+ readonly requiresDocumentContext: true;
651
+ readonly metadata: CommandStaticMetadata;
652
+ readonly referenceDocPath: "lists/continue-previous.mdx";
653
+ readonly referenceGroup: "lists";
654
+ readonly intentGroup: "list";
655
+ readonly intentAction: "continue_previous";
656
+ };
657
+ readonly 'lists.canContinuePrevious': {
658
+ readonly memberPath: "lists.canContinuePrevious";
659
+ readonly description: "Check whether the target sequence can continue numbering from a previous compatible sequence.";
660
+ readonly expectedResult: "Returns a ListsCanContinuePreviousResult indicating feasibility.";
661
+ readonly requiresDocumentContext: true;
662
+ readonly metadata: CommandStaticMetadata;
663
+ readonly referenceDocPath: "lists/can-continue-previous.mdx";
664
+ readonly referenceGroup: "lists";
665
+ };
666
+ readonly 'lists.setLevelRestart': {
667
+ readonly memberPath: "lists.setLevelRestart";
668
+ readonly description: "Set the restart behavior for a specific list level.";
669
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt.";
670
+ readonly requiresDocumentContext: true;
671
+ readonly metadata: CommandStaticMetadata;
672
+ readonly referenceDocPath: "lists/set-level-restart.mdx";
673
+ readonly referenceGroup: "lists";
674
+ };
675
+ readonly 'lists.convertToText': {
676
+ readonly memberPath: "lists.convertToText";
677
+ readonly description: "Convert list items to plain paragraphs, optionally prepending the rendered marker text.";
678
+ readonly expectedResult: "Returns a ListsConvertToTextResult confirming the conversion.";
679
+ readonly requiresDocumentContext: true;
680
+ readonly metadata: CommandStaticMetadata;
681
+ readonly referenceDocPath: "lists/convert-to-text.mdx";
682
+ readonly referenceGroup: "lists";
683
+ };
684
+ readonly 'lists.applyTemplate': {
685
+ readonly memberPath: "lists.applyTemplate";
686
+ readonly description: "Advanced alias for lists.applyStyle. Apply a captured ListTemplate to the target list (abstract-scoped, no clone-on-write).";
687
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if all levels already match.";
688
+ readonly requiresDocumentContext: true;
689
+ readonly metadata: CommandStaticMetadata;
690
+ readonly referenceDocPath: "lists/apply-template.mdx";
691
+ readonly referenceGroup: "lists";
692
+ };
693
+ readonly 'lists.applyPreset': {
694
+ readonly memberPath: "lists.applyPreset";
695
+ readonly description: "Apply a built-in list formatting preset to the target list.";
696
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if all levels already match the preset.";
697
+ readonly requiresDocumentContext: true;
698
+ readonly metadata: CommandStaticMetadata;
699
+ readonly referenceDocPath: "lists/apply-preset.mdx";
700
+ readonly referenceGroup: "lists";
701
+ };
702
+ readonly 'lists.setType': {
703
+ readonly memberPath: "lists.setType";
704
+ readonly description: "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.";
705
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the list is already the requested kind and no sequences were merged.";
706
+ readonly requiresDocumentContext: true;
707
+ readonly metadata: CommandStaticMetadata;
708
+ readonly referenceDocPath: "lists/set-type.mdx";
709
+ readonly referenceGroup: "lists";
710
+ readonly intentGroup: "list";
711
+ readonly intentAction: "set_type";
712
+ };
713
+ readonly 'lists.captureTemplate': {
714
+ readonly memberPath: "lists.captureTemplate";
715
+ readonly description: "Advanced alias for lists.getStyle. Capture list formatting from the abstract definition only (does not merge lvlOverride formatting).";
716
+ readonly expectedResult: "Returns a ListsCaptureTemplateResult containing the captured template.";
717
+ readonly requiresDocumentContext: true;
718
+ readonly metadata: CommandStaticMetadata;
719
+ readonly referenceDocPath: "lists/capture-template.mdx";
720
+ readonly referenceGroup: "lists";
721
+ };
722
+ readonly 'lists.setLevelNumbering': {
723
+ readonly memberPath: "lists.setLevelNumbering";
724
+ readonly description: "Advanced alias for lists.setLevelNumberStyle/setLevelText/setLevelStart. Set format, pattern, and start in one call (abstract-scoped, no clone-on-write).";
725
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the level already matches.";
726
+ readonly requiresDocumentContext: true;
727
+ readonly metadata: CommandStaticMetadata;
728
+ readonly referenceDocPath: "lists/set-level-numbering.mdx";
729
+ readonly referenceGroup: "lists";
730
+ };
731
+ readonly 'lists.setLevelBullet': {
732
+ readonly memberPath: "lists.setLevelBullet";
733
+ readonly description: "Set the bullet marker text for a specific list level.";
734
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the marker already matches.";
735
+ readonly requiresDocumentContext: true;
736
+ readonly metadata: CommandStaticMetadata;
737
+ readonly referenceDocPath: "lists/set-level-bullet.mdx";
738
+ readonly referenceGroup: "lists";
739
+ };
740
+ readonly 'lists.setLevelPictureBullet': {
741
+ readonly memberPath: "lists.setLevelPictureBullet";
742
+ readonly description: "Set a picture bullet for a specific list level by its OOXML lvlPicBulletId.";
743
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the picture bullet already matches.";
744
+ readonly requiresDocumentContext: true;
745
+ readonly metadata: CommandStaticMetadata;
746
+ readonly referenceDocPath: "lists/set-level-picture-bullet.mdx";
747
+ readonly referenceGroup: "lists";
748
+ };
749
+ readonly 'lists.setLevelAlignment': {
750
+ readonly memberPath: "lists.setLevelAlignment";
751
+ readonly description: "Set the marker alignment (left, center, right) for a specific list level.";
752
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the alignment already matches.";
753
+ readonly requiresDocumentContext: true;
754
+ readonly metadata: CommandStaticMetadata;
755
+ readonly referenceDocPath: "lists/set-level-alignment.mdx";
756
+ readonly referenceGroup: "lists";
757
+ };
758
+ readonly 'lists.setLevelIndents': {
759
+ readonly memberPath: "lists.setLevelIndents";
760
+ readonly description: "Set the paragraph indentation values (left, hanging, firstLine) for a specific list level.";
761
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if all indent values already match.";
762
+ readonly requiresDocumentContext: true;
763
+ readonly metadata: CommandStaticMetadata;
764
+ readonly referenceDocPath: "lists/set-level-indents.mdx";
765
+ readonly referenceGroup: "lists";
766
+ };
767
+ readonly 'lists.setLevelTrailingCharacter': {
768
+ readonly memberPath: "lists.setLevelTrailingCharacter";
769
+ readonly description: "Set the trailing character (tab, space, nothing) after the marker for a specific list level.";
770
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the trailing character already matches.";
771
+ readonly requiresDocumentContext: true;
772
+ readonly metadata: CommandStaticMetadata;
773
+ readonly referenceDocPath: "lists/set-level-trailing-character.mdx";
774
+ readonly referenceGroup: "lists";
775
+ };
776
+ readonly 'lists.setLevelMarkerFont': {
777
+ readonly memberPath: "lists.setLevelMarkerFont";
778
+ readonly description: "Set the font family used for the marker character at a specific list level.";
779
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the font already matches.";
780
+ readonly requiresDocumentContext: true;
781
+ readonly metadata: CommandStaticMetadata;
782
+ readonly referenceDocPath: "lists/set-level-marker-font.mdx";
783
+ readonly referenceGroup: "lists";
784
+ };
785
+ readonly 'lists.clearLevelOverrides': {
786
+ readonly memberPath: "lists.clearLevelOverrides";
787
+ readonly description: "Remove instance-level overrides for a specific list level, restoring abstract definition values.";
788
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if no override exists.";
789
+ readonly requiresDocumentContext: true;
790
+ readonly metadata: CommandStaticMetadata;
791
+ readonly referenceDocPath: "lists/clear-level-overrides.mdx";
792
+ readonly referenceGroup: "lists";
793
+ };
794
+ readonly 'lists.getStyle': {
795
+ readonly memberPath: "lists.getStyle";
796
+ readonly description: "Read the effective reusable style of a list, including instance-level overrides. Returns a ListStyle that can be applied to other lists via lists.applyStyle.";
797
+ readonly expectedResult: "Returns a ListsGetStyleResult containing the captured style.";
798
+ readonly requiresDocumentContext: true;
799
+ readonly metadata: CommandStaticMetadata;
800
+ readonly referenceDocPath: "lists/get-style.mdx";
801
+ readonly referenceGroup: "lists";
802
+ };
803
+ readonly 'lists.applyStyle': {
804
+ readonly memberPath: "lists.applyStyle";
805
+ readonly description: "Apply a reusable list style to the target list. Sequence-local: if the abstract definition is shared with other lists, it is cloned first to avoid affecting them.";
806
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if all levels already match.";
807
+ readonly requiresDocumentContext: true;
808
+ readonly metadata: CommandStaticMetadata;
809
+ readonly referenceDocPath: "lists/apply-style.mdx";
810
+ readonly referenceGroup: "lists";
811
+ };
812
+ readonly 'lists.restartAt': {
813
+ readonly memberPath: "lists.restartAt";
814
+ readonly description: "Restart numbering at the target list item with a specific value. If the item is mid-sequence, it is separated first.";
815
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt.";
816
+ readonly requiresDocumentContext: true;
817
+ readonly metadata: CommandStaticMetadata;
818
+ readonly referenceDocPath: "lists/restart-at.mdx";
819
+ readonly referenceGroup: "lists";
820
+ };
821
+ readonly 'lists.setLevelNumberStyle': {
822
+ readonly memberPath: "lists.setLevelNumberStyle";
823
+ readonly description: "Set the numbering style (e.g. decimal, lowerLetter, upperRoman) for a specific list level. Rejects \"bullet\": use setLevelBullet instead. Sequence-local: clones shared definitions.";
824
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the value already matches.";
825
+ readonly requiresDocumentContext: true;
826
+ readonly metadata: CommandStaticMetadata;
827
+ readonly referenceDocPath: "lists/set-level-number-style.mdx";
828
+ readonly referenceGroup: "lists";
829
+ };
830
+ readonly 'lists.setLevelText': {
831
+ readonly memberPath: "lists.setLevelText";
832
+ readonly description: "Set the level text pattern (e.g. \"%1.\", \"(%1)\") for a specific list level. Uses OOXML level-placeholder syntax. Sequence-local: clones shared definitions.";
833
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the value already matches.";
834
+ readonly requiresDocumentContext: true;
835
+ readonly metadata: CommandStaticMetadata;
836
+ readonly referenceDocPath: "lists/set-level-text.mdx";
837
+ readonly referenceGroup: "lists";
838
+ };
839
+ readonly 'lists.setLevelStart': {
840
+ readonly memberPath: "lists.setLevelStart";
841
+ readonly description: "Set the start value for a specific list level. Rejects bullet levels and non-positive values. Sequence-local: clones shared definitions.";
842
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if the value already matches.";
843
+ readonly requiresDocumentContext: true;
844
+ readonly metadata: CommandStaticMetadata;
845
+ readonly referenceDocPath: "lists/set-level-start.mdx";
846
+ readonly referenceGroup: "lists";
847
+ };
848
+ readonly 'lists.setLevelLayout': {
849
+ readonly memberPath: "lists.setLevelLayout";
850
+ readonly description: "Set the layout properties (alignment, indentation, trailing character, tab stop) for a specific list level. Accepts partial updates: omitted fields are left unchanged. Sequence-local: clones shared definitions.";
851
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt; reports NO_OP if all values already match.";
852
+ readonly requiresDocumentContext: true;
853
+ readonly metadata: CommandStaticMetadata;
854
+ readonly referenceDocPath: "lists/set-level-layout.mdx";
855
+ readonly referenceGroup: "lists";
856
+ };
857
+ readonly 'lists.getState': {
858
+ readonly memberPath: "lists.getState";
859
+ readonly description: string;
860
+ readonly expectedResult: "Returns a ListsGetStateResult with `isListItem` plus numId/ilvl/abstract/numFmt metadata when present.";
861
+ readonly requiresDocumentContext: true;
862
+ readonly metadata: CommandStaticMetadata;
863
+ readonly referenceDocPath: "lists/get-state.mdx";
864
+ readonly referenceGroup: "lists";
865
+ };
866
+ readonly 'lists.apply': {
867
+ readonly memberPath: "lists.apply";
868
+ readonly description: string;
869
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt with txId; partsChanged includes numbering / content-types / rels when first-list materialization fires.";
870
+ readonly requiresDocumentContext: true;
871
+ readonly metadata: CommandStaticMetadata;
872
+ readonly referenceDocPath: "lists/apply.mdx";
873
+ readonly referenceGroup: "lists";
874
+ };
875
+ readonly 'lists.continue': {
876
+ readonly memberPath: "lists.continue";
877
+ readonly description: string;
878
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt with txId.";
879
+ readonly requiresDocumentContext: true;
880
+ readonly metadata: CommandStaticMetadata;
881
+ readonly referenceDocPath: "lists/continue.mdx";
882
+ readonly referenceGroup: "lists";
883
+ };
884
+ readonly 'lists.restart': {
885
+ readonly memberPath: "lists.restart";
886
+ readonly description: string;
887
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt with txId; partsChanged includes /word/numbering.xml.";
888
+ readonly requiresDocumentContext: true;
889
+ readonly metadata: CommandStaticMetadata;
890
+ readonly referenceDocPath: "lists/restart.mdx";
891
+ readonly referenceGroup: "lists";
892
+ };
893
+ readonly 'lists.remove': {
894
+ readonly memberPath: "lists.remove";
895
+ readonly description: string;
896
+ readonly expectedResult: "Returns a ListsMutateItemResult receipt with txId.";
897
+ readonly requiresDocumentContext: true;
898
+ readonly metadata: CommandStaticMetadata;
899
+ readonly referenceDocPath: "lists/remove.mdx";
900
+ readonly referenceGroup: "lists";
901
+ };
902
+ readonly 'comments.create': {
903
+ readonly memberPath: "comments.create";
904
+ readonly description: "Create a new comment thread (or reply when parentCommentId is given). Accepts TextAddress / TextTarget anchors, or a TrackedChangeCommentTarget that names a logical tracked-change id. The tracked-change target accepts both the explicit kind form and the Labs-compatible trackedChangeId-only form; the adapter normalizes it to a Word-compatible content anchor on the requested revision side.";
905
+ readonly expectedResult: "Returns a Receipt with the new commentId in `id` and `inserted` on success; rejects whitespace-only bodies, unsupported anchor contexts, and cross-story targets. Tracked-change comment targets support insertion, deletion, replacement, and paired-move revisions; they fail with `TARGET_NOT_FOUND` for stale ids, `CAPABILITY_UNAVAILABLE` for formatting / structural revisions and unpaired move sides, and `INVALID_TARGET` for incompatible side requests or ambiguous replacement targets that omit a required `side`.";
906
+ readonly requiresDocumentContext: true;
907
+ readonly metadata: CommandStaticMetadata;
908
+ readonly referenceDocPath: "comments/create.mdx";
909
+ readonly referenceGroup: "comments";
910
+ readonly intentGroup: "comment";
911
+ readonly intentAction: "create";
912
+ };
913
+ readonly 'comments.patch': {
914
+ readonly memberPath: "comments.patch";
915
+ readonly description: "Patch exactly one field on an existing comment (`text`, `target`, `status`, or `isInternal`). The `target` branch accepts a plain TextAddress or a TrackedChangeCommentTarget, with or without `kind: \"trackedChange\"`, that names a logical tracked-change id. The legacy `isInternal` input sets or clears the `sdcom:internal` attribute for v1 backward compatibility. Multi-field patches and no-op edits are rejected with `INVALID_INPUT`; reply target / status patches are rejected with `INVALID_CONTEXT`.";
916
+ readonly expectedResult: "Returns a Receipt with `updated` populated on success. Reports `NO_OP` for byte-identical edits, rejects empty-body / trim-equivalent edits with `INVALID_INPUT`, no-op resolve/reopen/setInternal with `INVALID_INPUT`, reply target/status with `INVALID_CONTEXT`, cross-story moves with `INVALID_CONTEXT`, materializing inherited slot moves with `CAPABILITY_UNAVAILABLE`, stale tracked-change targets with `TARGET_NOT_FOUND`, and formatting / structural / unpaired-move tracked-change targets with `CAPABILITY_UNAVAILABLE`.";
917
+ readonly requiresDocumentContext: true;
918
+ readonly metadata: CommandStaticMetadata;
919
+ readonly referenceDocPath: "comments/patch.mdx";
920
+ readonly referenceGroup: "comments";
921
+ readonly intentGroup: "comment";
922
+ readonly intentAction: "update";
923
+ };
924
+ readonly 'comments.delete': {
925
+ readonly memberPath: "comments.delete";
926
+ readonly description: "Remove the targeted comment or reply by ID. Deleting a root does not delete descendant replies.";
927
+ readonly expectedResult: "Returns a Receipt with the targeted removed commentId in `removed` and every story touched in `affectedStories`. Rejects with `TARGET_NOT_FOUND` when the comment id does not exist and reports `NO_OP` when the command layer accepts the target but removes nothing.";
928
+ readonly requiresDocumentContext: true;
929
+ readonly metadata: CommandStaticMetadata;
930
+ readonly referenceDocPath: "comments/delete.mdx";
931
+ readonly referenceGroup: "comments";
932
+ readonly intentGroup: "comment";
933
+ readonly intentAction: "delete";
934
+ };
935
+ readonly 'comments.get': {
936
+ readonly memberPath: "comments.get";
937
+ readonly description: "Retrieve a single comment thread by ID.";
938
+ readonly expectedResult: "Returns a CommentInfo object with the comment text, author, date, and thread metadata.";
939
+ readonly requiresDocumentContext: true;
940
+ readonly metadata: CommandStaticMetadata;
941
+ readonly referenceDocPath: "comments/get.mdx";
942
+ readonly referenceGroup: "comments";
943
+ readonly intentGroup: "comment";
944
+ readonly intentAction: "get";
945
+ };
946
+ readonly 'comments.list': {
947
+ readonly memberPath: "comments.list";
948
+ readonly description: "List all comment threads in the document.";
949
+ readonly expectedResult: "Returns a CommentsListResult with an array of comment threads and total count.";
950
+ readonly requiresDocumentContext: true;
951
+ readonly metadata: CommandStaticMetadata;
952
+ readonly referenceDocPath: "comments/list.mdx";
953
+ readonly referenceGroup: "comments";
954
+ readonly intentGroup: "comment";
955
+ readonly intentAction: "list";
956
+ };
957
+ readonly 'trackChanges.list': {
958
+ readonly memberPath: "trackChanges.list";
959
+ readonly description: "List tracked changes in the document. Body-only by default; pass `in: <StoryLocator>` or `in: \"all\"` to widen scope.";
960
+ readonly expectedResult: "Returns a TrackChangesListResult of logical tracked-change entries with SuperDoc ids, semantic type/subtype, author/date/excerpt, revisionGroupId, flat projection fields (`grouping`, `insertedText`, `deletedText`, `formattingDeltaSummary`, `origin`, `imported`, `canonicalizationKind`, `addressKind`, `resolvableById`), optional overlap metadata, and source provenance via `sourceIds` / `wordRevisionIds`. Structural whole-table changes surface subtypes such as `table-insert` and `table-delete`.";
961
+ readonly requiresDocumentContext: true;
962
+ readonly metadata: CommandStaticMetadata;
963
+ readonly referenceDocPath: "track-changes/list.mdx";
964
+ readonly referenceGroup: "trackChanges";
965
+ readonly intentGroup: "track_changes";
966
+ readonly intentAction: "list";
967
+ };
968
+ readonly 'trackChanges.get': {
969
+ readonly memberPath: "trackChanges.get";
970
+ readonly description: "Retrieve a single tracked change by SuperDoc logical id.";
971
+ readonly expectedResult: "Returns a TrackChangeInfo object with the logical id, semantic type/subtype, state, target, before/after snapshots, author/initials/email, date, revisionGroupId, splitFromId, replacement or move side metadata when applicable, story locator, excerpt, optional overlap metadata, and source provenance via `sourceIds` / `wordRevisionIds`. Structural whole-table changes surface subtypes such as `table-insert` and `table-delete`.";
972
+ readonly requiresDocumentContext: true;
973
+ readonly metadata: CommandStaticMetadata;
974
+ readonly referenceDocPath: "track-changes/get.mdx";
975
+ readonly referenceGroup: "trackChanges";
976
+ };
977
+ readonly 'trackChanges.decide': {
978
+ readonly memberPath: "trackChanges.decide";
979
+ readonly description: "Accept or reject tracked changes by logical id, by several logical ids atomically, by selected text range, by logical anchor range ({ anchor, relativeStart, relativeEnd }), or every active change in the document. Range targets may include overlap / side selectors and may partially resolve a change, splitting surviving content into new fragments with stable ids. Legacy `{ id, range: { kind: \"partial\", ... } }` targets are promoted only when the active adapter supports `decide()`; legacy fallback adapters fail closed with `INVALID_INPUT`. `input.expectedRevision` is accepted as a compatibility alias for mutation options.";
980
+ readonly expectedResult: "Returns a Receipt. `removed` lists retired tracked-change ids; `inserted` lists successor fragment ids produced by partial range splits; `invalidatedRefs` lists every retired tracked-change ref plus cascade-deleted comment ids; `remappedRefs` carries surviving comment anchors moved by the decision; `affectedStories` lists touched stories; `textRangeShifts` reports per-story visible-text deltas; `txId` correlates with history. Failures: SPAN_FRAGMENTED when a range crosses an indivisible boundary, CAPABILITY_UNAVAILABLE for formatting / structural / move targets (not yet supported), TARGET_NOT_FOUND for retired ids or zero overlap, STALE_REVISION for stale expectedRevision, REVISION_MISMATCH for stale range coverage, NO_OP when { kind: 'all' } resolves an empty target set.";
981
+ readonly requiresDocumentContext: true;
982
+ readonly metadata: CommandStaticMetadata;
983
+ readonly referenceDocPath: "track-changes/decide.mdx";
984
+ readonly referenceGroup: "trackChanges";
985
+ readonly intentGroup: "track_changes";
986
+ readonly intentAction: "decide";
987
+ };
988
+ readonly 'query.match': {
989
+ readonly memberPath: "query.match";
990
+ readonly description: "Deterministic selector-based search returning mutation-grade addresses and text ranges. Use this to discover targets before any mutation.";
991
+ readonly expectedResult: "Returns a QueryMatchOutput with the resolved target address and cardinality metadata.";
992
+ readonly requiresDocumentContext: true;
993
+ readonly metadata: CommandStaticMetadata;
994
+ readonly referenceDocPath: "query/match.mdx";
995
+ readonly referenceGroup: "query";
996
+ readonly intentGroup: "search";
997
+ readonly intentAction: "match";
998
+ };
999
+ readonly 'ranges.resolve': {
1000
+ readonly memberPath: "ranges.resolve";
1001
+ readonly description: "Resolve two explicit anchors into a contiguous document range. Returns a transparent SelectionTarget, handle metadata, and preview metadata. handle.ref is nullable and present only when the resolved range is mutation-ready; callers must check handle.ref !== null and/or coversFullTarget before using it for mutations. Stateless and deterministic.";
1002
+ readonly expectedResult: "Returns a ResolveRangeOutput with evaluatedRevision, handle.ref may be null, handle.coversFullTarget, target (SelectionTarget), and preview metadata.";
1003
+ readonly requiresDocumentContext: true;
1004
+ readonly metadata: CommandStaticMetadata;
1005
+ readonly referenceDocPath: "ranges/resolve.mdx";
1006
+ readonly referenceGroup: "ranges";
1007
+ };
1008
+ readonly 'selection.current': {
1009
+ readonly memberPath: "selection.current";
1010
+ readonly description: "Read the editor's current selection as a portable SelectionInfo with a text-anchored TextTarget. Primitive for building custom comments UIs, floating toolbars, and other selection-driven components without reaching into ProseMirror internals.";
1011
+ readonly expectedResult: "Returns a SelectionInfo with `empty`, `target` (TextTarget or null), optional `selectionTarget`, `activeMarks`, and optionally `text` when `includeText: true`.";
1012
+ readonly requiresDocumentContext: true;
1013
+ readonly metadata: CommandStaticMetadata;
1014
+ readonly referenceDocPath: "selection/current.mdx";
1015
+ readonly referenceGroup: "selection";
1016
+ };
1017
+ readonly 'mutations.preview': {
1018
+ readonly memberPath: "mutations.preview";
1019
+ readonly description: "Dry-run a mutation plan, returning resolved targets without applying changes.";
1020
+ readonly expectedResult: "Returns a MutationsPreviewOutput with resolved targets and step details without applying changes.";
1021
+ readonly requiresDocumentContext: true;
1022
+ readonly metadata: CommandStaticMetadata;
1023
+ readonly referenceDocPath: "mutations/preview.mdx";
1024
+ readonly referenceGroup: "mutations";
1025
+ readonly intentGroup: "mutations";
1026
+ readonly intentAction: "preview";
1027
+ };
1028
+ readonly 'mutations.apply': {
1029
+ readonly memberPath: "mutations.apply";
1030
+ readonly description: "Execute a mutation plan atomically against the document.";
1031
+ readonly expectedResult: "Returns a PlanReceipt with per-step results for the atomically applied mutation plan.";
1032
+ readonly requiresDocumentContext: true;
1033
+ readonly metadata: CommandStaticMetadata;
1034
+ readonly referenceDocPath: "mutations/apply.mdx";
1035
+ readonly referenceGroup: "mutations";
1036
+ readonly intentGroup: "mutations";
1037
+ readonly intentAction: "apply";
1038
+ };
1039
+ readonly 'plan.execute': {
1040
+ readonly memberPath: "plan.execute";
1041
+ readonly description: string;
1042
+ readonly expectedResult: "Returns a PlanExecuteResult with per-entry receipts, projected captures, and the first hard failure if any.";
1043
+ readonly requiresDocumentContext: true;
1044
+ readonly metadata: CommandStaticMetadata;
1045
+ readonly referenceDocPath: "mutations/plan-execute.mdx";
1046
+ readonly referenceGroup: "mutations";
1047
+ readonly skipAsATool: true;
1048
+ };
1049
+ readonly 'capabilities.get': {
1050
+ readonly memberPath: "capabilities";
1051
+ readonly description: "Query runtime capabilities supported by the current document engine.";
1052
+ readonly expectedResult: "Returns a DocumentApiCapabilities object describing supported features of the current engine.";
1053
+ readonly requiresDocumentContext: false;
1054
+ readonly metadata: CommandStaticMetadata;
1055
+ readonly referenceDocPath: "capabilities/get.mdx";
1056
+ readonly referenceGroup: "capabilities";
1057
+ };
1058
+ readonly 'create.table': {
1059
+ readonly memberPath: "create.table";
1060
+ readonly description: "Create a new table at the target position.";
1061
+ readonly expectedResult: "Returns a CreateTableResult with the new table block ID and address.";
1062
+ readonly requiresDocumentContext: true;
1063
+ readonly metadata: CommandStaticMetadata;
1064
+ readonly referenceDocPath: "create/table.mdx";
1065
+ readonly referenceGroup: "create";
1066
+ readonly intentGroup: "create";
1067
+ readonly intentAction: "table";
1068
+ };
1069
+ readonly 'tables.convertFromText': {
1070
+ readonly memberPath: "tables.convertFromText";
1071
+ readonly description: "Convert a text range into a table.";
1072
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming text was converted into a table.";
1073
+ readonly requiresDocumentContext: true;
1074
+ readonly metadata: CommandStaticMetadata;
1075
+ readonly referenceDocPath: "tables/convert-from-text.mdx";
1076
+ readonly referenceGroup: "tables";
1077
+ };
1078
+ readonly 'tables.delete': {
1079
+ readonly memberPath: "tables.delete";
1080
+ readonly description: "Delete the target table from the document.";
1081
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the table was already removed.";
1082
+ readonly requiresDocumentContext: true;
1083
+ readonly metadata: CommandStaticMetadata;
1084
+ readonly referenceDocPath: "tables/delete.mdx";
1085
+ readonly referenceGroup: "tables";
1086
+ readonly intentGroup: "table";
1087
+ readonly intentAction: "delete";
1088
+ };
1089
+ readonly 'tables.clearContents': {
1090
+ readonly memberPath: "tables.clearContents";
1091
+ readonly description: "Clear the contents of the target table or cell range.";
1092
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the target cells are already empty.";
1093
+ readonly requiresDocumentContext: true;
1094
+ readonly metadata: CommandStaticMetadata;
1095
+ readonly referenceDocPath: "tables/clear-contents.mdx";
1096
+ readonly referenceGroup: "tables";
1097
+ };
1098
+ readonly 'tables.move': {
1099
+ readonly memberPath: "tables.move";
1100
+ readonly description: "Move a table to a new position in the document.";
1101
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the table is already at the target position.";
1102
+ readonly requiresDocumentContext: true;
1103
+ readonly metadata: CommandStaticMetadata;
1104
+ readonly referenceDocPath: "tables/move.mdx";
1105
+ readonly referenceGroup: "tables";
1106
+ };
1107
+ readonly 'tables.split': {
1108
+ readonly memberPath: "tables.split";
1109
+ readonly description: "Split a table into two tables at the target row.";
1110
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming the table was split at the target row.";
1111
+ readonly requiresDocumentContext: true;
1112
+ readonly metadata: CommandStaticMetadata;
1113
+ readonly referenceDocPath: "tables/split.mdx";
1114
+ readonly referenceGroup: "tables";
1115
+ };
1116
+ readonly 'tables.convertToText': {
1117
+ readonly memberPath: "tables.convertToText";
1118
+ readonly description: "Convert a table back to plain text.";
1119
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the table has no content to convert.";
1120
+ readonly requiresDocumentContext: true;
1121
+ readonly metadata: CommandStaticMetadata;
1122
+ readonly referenceDocPath: "tables/convert-to-text.mdx";
1123
+ readonly referenceGroup: "tables";
1124
+ };
1125
+ readonly 'tables.setLayout': {
1126
+ readonly memberPath: "tables.setLayout";
1127
+ readonly description: "Set the layout mode of the target table.";
1128
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the table already uses the requested layout mode.";
1129
+ readonly requiresDocumentContext: true;
1130
+ readonly metadata: CommandStaticMetadata;
1131
+ readonly referenceDocPath: "tables/set-layout.mdx";
1132
+ readonly referenceGroup: "tables";
1133
+ readonly intentGroup: "table";
1134
+ readonly intentAction: "set_layout";
1135
+ };
1136
+ readonly 'tables.insertRow': {
1137
+ readonly memberPath: "tables.insertRow";
1138
+ readonly description: "Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.";
1139
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming a row was inserted.";
1140
+ readonly requiresDocumentContext: true;
1141
+ readonly metadata: CommandStaticMetadata;
1142
+ readonly referenceDocPath: "tables/insert-row.mdx";
1143
+ readonly referenceGroup: "tables";
1144
+ readonly intentGroup: "table";
1145
+ readonly intentAction: "insert_row";
1146
+ };
1147
+ readonly 'tables.deleteRow': {
1148
+ readonly memberPath: "tables.deleteRow";
1149
+ readonly description: "Delete a row from the target table.";
1150
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the target row does not exist.";
1151
+ readonly requiresDocumentContext: true;
1152
+ readonly metadata: CommandStaticMetadata;
1153
+ readonly referenceDocPath: "tables/delete-row.mdx";
1154
+ readonly referenceGroup: "tables";
1155
+ readonly intentGroup: "table";
1156
+ readonly intentAction: "delete_row";
1157
+ };
1158
+ readonly 'tables.moveRow': {
1159
+ readonly memberPath: "tables.moveRow";
1160
+ readonly description: string;
1161
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the row is already at the requested position.";
1162
+ readonly requiresDocumentContext: true;
1163
+ readonly metadata: CommandStaticMetadata;
1164
+ readonly referenceDocPath: "tables/move-row.mdx";
1165
+ readonly referenceGroup: "tables";
1166
+ readonly intentGroup: "table";
1167
+ readonly intentAction: "move_row";
1168
+ };
1169
+ readonly 'tables.setRowHeight': {
1170
+ readonly memberPath: "tables.setRowHeight";
1171
+ readonly description: "Set the height of a table row.";
1172
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the row height already matches.";
1173
+ readonly requiresDocumentContext: true;
1174
+ readonly metadata: CommandStaticMetadata;
1175
+ readonly referenceDocPath: "tables/set-row-height.mdx";
1176
+ readonly referenceGroup: "tables";
1177
+ readonly intentGroup: "table";
1178
+ readonly intentAction: "set_row";
1179
+ };
1180
+ readonly 'tables.distributeRows': {
1181
+ readonly memberPath: "tables.distributeRows";
1182
+ readonly description: "Distribute row heights evenly across the target table.";
1183
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if row heights are already equal.";
1184
+ readonly requiresDocumentContext: true;
1185
+ readonly metadata: CommandStaticMetadata;
1186
+ readonly referenceDocPath: "tables/distribute-rows.mdx";
1187
+ readonly referenceGroup: "tables";
1188
+ };
1189
+ readonly 'tables.setRowOptions': {
1190
+ readonly memberPath: "tables.setRowOptions";
1191
+ readonly description: "Set options on a table row such as header repeat or page break.";
1192
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if row options already match.";
1193
+ readonly requiresDocumentContext: true;
1194
+ readonly metadata: CommandStaticMetadata;
1195
+ readonly referenceDocPath: "tables/set-row-options.mdx";
1196
+ readonly referenceGroup: "tables";
1197
+ readonly intentGroup: "table";
1198
+ readonly intentAction: "set_row_options";
1199
+ };
1200
+ readonly 'tables.insertColumn': {
1201
+ readonly memberPath: "tables.insertColumn";
1202
+ readonly description: "Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.";
1203
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming a column was inserted.";
1204
+ readonly requiresDocumentContext: true;
1205
+ readonly metadata: CommandStaticMetadata;
1206
+ readonly referenceDocPath: "tables/insert-column.mdx";
1207
+ readonly referenceGroup: "tables";
1208
+ readonly intentGroup: "table";
1209
+ readonly intentAction: "insert_column";
1210
+ };
1211
+ readonly 'tables.deleteColumn': {
1212
+ readonly memberPath: "tables.deleteColumn";
1213
+ readonly description: "Delete a column from the target table.";
1214
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the target column does not exist.";
1215
+ readonly requiresDocumentContext: true;
1216
+ readonly metadata: CommandStaticMetadata;
1217
+ readonly referenceDocPath: "tables/delete-column.mdx";
1218
+ readonly referenceGroup: "tables";
1219
+ readonly intentGroup: "table";
1220
+ readonly intentAction: "delete_column";
1221
+ };
1222
+ readonly 'tables.setColumnWidth': {
1223
+ readonly memberPath: "tables.setColumnWidth";
1224
+ readonly description: "Set the width of a table column.";
1225
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the column width already matches.";
1226
+ readonly requiresDocumentContext: true;
1227
+ readonly metadata: CommandStaticMetadata;
1228
+ readonly referenceDocPath: "tables/set-column-width.mdx";
1229
+ readonly referenceGroup: "tables";
1230
+ readonly intentGroup: "table";
1231
+ readonly intentAction: "set_column";
1232
+ };
1233
+ readonly 'tables.distributeColumns': {
1234
+ readonly memberPath: "tables.distributeColumns";
1235
+ readonly description: "Distribute column widths evenly across the target table.";
1236
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if column widths are already equal.";
1237
+ readonly requiresDocumentContext: true;
1238
+ readonly metadata: CommandStaticMetadata;
1239
+ readonly referenceDocPath: "tables/distribute-columns.mdx";
1240
+ readonly referenceGroup: "tables";
1241
+ };
1242
+ readonly 'tables.insertCell': {
1243
+ readonly memberPath: "tables.insertCell";
1244
+ readonly description: "Insert a new cell into a table row.";
1245
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming a cell was inserted.";
1246
+ readonly requiresDocumentContext: true;
1247
+ readonly metadata: CommandStaticMetadata;
1248
+ readonly referenceDocPath: "tables/insert-cell.mdx";
1249
+ readonly referenceGroup: "tables";
1250
+ };
1251
+ readonly 'tables.deleteCell': {
1252
+ readonly memberPath: "tables.deleteCell";
1253
+ readonly description: "Delete a cell from a table row.";
1254
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the target cell does not exist.";
1255
+ readonly requiresDocumentContext: true;
1256
+ readonly metadata: CommandStaticMetadata;
1257
+ readonly referenceDocPath: "tables/delete-cell.mdx";
1258
+ readonly referenceGroup: "tables";
1259
+ };
1260
+ readonly 'tables.mergeCells': {
1261
+ readonly memberPath: "tables.mergeCells";
1262
+ readonly description: "Merge a range of table cells into one.";
1263
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the cells are already merged.";
1264
+ readonly requiresDocumentContext: true;
1265
+ readonly metadata: CommandStaticMetadata;
1266
+ readonly referenceDocPath: "tables/merge-cells.mdx";
1267
+ readonly referenceGroup: "tables";
1268
+ readonly intentGroup: "table";
1269
+ readonly intentAction: "merge_cells";
1270
+ };
1271
+ readonly 'tables.unmergeCells': {
1272
+ readonly memberPath: "tables.unmergeCells";
1273
+ readonly description: "Unmerge a previously merged table cell.";
1274
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the cell is not merged.";
1275
+ readonly requiresDocumentContext: true;
1276
+ readonly metadata: CommandStaticMetadata;
1277
+ readonly referenceDocPath: "tables/unmerge-cells.mdx";
1278
+ readonly referenceGroup: "tables";
1279
+ readonly intentGroup: "table";
1280
+ readonly intentAction: "unmerge_cells";
1281
+ };
1282
+ readonly 'tables.splitCell': {
1283
+ readonly memberPath: "tables.splitCell";
1284
+ readonly description: "Split a table cell into multiple cells.";
1285
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming the cell was split.";
1286
+ readonly requiresDocumentContext: true;
1287
+ readonly metadata: CommandStaticMetadata;
1288
+ readonly referenceDocPath: "tables/split-cell.mdx";
1289
+ readonly referenceGroup: "tables";
1290
+ };
1291
+ readonly 'tables.setCellProperties': {
1292
+ readonly memberPath: "tables.setCellProperties";
1293
+ readonly description: string;
1294
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if cell properties already match.";
1295
+ readonly requiresDocumentContext: true;
1296
+ readonly metadata: CommandStaticMetadata;
1297
+ readonly referenceDocPath: "tables/set-cell-properties.mdx";
1298
+ readonly referenceGroup: "tables";
1299
+ readonly intentGroup: "table";
1300
+ readonly intentAction: "set_cell";
1301
+ };
1302
+ readonly 'tables.setCellText': {
1303
+ readonly memberPath: "tables.setCellText";
1304
+ readonly description: string;
1305
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the cell already contains exactly this text.";
1306
+ readonly requiresDocumentContext: true;
1307
+ readonly metadata: CommandStaticMetadata;
1308
+ readonly referenceDocPath: "tables/set-cell-text.mdx";
1309
+ readonly referenceGroup: "tables";
1310
+ readonly intentGroup: "table";
1311
+ readonly intentAction: "set_cell_text";
1312
+ };
1313
+ readonly 'tables.sort': {
1314
+ readonly memberPath: "tables.sort";
1315
+ readonly description: "Sort table rows by a column value.";
1316
+ readonly expectedResult: "Returns a TableMutationResult receipt confirming rows were reordered.";
1317
+ readonly requiresDocumentContext: true;
1318
+ readonly metadata: CommandStaticMetadata;
1319
+ readonly referenceDocPath: "tables/sort.mdx";
1320
+ readonly referenceGroup: "tables";
1321
+ };
1322
+ readonly 'tables.setAltText': {
1323
+ readonly memberPath: "tables.setAltText";
1324
+ readonly description: "Set the alternative text description for a table.";
1325
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if alt text already matches.";
1326
+ readonly requiresDocumentContext: true;
1327
+ readonly metadata: CommandStaticMetadata;
1328
+ readonly referenceDocPath: "tables/set-alt-text.mdx";
1329
+ readonly referenceGroup: "tables";
1330
+ };
1331
+ readonly 'tables.setStyle': {
1332
+ readonly memberPath: "tables.setStyle";
1333
+ readonly description: "Apply a named table style to the target table, or clear the style when styleId is omitted.";
1334
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the table already uses the requested style or has no style to clear.";
1335
+ readonly requiresDocumentContext: true;
1336
+ readonly metadata: CommandStaticMetadata;
1337
+ readonly referenceDocPath: "tables/set-style.mdx";
1338
+ readonly referenceGroup: "tables";
1339
+ };
1340
+ readonly 'tables.clearStyle': {
1341
+ readonly memberPath: "tables.clearStyle";
1342
+ readonly description: "Remove the applied table style, reverting to defaults.";
1343
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if no table style is applied.";
1344
+ readonly requiresDocumentContext: true;
1345
+ readonly metadata: CommandStaticMetadata;
1346
+ readonly referenceDocPath: "tables/clear-style.mdx";
1347
+ readonly referenceGroup: "tables";
1348
+ };
1349
+ readonly 'tables.setStyleOption': {
1350
+ readonly memberPath: "tables.setStyleOption";
1351
+ readonly description: "Toggle a conditional style option such as banded rows or first column.";
1352
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the style option already matches.";
1353
+ readonly requiresDocumentContext: true;
1354
+ readonly metadata: CommandStaticMetadata;
1355
+ readonly referenceDocPath: "tables/set-style-option.mdx";
1356
+ readonly referenceGroup: "tables";
1357
+ };
1358
+ readonly 'tables.setBorder': {
1359
+ readonly memberPath: "tables.setBorder";
1360
+ readonly description: "Set border properties on a table or cell range.";
1361
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if border properties already match.";
1362
+ readonly requiresDocumentContext: true;
1363
+ readonly metadata: CommandStaticMetadata;
1364
+ readonly referenceDocPath: "tables/set-border.mdx";
1365
+ readonly referenceGroup: "tables";
1366
+ };
1367
+ readonly 'tables.clearBorder': {
1368
+ readonly memberPath: "tables.clearBorder";
1369
+ readonly description: "Remove border formatting from a table or cell range.";
1370
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if no borders are set.";
1371
+ readonly requiresDocumentContext: true;
1372
+ readonly metadata: CommandStaticMetadata;
1373
+ readonly referenceDocPath: "tables/clear-border.mdx";
1374
+ readonly referenceGroup: "tables";
1375
+ };
1376
+ readonly 'tables.applyBorderPreset': {
1377
+ readonly memberPath: "tables.applyBorderPreset";
1378
+ readonly description: "Apply a border preset (e.g. all borders, outside only) to a table.";
1379
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the preset is already applied.";
1380
+ readonly requiresDocumentContext: true;
1381
+ readonly metadata: CommandStaticMetadata;
1382
+ readonly referenceDocPath: "tables/apply-border-preset.mdx";
1383
+ readonly referenceGroup: "tables";
1384
+ };
1385
+ readonly 'tables.setShading': {
1386
+ readonly memberPath: "tables.setShading";
1387
+ readonly description: "Set the background shading color on a table or cell range.";
1388
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if shading already matches.";
1389
+ readonly requiresDocumentContext: true;
1390
+ readonly metadata: CommandStaticMetadata;
1391
+ readonly referenceDocPath: "tables/set-shading.mdx";
1392
+ readonly referenceGroup: "tables";
1393
+ readonly intentGroup: "table";
1394
+ readonly intentAction: "set_shading";
1395
+ };
1396
+ readonly 'tables.clearShading': {
1397
+ readonly memberPath: "tables.clearShading";
1398
+ readonly description: "Remove shading from a table or cell range.";
1399
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if no shading is set.";
1400
+ readonly requiresDocumentContext: true;
1401
+ readonly metadata: CommandStaticMetadata;
1402
+ readonly referenceDocPath: "tables/clear-shading.mdx";
1403
+ readonly referenceGroup: "tables";
1404
+ };
1405
+ readonly 'tables.setTablePadding': {
1406
+ readonly memberPath: "tables.setTablePadding";
1407
+ readonly description: "Set default cell padding for the entire table.";
1408
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if table padding already matches.";
1409
+ readonly requiresDocumentContext: true;
1410
+ readonly metadata: CommandStaticMetadata;
1411
+ readonly referenceDocPath: "tables/set-table-padding.mdx";
1412
+ readonly referenceGroup: "tables";
1413
+ };
1414
+ readonly 'tables.setCellPadding': {
1415
+ readonly memberPath: "tables.setCellPadding";
1416
+ readonly description: "Set padding on a specific table cell or cell range.";
1417
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if cell padding already matches.";
1418
+ readonly requiresDocumentContext: true;
1419
+ readonly metadata: CommandStaticMetadata;
1420
+ readonly referenceDocPath: "tables/set-cell-padding.mdx";
1421
+ readonly referenceGroup: "tables";
1422
+ };
1423
+ readonly 'tables.setCellSpacing': {
1424
+ readonly memberPath: "tables.setCellSpacing";
1425
+ readonly description: "Set the cell spacing for the target table.";
1426
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if cell spacing already matches.";
1427
+ readonly requiresDocumentContext: true;
1428
+ readonly metadata: CommandStaticMetadata;
1429
+ readonly referenceDocPath: "tables/set-cell-spacing.mdx";
1430
+ readonly referenceGroup: "tables";
1431
+ };
1432
+ readonly 'tables.clearCellSpacing': {
1433
+ readonly memberPath: "tables.clearCellSpacing";
1434
+ readonly description: "Remove custom cell spacing from the target table.";
1435
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if no custom cell spacing is set.";
1436
+ readonly requiresDocumentContext: true;
1437
+ readonly metadata: CommandStaticMetadata;
1438
+ readonly referenceDocPath: "tables/clear-cell-spacing.mdx";
1439
+ readonly referenceGroup: "tables";
1440
+ };
1441
+ readonly 'tables.applyStyle': {
1442
+ readonly memberPath: "tables.applyStyle";
1443
+ readonly description: string;
1444
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the style and all provided options already match.";
1445
+ readonly requiresDocumentContext: true;
1446
+ readonly metadata: CommandStaticMetadata;
1447
+ readonly referenceDocPath: "tables/apply-style.mdx";
1448
+ readonly referenceGroup: "tables";
1449
+ readonly intentGroup: "table";
1450
+ readonly intentAction: "set_style_options";
1451
+ };
1452
+ readonly 'tables.setBorders': {
1453
+ readonly memberPath: "tables.setBorders";
1454
+ readonly description: "Set borders on a table using a target set or per-edge patch.";
1455
+ readonly expectedResult: "Returns a TableMutationResult receipt. Does not perform NO_OP detection.";
1456
+ readonly requiresDocumentContext: true;
1457
+ readonly metadata: CommandStaticMetadata;
1458
+ readonly referenceDocPath: "tables/set-borders.mdx";
1459
+ readonly referenceGroup: "tables";
1460
+ readonly intentGroup: "table";
1461
+ readonly intentAction: "set_borders";
1462
+ };
1463
+ readonly 'tables.setTableOptions': {
1464
+ readonly memberPath: "tables.setTableOptions";
1465
+ readonly description: "Set table-level default cell margins and/or cell spacing.";
1466
+ readonly expectedResult: "Returns a TableMutationResult receipt; reports NO_OP if the provided values already match current direct formatting.";
1467
+ readonly requiresDocumentContext: true;
1468
+ readonly metadata: CommandStaticMetadata;
1469
+ readonly referenceDocPath: "tables/set-table-options.mdx";
1470
+ readonly referenceGroup: "tables";
1471
+ readonly intentGroup: "table";
1472
+ readonly intentAction: "set_options";
1473
+ };
1474
+ readonly 'tables.applyPreset': {
1475
+ readonly memberPath: "tables.applyPreset";
1476
+ readonly description: string;
1477
+ readonly expectedResult: "Returns a TableMutationResult receipt.";
1478
+ readonly requiresDocumentContext: true;
1479
+ readonly metadata: CommandStaticMetadata;
1480
+ readonly referenceDocPath: "tables/apply-preset.mdx";
1481
+ readonly referenceGroup: "tables";
1482
+ };
1483
+ readonly 'tables.get': {
1484
+ readonly memberPath: "tables.get";
1485
+ readonly description: "Retrieve table structure and dimensions by locator.";
1486
+ readonly expectedResult: "Returns a TablesGetOutput with the table row count, column count, and structural metadata.";
1487
+ readonly requiresDocumentContext: true;
1488
+ readonly metadata: CommandStaticMetadata;
1489
+ readonly referenceDocPath: "tables/get.mdx";
1490
+ readonly referenceGroup: "tables";
1491
+ };
1492
+ readonly 'tables.getCells': {
1493
+ readonly memberPath: "tables.getCells";
1494
+ readonly description: "Retrieve cell information for a table, optionally filtered by row or column.";
1495
+ readonly expectedResult: "Returns a TablesGetCellsOutput with cell information for the requested rows and columns.";
1496
+ readonly requiresDocumentContext: true;
1497
+ readonly metadata: CommandStaticMetadata;
1498
+ readonly referenceDocPath: "tables/get-cells.mdx";
1499
+ readonly referenceGroup: "tables";
1500
+ };
1501
+ readonly 'tables.getProperties': {
1502
+ readonly memberPath: "tables.getProperties";
1503
+ readonly description: "Retrieve layout and style properties of a table.";
1504
+ readonly expectedResult: "Returns a TablesGetPropertiesOutput with direct table layout and style state, including style options, borders, default cell margins, and cell spacing when explicitly set.";
1505
+ readonly requiresDocumentContext: true;
1506
+ readonly metadata: CommandStaticMetadata;
1507
+ readonly referenceDocPath: "tables/get-properties.mdx";
1508
+ readonly referenceGroup: "tables";
1509
+ };
1510
+ readonly 'tables.getStyles': {
1511
+ readonly memberPath: "tables.getStyles";
1512
+ readonly description: "List all table styles and the document-level default table style setting.";
1513
+ readonly expectedResult: "Returns a TablesGetStylesOutput with the style catalog, explicit default, and effective default.";
1514
+ readonly requiresDocumentContext: true;
1515
+ readonly metadata: CommandStaticMetadata;
1516
+ readonly referenceDocPath: "tables/get-styles.mdx";
1517
+ readonly referenceGroup: "tables";
1518
+ };
1519
+ readonly 'tables.setDefaultStyle': {
1520
+ readonly memberPath: "tables.setDefaultStyle";
1521
+ readonly description: "Set the document-level default table style (w:defaultTableStyle in settings.xml).";
1522
+ readonly expectedResult: "Returns a DocumentMutationResult; reports NO_OP if the default already matches.";
1523
+ readonly requiresDocumentContext: true;
1524
+ readonly metadata: CommandStaticMetadata;
1525
+ readonly referenceDocPath: "tables/set-default-style.mdx";
1526
+ readonly referenceGroup: "tables";
1527
+ };
1528
+ readonly 'tables.clearDefaultStyle': {
1529
+ readonly memberPath: "tables.clearDefaultStyle";
1530
+ readonly description: "Remove the document-level default table style setting.";
1531
+ readonly expectedResult: "Returns a DocumentMutationResult; reports NO_OP if no default is set.";
1532
+ readonly requiresDocumentContext: true;
1533
+ readonly metadata: CommandStaticMetadata;
1534
+ readonly referenceDocPath: "tables/clear-default-style.mdx";
1535
+ readonly referenceGroup: "tables";
1536
+ };
1537
+ readonly 'create.tableOfContents': {
1538
+ readonly memberPath: "create.tableOfContents";
1539
+ readonly description: "Insert a new table of contents at the target position.";
1540
+ readonly expectedResult: "Returns a CreateTableOfContentsResult with the new TOC block address.";
1541
+ readonly requiresDocumentContext: true;
1542
+ readonly metadata: CommandStaticMetadata;
1543
+ readonly referenceDocPath: "create/table-of-contents.mdx";
1544
+ readonly referenceGroup: "create";
1545
+ };
1546
+ readonly 'toc.list': {
1547
+ readonly memberPath: "toc.list";
1548
+ readonly description: "List all tables of contents in the document.";
1549
+ readonly expectedResult: "Returns a TocListResult with an array of TOC discovery items and pagination metadata.";
1550
+ readonly requiresDocumentContext: true;
1551
+ readonly metadata: CommandStaticMetadata;
1552
+ readonly referenceDocPath: "toc/list.mdx";
1553
+ readonly referenceGroup: "toc";
1554
+ };
1555
+ readonly 'toc.get': {
1556
+ readonly memberPath: "toc.get";
1557
+ readonly description: "Retrieve details of a specific table of contents.";
1558
+ readonly expectedResult: "Returns a TocInfo object with the instruction, source/display configuration, and entry count.";
1559
+ readonly requiresDocumentContext: true;
1560
+ readonly metadata: CommandStaticMetadata;
1561
+ readonly referenceDocPath: "toc/get.mdx";
1562
+ readonly referenceGroup: "toc";
1563
+ };
1564
+ readonly 'toc.configure': {
1565
+ readonly memberPath: "toc.configure";
1566
+ readonly description: "Update the configuration switches of a table of contents.";
1567
+ readonly expectedResult: "Returns a TocMutationResult with the updated TOC address on success, or a failure code on no-op.";
1568
+ readonly requiresDocumentContext: true;
1569
+ readonly metadata: CommandStaticMetadata;
1570
+ readonly referenceDocPath: "toc/configure.mdx";
1571
+ readonly referenceGroup: "toc";
1572
+ };
1573
+ readonly 'toc.update': {
1574
+ readonly memberPath: "toc.update";
1575
+ readonly description: "Rebuild or refresh the materialized content of a table of contents.";
1576
+ readonly expectedResult: "Returns a TocMutationResult with the TOC address on success, or a failure code if content is unchanged or page numbers cannot be resolved.";
1577
+ readonly requiresDocumentContext: true;
1578
+ readonly metadata: CommandStaticMetadata;
1579
+ readonly referenceDocPath: "toc/update.mdx";
1580
+ readonly referenceGroup: "toc";
1581
+ };
1582
+ readonly 'toc.remove': {
1583
+ readonly memberPath: "toc.remove";
1584
+ readonly description: "Remove a table of contents from the document.";
1585
+ readonly expectedResult: "Returns a TocMutationResult with the removed TOC address on success, or a failure code on no-op.";
1586
+ readonly requiresDocumentContext: true;
1587
+ readonly metadata: CommandStaticMetadata;
1588
+ readonly referenceDocPath: "toc/remove.mdx";
1589
+ readonly referenceGroup: "toc";
1590
+ };
1591
+ readonly 'toc.markEntry': {
1592
+ readonly memberPath: "toc.markEntry";
1593
+ readonly description: "Insert a TC (table of contents entry) field at the target paragraph.";
1594
+ readonly expectedResult: "Returns a TocEntryMutationResult with the created entry address on success.";
1595
+ readonly requiresDocumentContext: true;
1596
+ readonly metadata: CommandStaticMetadata;
1597
+ readonly referenceDocPath: "toc/mark-entry.mdx";
1598
+ readonly referenceGroup: "toc";
1599
+ };
1600
+ readonly 'toc.unmarkEntry': {
1601
+ readonly memberPath: "toc.unmarkEntry";
1602
+ readonly description: "Remove a TC (table of contents entry) field from the document.";
1603
+ readonly expectedResult: "Returns a TocEntryMutationResult with the removed entry address on success.";
1604
+ readonly requiresDocumentContext: true;
1605
+ readonly metadata: CommandStaticMetadata;
1606
+ readonly referenceDocPath: "toc/unmark-entry.mdx";
1607
+ readonly referenceGroup: "toc";
1608
+ };
1609
+ readonly 'toc.listEntries': {
1610
+ readonly memberPath: "toc.listEntries";
1611
+ readonly description: "List all TC (table of contents entry) fields in the document body.";
1612
+ readonly expectedResult: "Returns a TocListEntriesResult with an array of TC entry discovery items and pagination metadata.";
1613
+ readonly requiresDocumentContext: true;
1614
+ readonly metadata: CommandStaticMetadata;
1615
+ readonly referenceDocPath: "toc/list-entries.mdx";
1616
+ readonly referenceGroup: "toc";
1617
+ };
1618
+ readonly 'toc.getEntry': {
1619
+ readonly memberPath: "toc.getEntry";
1620
+ readonly description: "Retrieve details of a specific TC (table of contents entry) field.";
1621
+ readonly expectedResult: "Returns a TocEntryInfo object with the instruction, text, level, and switch configuration.";
1622
+ readonly requiresDocumentContext: true;
1623
+ readonly metadata: CommandStaticMetadata;
1624
+ readonly referenceDocPath: "toc/get-entry.mdx";
1625
+ readonly referenceGroup: "toc";
1626
+ };
1627
+ readonly 'toc.editEntry': {
1628
+ readonly memberPath: "toc.editEntry";
1629
+ readonly description: "Update the properties of a TC (table of contents entry) field.";
1630
+ readonly expectedResult: "Returns a TocEntryMutationResult with the updated entry address on success, or NO_OP if no change.";
1631
+ readonly requiresDocumentContext: true;
1632
+ readonly metadata: CommandStaticMetadata;
1633
+ readonly referenceDocPath: "toc/edit-entry.mdx";
1634
+ readonly referenceGroup: "toc";
1635
+ };
1636
+ readonly 'history.get': {
1637
+ readonly memberPath: "history.get";
1638
+ readonly description: "Query the current undo/redo history state of the document.";
1639
+ readonly expectedResult: "Returns a HistoryState object with undoDepth, redoDepth, canUndo, canRedo, and a list of history-unsafe operations.";
1640
+ readonly requiresDocumentContext: true;
1641
+ readonly metadata: CommandStaticMetadata;
1642
+ readonly referenceDocPath: "history/get.mdx";
1643
+ readonly referenceGroup: "history";
1644
+ };
1645
+ readonly 'history.undo': {
1646
+ readonly memberPath: "history.undo";
1647
+ readonly description: "Undo the most recent history-safe mutation in the document.";
1648
+ readonly expectedResult: "Returns a HistoryActionResult with noop flag, revision before/after, optional noop reason, and optional ref-effect fields such as inserted, removed, invalidatedRefs, remappedRefs, and affectedStories.";
1649
+ readonly requiresDocumentContext: true;
1650
+ readonly metadata: CommandStaticMetadata;
1651
+ readonly referenceDocPath: "history/undo.mdx";
1652
+ readonly referenceGroup: "history";
1653
+ readonly intentGroup: "edit";
1654
+ readonly intentAction: "undo";
1655
+ };
1656
+ readonly 'history.redo': {
1657
+ readonly memberPath: "history.redo";
1658
+ readonly description: "Redo the most recently undone action in the document.";
1659
+ readonly expectedResult: "Returns a HistoryActionResult with noop flag, revision before/after, optional noop reason, and optional ref-effect fields such as inserted, removed, invalidatedRefs, remappedRefs, and affectedStories.";
1660
+ readonly requiresDocumentContext: true;
1661
+ readonly metadata: CommandStaticMetadata;
1662
+ readonly referenceDocPath: "history/redo.mdx";
1663
+ readonly referenceGroup: "history";
1664
+ readonly intentGroup: "edit";
1665
+ readonly intentAction: "redo";
1666
+ };
1667
+ readonly 'create.image': {
1668
+ readonly memberPath: "create.image";
1669
+ readonly description: "Insert a new image at the target position.";
1670
+ readonly expectedResult: "Returns a CreateImageResult with the new image address. Tracked-mode results include `trackedChangeRefs` pointing at the tracked insertion review entity.";
1671
+ readonly requiresDocumentContext: true;
1672
+ readonly metadata: CommandStaticMetadata;
1673
+ readonly referenceDocPath: "create/image.mdx";
1674
+ readonly referenceGroup: "create";
1675
+ };
1676
+ readonly 'images.list': {
1677
+ readonly memberPath: "images.list";
1678
+ readonly description: "List all images in the document.";
1679
+ readonly expectedResult: "Returns an ImagesListResult with total count and image summaries.";
1680
+ readonly requiresDocumentContext: true;
1681
+ readonly metadata: CommandStaticMetadata;
1682
+ readonly referenceDocPath: "images/list.mdx";
1683
+ readonly referenceGroup: "images";
1684
+ };
1685
+ readonly 'images.get': {
1686
+ readonly memberPath: "images.get";
1687
+ readonly description: "Get details for a specific image by its stable ID.";
1688
+ readonly expectedResult: "Returns an ImageSummary with full image properties.";
1689
+ readonly requiresDocumentContext: true;
1690
+ readonly metadata: CommandStaticMetadata;
1691
+ readonly referenceDocPath: "images/get.mdx";
1692
+ readonly referenceGroup: "images";
1693
+ };
1694
+ readonly 'images.delete': {
1695
+ readonly memberPath: "images.delete";
1696
+ readonly description: "Delete an image from the document.";
1697
+ readonly expectedResult: "Returns an ImagesMutationResult indicating success or failure.";
1698
+ readonly requiresDocumentContext: true;
1699
+ readonly metadata: CommandStaticMetadata;
1700
+ readonly referenceDocPath: "images/delete.mdx";
1701
+ readonly referenceGroup: "images";
1702
+ };
1703
+ readonly 'images.move': {
1704
+ readonly memberPath: "images.move";
1705
+ readonly description: "Move an image to a new location in the document. Tracked-mode authoring supports safe sole inline-image body paragraphs and emits paired `<w:moveFrom>` / `<w:moveTo>` wrappers with explicit move range marker identity.";
1706
+ readonly expectedResult: "Returns an ImagesMutationResult indicating success or failure. Tracked-mode results include `trackedChangeRefs` pointing at the paired move review entity.";
1707
+ readonly requiresDocumentContext: true;
1708
+ readonly metadata: CommandStaticMetadata;
1709
+ readonly referenceDocPath: "images/move.mdx";
1710
+ readonly referenceGroup: "images";
1711
+ };
1712
+ readonly 'images.convertToInline': {
1713
+ readonly memberPath: "images.convertToInline";
1714
+ readonly description: "Convert a floating image to inline placement.";
1715
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already inline.";
1716
+ readonly requiresDocumentContext: true;
1717
+ readonly metadata: CommandStaticMetadata;
1718
+ readonly referenceDocPath: "images/convert-to-inline.mdx";
1719
+ readonly referenceGroup: "images";
1720
+ };
1721
+ readonly 'images.convertToFloating': {
1722
+ readonly memberPath: "images.convertToFloating";
1723
+ readonly description: "Convert an inline image to floating placement.";
1724
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already floating.";
1725
+ readonly requiresDocumentContext: true;
1726
+ readonly metadata: CommandStaticMetadata;
1727
+ readonly referenceDocPath: "images/convert-to-floating.mdx";
1728
+ readonly referenceGroup: "images";
1729
+ };
1730
+ readonly 'images.setSize': {
1731
+ readonly memberPath: "images.setSize";
1732
+ readonly description: "Set explicit width/height for an image.";
1733
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if the size already matches.";
1734
+ readonly requiresDocumentContext: true;
1735
+ readonly metadata: CommandStaticMetadata;
1736
+ readonly referenceDocPath: "images/set-size.mdx";
1737
+ readonly referenceGroup: "images";
1738
+ };
1739
+ readonly 'images.setWrapType': {
1740
+ readonly memberPath: "images.setWrapType";
1741
+ readonly description: "Set the text wrapping type for a floating image.";
1742
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already set.";
1743
+ readonly requiresDocumentContext: true;
1744
+ readonly metadata: CommandStaticMetadata;
1745
+ readonly referenceDocPath: "images/set-wrap-type.mdx";
1746
+ readonly referenceGroup: "images";
1747
+ };
1748
+ readonly 'images.setWrapSide': {
1749
+ readonly memberPath: "images.setWrapSide";
1750
+ readonly description: "Set which side(s) text wraps around a floating image.";
1751
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already set.";
1752
+ readonly requiresDocumentContext: true;
1753
+ readonly metadata: CommandStaticMetadata;
1754
+ readonly referenceDocPath: "images/set-wrap-side.mdx";
1755
+ readonly referenceGroup: "images";
1756
+ };
1757
+ readonly 'images.setWrapDistances': {
1758
+ readonly memberPath: "images.setWrapDistances";
1759
+ readonly description: "Set the text-wrap distance margins for a floating image.";
1760
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already set.";
1761
+ readonly requiresDocumentContext: true;
1762
+ readonly metadata: CommandStaticMetadata;
1763
+ readonly referenceDocPath: "images/set-wrap-distances.mdx";
1764
+ readonly referenceGroup: "images";
1765
+ };
1766
+ readonly 'images.setPosition': {
1767
+ readonly memberPath: "images.setPosition";
1768
+ readonly description: "Set the anchor position for a floating image.";
1769
+ readonly expectedResult: "Returns an ImagesMutationResult.";
1770
+ readonly requiresDocumentContext: true;
1771
+ readonly metadata: CommandStaticMetadata;
1772
+ readonly referenceDocPath: "images/set-position.mdx";
1773
+ readonly referenceGroup: "images";
1774
+ };
1775
+ readonly 'images.setAnchorOptions': {
1776
+ readonly memberPath: "images.setAnchorOptions";
1777
+ readonly description: "Set anchor behavior options for a floating image.";
1778
+ readonly expectedResult: "Returns an ImagesMutationResult.";
1779
+ readonly requiresDocumentContext: true;
1780
+ readonly metadata: CommandStaticMetadata;
1781
+ readonly referenceDocPath: "images/set-anchor-options.mdx";
1782
+ readonly referenceGroup: "images";
1783
+ };
1784
+ readonly 'images.setZOrder': {
1785
+ readonly memberPath: "images.setZOrder";
1786
+ readonly description: "Set the z-order (relativeHeight) for a floating image.";
1787
+ readonly expectedResult: "Returns an ImagesMutationResult.";
1788
+ readonly requiresDocumentContext: true;
1789
+ readonly metadata: CommandStaticMetadata;
1790
+ readonly referenceDocPath: "images/set-z-order.mdx";
1791
+ readonly referenceGroup: "images";
1792
+ };
1793
+ readonly 'images.scale': {
1794
+ readonly memberPath: "images.scale";
1795
+ readonly description: "Scale an image by a uniform factor applied to both dimensions.";
1796
+ readonly expectedResult: "Returns an ImagesMutationResult with the updated image address.";
1797
+ readonly requiresDocumentContext: true;
1798
+ readonly metadata: CommandStaticMetadata;
1799
+ readonly referenceDocPath: "images/scale.mdx";
1800
+ readonly referenceGroup: "images";
1801
+ };
1802
+ readonly 'images.setLockAspectRatio': {
1803
+ readonly memberPath: "images.setLockAspectRatio";
1804
+ readonly description: "Lock or unlock the aspect ratio for an image.";
1805
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already set.";
1806
+ readonly requiresDocumentContext: true;
1807
+ readonly metadata: CommandStaticMetadata;
1808
+ readonly referenceDocPath: "images/set-lock-aspect-ratio.mdx";
1809
+ readonly referenceGroup: "images";
1810
+ };
1811
+ readonly 'images.rotate': {
1812
+ readonly memberPath: "images.rotate";
1813
+ readonly description: "Set the absolute rotation angle for an image.";
1814
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already set.";
1815
+ readonly requiresDocumentContext: true;
1816
+ readonly metadata: CommandStaticMetadata;
1817
+ readonly referenceDocPath: "images/rotate.mdx";
1818
+ readonly referenceGroup: "images";
1819
+ };
1820
+ readonly 'images.flip': {
1821
+ readonly memberPath: "images.flip";
1822
+ readonly description: "Set horizontal and/or vertical flip state for an image.";
1823
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if already set.";
1824
+ readonly requiresDocumentContext: true;
1825
+ readonly metadata: CommandStaticMetadata;
1826
+ readonly referenceDocPath: "images/flip.mdx";
1827
+ readonly referenceGroup: "images";
1828
+ };
1829
+ readonly 'images.crop': {
1830
+ readonly memberPath: "images.crop";
1831
+ readonly description: "Apply rectangular edge-percentage crop to an image.";
1832
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if unchanged.";
1833
+ readonly requiresDocumentContext: true;
1834
+ readonly metadata: CommandStaticMetadata;
1835
+ readonly referenceDocPath: "images/crop.mdx";
1836
+ readonly referenceGroup: "images";
1837
+ };
1838
+ readonly 'images.resetCrop': {
1839
+ readonly memberPath: "images.resetCrop";
1840
+ readonly description: "Remove all cropping from an image.";
1841
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if no crop is set.";
1842
+ readonly requiresDocumentContext: true;
1843
+ readonly metadata: CommandStaticMetadata;
1844
+ readonly referenceDocPath: "images/reset-crop.mdx";
1845
+ readonly referenceGroup: "images";
1846
+ };
1847
+ readonly 'images.replaceSource': {
1848
+ readonly memberPath: "images.replaceSource";
1849
+ readonly description: "Replace the image source while preserving identity and placement.";
1850
+ readonly expectedResult: "Returns an ImagesMutationResult with the updated image address.";
1851
+ readonly requiresDocumentContext: true;
1852
+ readonly metadata: CommandStaticMetadata;
1853
+ readonly referenceDocPath: "images/replace-source.mdx";
1854
+ readonly referenceGroup: "images";
1855
+ };
1856
+ readonly 'images.setAltText': {
1857
+ readonly memberPath: "images.setAltText";
1858
+ readonly description: "Set the accessibility description (alt text) for an image.";
1859
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if unchanged.";
1860
+ readonly requiresDocumentContext: true;
1861
+ readonly metadata: CommandStaticMetadata;
1862
+ readonly referenceDocPath: "images/set-alt-text.mdx";
1863
+ readonly referenceGroup: "images";
1864
+ };
1865
+ readonly 'images.setDecorative': {
1866
+ readonly memberPath: "images.setDecorative";
1867
+ readonly description: "Mark or unmark an image as decorative.";
1868
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if unchanged.";
1869
+ readonly requiresDocumentContext: true;
1870
+ readonly metadata: CommandStaticMetadata;
1871
+ readonly referenceDocPath: "images/set-decorative.mdx";
1872
+ readonly referenceGroup: "images";
1873
+ };
1874
+ readonly 'images.setName': {
1875
+ readonly memberPath: "images.setName";
1876
+ readonly description: "Set the object name for an image.";
1877
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if unchanged.";
1878
+ readonly requiresDocumentContext: true;
1879
+ readonly metadata: CommandStaticMetadata;
1880
+ readonly referenceDocPath: "images/set-name.mdx";
1881
+ readonly referenceGroup: "images";
1882
+ };
1883
+ readonly 'images.setHyperlink': {
1884
+ readonly memberPath: "images.setHyperlink";
1885
+ readonly description: "Set or remove the hyperlink attached to an image.";
1886
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if unchanged.";
1887
+ readonly requiresDocumentContext: true;
1888
+ readonly metadata: CommandStaticMetadata;
1889
+ readonly referenceDocPath: "images/set-hyperlink.mdx";
1890
+ readonly referenceGroup: "images";
1891
+ };
1892
+ readonly 'images.insertCaption': {
1893
+ readonly memberPath: "images.insertCaption";
1894
+ readonly description: "Insert a caption paragraph below the image.";
1895
+ readonly expectedResult: "Returns an ImagesMutationResult with the image address.";
1896
+ readonly requiresDocumentContext: true;
1897
+ readonly metadata: CommandStaticMetadata;
1898
+ readonly referenceDocPath: "images/insert-caption.mdx";
1899
+ readonly referenceGroup: "images";
1900
+ };
1901
+ readonly 'images.updateCaption': {
1902
+ readonly memberPath: "images.updateCaption";
1903
+ readonly description: "Update the text of an existing caption paragraph.";
1904
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if text unchanged.";
1905
+ readonly requiresDocumentContext: true;
1906
+ readonly metadata: CommandStaticMetadata;
1907
+ readonly referenceDocPath: "images/update-caption.mdx";
1908
+ readonly referenceGroup: "images";
1909
+ };
1910
+ readonly 'images.removeCaption': {
1911
+ readonly memberPath: "images.removeCaption";
1912
+ readonly description: "Remove the caption paragraph from below the image.";
1913
+ readonly expectedResult: "Returns an ImagesMutationResult; reports NO_OP if no caption exists.";
1914
+ readonly requiresDocumentContext: true;
1915
+ readonly metadata: CommandStaticMetadata;
1916
+ readonly referenceDocPath: "images/remove-caption.mdx";
1917
+ readonly referenceGroup: "images";
1918
+ };
1919
+ readonly 'hyperlinks.list': {
1920
+ readonly memberPath: "hyperlinks.list";
1921
+ readonly description: "List all hyperlinks in the document, with optional filtering by href, anchor, or display text.";
1922
+ readonly expectedResult: "Returns a HyperlinksListResult with an array of hyperlink discovery items and pagination metadata.";
1923
+ readonly requiresDocumentContext: true;
1924
+ readonly metadata: CommandStaticMetadata;
1925
+ readonly referenceDocPath: "hyperlinks/list.mdx";
1926
+ readonly referenceGroup: "hyperlinks";
1927
+ };
1928
+ readonly 'hyperlinks.get': {
1929
+ readonly memberPath: "hyperlinks.get";
1930
+ readonly description: "Retrieve details of a specific hyperlink by its inline address.";
1931
+ readonly expectedResult: "Returns a HyperlinkInfo object with the address, destination properties, and display text.";
1932
+ readonly requiresDocumentContext: true;
1933
+ readonly metadata: CommandStaticMetadata;
1934
+ readonly referenceDocPath: "hyperlinks/get.mdx";
1935
+ readonly referenceGroup: "hyperlinks";
1936
+ };
1937
+ readonly 'hyperlinks.wrap': {
1938
+ readonly memberPath: "hyperlinks.wrap";
1939
+ readonly description: "Wrap an existing text range with a hyperlink.";
1940
+ readonly expectedResult: "Returns a HyperlinkMutationResult with the created hyperlink address on success, or a failure code on no-op.";
1941
+ readonly requiresDocumentContext: true;
1942
+ readonly metadata: CommandStaticMetadata;
1943
+ readonly referenceDocPath: "hyperlinks/wrap.mdx";
1944
+ readonly referenceGroup: "hyperlinks";
1945
+ };
1946
+ readonly 'hyperlinks.insert': {
1947
+ readonly memberPath: "hyperlinks.insert";
1948
+ readonly description: "Insert new linked text at a target position.";
1949
+ readonly expectedResult: "Returns a HyperlinkMutationResult with the created hyperlink address on success, or a failure code.";
1950
+ readonly requiresDocumentContext: true;
1951
+ readonly metadata: CommandStaticMetadata;
1952
+ readonly referenceDocPath: "hyperlinks/insert.mdx";
1953
+ readonly referenceGroup: "hyperlinks";
1954
+ };
1955
+ readonly 'hyperlinks.patch': {
1956
+ readonly memberPath: "hyperlinks.patch";
1957
+ readonly description: "Update hyperlink metadata (destination, tooltip, target, rel) without changing display text.";
1958
+ readonly expectedResult: "Returns a HyperlinkMutationResult with the updated hyperlink address on success, or NO_OP if unchanged.";
1959
+ readonly requiresDocumentContext: true;
1960
+ readonly metadata: CommandStaticMetadata;
1961
+ readonly referenceDocPath: "hyperlinks/patch.mdx";
1962
+ readonly referenceGroup: "hyperlinks";
1963
+ };
1964
+ readonly 'hyperlinks.remove': {
1965
+ readonly memberPath: "hyperlinks.remove";
1966
+ readonly description: "Remove a hyperlink. Mode 'unwrap' preserves display text; 'deleteText' removes the linked content entirely.";
1967
+ readonly expectedResult: "Returns a HyperlinkMutationResult with the removed hyperlink address on success, or a failure code on no-op.";
1968
+ readonly requiresDocumentContext: true;
1969
+ readonly metadata: CommandStaticMetadata;
1970
+ readonly referenceDocPath: "hyperlinks/remove.mdx";
1971
+ readonly referenceGroup: "hyperlinks";
1972
+ };
1973
+ readonly 'headerFooters.list': {
1974
+ readonly memberPath: "headerFooters.list";
1975
+ readonly description: "List header/footer slot entries across sections.";
1976
+ readonly expectedResult: "Returns a paginated DiscoveryOutput of HeaderFooterSlotEntry items.";
1977
+ readonly requiresDocumentContext: true;
1978
+ readonly metadata: CommandStaticMetadata;
1979
+ readonly referenceDocPath: "header-footers/list.mdx";
1980
+ readonly referenceGroup: "headerFooters";
1981
+ };
1982
+ readonly 'headerFooters.get': {
1983
+ readonly memberPath: "headerFooters.get";
1984
+ readonly description: "Get a single header/footer slot entry by address.";
1985
+ readonly expectedResult: "Returns a HeaderFooterSlotEntry for the targeted section slot.";
1986
+ readonly requiresDocumentContext: true;
1987
+ readonly metadata: CommandStaticMetadata;
1988
+ readonly referenceDocPath: "header-footers/get.mdx";
1989
+ readonly referenceGroup: "headerFooters";
1990
+ };
1991
+ readonly 'headerFooters.resolve': {
1992
+ readonly memberPath: "headerFooters.resolve";
1993
+ readonly description: "Resolve the effective header/footer reference for a slot, walking the section inheritance chain.";
1994
+ readonly expectedResult: "Returns a HeaderFooterResolveResult indicating explicit, inherited, or none status with the resolved refId.";
1995
+ readonly requiresDocumentContext: true;
1996
+ readonly metadata: CommandStaticMetadata;
1997
+ readonly referenceDocPath: "header-footers/resolve.mdx";
1998
+ readonly referenceGroup: "headerFooters";
1999
+ };
2000
+ readonly 'headerFooters.refs.set': {
2001
+ readonly memberPath: "headerFooters.refs.set";
2002
+ readonly description: "Set an explicit header/footer reference on a section slot.";
2003
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if the reference already matches, INVALID_TARGET if the relationship does not exist.";
2004
+ readonly requiresDocumentContext: true;
2005
+ readonly metadata: CommandStaticMetadata;
2006
+ readonly referenceDocPath: "header-footers/refs/set.mdx";
2007
+ readonly referenceGroup: "headerFooters";
2008
+ };
2009
+ readonly 'headerFooters.refs.clear': {
2010
+ readonly memberPath: "headerFooters.refs.clear";
2011
+ readonly description: "Clear an explicit header/footer reference from a section slot.";
2012
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if no explicit reference existed.";
2013
+ readonly requiresDocumentContext: true;
2014
+ readonly metadata: CommandStaticMetadata;
2015
+ readonly referenceDocPath: "header-footers/refs/clear.mdx";
2016
+ readonly referenceGroup: "headerFooters";
2017
+ };
2018
+ readonly 'headerFooters.refs.setLinkedToPrevious': {
2019
+ readonly memberPath: "headerFooters.refs.setLinkedToPrevious";
2020
+ readonly description: "Link or unlink a header/footer slot to/from the previous section.";
2021
+ readonly expectedResult: "Returns a SectionMutationResult receipt; reports NO_OP if the link state already matches, INVALID_TARGET for the first section.";
2022
+ readonly requiresDocumentContext: true;
2023
+ readonly metadata: CommandStaticMetadata;
2024
+ readonly referenceDocPath: "header-footers/refs/set-linked-to-previous.mdx";
2025
+ readonly referenceGroup: "headerFooters";
2026
+ };
2027
+ readonly 'headerFooters.parts.list': {
2028
+ readonly memberPath: "headerFooters.parts.list";
2029
+ readonly description: "List unique header/footer part records from document relationships.";
2030
+ readonly expectedResult: "Returns a paginated DiscoveryOutput of HeaderFooterPartEntry items.";
2031
+ readonly requiresDocumentContext: true;
2032
+ readonly metadata: CommandStaticMetadata;
2033
+ readonly referenceDocPath: "header-footers/parts/list.mdx";
2034
+ readonly referenceGroup: "headerFooters";
2035
+ };
2036
+ readonly 'headerFooters.parts.create': {
2037
+ readonly memberPath: "headerFooters.parts.create";
2038
+ readonly description: "Create a new independent header/footer part, optionally cloned from an existing part.";
2039
+ readonly expectedResult: "Returns a HeaderFooterPartsMutationResult with the new refId/partPath on success, INVALID_TARGET failure when sourceRefId is invalid or mismatched.";
2040
+ readonly requiresDocumentContext: true;
2041
+ readonly metadata: CommandStaticMetadata;
2042
+ readonly referenceDocPath: "header-footers/parts/create.mdx";
2043
+ readonly referenceGroup: "headerFooters";
2044
+ };
2045
+ readonly 'headerFooters.parts.delete': {
2046
+ readonly memberPath: "headerFooters.parts.delete";
2047
+ readonly description: "Delete a header/footer part and its associated relationship when no section slots reference it.";
2048
+ readonly expectedResult: "Returns a HeaderFooterPartsMutationResult on success; INVALID_TARGET failure if sections still reference the part.";
2049
+ readonly requiresDocumentContext: true;
2050
+ readonly metadata: CommandStaticMetadata;
2051
+ readonly referenceDocPath: "header-footers/parts/delete.mdx";
2052
+ readonly referenceGroup: "headerFooters";
2053
+ };
2054
+ readonly 'create.contentControl': {
2055
+ readonly memberPath: "create.contentControl";
2056
+ readonly description: "Create a new content control (SDT) in the document, optionally seeded with plain text or structured block preset content.";
2057
+ readonly expectedResult: "Returns a ContentControlMutationResult with the created content control target.";
2058
+ readonly requiresDocumentContext: true;
2059
+ readonly metadata: CommandStaticMetadata;
2060
+ readonly referenceDocPath: "content-controls/create.mdx";
2061
+ readonly referenceGroup: "contentControls";
2062
+ };
2063
+ readonly 'contentControls.list': {
2064
+ readonly memberPath: "contentControls.list";
2065
+ readonly description: "List all content controls in the document with optional type/tag filtering.";
2066
+ readonly expectedResult: "Returns a ContentControlsListResult with items and total count.";
2067
+ readonly requiresDocumentContext: true;
2068
+ readonly metadata: CommandStaticMetadata;
2069
+ readonly referenceDocPath: "content-controls/list.mdx";
2070
+ readonly referenceGroup: "contentControls";
2071
+ };
2072
+ readonly 'contentControls.get': {
2073
+ readonly memberPath: "contentControls.get";
2074
+ readonly description: "Retrieve a single content control by target.";
2075
+ readonly expectedResult: "Returns a ContentControlInfo with full properties.";
2076
+ readonly requiresDocumentContext: true;
2077
+ readonly metadata: CommandStaticMetadata;
2078
+ readonly referenceDocPath: "content-controls/get.mdx";
2079
+ readonly referenceGroup: "contentControls";
2080
+ };
2081
+ readonly 'contentControls.listInRange': {
2082
+ readonly memberPath: "contentControls.listInRange";
2083
+ readonly description: "List content controls within a block range.";
2084
+ readonly expectedResult: "Returns a ContentControlsListResult scoped to the range.";
2085
+ readonly requiresDocumentContext: true;
2086
+ readonly metadata: CommandStaticMetadata;
2087
+ readonly referenceDocPath: "content-controls/list-in-range.mdx";
2088
+ readonly referenceGroup: "contentControls";
2089
+ };
2090
+ readonly 'contentControls.selectByTag': {
2091
+ readonly memberPath: "contentControls.selectByTag";
2092
+ readonly description: "Select content controls matching a specific tag value.";
2093
+ readonly expectedResult: "Returns a ContentControlsListResult with matching items.";
2094
+ readonly requiresDocumentContext: true;
2095
+ readonly metadata: CommandStaticMetadata;
2096
+ readonly referenceDocPath: "content-controls/select-by-tag.mdx";
2097
+ readonly referenceGroup: "contentControls";
2098
+ };
2099
+ readonly 'contentControls.selectByTitle': {
2100
+ readonly memberPath: "contentControls.selectByTitle";
2101
+ readonly description: "Select content controls matching a specific title (alias) value.";
2102
+ readonly expectedResult: "Returns a ContentControlsListResult with matching items.";
2103
+ readonly requiresDocumentContext: true;
2104
+ readonly metadata: CommandStaticMetadata;
2105
+ readonly referenceDocPath: "content-controls/select-by-title.mdx";
2106
+ readonly referenceGroup: "contentControls";
2107
+ };
2108
+ readonly 'contentControls.listChildren': {
2109
+ readonly memberPath: "contentControls.listChildren";
2110
+ readonly description: "List direct child content controls nested inside the target.";
2111
+ readonly expectedResult: "Returns a ContentControlsListResult with child items.";
2112
+ readonly requiresDocumentContext: true;
2113
+ readonly metadata: CommandStaticMetadata;
2114
+ readonly referenceDocPath: "content-controls/list-children.mdx";
2115
+ readonly referenceGroup: "contentControls";
2116
+ };
2117
+ readonly 'contentControls.getParent': {
2118
+ readonly memberPath: "contentControls.getParent";
2119
+ readonly description: "Get the parent content control of the target, if any.";
2120
+ readonly expectedResult: "Returns a ContentControlInfo for the parent, or null if no parent SDT exists.";
2121
+ readonly requiresDocumentContext: true;
2122
+ readonly metadata: CommandStaticMetadata;
2123
+ readonly referenceDocPath: "content-controls/get-parent.mdx";
2124
+ readonly referenceGroup: "contentControls";
2125
+ };
2126
+ readonly 'contentControls.wrap': {
2127
+ readonly memberPath: "contentControls.wrap";
2128
+ readonly description: "Wrap existing content with a new content control.";
2129
+ readonly expectedResult: "Returns a ContentControlMutationResult with the wrapper target.";
2130
+ readonly requiresDocumentContext: true;
2131
+ readonly metadata: CommandStaticMetadata;
2132
+ readonly referenceDocPath: "content-controls/wrap.mdx";
2133
+ readonly referenceGroup: "contentControls";
2134
+ };
2135
+ readonly 'contentControls.unwrap': {
2136
+ readonly memberPath: "contentControls.unwrap";
2137
+ readonly description: "Remove the content control wrapper, preserving its content in place.";
2138
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already unwrapped.";
2139
+ readonly requiresDocumentContext: true;
2140
+ readonly metadata: CommandStaticMetadata;
2141
+ readonly referenceDocPath: "content-controls/unwrap.mdx";
2142
+ readonly referenceGroup: "contentControls";
2143
+ };
2144
+ readonly 'contentControls.delete': {
2145
+ readonly memberPath: "contentControls.delete";
2146
+ readonly description: "Delete a content control and its content from the document.";
2147
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already removed.";
2148
+ readonly requiresDocumentContext: true;
2149
+ readonly metadata: CommandStaticMetadata;
2150
+ readonly referenceDocPath: "content-controls/delete.mdx";
2151
+ readonly referenceGroup: "contentControls";
2152
+ };
2153
+ readonly 'contentControls.copy': {
2154
+ readonly memberPath: "contentControls.copy";
2155
+ readonly description: "Copy a content control to a destination position. Copied SDTs receive new IDs.";
2156
+ readonly expectedResult: "Returns a ContentControlMutationResult with the copied content control target.";
2157
+ readonly requiresDocumentContext: true;
2158
+ readonly metadata: CommandStaticMetadata;
2159
+ readonly referenceDocPath: "content-controls/copy.mdx";
2160
+ readonly referenceGroup: "contentControls";
2161
+ };
2162
+ readonly 'contentControls.move': {
2163
+ readonly memberPath: "contentControls.move";
2164
+ readonly description: "Move a content control to a new position: before or after another SDT, to the document start or end, or to an arbitrary caret inside a paragraph (the inParagraph destination) for drag-and-drop. Direct moves preserve the original ID; tracked-mode authoring supports safe top-level block SDTs (SDT-to-SDT destinations only) and remaps the destination SDT ID to avoid duplicate live anchors.";
2165
+ readonly expectedResult: "Returns a ContentControlMutationResult with the updated target position. Tracked-mode results include `trackedChangeRefs` pointing at the paired move review entity.";
2166
+ readonly requiresDocumentContext: true;
2167
+ readonly metadata: CommandStaticMetadata;
2168
+ readonly referenceDocPath: "content-controls/move.mdx";
2169
+ readonly referenceGroup: "contentControls";
2170
+ };
2171
+ readonly 'contentControls.patch': {
2172
+ readonly memberPath: "contentControls.patch";
2173
+ readonly description: "Patch metadata properties on a content control (tag, alias, appearance, color, etc.).";
2174
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if no fields changed.";
2175
+ readonly requiresDocumentContext: true;
2176
+ readonly metadata: CommandStaticMetadata;
2177
+ readonly referenceDocPath: "content-controls/patch.mdx";
2178
+ readonly referenceGroup: "contentControls";
2179
+ };
2180
+ readonly 'contentControls.setLockMode': {
2181
+ readonly memberPath: "contentControls.setLockMode";
2182
+ readonly description: "Set the lock mode on a content control.";
2183
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if lock mode unchanged.";
2184
+ readonly requiresDocumentContext: true;
2185
+ readonly metadata: CommandStaticMetadata;
2186
+ readonly referenceDocPath: "content-controls/set-lock-mode.mdx";
2187
+ readonly referenceGroup: "contentControls";
2188
+ };
2189
+ readonly 'contentControls.setType': {
2190
+ readonly memberPath: "contentControls.setType";
2191
+ readonly description: "Transition a content control to a different semantic type. Metadata-only; no implicit content rewrite.";
2192
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if type unchanged.";
2193
+ readonly requiresDocumentContext: true;
2194
+ readonly metadata: CommandStaticMetadata;
2195
+ readonly referenceDocPath: "content-controls/set-type.mdx";
2196
+ readonly referenceGroup: "contentControls";
2197
+ };
2198
+ readonly 'contentControls.getContent': {
2199
+ readonly memberPath: "contentControls.getContent";
2200
+ readonly description: "Get the text content of a content control.";
2201
+ readonly expectedResult: "Returns a ContentControlsGetContentResult with the content string and format.";
2202
+ readonly requiresDocumentContext: true;
2203
+ readonly metadata: CommandStaticMetadata;
2204
+ readonly referenceDocPath: "content-controls/get-content.mdx";
2205
+ readonly referenceGroup: "contentControls";
2206
+ };
2207
+ readonly 'contentControls.replaceContent': {
2208
+ readonly memberPath: "contentControls.replaceContent";
2209
+ readonly description: "Replace the entire content of a content control.";
2210
+ readonly expectedResult: "Returns a ContentControlMutationResult with the updated target.";
2211
+ readonly requiresDocumentContext: true;
2212
+ readonly metadata: CommandStaticMetadata;
2213
+ readonly referenceDocPath: "content-controls/replace-content.mdx";
2214
+ readonly referenceGroup: "contentControls";
2215
+ };
2216
+ readonly 'contentControls.clearContent': {
2217
+ readonly memberPath: "contentControls.clearContent";
2218
+ readonly description: "Clear all content inside a content control, leaving it empty.";
2219
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already empty.";
2220
+ readonly requiresDocumentContext: true;
2221
+ readonly metadata: CommandStaticMetadata;
2222
+ readonly referenceDocPath: "content-controls/clear-content.mdx";
2223
+ readonly referenceGroup: "contentControls";
2224
+ };
2225
+ readonly 'contentControls.appendContent': {
2226
+ readonly memberPath: "contentControls.appendContent";
2227
+ readonly description: "Append content to the end of a content control.";
2228
+ readonly expectedResult: "Returns a ContentControlMutationResult with the updated target.";
2229
+ readonly requiresDocumentContext: true;
2230
+ readonly metadata: CommandStaticMetadata;
2231
+ readonly referenceDocPath: "content-controls/append-content.mdx";
2232
+ readonly referenceGroup: "contentControls";
2233
+ };
2234
+ readonly 'contentControls.prependContent': {
2235
+ readonly memberPath: "contentControls.prependContent";
2236
+ readonly description: "Prepend content to the beginning of a content control.";
2237
+ readonly expectedResult: "Returns a ContentControlMutationResult with the updated target.";
2238
+ readonly requiresDocumentContext: true;
2239
+ readonly metadata: CommandStaticMetadata;
2240
+ readonly referenceDocPath: "content-controls/prepend-content.mdx";
2241
+ readonly referenceGroup: "contentControls";
2242
+ };
2243
+ readonly 'contentControls.insertBefore': {
2244
+ readonly memberPath: "contentControls.insertBefore";
2245
+ readonly description: "Insert content immediately before a content control.";
2246
+ readonly expectedResult: "Returns a ContentControlMutationResult with the target.";
2247
+ readonly requiresDocumentContext: true;
2248
+ readonly metadata: CommandStaticMetadata;
2249
+ readonly referenceDocPath: "content-controls/insert-before.mdx";
2250
+ readonly referenceGroup: "contentControls";
2251
+ };
2252
+ readonly 'contentControls.insertAfter': {
2253
+ readonly memberPath: "contentControls.insertAfter";
2254
+ readonly description: "Insert content immediately after a content control.";
2255
+ readonly expectedResult: "Returns a ContentControlMutationResult with the target.";
2256
+ readonly requiresDocumentContext: true;
2257
+ readonly metadata: CommandStaticMetadata;
2258
+ readonly referenceDocPath: "content-controls/insert-after.mdx";
2259
+ readonly referenceGroup: "contentControls";
2260
+ };
2261
+ readonly 'contentControls.getBinding': {
2262
+ readonly memberPath: "contentControls.getBinding";
2263
+ readonly description: "Get the data binding metadata (w:dataBinding) of a content control.";
2264
+ readonly expectedResult: "Returns the ContentControlBinding or null if no binding is set.";
2265
+ readonly requiresDocumentContext: true;
2266
+ readonly metadata: CommandStaticMetadata;
2267
+ readonly referenceDocPath: "content-controls/get-binding.mdx";
2268
+ readonly referenceGroup: "contentControls";
2269
+ };
2270
+ readonly 'contentControls.setBinding': {
2271
+ readonly memberPath: "contentControls.setBinding";
2272
+ readonly description: "Set data binding metadata on a content control.";
2273
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if binding unchanged.";
2274
+ readonly requiresDocumentContext: true;
2275
+ readonly metadata: CommandStaticMetadata;
2276
+ readonly referenceDocPath: "content-controls/set-binding.mdx";
2277
+ readonly referenceGroup: "contentControls";
2278
+ };
2279
+ readonly 'contentControls.clearBinding': {
2280
+ readonly memberPath: "contentControls.clearBinding";
2281
+ readonly description: "Remove data binding metadata from a content control.";
2282
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if no binding existed.";
2283
+ readonly requiresDocumentContext: true;
2284
+ readonly metadata: CommandStaticMetadata;
2285
+ readonly referenceDocPath: "content-controls/clear-binding.mdx";
2286
+ readonly referenceGroup: "contentControls";
2287
+ };
2288
+ readonly 'contentControls.getRawProperties': {
2289
+ readonly memberPath: "contentControls.getRawProperties";
2290
+ readonly description: "Get the raw sdtPr properties of a content control as a passthrough hash.";
2291
+ readonly expectedResult: "Returns a ContentControlsGetRawPropertiesResult with the raw properties.";
2292
+ readonly requiresDocumentContext: true;
2293
+ readonly metadata: CommandStaticMetadata;
2294
+ readonly referenceDocPath: "content-controls/get-raw-properties.mdx";
2295
+ readonly referenceGroup: "contentControls";
2296
+ };
2297
+ readonly 'contentControls.patchRawProperties': {
2298
+ readonly memberPath: "contentControls.patchRawProperties";
2299
+ readonly description: "Apply raw XML-level patches to the sdtPr subtree of a content control.";
2300
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if no effective changes.";
2301
+ readonly requiresDocumentContext: true;
2302
+ readonly metadata: CommandStaticMetadata;
2303
+ readonly referenceDocPath: "content-controls/patch-raw-properties.mdx";
2304
+ readonly referenceGroup: "contentControls";
2305
+ };
2306
+ readonly 'contentControls.validateWordCompatibility': {
2307
+ readonly memberPath: "contentControls.validateWordCompatibility";
2308
+ readonly description: "Validate a content control for Word compatibility issues.";
2309
+ readonly expectedResult: "Returns a compatibility result with diagnostics.";
2310
+ readonly requiresDocumentContext: true;
2311
+ readonly metadata: CommandStaticMetadata;
2312
+ readonly referenceDocPath: "content-controls/validate-word-compatibility.mdx";
2313
+ readonly referenceGroup: "contentControls";
2314
+ };
2315
+ readonly 'contentControls.normalizeWordCompatibility': {
2316
+ readonly memberPath: "contentControls.normalizeWordCompatibility";
2317
+ readonly description: "Normalize a content control to resolve Word compatibility issues.";
2318
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already compatible.";
2319
+ readonly requiresDocumentContext: true;
2320
+ readonly metadata: CommandStaticMetadata;
2321
+ readonly referenceDocPath: "content-controls/normalize-word-compatibility.mdx";
2322
+ readonly referenceGroup: "contentControls";
2323
+ };
2324
+ readonly 'contentControls.normalizeTagPayload': {
2325
+ readonly memberPath: "contentControls.normalizeTagPayload";
2326
+ readonly description: "Normalize a content control tag between plain-string and JSON-encoded formats.";
2327
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already normalized.";
2328
+ readonly requiresDocumentContext: true;
2329
+ readonly metadata: CommandStaticMetadata;
2330
+ readonly referenceDocPath: "content-controls/normalize-tag-payload.mdx";
2331
+ readonly referenceGroup: "contentControls";
2332
+ };
2333
+ readonly 'contentControls.text.setMultiline': {
2334
+ readonly memberPath: "contentControls.text.setMultiline";
2335
+ readonly description: "Set or clear the multiline attribute on a plain-text content control.";
2336
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2337
+ readonly requiresDocumentContext: true;
2338
+ readonly metadata: CommandStaticMetadata;
2339
+ readonly referenceDocPath: "content-controls/text/set-multiline.mdx";
2340
+ readonly referenceGroup: "contentControls";
2341
+ };
2342
+ readonly 'contentControls.text.setValue': {
2343
+ readonly memberPath: "contentControls.text.setValue";
2344
+ readonly description: "Set the text value of a plain-text content control.";
2345
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2346
+ readonly requiresDocumentContext: true;
2347
+ readonly metadata: CommandStaticMetadata;
2348
+ readonly referenceDocPath: "content-controls/text/set-value.mdx";
2349
+ readonly referenceGroup: "contentControls";
2350
+ };
2351
+ readonly 'contentControls.text.clearValue': {
2352
+ readonly memberPath: "contentControls.text.clearValue";
2353
+ readonly description: "Clear the text value of a plain-text content control.";
2354
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already empty.";
2355
+ readonly requiresDocumentContext: true;
2356
+ readonly metadata: CommandStaticMetadata;
2357
+ readonly referenceDocPath: "content-controls/text/clear-value.mdx";
2358
+ readonly referenceGroup: "contentControls";
2359
+ };
2360
+ readonly 'contentControls.date.setValue': {
2361
+ readonly memberPath: "contentControls.date.setValue";
2362
+ readonly description: "Set the date value of a date content control.";
2363
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2364
+ readonly requiresDocumentContext: true;
2365
+ readonly metadata: CommandStaticMetadata;
2366
+ readonly referenceDocPath: "content-controls/date/set-value.mdx";
2367
+ readonly referenceGroup: "contentControls";
2368
+ };
2369
+ readonly 'contentControls.date.clearValue': {
2370
+ readonly memberPath: "contentControls.date.clearValue";
2371
+ readonly description: "Clear the date value of a date content control.";
2372
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if already empty.";
2373
+ readonly requiresDocumentContext: true;
2374
+ readonly metadata: CommandStaticMetadata;
2375
+ readonly referenceDocPath: "content-controls/date/clear-value.mdx";
2376
+ readonly referenceGroup: "contentControls";
2377
+ };
2378
+ readonly 'contentControls.date.setDisplayFormat': {
2379
+ readonly memberPath: "contentControls.date.setDisplayFormat";
2380
+ readonly description: "Set the display format string for a date content control.";
2381
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2382
+ readonly requiresDocumentContext: true;
2383
+ readonly metadata: CommandStaticMetadata;
2384
+ readonly referenceDocPath: "content-controls/date/set-display-format.mdx";
2385
+ readonly referenceGroup: "contentControls";
2386
+ };
2387
+ readonly 'contentControls.date.setDisplayLocale': {
2388
+ readonly memberPath: "contentControls.date.setDisplayLocale";
2389
+ readonly description: "Set the display locale for a date content control.";
2390
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2391
+ readonly requiresDocumentContext: true;
2392
+ readonly metadata: CommandStaticMetadata;
2393
+ readonly referenceDocPath: "content-controls/date/set-display-locale.mdx";
2394
+ readonly referenceGroup: "contentControls";
2395
+ };
2396
+ readonly 'contentControls.date.setStorageFormat': {
2397
+ readonly memberPath: "contentControls.date.setStorageFormat";
2398
+ readonly description: "Set the XML storage format for a date content control.";
2399
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2400
+ readonly requiresDocumentContext: true;
2401
+ readonly metadata: CommandStaticMetadata;
2402
+ readonly referenceDocPath: "content-controls/date/set-storage-format.mdx";
2403
+ readonly referenceGroup: "contentControls";
2404
+ };
2405
+ readonly 'contentControls.date.setCalendar': {
2406
+ readonly memberPath: "contentControls.date.setCalendar";
2407
+ readonly description: "Set the calendar type for a date content control.";
2408
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2409
+ readonly requiresDocumentContext: true;
2410
+ readonly metadata: CommandStaticMetadata;
2411
+ readonly referenceDocPath: "content-controls/date/set-calendar.mdx";
2412
+ readonly referenceGroup: "contentControls";
2413
+ };
2414
+ readonly 'contentControls.checkbox.getState': {
2415
+ readonly memberPath: "contentControls.checkbox.getState";
2416
+ readonly description: "Get the checked state of a checkbox content control.";
2417
+ readonly expectedResult: "Returns a CheckboxGetStateResult with the checked boolean.";
2418
+ readonly requiresDocumentContext: true;
2419
+ readonly metadata: CommandStaticMetadata;
2420
+ readonly referenceDocPath: "content-controls/checkbox/get-state.mdx";
2421
+ readonly referenceGroup: "contentControls";
2422
+ };
2423
+ readonly 'contentControls.checkbox.setState': {
2424
+ readonly memberPath: "contentControls.checkbox.setState";
2425
+ readonly description: "Set the checked state of a checkbox content control.";
2426
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2427
+ readonly requiresDocumentContext: true;
2428
+ readonly metadata: CommandStaticMetadata;
2429
+ readonly referenceDocPath: "content-controls/checkbox/set-state.mdx";
2430
+ readonly referenceGroup: "contentControls";
2431
+ };
2432
+ readonly 'contentControls.checkbox.toggle': {
2433
+ readonly memberPath: "contentControls.checkbox.toggle";
2434
+ readonly description: "Toggle the checked state of a checkbox content control.";
2435
+ readonly expectedResult: "Returns a ContentControlMutationResult with the updated state.";
2436
+ readonly requiresDocumentContext: true;
2437
+ readonly metadata: CommandStaticMetadata;
2438
+ readonly referenceDocPath: "content-controls/checkbox/toggle.mdx";
2439
+ readonly referenceGroup: "contentControls";
2440
+ };
2441
+ readonly 'contentControls.checkbox.setSymbolPair': {
2442
+ readonly memberPath: "contentControls.checkbox.setSymbolPair";
2443
+ readonly description: "Set the checked and unchecked symbol glyphs for a checkbox content control.";
2444
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if symbols unchanged.";
2445
+ readonly requiresDocumentContext: true;
2446
+ readonly metadata: CommandStaticMetadata;
2447
+ readonly referenceDocPath: "content-controls/checkbox/set-symbol-pair.mdx";
2448
+ readonly referenceGroup: "contentControls";
2449
+ };
2450
+ readonly 'contentControls.choiceList.getItems': {
2451
+ readonly memberPath: "contentControls.choiceList.getItems";
2452
+ readonly description: "Get the list items and selected value of a comboBox or dropDownList content control.";
2453
+ readonly expectedResult: "Returns a ChoiceListGetItemsResult with items and selectedValue.";
2454
+ readonly requiresDocumentContext: true;
2455
+ readonly metadata: CommandStaticMetadata;
2456
+ readonly referenceDocPath: "content-controls/choice-list/get-items.mdx";
2457
+ readonly referenceGroup: "contentControls";
2458
+ };
2459
+ readonly 'contentControls.choiceList.setItems': {
2460
+ readonly memberPath: "contentControls.choiceList.setItems";
2461
+ readonly description: "Replace the list items of a comboBox or dropDownList content control.";
2462
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if items unchanged.";
2463
+ readonly requiresDocumentContext: true;
2464
+ readonly metadata: CommandStaticMetadata;
2465
+ readonly referenceDocPath: "content-controls/choice-list/set-items.mdx";
2466
+ readonly referenceGroup: "contentControls";
2467
+ };
2468
+ readonly 'contentControls.choiceList.setSelected': {
2469
+ readonly memberPath: "contentControls.choiceList.setSelected";
2470
+ readonly description: "Set the selected value of a comboBox or dropDownList content control.";
2471
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if selection unchanged.";
2472
+ readonly requiresDocumentContext: true;
2473
+ readonly metadata: CommandStaticMetadata;
2474
+ readonly referenceDocPath: "content-controls/choice-list/set-selected.mdx";
2475
+ readonly referenceGroup: "contentControls";
2476
+ };
2477
+ readonly 'contentControls.repeatingSection.listItems': {
2478
+ readonly memberPath: "contentControls.repeatingSection.listItems";
2479
+ readonly description: "List the repeating section items inside a repeating section content control.";
2480
+ readonly expectedResult: "Returns a RepeatingSectionListItemsResult with child item info.";
2481
+ readonly requiresDocumentContext: true;
2482
+ readonly metadata: CommandStaticMetadata;
2483
+ readonly referenceDocPath: "content-controls/repeating-section/list-items.mdx";
2484
+ readonly referenceGroup: "contentControls";
2485
+ };
2486
+ readonly 'contentControls.repeatingSection.insertItemBefore': {
2487
+ readonly memberPath: "contentControls.repeatingSection.insertItemBefore";
2488
+ readonly description: "Insert a new item before a specific index in a repeating section.";
2489
+ readonly expectedResult: "Returns a ContentControlMutationResult with the new item target.";
2490
+ readonly requiresDocumentContext: true;
2491
+ readonly metadata: CommandStaticMetadata;
2492
+ readonly referenceDocPath: "content-controls/repeating-section/insert-item-before.mdx";
2493
+ readonly referenceGroup: "contentControls";
2494
+ };
2495
+ readonly 'contentControls.repeatingSection.insertItemAfter': {
2496
+ readonly memberPath: "contentControls.repeatingSection.insertItemAfter";
2497
+ readonly description: "Insert a new item after a specific index in a repeating section.";
2498
+ readonly expectedResult: "Returns a ContentControlMutationResult with the new item target.";
2499
+ readonly requiresDocumentContext: true;
2500
+ readonly metadata: CommandStaticMetadata;
2501
+ readonly referenceDocPath: "content-controls/repeating-section/insert-item-after.mdx";
2502
+ readonly referenceGroup: "contentControls";
2503
+ };
2504
+ readonly 'contentControls.repeatingSection.cloneItem': {
2505
+ readonly memberPath: "contentControls.repeatingSection.cloneItem";
2506
+ readonly description: "Clone a repeating section item at the given index. Cloned SDTs receive new IDs.";
2507
+ readonly expectedResult: "Returns a ContentControlMutationResult with the cloned item target.";
2508
+ readonly requiresDocumentContext: true;
2509
+ readonly metadata: CommandStaticMetadata;
2510
+ readonly referenceDocPath: "content-controls/repeating-section/clone-item.mdx";
2511
+ readonly referenceGroup: "contentControls";
2512
+ };
2513
+ readonly 'contentControls.repeatingSection.deleteItem': {
2514
+ readonly memberPath: "contentControls.repeatingSection.deleteItem";
2515
+ readonly description: "Delete a repeating section item at the given index.";
2516
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if item does not exist.";
2517
+ readonly requiresDocumentContext: true;
2518
+ readonly metadata: CommandStaticMetadata;
2519
+ readonly referenceDocPath: "content-controls/repeating-section/delete-item.mdx";
2520
+ readonly referenceGroup: "contentControls";
2521
+ };
2522
+ readonly 'contentControls.repeatingSection.setAllowInsertDelete': {
2523
+ readonly memberPath: "contentControls.repeatingSection.setAllowInsertDelete";
2524
+ readonly description: "Set the allowInsertDelete flag on a repeating section.";
2525
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if unchanged.";
2526
+ readonly requiresDocumentContext: true;
2527
+ readonly metadata: CommandStaticMetadata;
2528
+ readonly referenceDocPath: "content-controls/repeating-section/set-allow-insert-delete.mdx";
2529
+ readonly referenceGroup: "contentControls";
2530
+ };
2531
+ readonly 'contentControls.group.wrap': {
2532
+ readonly memberPath: "contentControls.group.wrap";
2533
+ readonly description: "Wrap a content control inside a new group content control. Always nests; not idempotent.";
2534
+ readonly expectedResult: "Returns a ContentControlMutationResult with the new group wrapper target.";
2535
+ readonly requiresDocumentContext: true;
2536
+ readonly metadata: CommandStaticMetadata;
2537
+ readonly referenceDocPath: "content-controls/group/wrap.mdx";
2538
+ readonly referenceGroup: "contentControls";
2539
+ };
2540
+ readonly 'contentControls.group.ungroup': {
2541
+ readonly memberPath: "contentControls.group.ungroup";
2542
+ readonly description: "Remove the group designation from a group content control.";
2543
+ readonly expectedResult: "Returns a ContentControlMutationResult; reports NO_OP if not a group.";
2544
+ readonly requiresDocumentContext: true;
2545
+ readonly metadata: CommandStaticMetadata;
2546
+ readonly referenceDocPath: "content-controls/group/ungroup.mdx";
2547
+ readonly referenceGroup: "contentControls";
2548
+ };
2549
+ readonly 'bookmarks.list': {
2550
+ readonly memberPath: "bookmarks.list";
2551
+ readonly description: "List all bookmarks in the document.";
2552
+ readonly expectedResult: "Returns a BookmarksListResult containing discovered bookmarks with address and domain data.";
2553
+ readonly requiresDocumentContext: true;
2554
+ readonly metadata: CommandStaticMetadata;
2555
+ readonly referenceDocPath: "bookmarks/list.mdx";
2556
+ readonly referenceGroup: "bookmarks";
2557
+ };
2558
+ readonly 'bookmarks.get': {
2559
+ readonly memberPath: "bookmarks.get";
2560
+ readonly description: "Get detailed information about a specific bookmark.";
2561
+ readonly expectedResult: "Returns a BookmarkInfo object with the bookmark's name, range, and optional table-column data.";
2562
+ readonly requiresDocumentContext: true;
2563
+ readonly metadata: CommandStaticMetadata;
2564
+ readonly referenceDocPath: "bookmarks/get.mdx";
2565
+ readonly referenceGroup: "bookmarks";
2566
+ };
2567
+ readonly 'bookmarks.insert': {
2568
+ readonly memberPath: "bookmarks.insert";
2569
+ readonly description: "Insert a new named bookmark at a target location.";
2570
+ readonly expectedResult: "Returns a BookmarkMutationResult indicating success with the bookmark address or a failure.";
2571
+ readonly requiresDocumentContext: true;
2572
+ readonly metadata: CommandStaticMetadata;
2573
+ readonly referenceDocPath: "bookmarks/insert.mdx";
2574
+ readonly referenceGroup: "bookmarks";
2575
+ };
2576
+ readonly 'bookmarks.rename': {
2577
+ readonly memberPath: "bookmarks.rename";
2578
+ readonly description: "Rename an existing bookmark.";
2579
+ readonly expectedResult: "Returns a BookmarkMutationResult indicating success with the updated bookmark address or a failure.";
2580
+ readonly requiresDocumentContext: true;
2581
+ readonly metadata: CommandStaticMetadata;
2582
+ readonly referenceDocPath: "bookmarks/rename.mdx";
2583
+ readonly referenceGroup: "bookmarks";
2584
+ };
2585
+ readonly 'bookmarks.remove': {
2586
+ readonly memberPath: "bookmarks.remove";
2587
+ readonly description: "Remove a bookmark from the document.";
2588
+ readonly expectedResult: "Returns a BookmarkMutationResult indicating success or a failure.";
2589
+ readonly requiresDocumentContext: true;
2590
+ readonly metadata: CommandStaticMetadata;
2591
+ readonly referenceDocPath: "bookmarks/remove.mdx";
2592
+ readonly referenceGroup: "bookmarks";
2593
+ };
2594
+ readonly 'footnotes.list': {
2595
+ readonly memberPath: "footnotes.list";
2596
+ readonly description: "List all footnotes and endnotes in the document.";
2597
+ readonly expectedResult: "Returns a FootnotesListResult containing discovered footnotes with address and domain data.";
2598
+ readonly requiresDocumentContext: true;
2599
+ readonly metadata: CommandStaticMetadata;
2600
+ readonly referenceDocPath: "footnotes/list.mdx";
2601
+ readonly referenceGroup: "footnotes";
2602
+ };
2603
+ readonly 'footnotes.get': {
2604
+ readonly memberPath: "footnotes.get";
2605
+ readonly description: "Get detailed information about a specific footnote or endnote.";
2606
+ readonly expectedResult: "Returns a FootnoteInfo object with the note's type, display number, and content.";
2607
+ readonly requiresDocumentContext: true;
2608
+ readonly metadata: CommandStaticMetadata;
2609
+ readonly referenceDocPath: "footnotes/get.mdx";
2610
+ readonly referenceGroup: "footnotes";
2611
+ };
2612
+ readonly 'footnotes.insert': {
2613
+ readonly memberPath: "footnotes.insert";
2614
+ readonly description: "Insert a new footnote or endnote at a target location or the current selection. Structured `body` content is currently available on v2-backed sessions only; v1-backed sessions return `CAPABILITY_UNAVAILABLE` for those shapes.";
2615
+ readonly expectedResult: "Returns a FootnoteMutationResult indicating success with the footnote address or a failure.";
2616
+ readonly requiresDocumentContext: true;
2617
+ readonly metadata: CommandStaticMetadata;
2618
+ readonly referenceDocPath: "footnotes/insert.mdx";
2619
+ readonly referenceGroup: "footnotes";
2620
+ };
2621
+ readonly 'footnotes.update': {
2622
+ readonly memberPath: "footnotes.update";
2623
+ readonly description: "Update the content of an existing footnote or endnote. Structured `body` content is currently available on v2-backed sessions only; v1-backed sessions return `CAPABILITY_UNAVAILABLE` for those shapes.";
2624
+ readonly expectedResult: "Returns a FootnoteMutationResult indicating success with the updated footnote address or a failure.";
2625
+ readonly requiresDocumentContext: true;
2626
+ readonly metadata: CommandStaticMetadata;
2627
+ readonly referenceDocPath: "footnotes/update.mdx";
2628
+ readonly referenceGroup: "footnotes";
2629
+ };
2630
+ readonly 'footnotes.remove': {
2631
+ readonly memberPath: "footnotes.remove";
2632
+ readonly description: "Remove a footnote or endnote from the document.";
2633
+ readonly expectedResult: "Returns a FootnoteMutationResult indicating success or a failure.";
2634
+ readonly requiresDocumentContext: true;
2635
+ readonly metadata: CommandStaticMetadata;
2636
+ readonly referenceDocPath: "footnotes/remove.mdx";
2637
+ readonly referenceGroup: "footnotes";
2638
+ };
2639
+ readonly 'footnotes.configure': {
2640
+ readonly memberPath: "footnotes.configure";
2641
+ readonly description: "Configure numbering and placement for footnotes or endnotes.";
2642
+ readonly expectedResult: "Returns a FootnoteConfigResult indicating success or a failure.";
2643
+ readonly requiresDocumentContext: true;
2644
+ readonly metadata: CommandStaticMetadata;
2645
+ readonly referenceDocPath: "footnotes/configure.mdx";
2646
+ readonly referenceGroup: "footnotes";
2647
+ };
2648
+ readonly 'clipboard.parse': {
2649
+ readonly memberPath: "clipboard.parse";
2650
+ readonly description: "Parse and sanitize a ClipboardPayload into a deterministic v2 clipboard insert plan with diagnostics. Does not mutate the document.";
2651
+ readonly expectedResult: "Returns a ClipboardParseResult with a ClipboardInsertPlan or a named fail-closed reason.";
2652
+ readonly requiresDocumentContext: true;
2653
+ readonly metadata: CommandStaticMetadata;
2654
+ readonly referenceDocPath: "clipboard/parse.mdx";
2655
+ readonly referenceGroup: "clipboard";
2656
+ };
2657
+ readonly 'clipboard.insert': {
2658
+ readonly memberPath: "clipboard.insert";
2659
+ readonly description: "Insert a parsed clipboard plan, v2 fragment, or raw ClipboardPayload through the v2 pasteFragment kernel operation.";
2660
+ readonly expectedResult: "Returns a ClipboardInsertResult with inserted refs, diagnostics, and one paste transaction receipt, or a named fail-closed reason.";
2661
+ readonly requiresDocumentContext: true;
2662
+ readonly metadata: CommandStaticMetadata;
2663
+ readonly referenceDocPath: "clipboard/insert.mdx";
2664
+ readonly referenceGroup: "clipboard";
2665
+ };
2666
+ readonly 'clipboard.serializeSelection': {
2667
+ readonly memberPath: "clipboard.serializeSelection";
2668
+ readonly description: "Serialize the current or supplied model selection into text/plain, text/html, and application/x-superdoc-v2-fragment clipboard payloads.";
2669
+ readonly expectedResult: "Returns a ClipboardSerializeResult containing the payload and normalized insert plan.";
2670
+ readonly requiresDocumentContext: true;
2671
+ readonly metadata: CommandStaticMetadata;
2672
+ readonly referenceDocPath: "clipboard/serialize-selection.mdx";
2673
+ readonly referenceGroup: "clipboard";
2674
+ };
2675
+ readonly 'crossRefs.list': {
2676
+ readonly memberPath: "crossRefs.list";
2677
+ readonly description: "List all cross-reference fields in the document.";
2678
+ readonly expectedResult: "Returns a CrossRefsListResult containing discovered cross-references with address and domain data.";
2679
+ readonly requiresDocumentContext: true;
2680
+ readonly metadata: CommandStaticMetadata;
2681
+ readonly referenceDocPath: "cross-refs/list.mdx";
2682
+ readonly referenceGroup: "crossRefs";
2683
+ };
2684
+ readonly 'crossRefs.get': {
2685
+ readonly memberPath: "crossRefs.get";
2686
+ readonly description: "Get detailed information about a specific cross-reference field.";
2687
+ readonly expectedResult: "Returns a CrossRefInfo object with the cross-reference's target, display, and resolved text.";
2688
+ readonly requiresDocumentContext: true;
2689
+ readonly metadata: CommandStaticMetadata;
2690
+ readonly referenceDocPath: "cross-refs/get.mdx";
2691
+ readonly referenceGroup: "crossRefs";
2692
+ };
2693
+ readonly 'crossRefs.insert': {
2694
+ readonly memberPath: "crossRefs.insert";
2695
+ readonly description: "Insert a new cross-reference field at a target location.";
2696
+ readonly expectedResult: "Returns a CrossRefMutationResult indicating success with the cross-reference address or a failure.";
2697
+ readonly requiresDocumentContext: true;
2698
+ readonly metadata: CommandStaticMetadata;
2699
+ readonly referenceDocPath: "cross-refs/insert.mdx";
2700
+ readonly referenceGroup: "crossRefs";
2701
+ };
2702
+ readonly 'crossRefs.rebuild': {
2703
+ readonly memberPath: "crossRefs.rebuild";
2704
+ readonly description: "Rebuild (recalculate) a cross-reference field.";
2705
+ readonly expectedResult: "Returns a CrossRefMutationResult indicating success or a failure.";
2706
+ readonly requiresDocumentContext: true;
2707
+ readonly metadata: CommandStaticMetadata;
2708
+ readonly referenceDocPath: "cross-refs/rebuild.mdx";
2709
+ readonly referenceGroup: "crossRefs";
2710
+ };
2711
+ readonly 'crossRefs.remove': {
2712
+ readonly memberPath: "crossRefs.remove";
2713
+ readonly description: "Remove a cross-reference field from the document.";
2714
+ readonly expectedResult: "Returns a CrossRefMutationResult indicating success or a failure.";
2715
+ readonly requiresDocumentContext: true;
2716
+ readonly metadata: CommandStaticMetadata;
2717
+ readonly referenceDocPath: "cross-refs/remove.mdx";
2718
+ readonly referenceGroup: "crossRefs";
2719
+ };
2720
+ readonly 'index.list': {
2721
+ readonly memberPath: "index.list";
2722
+ readonly description: "List all index blocks in the document.";
2723
+ readonly expectedResult: "Returns an IndexListResult containing discovered index blocks with address and domain data.";
2724
+ readonly requiresDocumentContext: true;
2725
+ readonly metadata: CommandStaticMetadata;
2726
+ readonly referenceDocPath: "index/list.mdx";
2727
+ readonly referenceGroup: "index";
2728
+ };
2729
+ readonly 'index.get': {
2730
+ readonly memberPath: "index.get";
2731
+ readonly description: "Get detailed information about a specific index block.";
2732
+ readonly expectedResult: "Returns an IndexInfo object with the index's instruction, configuration, and entry count.";
2733
+ readonly requiresDocumentContext: true;
2734
+ readonly metadata: CommandStaticMetadata;
2735
+ readonly referenceDocPath: "index/get.mdx";
2736
+ readonly referenceGroup: "index";
2737
+ };
2738
+ readonly 'index.insert': {
2739
+ readonly memberPath: "index.insert";
2740
+ readonly description: "Insert a new index block at a target location.";
2741
+ readonly expectedResult: "Returns an IndexMutationResult indicating success with the index address or a failure.";
2742
+ readonly requiresDocumentContext: true;
2743
+ readonly metadata: CommandStaticMetadata;
2744
+ readonly referenceDocPath: "index/insert.mdx";
2745
+ readonly referenceGroup: "index";
2746
+ };
2747
+ readonly 'index.configure': {
2748
+ readonly memberPath: "index.configure";
2749
+ readonly description: "Update the configuration of an existing index block.";
2750
+ readonly expectedResult: "Returns an IndexMutationResult indicating success or a failure.";
2751
+ readonly requiresDocumentContext: true;
2752
+ readonly metadata: CommandStaticMetadata;
2753
+ readonly referenceDocPath: "index/configure.mdx";
2754
+ readonly referenceGroup: "index";
2755
+ };
2756
+ readonly 'index.rebuild': {
2757
+ readonly memberPath: "index.rebuild";
2758
+ readonly description: "Rebuild (regenerate) an index block from its entries.";
2759
+ readonly expectedResult: "Returns an IndexMutationResult indicating success or a failure.";
2760
+ readonly requiresDocumentContext: true;
2761
+ readonly metadata: CommandStaticMetadata;
2762
+ readonly referenceDocPath: "index/rebuild.mdx";
2763
+ readonly referenceGroup: "index";
2764
+ };
2765
+ readonly 'index.remove': {
2766
+ readonly memberPath: "index.remove";
2767
+ readonly description: "Remove an index block from the document.";
2768
+ readonly expectedResult: "Returns an IndexMutationResult indicating success or a failure.";
2769
+ readonly requiresDocumentContext: true;
2770
+ readonly metadata: CommandStaticMetadata;
2771
+ readonly referenceDocPath: "index/remove.mdx";
2772
+ readonly referenceGroup: "index";
2773
+ };
2774
+ readonly 'index.entries.list': {
2775
+ readonly memberPath: "index.entries.list";
2776
+ readonly description: "List all XE (index entry) fields in the document.";
2777
+ readonly expectedResult: "Returns an IndexEntryListResult containing discovered index entries with address and domain data.";
2778
+ readonly requiresDocumentContext: true;
2779
+ readonly metadata: CommandStaticMetadata;
2780
+ readonly referenceDocPath: "index/entries-list.mdx";
2781
+ readonly referenceGroup: "index";
2782
+ };
2783
+ readonly 'index.entries.get': {
2784
+ readonly memberPath: "index.entries.get";
2785
+ readonly description: "Get detailed information about a specific XE index entry.";
2786
+ readonly expectedResult: "Returns an IndexEntryInfo object with the entry's text, sub-entry, formatting, and instruction.";
2787
+ readonly requiresDocumentContext: true;
2788
+ readonly metadata: CommandStaticMetadata;
2789
+ readonly referenceDocPath: "index/entries-get.mdx";
2790
+ readonly referenceGroup: "index";
2791
+ };
2792
+ readonly 'index.entries.insert': {
2793
+ readonly memberPath: "index.entries.insert";
2794
+ readonly description: "Insert a new XE index entry field at a target location.";
2795
+ readonly expectedResult: "Returns an IndexEntryMutationResult indicating success with the entry address or a failure.";
2796
+ readonly requiresDocumentContext: true;
2797
+ readonly metadata: CommandStaticMetadata;
2798
+ readonly referenceDocPath: "index/entries-insert.mdx";
2799
+ readonly referenceGroup: "index";
2800
+ };
2801
+ readonly 'index.entries.update': {
2802
+ readonly memberPath: "index.entries.update";
2803
+ readonly description: "Update the properties of an existing XE index entry.";
2804
+ readonly expectedResult: "Returns an IndexEntryMutationResult indicating success or a failure.";
2805
+ readonly requiresDocumentContext: true;
2806
+ readonly metadata: CommandStaticMetadata;
2807
+ readonly referenceDocPath: "index/entries-update.mdx";
2808
+ readonly referenceGroup: "index";
2809
+ };
2810
+ readonly 'index.entries.remove': {
2811
+ readonly memberPath: "index.entries.remove";
2812
+ readonly description: "Remove an XE index entry field from the document.";
2813
+ readonly expectedResult: "Returns an IndexEntryMutationResult indicating success or a failure.";
2814
+ readonly requiresDocumentContext: true;
2815
+ readonly metadata: CommandStaticMetadata;
2816
+ readonly referenceDocPath: "index/entries-remove.mdx";
2817
+ readonly referenceGroup: "index";
2818
+ };
2819
+ readonly 'captions.list': {
2820
+ readonly memberPath: "captions.list";
2821
+ readonly description: "List all caption paragraphs in the document.";
2822
+ readonly expectedResult: "Returns a CaptionsListResult containing discovered captions with address and domain data.";
2823
+ readonly requiresDocumentContext: true;
2824
+ readonly metadata: CommandStaticMetadata;
2825
+ readonly referenceDocPath: "captions/list.mdx";
2826
+ readonly referenceGroup: "captions";
2827
+ };
2828
+ readonly 'captions.get': {
2829
+ readonly memberPath: "captions.get";
2830
+ readonly description: "Get detailed information about a specific caption paragraph.";
2831
+ readonly expectedResult: "Returns a CaptionInfo object with the caption's label, number, text, and instruction.";
2832
+ readonly requiresDocumentContext: true;
2833
+ readonly metadata: CommandStaticMetadata;
2834
+ readonly referenceDocPath: "captions/get.mdx";
2835
+ readonly referenceGroup: "captions";
2836
+ };
2837
+ readonly 'captions.insert': {
2838
+ readonly memberPath: "captions.insert";
2839
+ readonly description: "Insert a new caption paragraph adjacent to a target block.";
2840
+ readonly expectedResult: "Returns a CaptionMutationResult indicating success with the caption address or a failure.";
2841
+ readonly requiresDocumentContext: true;
2842
+ readonly metadata: CommandStaticMetadata;
2843
+ readonly referenceDocPath: "captions/insert.mdx";
2844
+ readonly referenceGroup: "captions";
2845
+ };
2846
+ readonly 'captions.update': {
2847
+ readonly memberPath: "captions.update";
2848
+ readonly description: "Append patch text to an existing caption paragraph.";
2849
+ readonly expectedResult: "Returns a CaptionMutationResult indicating success after appending patch.text to the existing caption body, or NO_OP when no text patch is provided.";
2850
+ readonly requiresDocumentContext: true;
2851
+ readonly metadata: CommandStaticMetadata;
2852
+ readonly referenceDocPath: "captions/update.mdx";
2853
+ readonly referenceGroup: "captions";
2854
+ };
2855
+ readonly 'captions.remove': {
2856
+ readonly memberPath: "captions.remove";
2857
+ readonly description: "Remove a caption paragraph from the document.";
2858
+ readonly expectedResult: "Returns a CaptionMutationResult indicating success or a failure.";
2859
+ readonly requiresDocumentContext: true;
2860
+ readonly metadata: CommandStaticMetadata;
2861
+ readonly referenceDocPath: "captions/remove.mdx";
2862
+ readonly referenceGroup: "captions";
2863
+ };
2864
+ readonly 'captions.configure': {
2865
+ readonly memberPath: "captions.configure";
2866
+ readonly description: "Configure numbering format for a caption label.";
2867
+ readonly expectedResult: "Returns a CaptionConfigResult indicating success or a failure.";
2868
+ readonly requiresDocumentContext: true;
2869
+ readonly metadata: CommandStaticMetadata;
2870
+ readonly referenceDocPath: "captions/configure.mdx";
2871
+ readonly referenceGroup: "captions";
2872
+ };
2873
+ readonly 'fields.list': {
2874
+ readonly memberPath: "fields.list";
2875
+ readonly description: "List all fields in the document.";
2876
+ readonly expectedResult: "Returns a FieldsListResult containing discovered fields with address and domain data.";
2877
+ readonly requiresDocumentContext: true;
2878
+ readonly metadata: CommandStaticMetadata;
2879
+ readonly referenceDocPath: "fields/list.mdx";
2880
+ readonly referenceGroup: "fields";
2881
+ };
2882
+ readonly 'fields.get': {
2883
+ readonly memberPath: "fields.get";
2884
+ readonly description: "Get detailed information about a specific field.";
2885
+ readonly expectedResult: "Returns a FieldInfo object with the field's instruction, result text, and nesting data.";
2886
+ readonly requiresDocumentContext: true;
2887
+ readonly metadata: CommandStaticMetadata;
2888
+ readonly referenceDocPath: "fields/get.mdx";
2889
+ readonly referenceGroup: "fields";
2890
+ };
2891
+ readonly 'fields.insert': {
2892
+ readonly memberPath: "fields.insert";
2893
+ readonly description: "Insert a raw field code at a target location, optionally preserving cached result text. The current v1 runtime supports rebuild flows; `cachedResultText` / `updatePolicy: \"preserveCached\"` currently return `CAPABILITY_UNAVAILABLE`.";
2894
+ readonly expectedResult: "Returns a FieldMutationResult indicating success with the field address or a failure.";
2895
+ readonly requiresDocumentContext: true;
2896
+ readonly metadata: CommandStaticMetadata;
2897
+ readonly referenceDocPath: "fields/insert.mdx";
2898
+ readonly referenceGroup: "fields";
2899
+ };
2900
+ readonly 'fields.rebuild': {
2901
+ readonly memberPath: "fields.rebuild";
2902
+ readonly description: "Rebuild (recalculate) a field.";
2903
+ readonly expectedResult: "Returns a FieldMutationResult indicating success or a failure.";
2904
+ readonly requiresDocumentContext: true;
2905
+ readonly metadata: CommandStaticMetadata;
2906
+ readonly referenceDocPath: "fields/rebuild.mdx";
2907
+ readonly referenceGroup: "fields";
2908
+ };
2909
+ readonly 'fields.remove': {
2910
+ readonly memberPath: "fields.remove";
2911
+ readonly description: "Remove a field from the document.";
2912
+ readonly expectedResult: "Returns a FieldMutationResult indicating success or a failure.";
2913
+ readonly requiresDocumentContext: true;
2914
+ readonly metadata: CommandStaticMetadata;
2915
+ readonly referenceDocPath: "fields/remove.mdx";
2916
+ readonly referenceGroup: "fields";
2917
+ };
2918
+ readonly 'citations.list': {
2919
+ readonly memberPath: "citations.list";
2920
+ readonly description: "List all citation marks in the document.";
2921
+ readonly expectedResult: "Returns a CitationsListResult containing discovered citation marks with address and domain data.";
2922
+ readonly requiresDocumentContext: true;
2923
+ readonly metadata: CommandStaticMetadata;
2924
+ readonly referenceDocPath: "citations/list.mdx";
2925
+ readonly referenceGroup: "citations";
2926
+ };
2927
+ readonly 'citations.get': {
2928
+ readonly memberPath: "citations.get";
2929
+ readonly description: "Get detailed information about a specific citation mark.";
2930
+ readonly expectedResult: "Returns a CitationInfo object with the citation's source references and display text.";
2931
+ readonly requiresDocumentContext: true;
2932
+ readonly metadata: CommandStaticMetadata;
2933
+ readonly referenceDocPath: "citations/get.mdx";
2934
+ readonly referenceGroup: "citations";
2935
+ };
2936
+ readonly 'citations.insert': {
2937
+ readonly memberPath: "citations.insert";
2938
+ readonly description: "Insert a new citation mark at a target location.";
2939
+ readonly expectedResult: "Returns a CitationMutationResult indicating success with the citation address or a failure.";
2940
+ readonly requiresDocumentContext: true;
2941
+ readonly metadata: CommandStaticMetadata;
2942
+ readonly referenceDocPath: "citations/insert.mdx";
2943
+ readonly referenceGroup: "citations";
2944
+ };
2945
+ readonly 'citations.update': {
2946
+ readonly memberPath: "citations.update";
2947
+ readonly description: "Update an existing citation mark's source references.";
2948
+ readonly expectedResult: "Returns a CitationMutationResult indicating success or a failure.";
2949
+ readonly requiresDocumentContext: true;
2950
+ readonly metadata: CommandStaticMetadata;
2951
+ readonly referenceDocPath: "citations/update.mdx";
2952
+ readonly referenceGroup: "citations";
2953
+ };
2954
+ readonly 'citations.remove': {
2955
+ readonly memberPath: "citations.remove";
2956
+ readonly description: "Remove a citation mark from the document.";
2957
+ readonly expectedResult: "Returns a CitationMutationResult indicating success or a failure.";
2958
+ readonly requiresDocumentContext: true;
2959
+ readonly metadata: CommandStaticMetadata;
2960
+ readonly referenceDocPath: "citations/remove.mdx";
2961
+ readonly referenceGroup: "citations";
2962
+ };
2963
+ readonly 'citations.sources.list': {
2964
+ readonly memberPath: "citations.sources.list";
2965
+ readonly description: "List all citation sources in the document store.";
2966
+ readonly expectedResult: "Returns a CitationSourcesListResult containing discovered sources with address and domain data.";
2967
+ readonly requiresDocumentContext: true;
2968
+ readonly metadata: CommandStaticMetadata;
2969
+ readonly referenceDocPath: "citations/sources-list.mdx";
2970
+ readonly referenceGroup: "citations";
2971
+ };
2972
+ readonly 'citations.sources.get': {
2973
+ readonly memberPath: "citations.sources.get";
2974
+ readonly description: "Get detailed information about a specific citation source.";
2975
+ readonly expectedResult: "Returns a CitationSourceInfo object with the source's type, fields, and metadata.";
2976
+ readonly requiresDocumentContext: true;
2977
+ readonly metadata: CommandStaticMetadata;
2978
+ readonly referenceDocPath: "citations/sources-get.mdx";
2979
+ readonly referenceGroup: "citations";
2980
+ };
2981
+ readonly 'citations.sources.insert': {
2982
+ readonly memberPath: "citations.sources.insert";
2983
+ readonly description: "Register a new citation source in the document store.";
2984
+ readonly expectedResult: "Returns a CitationSourceMutationResult indicating success with the source address or a failure.";
2985
+ readonly requiresDocumentContext: true;
2986
+ readonly metadata: CommandStaticMetadata;
2987
+ readonly referenceDocPath: "citations/sources-insert.mdx";
2988
+ readonly referenceGroup: "citations";
2989
+ };
2990
+ readonly 'citations.sources.update': {
2991
+ readonly memberPath: "citations.sources.update";
2992
+ readonly description: "Update the fields of an existing citation source.";
2993
+ readonly expectedResult: "Returns a CitationSourceMutationResult indicating success or a failure.";
2994
+ readonly requiresDocumentContext: true;
2995
+ readonly metadata: CommandStaticMetadata;
2996
+ readonly referenceDocPath: "citations/sources-update.mdx";
2997
+ readonly referenceGroup: "citations";
2998
+ };
2999
+ readonly 'citations.sources.remove': {
3000
+ readonly memberPath: "citations.sources.remove";
3001
+ readonly description: "Remove a citation source from the document store.";
3002
+ readonly expectedResult: "Returns a CitationSourceMutationResult indicating success or a failure.";
3003
+ readonly requiresDocumentContext: true;
3004
+ readonly metadata: CommandStaticMetadata;
3005
+ readonly referenceDocPath: "citations/sources-remove.mdx";
3006
+ readonly referenceGroup: "citations";
3007
+ };
3008
+ readonly 'citations.bibliography.get': {
3009
+ readonly memberPath: "citations.bibliography.get";
3010
+ readonly description: "Get information about the bibliography block.";
3011
+ readonly expectedResult: "Returns a BibliographyInfo object with the bibliography's address and configuration.";
3012
+ readonly requiresDocumentContext: true;
3013
+ readonly metadata: CommandStaticMetadata;
3014
+ readonly referenceDocPath: "citations/bibliography-get.mdx";
3015
+ readonly referenceGroup: "citations";
3016
+ };
3017
+ readonly 'citations.bibliography.insert': {
3018
+ readonly memberPath: "citations.bibliography.insert";
3019
+ readonly description: "Insert a bibliography block at a target location.";
3020
+ readonly expectedResult: "Returns a BibliographyMutationResult indicating success with the bibliography address or a failure.";
3021
+ readonly requiresDocumentContext: true;
3022
+ readonly metadata: CommandStaticMetadata;
3023
+ readonly referenceDocPath: "citations/bibliography-insert.mdx";
3024
+ readonly referenceGroup: "citations";
3025
+ };
3026
+ readonly 'citations.bibliography.rebuild': {
3027
+ readonly memberPath: "citations.bibliography.rebuild";
3028
+ readonly description: "Rebuild the bibliography from current sources.";
3029
+ readonly expectedResult: "Returns a BibliographyMutationResult indicating success or a failure.";
3030
+ readonly requiresDocumentContext: true;
3031
+ readonly metadata: CommandStaticMetadata;
3032
+ readonly referenceDocPath: "citations/bibliography-rebuild.mdx";
3033
+ readonly referenceGroup: "citations";
3034
+ };
3035
+ readonly 'citations.bibliography.configure': {
3036
+ readonly memberPath: "citations.bibliography.configure";
3037
+ readonly description: "Configure the bibliography style.";
3038
+ readonly expectedResult: "Returns a BibliographyMutationResult indicating success or a failure.";
3039
+ readonly requiresDocumentContext: true;
3040
+ readonly metadata: CommandStaticMetadata;
3041
+ readonly referenceDocPath: "citations/bibliography-configure.mdx";
3042
+ readonly referenceGroup: "citations";
3043
+ };
3044
+ readonly 'citations.bibliography.remove': {
3045
+ readonly memberPath: "citations.bibliography.remove";
3046
+ readonly description: "Remove the bibliography block from the document.";
3047
+ readonly expectedResult: "Returns a BibliographyMutationResult indicating success or a failure.";
3048
+ readonly requiresDocumentContext: true;
3049
+ readonly metadata: CommandStaticMetadata;
3050
+ readonly referenceDocPath: "citations/bibliography-remove.mdx";
3051
+ readonly referenceGroup: "citations";
3052
+ };
3053
+ readonly 'authorities.list': {
3054
+ readonly memberPath: "authorities.list";
3055
+ readonly description: "List all table-of-authorities blocks in the document.";
3056
+ readonly expectedResult: "Returns an AuthoritiesListResult containing discovered TOA blocks with address and domain data.";
3057
+ readonly requiresDocumentContext: true;
3058
+ readonly metadata: CommandStaticMetadata;
3059
+ readonly referenceDocPath: "authorities/list.mdx";
3060
+ readonly referenceGroup: "authorities";
3061
+ };
3062
+ readonly 'authorities.get': {
3063
+ readonly memberPath: "authorities.get";
3064
+ readonly description: "Get detailed information about a specific table-of-authorities block.";
3065
+ readonly expectedResult: "Returns an AuthoritiesInfo object with the TOA's category filter and configuration.";
3066
+ readonly requiresDocumentContext: true;
3067
+ readonly metadata: CommandStaticMetadata;
3068
+ readonly referenceDocPath: "authorities/get.mdx";
3069
+ readonly referenceGroup: "authorities";
3070
+ };
3071
+ readonly 'authorities.insert': {
3072
+ readonly memberPath: "authorities.insert";
3073
+ readonly description: "Insert a new table-of-authorities block at a target location.";
3074
+ readonly expectedResult: "Returns an AuthoritiesMutationResult indicating success with the TOA address or a failure.";
3075
+ readonly requiresDocumentContext: true;
3076
+ readonly metadata: CommandStaticMetadata;
3077
+ readonly referenceDocPath: "authorities/insert.mdx";
3078
+ readonly referenceGroup: "authorities";
3079
+ };
3080
+ readonly 'authorities.configure': {
3081
+ readonly memberPath: "authorities.configure";
3082
+ readonly description: "Update the configuration of an existing table-of-authorities block.";
3083
+ readonly expectedResult: "Returns an AuthoritiesMutationResult indicating success or a failure.";
3084
+ readonly requiresDocumentContext: true;
3085
+ readonly metadata: CommandStaticMetadata;
3086
+ readonly referenceDocPath: "authorities/configure.mdx";
3087
+ readonly referenceGroup: "authorities";
3088
+ };
3089
+ readonly 'authorities.rebuild': {
3090
+ readonly memberPath: "authorities.rebuild";
3091
+ readonly description: "Rebuild a table-of-authorities block from its entries.";
3092
+ readonly expectedResult: "Returns an AuthoritiesMutationResult indicating success or a failure.";
3093
+ readonly requiresDocumentContext: true;
3094
+ readonly metadata: CommandStaticMetadata;
3095
+ readonly referenceDocPath: "authorities/rebuild.mdx";
3096
+ readonly referenceGroup: "authorities";
3097
+ };
3098
+ readonly 'authorities.remove': {
3099
+ readonly memberPath: "authorities.remove";
3100
+ readonly description: "Remove a table-of-authorities block from the document.";
3101
+ readonly expectedResult: "Returns an AuthoritiesMutationResult indicating success or a failure.";
3102
+ readonly requiresDocumentContext: true;
3103
+ readonly metadata: CommandStaticMetadata;
3104
+ readonly referenceDocPath: "authorities/remove.mdx";
3105
+ readonly referenceGroup: "authorities";
3106
+ };
3107
+ readonly 'authorities.entries.list': {
3108
+ readonly memberPath: "authorities.entries.list";
3109
+ readonly description: "List all TA (authority entry) fields in the document.";
3110
+ readonly expectedResult: "Returns an AuthorityEntryListResult containing discovered entries with address and domain data.";
3111
+ readonly requiresDocumentContext: true;
3112
+ readonly metadata: CommandStaticMetadata;
3113
+ readonly referenceDocPath: "authorities/entries-list.mdx";
3114
+ readonly referenceGroup: "authorities";
3115
+ };
3116
+ readonly 'authorities.entries.get': {
3117
+ readonly memberPath: "authorities.entries.get";
3118
+ readonly description: "Get detailed information about a specific TA authority entry.";
3119
+ readonly expectedResult: "Returns an AuthorityEntryInfo object with the entry's citations and category.";
3120
+ readonly requiresDocumentContext: true;
3121
+ readonly metadata: CommandStaticMetadata;
3122
+ readonly referenceDocPath: "authorities/entries-get.mdx";
3123
+ readonly referenceGroup: "authorities";
3124
+ };
3125
+ readonly 'authorities.entries.insert': {
3126
+ readonly memberPath: "authorities.entries.insert";
3127
+ readonly description: "Insert a new TA authority entry field at a target location.";
3128
+ readonly expectedResult: "Returns an AuthorityEntryMutationResult indicating success with the entry address or a failure.";
3129
+ readonly requiresDocumentContext: true;
3130
+ readonly metadata: CommandStaticMetadata;
3131
+ readonly referenceDocPath: "authorities/entries-insert.mdx";
3132
+ readonly referenceGroup: "authorities";
3133
+ };
3134
+ readonly 'authorities.entries.update': {
3135
+ readonly memberPath: "authorities.entries.update";
3136
+ readonly description: "Update the properties of an existing TA authority entry.";
3137
+ readonly expectedResult: "Returns an AuthorityEntryMutationResult indicating success or a failure.";
3138
+ readonly requiresDocumentContext: true;
3139
+ readonly metadata: CommandStaticMetadata;
3140
+ readonly referenceDocPath: "authorities/entries-update.mdx";
3141
+ readonly referenceGroup: "authorities";
3142
+ };
3143
+ readonly 'authorities.entries.remove': {
3144
+ readonly memberPath: "authorities.entries.remove";
3145
+ readonly description: "Remove a TA authority entry field from the document.";
3146
+ readonly expectedResult: "Returns an AuthorityEntryMutationResult indicating success or a failure.";
3147
+ readonly requiresDocumentContext: true;
3148
+ readonly metadata: CommandStaticMetadata;
3149
+ readonly referenceDocPath: "authorities/entries-remove.mdx";
3150
+ readonly referenceGroup: "authorities";
3151
+ };
3152
+ readonly 'diff.capture': {
3153
+ readonly memberPath: "diff.capture";
3154
+ readonly description: string;
3155
+ readonly expectedResult: "Returns a DiffSnapshot with a fingerprint and opaque payload.";
3156
+ readonly requiresDocumentContext: true;
3157
+ readonly metadata: CommandStaticMetadata;
3158
+ readonly referenceDocPath: "diff/capture.mdx";
3159
+ readonly referenceGroup: "diff";
3160
+ readonly skipAsATool: true;
3161
+ };
3162
+ readonly 'diff.compare': {
3163
+ readonly memberPath: "diff.compare";
3164
+ readonly description: string;
3165
+ readonly expectedResult: "Returns a DiffPayload with a summary and opaque payload.";
3166
+ readonly requiresDocumentContext: true;
3167
+ readonly metadata: CommandStaticMetadata;
3168
+ readonly referenceDocPath: "diff/compare.mdx";
3169
+ readonly referenceGroup: "diff";
3170
+ readonly skipAsATool: true;
3171
+ };
3172
+ readonly 'diff.apply': {
3173
+ readonly memberPath: "diff.apply";
3174
+ readonly description: string;
3175
+ readonly expectedResult: "Returns a DiffApplyResult with applied operation count and diagnostics.";
3176
+ readonly requiresDocumentContext: true;
3177
+ readonly metadata: CommandStaticMetadata;
3178
+ readonly referenceDocPath: "diff/apply.mdx";
3179
+ readonly referenceGroup: "diff";
3180
+ readonly skipAsATool: true;
3181
+ };
3182
+ readonly 'export.toDocx': {
3183
+ readonly memberPath: "export.toDocx";
3184
+ readonly description: string;
3185
+ readonly expectedResult: "Returns an ExportToDocxResult with the resolved mode, base64 DOCX bytes, byte length, and a report.warnings array.";
3186
+ readonly requiresDocumentContext: true;
3187
+ readonly metadata: CommandStaticMetadata;
3188
+ readonly referenceDocPath: "export/to-docx.mdx";
3189
+ readonly referenceGroup: "export";
3190
+ readonly skipAsATool: true;
3191
+ };
3192
+ readonly 'protection.get': {
3193
+ readonly memberPath: "protection.get";
3194
+ readonly description: "Read the current document protection state including editing restrictions, write protection, and read-only recommendation.";
3195
+ readonly expectedResult: "Returns a DocumentProtectionState with editingRestriction, writeProtection, and readOnlyRecommended fields.";
3196
+ readonly requiresDocumentContext: true;
3197
+ readonly metadata: CommandStaticMetadata;
3198
+ readonly referenceDocPath: "protection/get.mdx";
3199
+ readonly referenceGroup: "protection";
3200
+ readonly skipAsATool: true;
3201
+ };
3202
+ readonly 'protection.setEditingRestriction': {
3203
+ readonly memberPath: "protection.setEditingRestriction";
3204
+ readonly description: "Enable Word-style editing restriction on the document. Only readOnly mode is supported in v1.";
3205
+ readonly expectedResult: "Returns a ProtectionMutationResult with the updated protection state on success.";
3206
+ readonly requiresDocumentContext: true;
3207
+ readonly metadata: CommandStaticMetadata;
3208
+ readonly referenceDocPath: "protection/set-editing-restriction.mdx";
3209
+ readonly referenceGroup: "protection";
3210
+ readonly skipAsATool: true;
3211
+ };
3212
+ readonly 'protection.clearEditingRestriction': {
3213
+ readonly memberPath: "protection.clearEditingRestriction";
3214
+ readonly description: "Disable document-level editing restriction by setting enforcement to off. Preserves the protection element and its metadata for round-trip fidelity.";
3215
+ readonly expectedResult: "Returns a ProtectionMutationResult with the updated protection state on success.";
3216
+ readonly requiresDocumentContext: true;
3217
+ readonly metadata: CommandStaticMetadata;
3218
+ readonly referenceDocPath: "protection/clear-editing-restriction.mdx";
3219
+ readonly referenceGroup: "protection";
3220
+ readonly skipAsATool: true;
3221
+ };
3222
+ readonly 'permissionRanges.list': {
3223
+ readonly memberPath: "permissionRanges.list";
3224
+ readonly description: "List all permission ranges in the document. Returns only complete paired ranges (both start and end markers present).";
3225
+ readonly expectedResult: "Returns a PermissionRangesListResult containing discovered permission ranges with principal and position data.";
3226
+ readonly requiresDocumentContext: true;
3227
+ readonly metadata: CommandStaticMetadata;
3228
+ readonly referenceDocPath: "permission-ranges/list.mdx";
3229
+ readonly referenceGroup: "permissionRanges";
3230
+ readonly skipAsATool: true;
3231
+ };
3232
+ readonly 'permissionRanges.get': {
3233
+ readonly memberPath: "permissionRanges.get";
3234
+ readonly description: "Get detailed information about a specific permission range by ID.";
3235
+ readonly expectedResult: "Returns a PermissionRangeInfo object with the range principal, kind, and positions.";
3236
+ readonly requiresDocumentContext: true;
3237
+ readonly metadata: CommandStaticMetadata;
3238
+ readonly referenceDocPath: "permission-ranges/get.mdx";
3239
+ readonly referenceGroup: "permissionRanges";
3240
+ readonly skipAsATool: true;
3241
+ };
3242
+ readonly 'permissionRanges.create': {
3243
+ readonly memberPath: "permissionRanges.create";
3244
+ readonly description: "Create a permission range exception region in the document. Inserts matched permStart/permEnd markers at the target.";
3245
+ readonly expectedResult: "Returns a PermissionRangeMutationResult with the created range info on success.";
3246
+ readonly requiresDocumentContext: true;
3247
+ readonly metadata: CommandStaticMetadata;
3248
+ readonly referenceDocPath: "permission-ranges/create.mdx";
3249
+ readonly referenceGroup: "permissionRanges";
3250
+ readonly skipAsATool: true;
3251
+ };
3252
+ readonly 'permissionRanges.remove': {
3253
+ readonly memberPath: "permissionRanges.remove";
3254
+ readonly description: "Remove a permission range by ID. Removes whichever markers exist for the given ID (start, end, or both).";
3255
+ readonly expectedResult: "Returns a PermissionRangeRemoveResult indicating success or a failure.";
3256
+ readonly requiresDocumentContext: true;
3257
+ readonly metadata: CommandStaticMetadata;
3258
+ readonly referenceDocPath: "permission-ranges/remove.mdx";
3259
+ readonly referenceGroup: "permissionRanges";
3260
+ readonly skipAsATool: true;
3261
+ };
3262
+ readonly 'permissionRanges.updatePrincipal': {
3263
+ readonly memberPath: "permissionRanges.updatePrincipal";
3264
+ readonly description: "Change which principal is allowed to edit a permission range. Updates the principal fields on the start marker.";
3265
+ readonly expectedResult: "Returns a PermissionRangeMutationResult with the updated range info on success.";
3266
+ readonly requiresDocumentContext: true;
3267
+ readonly metadata: CommandStaticMetadata;
3268
+ readonly referenceDocPath: "permission-ranges/update-principal.mdx";
3269
+ readonly referenceGroup: "permissionRanges";
3270
+ readonly skipAsATool: true;
3271
+ };
3272
+ readonly 'customXml.parts.list': {
3273
+ readonly memberPath: "customXml.parts.list";
3274
+ readonly description: "List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.";
3275
+ readonly expectedResult: "Returns a CustomXmlPartsListResult with summary entries (no content); fetch content via get.";
3276
+ readonly requiresDocumentContext: true;
3277
+ readonly metadata: CommandStaticMetadata;
3278
+ readonly referenceDocPath: "custom-xml/parts/list.mdx";
3279
+ readonly referenceGroup: "customXml";
3280
+ };
3281
+ readonly 'customXml.parts.get': {
3282
+ readonly memberPath: "customXml.parts.get";
3283
+ readonly description: string;
3284
+ readonly expectedResult: "Returns a CustomXmlPartInfo with id, partName, namespaces, schemaRefs, and content; or null if not found.";
3285
+ readonly requiresDocumentContext: true;
3286
+ readonly metadata: CommandStaticMetadata;
3287
+ readonly referenceDocPath: "custom-xml/parts/get.mdx";
3288
+ readonly referenceGroup: "customXml";
3289
+ };
3290
+ readonly 'customXml.parts.create': {
3291
+ readonly memberPath: "customXml.parts.create";
3292
+ readonly description: "Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.";
3293
+ readonly expectedResult: "Returns a CustomXmlPartsCreateResult with the generated id and package part names on success.";
3294
+ readonly requiresDocumentContext: true;
3295
+ readonly metadata: CommandStaticMetadata;
3296
+ readonly referenceDocPath: "custom-xml/parts/create.mdx";
3297
+ readonly referenceGroup: "customXml";
3298
+ };
3299
+ readonly 'customXml.parts.patch': {
3300
+ readonly memberPath: "customXml.parts.patch";
3301
+ readonly description: string;
3302
+ readonly expectedResult: "Returns a CustomXmlPartsMutationResult indicating success with the resolved target or a failure.";
3303
+ readonly requiresDocumentContext: true;
3304
+ readonly metadata: CommandStaticMetadata;
3305
+ readonly referenceDocPath: "custom-xml/parts/patch.mdx";
3306
+ readonly referenceGroup: "customXml";
3307
+ };
3308
+ readonly 'customXml.parts.remove': {
3309
+ readonly memberPath: "customXml.parts.remove";
3310
+ readonly description: string;
3311
+ readonly expectedResult: "Returns a CustomXmlPartsMutationResult indicating success or a failure.";
3312
+ readonly requiresDocumentContext: true;
3313
+ readonly metadata: CommandStaticMetadata;
3314
+ readonly referenceDocPath: "custom-xml/parts/remove.mdx";
3315
+ readonly referenceGroup: "customXml";
3316
+ };
3317
+ readonly 'metadata.attach': {
3318
+ readonly memberPath: "metadata.attach";
3319
+ readonly description: string;
3320
+ readonly expectedResult: "Returns an AnchoredMetadataAttachResult with the assigned id and the backing Storage Part name on success.";
3321
+ readonly requiresDocumentContext: true;
3322
+ readonly metadata: CommandStaticMetadata;
3323
+ readonly referenceDocPath: "metadata/attach.mdx";
3324
+ readonly referenceGroup: "metadata";
3325
+ };
3326
+ readonly 'metadata.list': {
3327
+ readonly memberPath: "metadata.list";
3328
+ readonly description: "List anchored-metadata entries in the document, optionally filtered by consumer namespace and/or a `within` selection (returns only entries whose anchor overlaps `within`).";
3329
+ readonly expectedResult: "Returns an AnchoredMetadataListResult with summary entries (no payload); fetch payload via get.";
3330
+ readonly requiresDocumentContext: true;
3331
+ readonly metadata: CommandStaticMetadata;
3332
+ readonly referenceDocPath: "metadata/list.mdx";
3333
+ readonly referenceGroup: "metadata";
3334
+ };
3335
+ readonly 'metadata.get': {
3336
+ readonly memberPath: "metadata.get";
3337
+ readonly description: "Get a single anchored-metadata entry by id, including its JSON payload.";
3338
+ readonly expectedResult: "Returns an AnchoredMetadataInfo with id, namespace, partName, and payload; or null if not found.";
3339
+ readonly requiresDocumentContext: true;
3340
+ readonly metadata: CommandStaticMetadata;
3341
+ readonly referenceDocPath: "metadata/get.mdx";
3342
+ readonly referenceGroup: "metadata";
3343
+ };
3344
+ readonly 'metadata.update': {
3345
+ readonly memberPath: "metadata.update";
3346
+ readonly description: "Replace the JSON payload of an existing anchored-metadata entry. Replace semantics; no merge. The anchor is left untouched.";
3347
+ readonly expectedResult: "Returns an AnchoredMetadataMutationResult with the entry id on success or a failure.";
3348
+ readonly requiresDocumentContext: true;
3349
+ readonly metadata: CommandStaticMetadata;
3350
+ readonly referenceDocPath: "metadata/update.mdx";
3351
+ readonly referenceGroup: "metadata";
3352
+ };
3353
+ readonly 'metadata.remove': {
3354
+ readonly memberPath: "metadata.remove";
3355
+ readonly description: "Remove an anchored-metadata entry. Strips the anchor content-control wrapper (its content stays in the document) and deletes the payload entry from the Storage Part. In v1 these writes are sequenced, not transactional: the adapter resolves the target up-front so missing-target failures land before any state change, but a crash strictly between the two writes can leave a dangling payload. When the backing part has no remaining entries, the part itself is removed.";
3356
+ readonly expectedResult: "Returns an AnchoredMetadataMutationResult with the removed entry id on success or a failure.";
3357
+ readonly requiresDocumentContext: true;
3358
+ readonly metadata: CommandStaticMetadata;
3359
+ readonly referenceDocPath: "metadata/remove.mdx";
3360
+ readonly referenceGroup: "metadata";
3361
+ };
3362
+ readonly 'metadata.resolve': {
3363
+ readonly memberPath: "metadata.resolve";
3364
+ readonly description: "Find where an anchored-metadata entry is anchored in the document. Returns the SelectionTarget covering the anchor content.";
3365
+ readonly expectedResult: "Returns an AnchoredMetadataResolveInfo with id and target SelectionTarget; or null if the anchor is no longer present.";
3366
+ readonly requiresDocumentContext: true;
3367
+ readonly metadata: CommandStaticMetadata;
3368
+ readonly referenceDocPath: "metadata/resolve.mdx";
3369
+ readonly referenceGroup: "metadata";
3370
+ };
3371
+ readonly "format.bold": OperationDefinitionEntry;
3372
+ readonly "format.strike": OperationDefinitionEntry;
3373
+ readonly "format.color": OperationDefinitionEntry;
3374
+ readonly "format.italic": OperationDefinitionEntry;
3375
+ readonly "format.rtl": OperationDefinitionEntry;
3376
+ readonly "format.cs": OperationDefinitionEntry;
3377
+ readonly "format.shading": OperationDefinitionEntry;
3378
+ readonly "format.fontFamily": OperationDefinitionEntry;
3379
+ readonly "format.lang": OperationDefinitionEntry;
3380
+ readonly "format.fontSize": OperationDefinitionEntry;
3381
+ readonly "format.fontSizeCs": OperationDefinitionEntry;
3382
+ readonly "format.highlight": OperationDefinitionEntry;
3383
+ readonly "format.underline": OperationDefinitionEntry;
3384
+ readonly "format.caps": OperationDefinitionEntry;
3385
+ readonly "format.smallCaps": OperationDefinitionEntry;
3386
+ readonly "format.outline": OperationDefinitionEntry;
3387
+ readonly "format.shadow": OperationDefinitionEntry;
3388
+ readonly "format.emboss": OperationDefinitionEntry;
3389
+ readonly "format.imprint": OperationDefinitionEntry;
3390
+ readonly "format.vanish": OperationDefinitionEntry;
3391
+ readonly "format.webHidden": OperationDefinitionEntry;
3392
+ readonly "format.specVanish": OperationDefinitionEntry;
3393
+ readonly "format.border": OperationDefinitionEntry;
3394
+ readonly "format.fitText": OperationDefinitionEntry;
3395
+ readonly "format.dstrike": OperationDefinitionEntry;
3396
+ readonly "format.vertAlign": OperationDefinitionEntry;
3397
+ readonly "format.position": OperationDefinitionEntry;
3398
+ readonly "format.bCs": OperationDefinitionEntry;
3399
+ readonly "format.iCs": OperationDefinitionEntry;
3400
+ readonly "format.snapToGrid": OperationDefinitionEntry;
3401
+ readonly "format.oMath": OperationDefinitionEntry;
3402
+ readonly "format.letterSpacing": OperationDefinitionEntry;
3403
+ readonly "format.charScale": OperationDefinitionEntry;
3404
+ readonly "format.kerning": OperationDefinitionEntry;
3405
+ readonly "format.rStyle": OperationDefinitionEntry;
3406
+ readonly "format.rFonts": OperationDefinitionEntry;
3407
+ readonly "format.eastAsianLayout": OperationDefinitionEntry;
3408
+ readonly "format.em": OperationDefinitionEntry;
3409
+ readonly "format.ligatures": OperationDefinitionEntry;
3410
+ readonly "format.numForm": OperationDefinitionEntry;
3411
+ readonly "format.numSpacing": OperationDefinitionEntry;
3412
+ readonly "format.stylisticSets": OperationDefinitionEntry;
3413
+ readonly "format.contextualAlternates": OperationDefinitionEntry;
3414
+ readonly get: {
3415
+ readonly memberPath: "get";
3416
+ readonly description: "Read the full document as an SDDocument structure.";
3417
+ readonly expectedResult: "Returns an SDDocument with body content projected into SDM/1 canonical shapes.";
3418
+ readonly requiresDocumentContext: true;
3419
+ readonly metadata: CommandStaticMetadata;
3420
+ readonly referenceDocPath: "get.mdx";
3421
+ readonly referenceGroup: ReferenceGroupKey;
3422
+ };
3423
+ readonly find: {
3424
+ readonly memberPath: "find";
3425
+ readonly description: "Search the document for text or node matches using SDM/1 selectors. Returns discovery-grade results: for mutation targeting, use query.match instead.";
3426
+ readonly expectedResult: "Returns an SDFindResult envelope ({ total, limit, offset, items }). Each item is an SDNodeResult ({ node, address }).";
3427
+ readonly requiresDocumentContext: true;
3428
+ readonly metadata: CommandStaticMetadata;
3429
+ readonly referenceDocPath: "find.mdx";
3430
+ readonly referenceGroup: "core";
3431
+ readonly skipAsATool: true;
3432
+ };
3433
+ readonly getNode: {
3434
+ readonly memberPath: "getNode";
3435
+ readonly description: "Retrieve a single node by target position.";
3436
+ readonly expectedResult: "Returns an SDNodeResult envelope with the projected SDM/1 node and canonical address.";
3437
+ readonly requiresDocumentContext: true;
3438
+ readonly metadata: CommandStaticMetadata;
3439
+ readonly referenceDocPath: "get-node.mdx";
3440
+ readonly referenceGroup: "core";
3441
+ };
3442
+ readonly getNodeById: {
3443
+ readonly memberPath: "getNodeById";
3444
+ readonly description: "Retrieve a single node by its unique ID.";
3445
+ readonly expectedResult: "Returns an SDNodeResult envelope with the projected SDM/1 node and canonical address.";
3446
+ readonly requiresDocumentContext: true;
3447
+ readonly metadata: CommandStaticMetadata;
3448
+ readonly referenceDocPath: "get-node-by-id.mdx";
3449
+ readonly referenceGroup: "core";
3450
+ };
3451
+ readonly getText: {
3452
+ readonly memberPath: "getText";
3453
+ readonly description: "Extract the plain-text content of the document.";
3454
+ readonly expectedResult: "Returns the full plain-text content of the document as a string.";
3455
+ readonly requiresDocumentContext: true;
3456
+ readonly metadata: CommandStaticMetadata;
3457
+ readonly referenceDocPath: "get-text.mdx";
3458
+ readonly referenceGroup: "core";
3459
+ readonly intentGroup: "get_content";
3460
+ readonly intentAction: "text";
3461
+ };
3462
+ readonly getMarkdown: {
3463
+ readonly memberPath: "getMarkdown";
3464
+ readonly description: "Extract the document content as a Markdown string.";
3465
+ readonly expectedResult: "Returns the full document content as a Markdown-formatted string.";
3466
+ readonly requiresDocumentContext: true;
3467
+ readonly metadata: CommandStaticMetadata;
3468
+ readonly referenceDocPath: "get-markdown.mdx";
3469
+ readonly referenceGroup: "core";
3470
+ readonly intentGroup: "get_content";
3471
+ readonly intentAction: "markdown";
3472
+ };
3473
+ readonly getHtml: {
3474
+ readonly memberPath: "getHtml";
3475
+ readonly description: "Extract the document content as an HTML string.";
3476
+ readonly expectedResult: "Returns the full document content as an HTML-formatted string.";
3477
+ readonly requiresDocumentContext: true;
3478
+ readonly metadata: CommandStaticMetadata;
3479
+ readonly referenceDocPath: "get-html.mdx";
3480
+ readonly referenceGroup: "core";
3481
+ readonly intentGroup: "get_content";
3482
+ readonly intentAction: "html";
3483
+ };
3484
+ readonly markdownToFragment: {
3485
+ readonly memberPath: "markdownToFragment";
3486
+ readonly description: "Convert a Markdown string into an SDM/1 structural fragment.";
3487
+ readonly expectedResult: "Returns an SDMarkdownToFragmentResult with the converted fragment, lossy flag, and diagnostics.";
3488
+ readonly requiresDocumentContext: true;
3489
+ readonly metadata: CommandStaticMetadata;
3490
+ readonly referenceDocPath: "markdown-to-fragment.mdx";
3491
+ readonly referenceGroup: "core";
3492
+ };
3493
+ readonly info: {
3494
+ readonly memberPath: "info";
3495
+ readonly description: "Return document summary info including word, character, paragraph, heading, table, image, comment, tracked-change, SDT-field, list, and page counts, plus outline and capabilities.";
3496
+ readonly expectedResult: "Returns a DocumentInfo object with counts (words, characters, paragraphs, headings, tables, images, comments, trackedChanges, sdtFields, lists, and optionally pages when pagination is active), document outline, capability flags, and revision.";
3497
+ readonly requiresDocumentContext: true;
3498
+ readonly metadata: CommandStaticMetadata;
3499
+ readonly referenceDocPath: "info.mdx";
3500
+ readonly referenceGroup: "core";
3501
+ readonly intentGroup: "get_content";
3502
+ readonly intentAction: "info";
3503
+ };
3504
+ readonly extract: {
3505
+ readonly memberPath: "extract";
3506
+ readonly description: "Extract all document content with stable IDs for RAG pipelines. Returns blocks with full text, comments, and tracked changes: each with an ID compatible with scrollToElement().";
3507
+ readonly expectedResult: "Returns an ExtractResult with blocks (nodeId, type, text, headingLevel), comments (entityId, text, anchoredText, blockId, status, author), tracked changes (entityId, type, excerpt, author, date), and revision.";
3508
+ readonly requiresDocumentContext: true;
3509
+ readonly metadata: CommandStaticMetadata;
3510
+ readonly referenceDocPath: "extract.mdx";
3511
+ readonly referenceGroup: "core";
3512
+ readonly intentGroup: "get_content";
3513
+ readonly intentAction: "extract";
3514
+ };
3515
+ readonly clearContent: {
3516
+ readonly memberPath: "clearContent";
3517
+ readonly description: "Clear all document body content, leaving a single empty paragraph.";
3518
+ readonly expectedResult: "Returns a Receipt with success status; reports NO_OP if the document is already empty.";
3519
+ readonly requiresDocumentContext: true;
3520
+ readonly metadata: CommandStaticMetadata;
3521
+ readonly referenceDocPath: "clear-content.mdx";
3522
+ readonly referenceGroup: "core";
3523
+ };
3524
+ readonly insert: {
3525
+ readonly memberPath: "insert";
3526
+ readonly description: string;
3527
+ readonly expectedResult: "Returns an SDMutationReceipt with applied status; resolution reports the resolved insertion point/target. Created visible text and structural blocks are reported through effects.insertedText and effects.insertedBlocks when available. Receipt reports NO_OP if the insertion point is invalid or content is empty.";
3528
+ readonly requiresDocumentContext: true;
3529
+ readonly metadata: CommandStaticMetadata;
3530
+ readonly referenceDocPath: "insert.mdx";
3531
+ readonly referenceGroup: "core";
3532
+ readonly intentGroup: "edit";
3533
+ readonly intentAction: "insert";
3534
+ };
3535
+ readonly replace: {
3536
+ readonly memberPath: "replace";
3537
+ readonly description: string;
3538
+ readonly expectedResult: "Returns an SDMutationReceipt with applied status; receipt reports NO_OP if the target range already contains identical content.";
3539
+ readonly requiresDocumentContext: true;
3540
+ readonly metadata: CommandStaticMetadata;
3541
+ readonly referenceDocPath: "replace.mdx";
3542
+ readonly referenceGroup: "core";
3543
+ readonly intentGroup: "edit";
3544
+ readonly intentAction: "replace";
3545
+ };
3546
+ readonly delete: {
3547
+ readonly memberPath: "delete";
3548
+ readonly description: "Delete content at a contiguous document selection. Accepts a SelectionTarget or mutation-ready ref. Supports cross-block deletion and optional block-edge expansion via behavior mode.";
3549
+ readonly expectedResult: "Returns a TextMutationReceipt with applied status; receipt reports NO_OP if the target range is collapsed or empty.";
3550
+ readonly requiresDocumentContext: true;
3551
+ readonly metadata: CommandStaticMetadata;
3552
+ readonly referenceDocPath: "delete.mdx";
3553
+ readonly referenceGroup: "core";
3554
+ readonly intentGroup: "edit";
3555
+ readonly intentAction: "delete";
3556
+ };
3557
+ readonly formatRange: {
3558
+ readonly memberPath: "formatRange";
3559
+ readonly description: "Legacy root-level alias for inline range formatting. Routes to `format.apply` for compatibility with older callers.";
3560
+ readonly expectedResult: "Returns a TextMutationReceipt confirming inline styles were applied to the target range.";
3561
+ readonly requiresDocumentContext: true;
3562
+ readonly metadata: CommandStaticMetadata;
3563
+ readonly referenceDocPath: "format/apply.mdx";
3564
+ readonly referenceGroup: "format";
3565
+ readonly skipAsATool: true;
3566
+ };
3567
+ readonly 'blocks.list': {
3568
+ readonly memberPath: "blocks.list";
3569
+ readonly description: "List top-level blocks in document order with IDs, types, text previews, and optional full text when includeText:true. Supports pagination via offset/limit, optional nodeType filtering, and single-story scoping via `in: <StoryLocator>`.";
3570
+ readonly expectedResult: "Returns a BlocksListResult with total block count, an ordered array of block entries (ordinal, nodeId, nodeType, textPreview, optional text, isEmpty), and the current document revision.";
3571
+ readonly requiresDocumentContext: true;
3572
+ readonly metadata: CommandStaticMetadata;
3573
+ readonly referenceDocPath: "blocks/list.mdx";
3574
+ readonly referenceGroup: "blocks";
3575
+ readonly intentGroup: "get_content";
3576
+ readonly intentAction: "blocks";
3577
+ };
3578
+ readonly 'blocks.delete': {
3579
+ readonly memberPath: "blocks.delete";
3580
+ readonly description: "Delete an entire block node (paragraph, heading, list item, table, image, or sdt) deterministically.";
3581
+ readonly expectedResult: "Returns a BlocksDeleteResult receipt confirming the block was removed, including a deletedBlock summary with ordinal, nodeType, and textPreview.";
3582
+ readonly requiresDocumentContext: true;
3583
+ readonly metadata: CommandStaticMetadata;
3584
+ readonly referenceDocPath: "blocks/delete.mdx";
3585
+ readonly referenceGroup: "blocks";
3586
+ };
3587
+ readonly 'blocks.deleteRange': {
3588
+ readonly memberPath: "blocks.deleteRange";
3589
+ readonly description: "Delete a contiguous range of top-level blocks between two endpoints (inclusive). Both endpoints must be direct children of the document node. Supports dry-run preview.";
3590
+ readonly expectedResult: "Returns a BlocksDeleteRangeResult with deletedCount, deletedBlocks array (each with ordinal, nodeId, nodeType, textPreview), before/after revision, and dryRun flag.";
3591
+ readonly requiresDocumentContext: true;
3592
+ readonly metadata: CommandStaticMetadata;
3593
+ readonly referenceDocPath: "blocks/delete-range.mdx";
3594
+ readonly referenceGroup: "blocks";
3595
+ };
3596
+ readonly 'blocks.split': {
3597
+ readonly memberPath: "blocks.split";
3598
+ readonly description: string;
3599
+ readonly expectedResult: "Returns a BlocksSplitResult; on success carries the new tail paragraph address, affectedStories, and (for engines that report them) story-absolute textRangeShifts and a txId for history correlation.";
3600
+ readonly requiresDocumentContext: true;
3601
+ readonly metadata: CommandStaticMetadata;
3602
+ readonly referenceDocPath: "blocks/split.mdx";
3603
+ readonly referenceGroup: "blocks";
3604
+ };
3605
+ readonly 'blocks.merge': {
3606
+ readonly memberPath: "blocks.merge";
3607
+ readonly description: string;
3608
+ readonly expectedResult: "Returns a BlocksMergeResult; on success carries the removed paragraph address plus affectedStories, textRangeShifts, and a txId.";
3609
+ readonly requiresDocumentContext: true;
3610
+ readonly metadata: CommandStaticMetadata;
3611
+ readonly referenceDocPath: "blocks/merge.mdx";
3612
+ readonly referenceGroup: "blocks";
3613
+ };
3614
+ readonly 'blocks.move': {
3615
+ readonly memberPath: "blocks.move";
3616
+ readonly description: string;
3617
+ readonly expectedResult: "Returns a BlocksMoveResult; on success carries the moved paragraph address plus affectedStories and a txId. Tracked-mode results include `trackedChangeRefs` pointing at the paired move review entity.";
3618
+ readonly requiresDocumentContext: true;
3619
+ readonly metadata: CommandStaticMetadata;
3620
+ readonly referenceDocPath: "blocks/move.mdx";
3621
+ readonly referenceGroup: "blocks";
3622
+ };
3623
+ readonly 'format.apply': {
3624
+ readonly memberPath: "format.apply";
3625
+ readonly description: "Apply inline run-property patch changes to the target range with explicit set/clear semantics.";
3626
+ readonly expectedResult: "Returns a TextMutationReceipt confirming inline styles were applied to the target range.";
3627
+ readonly requiresDocumentContext: true;
3628
+ readonly metadata: CommandStaticMetadata;
3629
+ readonly referenceDocPath: "format/apply.mdx";
3630
+ readonly referenceGroup: "format";
3631
+ readonly intentGroup: "format";
3632
+ readonly intentAction: "inline";
3633
+ };
3634
+ };
3635
+ export type OperationId = keyof typeof OPERATION_DEFINITIONS;
3636
+ export declare const OPERATION_IDS: readonly OperationId[];
3637
+ export declare const SINGLETON_OPERATION_IDS: readonly OperationId[];
3638
+ export declare const NAMESPACED_OPERATION_IDS: readonly OperationId[];
3639
+ /**
3640
+ * Projects a value from each operation definition entry into a keyed record.
3641
+ *
3642
+ * The cast is needed because `Object.fromEntries` returns `Record<string, V>`;
3643
+ * all callers validate the result via explicit type annotations.
3644
+ */
3645
+ export declare function projectFromDefinitions<V>(fn: (id: OperationId, entry: OperationDefinitionEntry) => V): Record<OperationId, V>;