@mog-sdk/spreadsheet-contracts 0.1.12

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 (701) hide show
  1. package/dist/accessibility/index.d.ts +9 -0
  2. package/dist/accessibility/index.d.ts.map +1 -0
  3. package/dist/accessibility/types.d.ts +75 -0
  4. package/dist/accessibility/types.d.ts.map +1 -0
  5. package/dist/actions/comments.d.ts +31 -0
  6. package/dist/actions/comments.d.ts.map +1 -0
  7. package/dist/actions/index.d.ts +22 -0
  8. package/dist/actions/index.d.ts.map +1 -0
  9. package/dist/actions/types.d.ts +448 -0
  10. package/dist/actions/types.d.ts.map +1 -0
  11. package/dist/actors/chart.d.ts +88 -0
  12. package/dist/actors/chart.d.ts.map +1 -0
  13. package/dist/actors/clipboard.d.ts +243 -0
  14. package/dist/actors/clipboard.d.ts.map +1 -0
  15. package/dist/actors/commands.d.ts +1343 -0
  16. package/dist/actors/commands.d.ts.map +1 -0
  17. package/dist/actors/comment.d.ts +84 -0
  18. package/dist/actors/comment.d.ts.map +1 -0
  19. package/dist/actors/draw-border.d.ts +89 -0
  20. package/dist/actors/draw-border.d.ts.map +1 -0
  21. package/dist/actors/editor.d.ts +161 -0
  22. package/dist/actors/editor.d.ts.map +1 -0
  23. package/dist/actors/find-replace.d.ts +88 -0
  24. package/dist/actors/find-replace.d.ts.map +1 -0
  25. package/dist/actors/focus.d.ts +91 -0
  26. package/dist/actors/focus.d.ts.map +1 -0
  27. package/dist/actors/index.d.ts +88 -0
  28. package/dist/actors/index.d.ts.map +1 -0
  29. package/dist/actors/input.d.ts +98 -0
  30. package/dist/actors/input.d.ts.map +1 -0
  31. package/dist/actors/object-interaction.d.ts +163 -0
  32. package/dist/actors/object-interaction.d.ts.map +1 -0
  33. package/dist/actors/object.d.ts +124 -0
  34. package/dist/actors/object.d.ts.map +1 -0
  35. package/dist/actors/page-break.d.ts +64 -0
  36. package/dist/actors/page-break.d.ts.map +1 -0
  37. package/dist/actors/pane-focus.d.ts +56 -0
  38. package/dist/actors/pane-focus.d.ts.map +1 -0
  39. package/dist/actors/renderer.d.ts +197 -0
  40. package/dist/actors/renderer.d.ts.map +1 -0
  41. package/dist/actors/selection.d.ts +170 -0
  42. package/dist/actors/selection.d.ts.map +1 -0
  43. package/dist/actors/slicer.d.ts +175 -0
  44. package/dist/actors/slicer.d.ts.map +1 -0
  45. package/dist/actors/smartart.d.ts +48 -0
  46. package/dist/actors/smartart.d.ts.map +1 -0
  47. package/dist/api/index.d.ts +19 -0
  48. package/dist/api/index.d.ts.map +1 -0
  49. package/dist/api/mutation-receipt.d.ts +26 -0
  50. package/dist/api/mutation-receipt.d.ts.map +1 -0
  51. package/dist/api/types.d.ts +1542 -0
  52. package/dist/api/types.d.ts.map +1 -0
  53. package/dist/api/workbook/history.d.ts +43 -0
  54. package/dist/api/workbook/history.d.ts.map +1 -0
  55. package/dist/api/workbook/index.d.ts +17 -0
  56. package/dist/api/workbook/index.d.ts.map +1 -0
  57. package/dist/api/workbook/names.d.ts +104 -0
  58. package/dist/api/workbook/names.d.ts.map +1 -0
  59. package/dist/api/workbook/notifications.d.ts +35 -0
  60. package/dist/api/workbook/notifications.d.ts.map +1 -0
  61. package/dist/api/workbook/protection.d.ts +14 -0
  62. package/dist/api/workbook/protection.d.ts.map +1 -0
  63. package/dist/api/workbook/scenarios.d.ts +45 -0
  64. package/dist/api/workbook/scenarios.d.ts.map +1 -0
  65. package/dist/api/workbook/sheets.d.ts +74 -0
  66. package/dist/api/workbook/sheets.d.ts.map +1 -0
  67. package/dist/api/workbook/slicers.d.ts +63 -0
  68. package/dist/api/workbook/slicers.d.ts.map +1 -0
  69. package/dist/api/workbook/styles.d.ts +19 -0
  70. package/dist/api/workbook/styles.d.ts.map +1 -0
  71. package/dist/api/workbook/theme.d.ts +38 -0
  72. package/dist/api/workbook/theme.d.ts.map +1 -0
  73. package/dist/api/workbook/viewport.d.ts +85 -0
  74. package/dist/api/workbook/viewport.d.ts.map +1 -0
  75. package/dist/api/workbook.d.ts +279 -0
  76. package/dist/api/workbook.d.ts.map +1 -0
  77. package/dist/api/worksheet/bindings.d.ts +66 -0
  78. package/dist/api/worksheet/bindings.d.ts.map +1 -0
  79. package/dist/api/worksheet/changes.d.ts +60 -0
  80. package/dist/api/worksheet/changes.d.ts.map +1 -0
  81. package/dist/api/worksheet/charts.d.ts +83 -0
  82. package/dist/api/worksheet/charts.d.ts.map +1 -0
  83. package/dist/api/worksheet/collections/connector-collection.d.ts +7 -0
  84. package/dist/api/worksheet/collections/connector-collection.d.ts.map +1 -0
  85. package/dist/api/worksheet/collections/drawing-collection.d.ts +9 -0
  86. package/dist/api/worksheet/collections/drawing-collection.d.ts.map +1 -0
  87. package/dist/api/worksheet/collections/equation-collection.d.ts +8 -0
  88. package/dist/api/worksheet/collections/equation-collection.d.ts.map +1 -0
  89. package/dist/api/worksheet/collections/index.d.ts +12 -0
  90. package/dist/api/worksheet/collections/index.d.ts.map +1 -0
  91. package/dist/api/worksheet/collections/object-collection.d.ts +45 -0
  92. package/dist/api/worksheet/collections/object-collection.d.ts.map +1 -0
  93. package/dist/api/worksheet/collections/picture-collection.d.ts +8 -0
  94. package/dist/api/worksheet/collections/picture-collection.d.ts.map +1 -0
  95. package/dist/api/worksheet/collections/shape-collection.d.ts +8 -0
  96. package/dist/api/worksheet/collections/shape-collection.d.ts.map +1 -0
  97. package/dist/api/worksheet/collections/textbox-collection.d.ts +8 -0
  98. package/dist/api/worksheet/collections/textbox-collection.d.ts.map +1 -0
  99. package/dist/api/worksheet/collections/wordart-collection.d.ts +8 -0
  100. package/dist/api/worksheet/collections/wordart-collection.d.ts.map +1 -0
  101. package/dist/api/worksheet/comments.d.ts +143 -0
  102. package/dist/api/worksheet/comments.d.ts.map +1 -0
  103. package/dist/api/worksheet/conditional-formats.d.ts +101 -0
  104. package/dist/api/worksheet/conditional-formats.d.ts.map +1 -0
  105. package/dist/api/worksheet/filters.d.ts +141 -0
  106. package/dist/api/worksheet/filters.d.ts.map +1 -0
  107. package/dist/api/worksheet/form-controls.d.ts +22 -0
  108. package/dist/api/worksheet/form-controls.d.ts.map +1 -0
  109. package/dist/api/worksheet/format-mappings.d.ts +50 -0
  110. package/dist/api/worksheet/format-mappings.d.ts.map +1 -0
  111. package/dist/api/worksheet/formats.d.ts +136 -0
  112. package/dist/api/worksheet/formats.d.ts.map +1 -0
  113. package/dist/api/worksheet/handles/chart-handle.d.ts +11 -0
  114. package/dist/api/worksheet/handles/chart-handle.d.ts.map +1 -0
  115. package/dist/api/worksheet/handles/connector-handle.d.ts +9 -0
  116. package/dist/api/worksheet/handles/connector-handle.d.ts.map +1 -0
  117. package/dist/api/worksheet/handles/drawing-handle.d.ts +14 -0
  118. package/dist/api/worksheet/handles/drawing-handle.d.ts.map +1 -0
  119. package/dist/api/worksheet/handles/equation-handle.d.ts +9 -0
  120. package/dist/api/worksheet/handles/equation-handle.d.ts.map +1 -0
  121. package/dist/api/worksheet/handles/floating-object-handle.d.ts +75 -0
  122. package/dist/api/worksheet/handles/floating-object-handle.d.ts.map +1 -0
  123. package/dist/api/worksheet/handles/index.d.ts +16 -0
  124. package/dist/api/worksheet/handles/index.d.ts.map +1 -0
  125. package/dist/api/worksheet/handles/ole-object-handle.d.ts +10 -0
  126. package/dist/api/worksheet/handles/ole-object-handle.d.ts.map +1 -0
  127. package/dist/api/worksheet/handles/picture-handle.d.ts +9 -0
  128. package/dist/api/worksheet/handles/picture-handle.d.ts.map +1 -0
  129. package/dist/api/worksheet/handles/shape-handle.d.ts +11 -0
  130. package/dist/api/worksheet/handles/shape-handle.d.ts.map +1 -0
  131. package/dist/api/worksheet/handles/slicer-handle.d.ts +13 -0
  132. package/dist/api/worksheet/handles/slicer-handle.d.ts.map +1 -0
  133. package/dist/api/worksheet/handles/smartart-handle.d.ts +11 -0
  134. package/dist/api/worksheet/handles/smartart-handle.d.ts.map +1 -0
  135. package/dist/api/worksheet/handles/textbox-handle.d.ts +9 -0
  136. package/dist/api/worksheet/handles/textbox-handle.d.ts.map +1 -0
  137. package/dist/api/worksheet/handles/wordart-handle.d.ts +10 -0
  138. package/dist/api/worksheet/handles/wordart-handle.d.ts.map +1 -0
  139. package/dist/api/worksheet/hyperlinks.d.ts +52 -0
  140. package/dist/api/worksheet/hyperlinks.d.ts.map +1 -0
  141. package/dist/api/worksheet/index.d.ts +35 -0
  142. package/dist/api/worksheet/index.d.ts.map +1 -0
  143. package/dist/api/worksheet/internal.d.ts +105 -0
  144. package/dist/api/worksheet/internal.d.ts.map +1 -0
  145. package/dist/api/worksheet/layout.d.ts +150 -0
  146. package/dist/api/worksheet/layout.d.ts.map +1 -0
  147. package/dist/api/worksheet/names.d.ts +52 -0
  148. package/dist/api/worksheet/names.d.ts.map +1 -0
  149. package/dist/api/worksheet/objects.d.ts +124 -0
  150. package/dist/api/worksheet/objects.d.ts.map +1 -0
  151. package/dist/api/worksheet/outline.d.ts +101 -0
  152. package/dist/api/worksheet/outline.d.ts.map +1 -0
  153. package/dist/api/worksheet/pivots.d.ts +257 -0
  154. package/dist/api/worksheet/pivots.d.ts.map +1 -0
  155. package/dist/api/worksheet/print.d.ts +108 -0
  156. package/dist/api/worksheet/print.d.ts.map +1 -0
  157. package/dist/api/worksheet/protection.d.ts +73 -0
  158. package/dist/api/worksheet/protection.d.ts.map +1 -0
  159. package/dist/api/worksheet/settings.d.ts +54 -0
  160. package/dist/api/worksheet/settings.d.ts.map +1 -0
  161. package/dist/api/worksheet/slicers.d.ts +101 -0
  162. package/dist/api/worksheet/slicers.d.ts.map +1 -0
  163. package/dist/api/worksheet/smartart.d.ts +49 -0
  164. package/dist/api/worksheet/smartart.d.ts.map +1 -0
  165. package/dist/api/worksheet/sparklines.d.ts +143 -0
  166. package/dist/api/worksheet/sparklines.d.ts.map +1 -0
  167. package/dist/api/worksheet/structure.d.ts +44 -0
  168. package/dist/api/worksheet/structure.d.ts.map +1 -0
  169. package/dist/api/worksheet/tables.d.ts +313 -0
  170. package/dist/api/worksheet/tables.d.ts.map +1 -0
  171. package/dist/api/worksheet/validation.d.ts +101 -0
  172. package/dist/api/worksheet/validation.d.ts.map +1 -0
  173. package/dist/api/worksheet/view.d.ts +91 -0
  174. package/dist/api/worksheet/view.d.ts.map +1 -0
  175. package/dist/api/worksheet.d.ts +370 -0
  176. package/dist/api/worksheet.d.ts.map +1 -0
  177. package/dist/app/index.d.ts +17 -0
  178. package/dist/app/index.d.ts.map +1 -0
  179. package/dist/app/types.d.ts +349 -0
  180. package/dist/app/types.d.ts.map +1 -0
  181. package/dist/apps/api.d.ts +519 -0
  182. package/dist/apps/api.d.ts.map +1 -0
  183. package/dist/apps/bindings.d.ts +72 -0
  184. package/dist/apps/bindings.d.ts.map +1 -0
  185. package/dist/apps/index.d.ts +13 -0
  186. package/dist/apps/index.d.ts.map +1 -0
  187. package/dist/apps/types.d.ts +224 -0
  188. package/dist/apps/types.d.ts.map +1 -0
  189. package/dist/apps/views.d.ts +142 -0
  190. package/dist/apps/views.d.ts.map +1 -0
  191. package/dist/bridges/chart-bridge.d.ts +172 -0
  192. package/dist/bridges/chart-bridge.d.ts.map +1 -0
  193. package/dist/bridges/equation-bridge.d.ts +74 -0
  194. package/dist/bridges/equation-bridge.d.ts.map +1 -0
  195. package/dist/bridges/index.d.ts +25 -0
  196. package/dist/bridges/index.d.ts.map +1 -0
  197. package/dist/bridges/ink-recognition-bridge.d.ts +142 -0
  198. package/dist/bridges/ink-recognition-bridge.d.ts.map +1 -0
  199. package/dist/bridges/locale-bridge.d.ts +93 -0
  200. package/dist/bridges/locale-bridge.d.ts.map +1 -0
  201. package/dist/bridges/pivot-bridge.d.ts +201 -0
  202. package/dist/bridges/pivot-bridge.d.ts.map +1 -0
  203. package/dist/bridges/schema-bridge.d.ts +137 -0
  204. package/dist/bridges/schema-bridge.d.ts.map +1 -0
  205. package/dist/bridges/smartart-bridge.d.ts +217 -0
  206. package/dist/bridges/smartart-bridge.d.ts.map +1 -0
  207. package/dist/bridges/wordart-bridge.d.ts +86 -0
  208. package/dist/bridges/wordart-bridge.d.ts.map +1 -0
  209. package/dist/capabilities/errors.d.ts +16 -0
  210. package/dist/capabilities/errors.d.ts.map +1 -0
  211. package/dist/capabilities/gated-api.d.ts +355 -0
  212. package/dist/capabilities/gated-api.d.ts.map +1 -0
  213. package/dist/capabilities/grants.d.ts +239 -0
  214. package/dist/capabilities/grants.d.ts.map +1 -0
  215. package/dist/capabilities/index.d.ts +24 -0
  216. package/dist/capabilities/index.d.ts.map +1 -0
  217. package/dist/capabilities/manifest.d.ts +128 -0
  218. package/dist/capabilities/manifest.d.ts.map +1 -0
  219. package/dist/capabilities/requester.d.ts +209 -0
  220. package/dist/capabilities/requester.d.ts.map +1 -0
  221. package/dist/capabilities/scope.d.ts +55 -0
  222. package/dist/capabilities/scope.d.ts.map +1 -0
  223. package/dist/capabilities/sensitive.d.ts +279 -0
  224. package/dist/capabilities/sensitive.d.ts.map +1 -0
  225. package/dist/capabilities/taxonomy.d.ts +15 -0
  226. package/dist/capabilities/taxonomy.d.ts.map +1 -0
  227. package/dist/capabilities/types.d.ts +91 -0
  228. package/dist/capabilities/types.d.ts.map +1 -0
  229. package/dist/cells/cell-identity.d.ts +281 -0
  230. package/dist/cells/cell-identity.d.ts.map +1 -0
  231. package/dist/cells/cell-style.d.ts +67 -0
  232. package/dist/cells/cell-style.d.ts.map +1 -0
  233. package/dist/cells/formula-string.d.ts +37 -0
  234. package/dist/cells/formula-string.d.ts.map +1 -0
  235. package/dist/cells/index.d.ts +7 -0
  236. package/dist/cells/index.d.ts.map +1 -0
  237. package/dist/cells/range-ref.d.ts +77 -0
  238. package/dist/cells/range-ref.d.ts.map +1 -0
  239. package/dist/cells/rich-text.d.ts +66 -0
  240. package/dist/cells/rich-text.d.ts.map +1 -0
  241. package/dist/cells/spill.d.ts +121 -0
  242. package/dist/cells/spill.d.ts.map +1 -0
  243. package/dist/conditional-format/index.d.ts +11 -0
  244. package/dist/conditional-format/index.d.ts.map +1 -0
  245. package/dist/conditional-format/presets.d.ts +54 -0
  246. package/dist/conditional-format/presets.d.ts.map +1 -0
  247. package/dist/conditional-format/range-utils.d.ts +11 -0
  248. package/dist/conditional-format/range-utils.d.ts.map +1 -0
  249. package/dist/conditional-format/render-types.d.ts +80 -0
  250. package/dist/conditional-format/render-types.d.ts.map +1 -0
  251. package/dist/connections/api-errors.d.ts +29 -0
  252. package/dist/connections/api-errors.d.ts.map +1 -0
  253. package/dist/connections/api.d.ts +879 -0
  254. package/dist/connections/api.d.ts.map +1 -0
  255. package/dist/connections/database-bridge-types.d.ts +108 -0
  256. package/dist/connections/database-bridge-types.d.ts.map +1 -0
  257. package/dist/connections/index.d.ts +5 -0
  258. package/dist/connections/index.d.ts.map +1 -0
  259. package/dist/connections/power-query.d.ts +1 -0
  260. package/dist/connections/power-query.d.ts.map +1 -0
  261. package/dist/connections/query.d.ts +144 -0
  262. package/dist/connections/query.d.ts.map +1 -0
  263. package/dist/context-menu/index.d.ts +10 -0
  264. package/dist/context-menu/index.d.ts.map +1 -0
  265. package/dist/context-menu/types.d.ts +28 -0
  266. package/dist/context-menu/types.d.ts.map +1 -0
  267. package/dist/core/commands.d.ts +143 -0
  268. package/dist/core/commands.d.ts.map +1 -0
  269. package/dist/core/core.d.ts +943 -0
  270. package/dist/core/core.d.ts.map +1 -0
  271. package/dist/core/disposable.d.ts +30 -0
  272. package/dist/core/disposable.d.ts.map +1 -0
  273. package/dist/core/event-base.d.ts +31 -0
  274. package/dist/core/event-base.d.ts.map +1 -0
  275. package/dist/core/execution.d.ts +79 -0
  276. package/dist/core/execution.d.ts.map +1 -0
  277. package/dist/core/formatted-text.d.ts +8 -0
  278. package/dist/core/formatted-text.d.ts.map +1 -0
  279. package/dist/core/index.d.ts +10 -0
  280. package/dist/core/index.d.ts.map +1 -0
  281. package/dist/core/result.d.ts +23 -0
  282. package/dist/core/result.d.ts.map +1 -0
  283. package/dist/core/schema.d.ts +360 -0
  284. package/dist/core/schema.d.ts.map +1 -0
  285. package/dist/core/testing.d.ts +309 -0
  286. package/dist/core/testing.d.ts.map +1 -0
  287. package/dist/culture/index.d.ts +11 -0
  288. package/dist/culture/index.d.ts.map +1 -0
  289. package/dist/culture/types.d.ts +320 -0
  290. package/dist/culture/types.d.ts.map +1 -0
  291. package/dist/data/charts.d.ts +412 -0
  292. package/dist/data/charts.d.ts.map +1 -0
  293. package/dist/data/conditional-format.d.ts +188 -0
  294. package/dist/data/conditional-format.d.ts.map +1 -0
  295. package/dist/data/filter.d.ts +364 -0
  296. package/dist/data/filter.d.ts.map +1 -0
  297. package/dist/data/grouping.d.ts +170 -0
  298. package/dist/data/grouping.d.ts.map +1 -0
  299. package/dist/data/index.d.ts +12 -0
  300. package/dist/data/index.d.ts.map +1 -0
  301. package/dist/data/named-ranges.d.ts +104 -0
  302. package/dist/data/named-ranges.d.ts.map +1 -0
  303. package/dist/data/pivot.d.ts +68 -0
  304. package/dist/data/pivot.d.ts.map +1 -0
  305. package/dist/data/slicers.d.ts +417 -0
  306. package/dist/data/slicers.d.ts.map +1 -0
  307. package/dist/data/sorting.d.ts +172 -0
  308. package/dist/data/sorting.d.ts.map +1 -0
  309. package/dist/data/sparklines.d.ts +358 -0
  310. package/dist/data/sparklines.d.ts.map +1 -0
  311. package/dist/data/tables.d.ts +333 -0
  312. package/dist/data/tables.d.ts.map +1 -0
  313. package/dist/data/trace-arrows.d.ts +165 -0
  314. package/dist/data/trace-arrows.d.ts.map +1 -0
  315. package/dist/diagnostics/core.d.ts +219 -0
  316. package/dist/diagnostics/core.d.ts.map +1 -0
  317. package/dist/diagnostics/index.d.ts +9 -0
  318. package/dist/diagnostics/index.d.ts.map +1 -0
  319. package/dist/diagnostics/style.d.ts +196 -0
  320. package/dist/diagnostics/style.d.ts.map +1 -0
  321. package/dist/document/comments.d.ts +109 -0
  322. package/dist/document/comments.d.ts.map +1 -0
  323. package/dist/document/document.d.ts +182 -0
  324. package/dist/document/document.d.ts.map +1 -0
  325. package/dist/document/index.d.ts +5 -0
  326. package/dist/document/index.d.ts.map +1 -0
  327. package/dist/document/protection.d.ts +114 -0
  328. package/dist/document/protection.d.ts.map +1 -0
  329. package/dist/document/search.d.ts +202 -0
  330. package/dist/document/search.d.ts.map +1 -0
  331. package/dist/drawing/index.d.ts +8 -0
  332. package/dist/drawing/index.d.ts.map +1 -0
  333. package/dist/drawing/three-d.d.ts +171 -0
  334. package/dist/drawing/three-d.d.ts.map +1 -0
  335. package/dist/editor/drag.d.ts +178 -0
  336. package/dist/editor/drag.d.ts.map +1 -0
  337. package/dist/editor/editor.d.ts +59 -0
  338. package/dist/editor/editor.d.ts.map +1 -0
  339. package/dist/editor/form-controls.d.ts +428 -0
  340. package/dist/editor/form-controls.d.ts.map +1 -0
  341. package/dist/editor/index.d.ts +4 -0
  342. package/dist/editor/index.d.ts.map +1 -0
  343. package/dist/equation/errors.d.ts +19 -0
  344. package/dist/equation/errors.d.ts.map +1 -0
  345. package/dist/equation/index.d.ts +12 -0
  346. package/dist/equation/index.d.ts.map +1 -0
  347. package/dist/equation/omml-ast.d.ts +358 -0
  348. package/dist/equation/omml-ast.d.ts.map +1 -0
  349. package/dist/equation/templates.d.ts +26 -0
  350. package/dist/equation/templates.d.ts.map +1 -0
  351. package/dist/equation/types.d.ts +87 -0
  352. package/dist/equation/types.d.ts.map +1 -0
  353. package/dist/events/canvas-object-events.d.ts +31 -0
  354. package/dist/events/canvas-object-events.d.ts.map +1 -0
  355. package/dist/events/cell-events.d.ts +60 -0
  356. package/dist/events/cell-events.d.ts.map +1 -0
  357. package/dist/events/chart-events.d.ts +61 -0
  358. package/dist/events/chart-events.d.ts.map +1 -0
  359. package/dist/events/comment-events.d.ts +43 -0
  360. package/dist/events/comment-events.d.ts.map +1 -0
  361. package/dist/events/conditional-formatting-events.d.ts +40 -0
  362. package/dist/events/conditional-formatting-events.d.ts.map +1 -0
  363. package/dist/events/data-tools-events.d.ts +29 -0
  364. package/dist/events/data-tools-events.d.ts.map +1 -0
  365. package/dist/events/file-io-events.d.ts +39 -0
  366. package/dist/events/file-io-events.d.ts.map +1 -0
  367. package/dist/events/filter-events.d.ts +43 -0
  368. package/dist/events/filter-events.d.ts.map +1 -0
  369. package/dist/events/floating-object-events.d.ts +158 -0
  370. package/dist/events/floating-object-events.d.ts.map +1 -0
  371. package/dist/events/grouping-events.d.ts +75 -0
  372. package/dist/events/grouping-events.d.ts.map +1 -0
  373. package/dist/events/index.d.ts +129 -0
  374. package/dist/events/index.d.ts.map +1 -0
  375. package/dist/events/ink-collaboration-events.d.ts +57 -0
  376. package/dist/events/ink-collaboration-events.d.ts.map +1 -0
  377. package/dist/events/ink-events.d.ts +33 -0
  378. package/dist/events/ink-events.d.ts.map +1 -0
  379. package/dist/events/ink-recognition-events.d.ts +149 -0
  380. package/dist/events/ink-recognition-events.d.ts.map +1 -0
  381. package/dist/events/ink-stroke-events.d.ts +197 -0
  382. package/dist/events/ink-stroke-events.d.ts.map +1 -0
  383. package/dist/events/merge-events.d.ts +46 -0
  384. package/dist/events/merge-events.d.ts.map +1 -0
  385. package/dist/events/named-range-events.d.ts +24 -0
  386. package/dist/events/named-range-events.d.ts.map +1 -0
  387. package/dist/events/pivot-events.d.ts +47 -0
  388. package/dist/events/pivot-events.d.ts.map +1 -0
  389. package/dist/events/print-events.d.ts +75 -0
  390. package/dist/events/print-events.d.ts.map +1 -0
  391. package/dist/events/recalc-events.d.ts +20 -0
  392. package/dist/events/recalc-events.d.ts.map +1 -0
  393. package/dist/events/scenario-events.d.ts +37 -0
  394. package/dist/events/scenario-events.d.ts.map +1 -0
  395. package/dist/events/selection-events.d.ts +16 -0
  396. package/dist/events/selection-events.d.ts.map +1 -0
  397. package/dist/events/settings-events.d.ts +41 -0
  398. package/dist/events/settings-events.d.ts.map +1 -0
  399. package/dist/events/sheet-events.d.ts +68 -0
  400. package/dist/events/sheet-events.d.ts.map +1 -0
  401. package/dist/events/slicer-events.d.ts +47 -0
  402. package/dist/events/slicer-events.d.ts.map +1 -0
  403. package/dist/events/smartart-events.d.ts +222 -0
  404. package/dist/events/smartart-events.d.ts.map +1 -0
  405. package/dist/events/sparkline-events.d.ts +68 -0
  406. package/dist/events/sparkline-events.d.ts.map +1 -0
  407. package/dist/events/store-events.d.ts +18 -0
  408. package/dist/events/store-events.d.ts.map +1 -0
  409. package/dist/events/structure-events.d.ts +76 -0
  410. package/dist/events/structure-events.d.ts.map +1 -0
  411. package/dist/events/table-events.d.ts +99 -0
  412. package/dist/events/table-events.d.ts.map +1 -0
  413. package/dist/events/validation-events.d.ts +85 -0
  414. package/dist/events/validation-events.d.ts.map +1 -0
  415. package/dist/events/view-events.d.ts +72 -0
  416. package/dist/events/view-events.d.ts.map +1 -0
  417. package/dist/events/wordart-events.d.ts +169 -0
  418. package/dist/events/wordart-events.d.ts.map +1 -0
  419. package/dist/events.d.ts +41 -0
  420. package/dist/events.d.ts.map +1 -0
  421. package/dist/extensions/index.d.ts +9 -0
  422. package/dist/extensions/index.d.ts.map +1 -0
  423. package/dist/extensions/types.d.ts +64 -0
  424. package/dist/extensions/types.d.ts.map +1 -0
  425. package/dist/filesystem/index.d.ts +11 -0
  426. package/dist/filesystem/index.d.ts.map +1 -0
  427. package/dist/filesystem/paths.d.ts +38 -0
  428. package/dist/filesystem/paths.d.ts.map +1 -0
  429. package/dist/filesystem/permissions.d.ts +89 -0
  430. package/dist/filesystem/permissions.d.ts.map +1 -0
  431. package/dist/filesystem/types.d.ts +251 -0
  432. package/dist/filesystem/types.d.ts.map +1 -0
  433. package/dist/fill/custom-lists.d.ts +41 -0
  434. package/dist/fill/custom-lists.d.ts.map +1 -0
  435. package/dist/fill/index.d.ts +11 -0
  436. package/dist/fill/index.d.ts.map +1 -0
  437. package/dist/fill/types.d.ts +102 -0
  438. package/dist/fill/types.d.ts.map +1 -0
  439. package/dist/formatting/format-registry.d.ts +45 -0
  440. package/dist/formatting/format-registry.d.ts.map +1 -0
  441. package/dist/formatting/index.d.ts +9 -0
  442. package/dist/formatting/index.d.ts.map +1 -0
  443. package/dist/formatting/theme.d.ts +108 -0
  444. package/dist/formatting/theme.d.ts.map +1 -0
  445. package/dist/index.d.ts +49 -0
  446. package/dist/index.d.ts.map +1 -0
  447. package/dist/ink/index.d.ts +16 -0
  448. package/dist/ink/index.d.ts.map +1 -0
  449. package/dist/ink/spatial-index.d.ts +113 -0
  450. package/dist/ink/spatial-index.d.ts.map +1 -0
  451. package/dist/ink/types.d.ts +558 -0
  452. package/dist/ink/types.d.ts.map +1 -0
  453. package/dist/kernel/floating-object-manager.d.ts +68 -0
  454. package/dist/kernel/floating-object-manager.d.ts.map +1 -0
  455. package/dist/kernel/index.d.ts +12 -0
  456. package/dist/kernel/index.d.ts.map +1 -0
  457. package/dist/kernel/kernel-context.d.ts +129 -0
  458. package/dist/kernel/kernel-context.d.ts.map +1 -0
  459. package/dist/keyboard/actions.d.ts +328 -0
  460. package/dist/keyboard/actions.d.ts.map +1 -0
  461. package/dist/keyboard/binding-utils.d.ts +112 -0
  462. package/dist/keyboard/binding-utils.d.ts.map +1 -0
  463. package/dist/keyboard/customization.d.ts +121 -0
  464. package/dist/keyboard/customization.d.ts.map +1 -0
  465. package/dist/keyboard/display-utils.d.ts +9 -0
  466. package/dist/keyboard/display-utils.d.ts.map +1 -0
  467. package/dist/keyboard/excel-reference.d.ts +28 -0
  468. package/dist/keyboard/excel-reference.d.ts.map +1 -0
  469. package/dist/keyboard/index.d.ts +16 -0
  470. package/dist/keyboard/index.d.ts.map +1 -0
  471. package/dist/keyboard/input.d.ts +124 -0
  472. package/dist/keyboard/input.d.ts.map +1 -0
  473. package/dist/keyboard/physical-keys.d.ts +79 -0
  474. package/dist/keyboard/physical-keys.d.ts.map +1 -0
  475. package/dist/keyboard/shortcuts/definitions/index.d.ts +10 -0
  476. package/dist/keyboard/shortcuts/definitions/index.d.ts.map +1 -0
  477. package/dist/keyboard/shortcuts/types.d.ts +347 -0
  478. package/dist/keyboard/shortcuts/types.d.ts.map +1 -0
  479. package/dist/machines/index.d.ts +12 -0
  480. package/dist/machines/index.d.ts.map +1 -0
  481. package/dist/machines/snapshots.d.ts +160 -0
  482. package/dist/machines/snapshots.d.ts.map +1 -0
  483. package/dist/machines/types.d.ts +64 -0
  484. package/dist/machines/types.d.ts.map +1 -0
  485. package/dist/number-formats/constants.d.ts +39 -0
  486. package/dist/number-formats/constants.d.ts.map +1 -0
  487. package/dist/number-formats/index.d.ts +14 -0
  488. package/dist/number-formats/index.d.ts.map +1 -0
  489. package/dist/number-formats/locale/index.d.ts +5 -0
  490. package/dist/number-formats/locale/index.d.ts.map +1 -0
  491. package/dist/number-formats/locale/locale-defaults.d.ts +17 -0
  492. package/dist/number-formats/locale/locale-defaults.d.ts.map +1 -0
  493. package/dist/number-formats/registry.d.ts +52 -0
  494. package/dist/number-formats/registry.d.ts.map +1 -0
  495. package/dist/number-formats/types.d.ts +134 -0
  496. package/dist/number-formats/types.d.ts.map +1 -0
  497. package/dist/objects/canvas-object.d.ts +157 -0
  498. package/dist/objects/canvas-object.d.ts.map +1 -0
  499. package/dist/objects/drawing-object.d.ts +144 -0
  500. package/dist/objects/drawing-object.d.ts.map +1 -0
  501. package/dist/objects/floating-objects.d.ts +742 -0
  502. package/dist/objects/floating-objects.d.ts.map +1 -0
  503. package/dist/objects/index.d.ts +5 -0
  504. package/dist/objects/index.d.ts.map +1 -0
  505. package/dist/objects/object-bounds-reader.d.ts +25 -0
  506. package/dist/objects/object-bounds-reader.d.ts.map +1 -0
  507. package/dist/objects/object-mutator.d.ts +30 -0
  508. package/dist/objects/object-mutator.d.ts.map +1 -0
  509. package/dist/performance/index.d.ts +8 -0
  510. package/dist/performance/index.d.ts.map +1 -0
  511. package/dist/performance/profiler-types.d.ts +351 -0
  512. package/dist/performance/profiler-types.d.ts.map +1 -0
  513. package/dist/platform/identity.d.ts +24 -0
  514. package/dist/platform/identity.d.ts.map +1 -0
  515. package/dist/platform/index.d.ts +17 -0
  516. package/dist/platform/index.d.ts.map +1 -0
  517. package/dist/platform/types.d.ts +359 -0
  518. package/dist/platform/types.d.ts.map +1 -0
  519. package/dist/rendering/canvas-bridge-types.d.ts +68 -0
  520. package/dist/rendering/canvas-bridge-types.d.ts.map +1 -0
  521. package/dist/rendering/constants.d.ts +76 -0
  522. package/dist/rendering/constants.d.ts.map +1 -0
  523. package/dist/rendering/coordinates.d.ts +452 -0
  524. package/dist/rendering/coordinates.d.ts.map +1 -0
  525. package/dist/rendering/coordinator-interfaces.d.ts +163 -0
  526. package/dist/rendering/coordinator-interfaces.d.ts.map +1 -0
  527. package/dist/rendering/data-sources.d.ts +372 -0
  528. package/dist/rendering/data-sources.d.ts.map +1 -0
  529. package/dist/rendering/grid-region.d.ts +32 -0
  530. package/dist/rendering/grid-region.d.ts.map +1 -0
  531. package/dist/rendering/grid-renderer.d.ts +391 -0
  532. package/dist/rendering/grid-renderer.d.ts.map +1 -0
  533. package/dist/rendering/grouping.d.ts +21 -0
  534. package/dist/rendering/grouping.d.ts.map +1 -0
  535. package/dist/rendering/hit-test-service.d.ts +58 -0
  536. package/dist/rendering/hit-test-service.d.ts.map +1 -0
  537. package/dist/rendering/hit-test.d.ts +223 -0
  538. package/dist/rendering/hit-test.d.ts.map +1 -0
  539. package/dist/rendering/index.d.ts +25 -0
  540. package/dist/rendering/index.d.ts.map +1 -0
  541. package/dist/rendering/interactive-elements.d.ts +121 -0
  542. package/dist/rendering/interactive-elements.d.ts.map +1 -0
  543. package/dist/rendering/primitives.d.ts +17 -0
  544. package/dist/rendering/primitives.d.ts.map +1 -0
  545. package/dist/rendering/render-context.d.ts +457 -0
  546. package/dist/rendering/render-context.d.ts.map +1 -0
  547. package/dist/rendering/text-measurement-service.d.ts +197 -0
  548. package/dist/rendering/text-measurement-service.d.ts.map +1 -0
  549. package/dist/ribbon/collapse-configs.d.ts +298 -0
  550. package/dist/ribbon/collapse-configs.d.ts.map +1 -0
  551. package/dist/ribbon/collapse-types.d.ts +76 -0
  552. package/dist/ribbon/collapse-types.d.ts.map +1 -0
  553. package/dist/ribbon/index.d.ts +25 -0
  554. package/dist/ribbon/index.d.ts.map +1 -0
  555. package/dist/selection/index.d.ts +10 -0
  556. package/dist/selection/index.d.ts.map +1 -0
  557. package/dist/selection/registry.d.ts +17 -0
  558. package/dist/selection/registry.d.ts.map +1 -0
  559. package/dist/selection/types.d.ts +82 -0
  560. package/dist/selection/types.d.ts.map +1 -0
  561. package/dist/selectors/index.d.ts +8 -0
  562. package/dist/selectors/index.d.ts.map +1 -0
  563. package/dist/selectors/smart-art.d.ts +58 -0
  564. package/dist/selectors/smart-art.d.ts.map +1 -0
  565. package/dist/services/index.d.ts +273 -0
  566. package/dist/services/index.d.ts.map +1 -0
  567. package/dist/smartart/index.d.ts +26 -0
  568. package/dist/smartart/index.d.ts.map +1 -0
  569. package/dist/smartart/layouts.d.ts +193 -0
  570. package/dist/smartart/layouts.d.ts.map +1 -0
  571. package/dist/smartart/ooxml-algorithm-types.d.ts +939 -0
  572. package/dist/smartart/ooxml-algorithm-types.d.ts.map +1 -0
  573. package/dist/smartart/ooxml-data-model-types.d.ts +845 -0
  574. package/dist/smartart/ooxml-data-model-types.d.ts.map +1 -0
  575. package/dist/smartart/ooxml-drawing-types.d.ts +356 -0
  576. package/dist/smartart/ooxml-drawing-types.d.ts.map +1 -0
  577. package/dist/smartart/ooxml-engine-types.d.ts +873 -0
  578. package/dist/smartart/ooxml-engine-types.d.ts.map +1 -0
  579. package/dist/smartart/ooxml-layout-types.d.ts +405 -0
  580. package/dist/smartart/ooxml-layout-types.d.ts.map +1 -0
  581. package/dist/smartart/ooxml-style-types.d.ts +474 -0
  582. package/dist/smartart/ooxml-style-types.d.ts.map +1 -0
  583. package/dist/smartart/styles.d.ts +137 -0
  584. package/dist/smartart/styles.d.ts.map +1 -0
  585. package/dist/smartart/types.d.ts +323 -0
  586. package/dist/smartart/types.d.ts.map +1 -0
  587. package/dist/storage/capabilities.d.ts +33 -0
  588. package/dist/storage/capabilities.d.ts.map +1 -0
  589. package/dist/storage/connection.d.ts +183 -0
  590. package/dist/storage/connection.d.ts.map +1 -0
  591. package/dist/storage/index.d.ts +13 -0
  592. package/dist/storage/index.d.ts.map +1 -0
  593. package/dist/storage/query.d.ts +91 -0
  594. package/dist/storage/query.d.ts.map +1 -0
  595. package/dist/storage/table-driver.d.ts +249 -0
  596. package/dist/storage/table-driver.d.ts.map +1 -0
  597. package/dist/store/cell-schema.d.ts +235 -0
  598. package/dist/store/cell-schema.d.ts.map +1 -0
  599. package/dist/store/equation-schema.d.ts +22 -0
  600. package/dist/store/equation-schema.d.ts.map +1 -0
  601. package/dist/store/index.d.ts +33 -0
  602. package/dist/store/index.d.ts.map +1 -0
  603. package/dist/store/ink-schema.d.ts +26 -0
  604. package/dist/store/ink-schema.d.ts.map +1 -0
  605. package/dist/store/scenarios-schema.d.ts +105 -0
  606. package/dist/store/scenarios-schema.d.ts.map +1 -0
  607. package/dist/store/schema-types.d.ts +113 -0
  608. package/dist/store/schema-types.d.ts.map +1 -0
  609. package/dist/store/sheet-maps-schema.d.ts +222 -0
  610. package/dist/store/sheet-maps-schema.d.ts.map +1 -0
  611. package/dist/store/sheet-meta-schema.d.ts +16 -0
  612. package/dist/store/sheet-meta-schema.d.ts.map +1 -0
  613. package/dist/store/smartart-schema.d.ts +17 -0
  614. package/dist/store/smartart-schema.d.ts.map +1 -0
  615. package/dist/store/store-types.d.ts +381 -0
  616. package/dist/store/store-types.d.ts.map +1 -0
  617. package/dist/store/wordart-schema.d.ts +13 -0
  618. package/dist/store/wordart-schema.d.ts.map +1 -0
  619. package/dist/store/workbook-schema.d.ts +16 -0
  620. package/dist/store/workbook-schema.d.ts.map +1 -0
  621. package/dist/styles/built-in-styles.d.ts +10 -0
  622. package/dist/styles/built-in-styles.d.ts.map +1 -0
  623. package/dist/styles/index.d.ts +18 -0
  624. package/dist/styles/index.d.ts.map +1 -0
  625. package/dist/utils/a1.d.ts +12 -0
  626. package/dist/utils/a1.d.ts.map +1 -0
  627. package/dist/utils/datetime.d.ts +7 -0
  628. package/dist/utils/datetime.d.ts.map +1 -0
  629. package/dist/utils/function-registry.d.ts +40 -0
  630. package/dist/utils/function-registry.d.ts.map +1 -0
  631. package/dist/utils/index.d.ts +9 -0
  632. package/dist/utils/index.d.ts.map +1 -0
  633. package/dist/utils/protection.d.ts +9 -0
  634. package/dist/utils/protection.d.ts.map +1 -0
  635. package/dist/utils/range-navigation.d.ts +9 -0
  636. package/dist/utils/range-navigation.d.ts.map +1 -0
  637. package/dist/utils/range.d.ts +9 -0
  638. package/dist/utils/range.d.ts.map +1 -0
  639. package/dist/utils/rich-text.d.ts +9 -0
  640. package/dist/utils/rich-text.d.ts.map +1 -0
  641. package/dist/viewport/geometry.d.ts +90 -0
  642. package/dist/viewport/geometry.d.ts.map +1 -0
  643. package/dist/viewport/grid-canvas.d.ts +133 -0
  644. package/dist/viewport/grid-canvas.d.ts.map +1 -0
  645. package/dist/viewport/index.d.ts +5 -0
  646. package/dist/viewport/index.d.ts.map +1 -0
  647. package/dist/viewport/viewport-config.d.ts +95 -0
  648. package/dist/viewport/viewport-config.d.ts.map +1 -0
  649. package/dist/viewport/viewport.d.ts +191 -0
  650. package/dist/viewport/viewport.d.ts.map +1 -0
  651. package/dist/views/index.d.ts +9 -0
  652. package/dist/views/index.d.ts.map +1 -0
  653. package/dist/views/types.d.ts +161 -0
  654. package/dist/views/types.d.ts.map +1 -0
  655. package/dist/what-if/index.d.ts +2 -0
  656. package/dist/what-if/index.d.ts.map +1 -0
  657. package/dist/what-if/what-if.d.ts +152 -0
  658. package/dist/what-if/what-if.d.ts.map +1 -0
  659. package/dist/window-manager/index.d.ts +134 -0
  660. package/dist/window-manager/index.d.ts.map +1 -0
  661. package/dist/wordart/effects.d.ts +611 -0
  662. package/dist/wordart/effects.d.ts.map +1 -0
  663. package/dist/wordart/index.d.ts +17 -0
  664. package/dist/wordart/index.d.ts.map +1 -0
  665. package/dist/wordart/presets.d.ts +133 -0
  666. package/dist/wordart/presets.d.ts.map +1 -0
  667. package/dist/wordart/types.d.ts +444 -0
  668. package/dist/wordart/types.d.ts.map +1 -0
  669. package/dist/workflows/context.d.ts +777 -0
  670. package/dist/workflows/context.d.ts.map +1 -0
  671. package/dist/workflows/definition.d.ts +256 -0
  672. package/dist/workflows/definition.d.ts.map +1 -0
  673. package/dist/workflows/events.d.ts +397 -0
  674. package/dist/workflows/events.d.ts.map +1 -0
  675. package/dist/workflows/index.d.ts +19 -0
  676. package/dist/workflows/index.d.ts.map +1 -0
  677. package/dist/workflows/instance.d.ts +358 -0
  678. package/dist/workflows/instance.d.ts.map +1 -0
  679. package/dist/workflows/runtime.d.ts +287 -0
  680. package/dist/workflows/runtime.d.ts.map +1 -0
  681. package/dist/workflows/triggers.d.ts +335 -0
  682. package/dist/workflows/triggers.d.ts.map +1 -0
  683. package/dist/workflows/versioning.d.ts +245 -0
  684. package/dist/workflows/versioning.d.ts.map +1 -0
  685. package/dist/xlsx-parser/conditional-format.d.ts +137 -0
  686. package/dist/xlsx-parser/conditional-format.d.ts.map +1 -0
  687. package/dist/xlsx-parser/core.d.ts +622 -0
  688. package/dist/xlsx-parser/core.d.ts.map +1 -0
  689. package/dist/xlsx-parser/data-validation.d.ts +55 -0
  690. package/dist/xlsx-parser/data-validation.d.ts.map +1 -0
  691. package/dist/xlsx-parser/errors.d.ts +38 -0
  692. package/dist/xlsx-parser/errors.d.ts.map +1 -0
  693. package/dist/xlsx-parser/index.d.ts +17 -0
  694. package/dist/xlsx-parser/index.d.ts.map +1 -0
  695. package/dist/xlsx-parser/options.d.ts +89 -0
  696. package/dist/xlsx-parser/options.d.ts.map +1 -0
  697. package/dist/xlsx-parser/styles.d.ts +157 -0
  698. package/dist/xlsx-parser/styles.d.ts.map +1 -0
  699. package/dist/xlsx-parser/table.d.ts +170 -0
  700. package/dist/xlsx-parser/table.d.ts.map +1 -0
  701. package/package.json +410 -0
@@ -0,0 +1,873 @@
1
+ /**
2
+ * OOXML SmartArt Engine Control Types
3
+ *
4
+ * Type definitions for the constraint/rule system, iteration/conditional logic,
5
+ * and variable list system used by the OOXML SmartArt layout engine.
6
+ *
7
+ * These types directly correspond to ECMA-376 Part 1, Section 21.4 (DrawingML - Diagrams).
8
+ * String literal union types are used (not enums) for maximum type safety with OOXML
9
+ * string attribute values and zero runtime overhead.
10
+ *
11
+ * @see ECMA-376 5th Edition, Part 1, Section 21.4
12
+ * @module ooxml-engine-types
13
+ */
14
+ /**
15
+ * OOXML constraint type enumeration.
16
+ *
17
+ * Defines all 64 possible constraint types used in SmartArt layout definitions
18
+ * to control positioning, sizing, margins, fonts, spacing, geometry, and
19
+ * user-defined variables.
20
+ *
21
+ * Organized by category:
22
+ * - **Positional** (12): l, t, r, b, lOff, tOff, rOff, bOff, ctrX, ctrY, ctrXOff, ctrYOff
23
+ * - **Dimensional** (4): w, h, wOff, hOff
24
+ * - **Margins** (6): lMarg, tMarg, rMarg, bMarg, begMarg, endMarg
25
+ * - **Font** (2): primFontSz, secFontSz
26
+ * - **Spacing** (3): sp, sibSp, secSibSp
27
+ * - **Geometry** (8): connDist, diam, stemThick, begPad, endPad, wArH, hArH, bendDist
28
+ * - **Pyramid** (1): pyraAcctRatio
29
+ * - **Alignment** (1): alignOff
30
+ * - **User-defined** (26): userA through userZ
31
+ * - **None** (1): none
32
+ * - **Total**: 38 standard + 26 user-defined = 64 values
33
+ *
34
+ * @see ECMA-376 Section 21.4.7.17 ST_ConstraintType
35
+ */
36
+ export type ST_ConstraintType = 'l' | 't' | 'r' | 'b' | 'lOff' | 'tOff' | 'rOff' | 'bOff' | 'ctrX' | 'ctrY' | 'ctrXOff' | 'ctrYOff' | 'w' | 'h' | 'wOff' | 'hOff' | 'lMarg' | 'tMarg' | 'rMarg' | 'bMarg' | 'begMarg' | 'endMarg' | 'primFontSz' | 'secFontSz' | 'sp' | 'sibSp' | 'secSibSp' | 'connDist' | 'diam' | 'stemThick' | 'begPad' | 'endPad' | 'wArH' | 'hArH' | 'bendDist' | 'pyraAcctRatio' | 'alignOff' | 'userA' | 'userB' | 'userC' | 'userD' | 'userE' | 'userF' | 'userG' | 'userH' | 'userI' | 'userJ' | 'userK' | 'userL' | 'userM' | 'userN' | 'userO' | 'userP' | 'userQ' | 'userR' | 'userS' | 'userT' | 'userU' | 'userV' | 'userW' | 'userX' | 'userY' | 'userZ' | 'none';
37
+ /**
38
+ * Constraint relationship type.
39
+ *
40
+ * Specifies the scope of a constraint — which nodes it applies to
41
+ * or references:
42
+ * - `'self'` — The constraint applies to/references the layout node itself
43
+ * - `'ch'` — The constraint applies to/references the direct children
44
+ * - `'des'` — The constraint applies to/references all descendants
45
+ *
46
+ * @see ECMA-376 Section 21.4.7.15 ST_ConstraintRelationship
47
+ */
48
+ export type ST_ConstraintRelationship = 'self' | 'ch' | 'des';
49
+ /**
50
+ * Boolean constraint operator.
51
+ *
52
+ * Defines how a constraint value relates to its target:
53
+ * - `'none'` — Soft/preferred value (no enforcement)
54
+ * - `'equ'` — Equality constraint (target must equal value)
55
+ * - `'gte'` — Minimum constraint (target must be >= value)
56
+ * - `'lte'` — Maximum constraint (target must be <= value)
57
+ *
58
+ * @see ECMA-376 Section 21.4.7.9 ST_BoolOperator
59
+ */
60
+ export type ST_BoolOperator = 'none' | 'equ' | 'gte' | 'lte';
61
+ /**
62
+ * A single OOXML layout constraint.
63
+ *
64
+ * Constraints define relationships between layout properties. The general
65
+ * evaluation formula is:
66
+ *
67
+ * target[for/forName].type = (source[refFor/refForName].refType * fact) + val
68
+ *
69
+ * Where:
70
+ * - `type` identifies the target property (one of 64 ST_ConstraintType values)
71
+ * - `for`/`forName` identifies the target node(s)
72
+ * - `refType`/`refFor`/`refForName` identifies the reference source
73
+ * - `op` controls enforcement semantics (none=preferred, equ=exact, gte=min, lte=max)
74
+ * - `fact` is a multiplicative factor applied to the reference value
75
+ * - `val` is an additive constant
76
+ * - `ptType` filters which data point types this constraint applies to
77
+ *
78
+ * @see ECMA-376 Section 21.4.2.7 constr (Constraint)
79
+ */
80
+ export interface OoxmlConstraint {
81
+ /**
82
+ * The constraint property type being set.
83
+ * @see ST_ConstraintType
84
+ */
85
+ readonly type: ST_ConstraintType;
86
+ /**
87
+ * Scope of the target node(s) this constraint applies to.
88
+ * Defaults to 'self' if not specified.
89
+ */
90
+ readonly for: ST_ConstraintRelationship;
91
+ /**
92
+ * Name of a specific layout node this constraint targets.
93
+ * When specified, the constraint only applies to the named node.
94
+ * Empty string means no specific target (uses `for` scope instead).
95
+ */
96
+ readonly forName: string;
97
+ /**
98
+ * The reference constraint property type to read from.
99
+ * Defaults to 'none' if this constraint uses an absolute value.
100
+ */
101
+ readonly refType: ST_ConstraintType;
102
+ /**
103
+ * Scope of the reference node(s) to read from.
104
+ * Defaults to 'self' if not specified.
105
+ */
106
+ readonly refFor: ST_ConstraintRelationship;
107
+ /**
108
+ * Name of a specific layout node to read the reference value from.
109
+ * Empty string means no specific reference (uses `refFor` scope instead).
110
+ */
111
+ readonly refForName: string;
112
+ /**
113
+ * Constraint operator defining enforcement semantics.
114
+ * - 'none': soft/preferred value
115
+ * - 'equ': target must equal computed value
116
+ * - 'gte': target must be >= computed value
117
+ * - 'lte': target must be <= computed value
118
+ */
119
+ readonly op: ST_BoolOperator;
120
+ /**
121
+ * Absolute value for the constraint.
122
+ * Used either as the sole value (when refType is 'none') or as an
123
+ * additive offset to the referenced value.
124
+ * Defaults to 0.
125
+ */
126
+ readonly val: number;
127
+ /**
128
+ * Multiplicative factor applied to the reference value.
129
+ * The formula is: result = (refValue * fact) + val
130
+ * Defaults to 1.
131
+ */
132
+ readonly fact: number;
133
+ /**
134
+ * Data point type filter for the target.
135
+ * When specified, this constraint only applies to layout nodes
136
+ * associated with data points of this type.
137
+ * Defaults to 'all'.
138
+ * @see ST_ElementType
139
+ */
140
+ readonly ptType: ST_ElementType;
141
+ /**
142
+ * Data point type filter for the reference source.
143
+ * When specified, the reference value is read only from nodes
144
+ * associated with data points of this type.
145
+ * Defaults to 'all'.
146
+ * @see ST_ElementType
147
+ */
148
+ readonly refPtType: ST_ElementType;
149
+ }
150
+ /**
151
+ * A single OOXML adaptive layout rule.
152
+ *
153
+ * Rules define fallback behavior when content doesn't fit within constraints.
154
+ * They are evaluated sequentially: the engine tries each rule in document order,
155
+ * adjusting constraint values until content fits or all rules are exhausted.
156
+ *
157
+ * Common patterns:
158
+ * - Font shrinking: `primFontSz` rule with val=5 (minimum 5pt)
159
+ * - Width expansion: `w` rule with val=INF
160
+ * - Spacing reduction: `sp` rule with smaller spacing
161
+ *
162
+ * @see ECMA-376 Section 21.4.2.19 rule (Rule)
163
+ */
164
+ export interface OoxmlRule {
165
+ /**
166
+ * The constraint property type this rule adjusts.
167
+ * @see ST_ConstraintType
168
+ */
169
+ readonly type: ST_ConstraintType;
170
+ /**
171
+ * Scope of the target node(s) this rule applies to.
172
+ * Defaults to 'self' if not specified.
173
+ */
174
+ readonly for: ST_ConstraintRelationship;
175
+ /**
176
+ * Name of a specific layout node this rule targets.
177
+ * Empty string means no specific target.
178
+ */
179
+ readonly forName: string;
180
+ /**
181
+ * The reference constraint property type to read from.
182
+ * Defaults to 'none' if this rule uses an absolute value.
183
+ * @see ST_ConstraintType
184
+ * @see ECMA-376 Section 21.4.3.13 (dgm:rule)
185
+ */
186
+ readonly refType?: ST_ConstraintType;
187
+ /**
188
+ * Scope of the reference node(s) to read from.
189
+ * Defaults to 'self' if not specified.
190
+ * @see ECMA-376 Section 21.4.3.13 (dgm:rule)
191
+ */
192
+ readonly refFor?: ST_ConstraintRelationship;
193
+ /**
194
+ * Name of a specific layout node to read the reference value from.
195
+ * Empty string means no specific reference (uses `refFor` scope instead).
196
+ * @see ECMA-376 Section 21.4.3.13 (dgm:rule)
197
+ */
198
+ readonly refForName?: string;
199
+ /**
200
+ * Constraint operator defining enforcement semantics.
201
+ * - 'none': soft/preferred value
202
+ * - 'equ': target must equal computed value
203
+ * - 'gte': target must be >= computed value
204
+ * - 'lte': target must be <= computed value
205
+ * @see ECMA-376 Section 21.4.3.13 (dgm:rule)
206
+ */
207
+ readonly op?: ST_BoolOperator;
208
+ /**
209
+ * Data point type filter.
210
+ * When specified, this rule only applies to layout nodes
211
+ * associated with data points of this type.
212
+ * Defaults to 'all'.
213
+ * @see ST_ElementType
214
+ */
215
+ readonly ptType: ST_ElementType;
216
+ /**
217
+ * Target value for the adjustment.
218
+ * The rule engine adjusts the constraint toward this value.
219
+ * Defaults to 0.
220
+ */
221
+ readonly val: number;
222
+ /**
223
+ * Multiplicative factor applied when computing the adjusted value.
224
+ * Defaults to 1.
225
+ */
226
+ readonly fact: number;
227
+ /**
228
+ * Maximum value for the adjustment.
229
+ * The adjusted value will not exceed this maximum.
230
+ * Defaults to Infinity (no maximum).
231
+ */
232
+ readonly max: number;
233
+ }
234
+ /**
235
+ * An ordered list of OOXML constraints.
236
+ *
237
+ * Constraints are evaluated in document order. Later constraints can
238
+ * reference values set by earlier constraints within the same list.
239
+ *
240
+ * @see ECMA-376 Section 21.4.2.8 constrLst (Constraint List)
241
+ */
242
+ export type ConstraintList = readonly OoxmlConstraint[];
243
+ /**
244
+ * An ordered list of OOXML adaptive rules.
245
+ *
246
+ * Rules are evaluated sequentially: the engine tries each rule in
247
+ * document order, adjusting constraint values until content fits.
248
+ *
249
+ * @see ECMA-376 Section 21.4.2.20 ruleLst (Rule List)
250
+ */
251
+ export type RuleList = readonly OoxmlRule[];
252
+ /**
253
+ * OOXML axis type enumeration.
254
+ *
255
+ * Defines all 13 possible axis types for navigating the data model tree.
256
+ * Axes are used by `forEach`, `presOf`, and `choose/if` elements to
257
+ * select sets of data model points relative to a context point.
258
+ *
259
+ * Axes can be chained (space-separated) to compose navigation paths.
260
+ * For example, `"ch ch"` means "grandchildren" (children of children).
261
+ *
262
+ * - **Self** (1): self
263
+ * - **Descendants** (3): ch, des, desOrSelf
264
+ * - **Ancestors** (3): par, ancst, ancstOrSelf
265
+ * - **Siblings** (4): followSib, precedSib, follow, preced
266
+ * - **Root** (1): root
267
+ * - **None** (1): none
268
+ *
269
+ * @see ECMA-376 Section 21.4.7.6 ST_AxisType
270
+ */
271
+ export type ST_AxisType = 'self' | 'ch' | 'des' | 'desOrSelf' | 'par' | 'ancst' | 'ancstOrSelf' | 'followSib' | 'precedSib' | 'follow' | 'preced' | 'root' | 'none';
272
+ /**
273
+ * OOXML element type enumeration.
274
+ *
275
+ * Defines all 10 possible data point types for filtering during axis
276
+ * navigation. Used in `forEach.ptType`, constraint `ptType`/`refPtType`,
277
+ * and `choose/if` conditions.
278
+ *
279
+ * Can be space-separated for multi-type filtering (e.g., `"node asst"`).
280
+ *
281
+ * - `'all'` — Match all element types
282
+ * - `'doc'` — Document root node
283
+ * - `'node'` — Standard data node
284
+ * - `'norm'` — Normal node (non-assistant)
285
+ * - `'nonNorm'` — Non-normal node
286
+ * - `'asst'` — Assistant node (special hierarchy position)
287
+ * - `'nonAsst'` — Non-assistant node
288
+ * - `'parTrans'` — Parent transition (connector between parent and child)
289
+ * - `'pres'` — Presentation node (layout-generated, not in data model)
290
+ * - `'sibTrans'` — Sibling transition (connector between siblings)
291
+ *
292
+ * @see ECMA-376 Section 21.4.7.19 ST_ElementType
293
+ */
294
+ export type ST_ElementType = 'all' | 'doc' | 'node' | 'norm' | 'nonNorm' | 'asst' | 'nonAsst' | 'parTrans' | 'pres' | 'sibTrans';
295
+ /**
296
+ * OOXML function type enumeration.
297
+ *
298
+ * Defines all 8 function types used in `choose/if` conditions to
299
+ * evaluate properties of the current iteration context.
300
+ *
301
+ * - `'cnt'` — Count of matching items along the specified axis
302
+ * - `'pos'` — 1-based position of current item in iteration
303
+ * - `'revPos'` — Reverse position (counting from end, 1-based)
304
+ * - `'posEven'` — 1 if position is even, 0 otherwise
305
+ * - `'posOdd'` — 1 if position is odd, 0 otherwise
306
+ * - `'var'` — Variable lookup (uses the `arg` attribute for variable name)
307
+ * - `'depth'` — Depth of current node in the data model tree
308
+ * - `'maxDepth'` — Maximum depth anywhere in the data model tree
309
+ *
310
+ * @see ECMA-376 Section 21.4.7.22 ST_FunctionType
311
+ */
312
+ export type ST_FunctionType = 'cnt' | 'pos' | 'revPos' | 'posEven' | 'posOdd' | 'var' | 'depth' | 'maxDepth';
313
+ /**
314
+ * OOXML function operator enumeration.
315
+ *
316
+ * Defines all 6 comparison operators used in `choose/if` conditions
317
+ * to compare a function result against a value.
318
+ *
319
+ * - `'equ'` — Equal to
320
+ * - `'neq'` — Not equal to
321
+ * - `'gt'` — Greater than
322
+ * - `'lt'` — Less than
323
+ * - `'gte'` — Greater than or equal to
324
+ * - `'lte'` — Less than or equal to
325
+ *
326
+ * @see ECMA-376 Section 21.4.7.21 ST_FunctionOperator
327
+ */
328
+ export type ST_FunctionOperator = 'equ' | 'neq' | 'gt' | 'lt' | 'gte' | 'lte';
329
+ /**
330
+ * OOXML function argument enumeration.
331
+ *
332
+ * Defines all 10 possible argument values used with the `var` function type
333
+ * in `choose/if` conditions. Each corresponds to a variable in the
334
+ * `VariableList` that can be queried at evaluation time.
335
+ *
336
+ * - `'none'` — No argument / unknown
337
+ * - `'orgChart'` — Whether this is an organization chart layout
338
+ * - `'chMax'` — Maximum number of children
339
+ * - `'chPref'` — Preferred number of children
340
+ * - `'bulEnabled'` — Whether bullets are enabled
341
+ * - `'dir'` — Layout direction (normal or reversed)
342
+ * - `'hierBranch'` — Hierarchy branching style
343
+ * - `'animOne'` — One-by-one animation style
344
+ * - `'animLvl'` — Animation level style
345
+ * - `'resizeHandles'` — Resize handle behavior
346
+ *
347
+ * @see ECMA-376 Section 21.4.7.20 ST_FunctionArgument
348
+ */
349
+ export type ST_FunctionArgument = 'none' | 'orgChart' | 'chMax' | 'chPref' | 'bulEnabled' | 'dir' | 'hierBranch' | 'animOne' | 'animLvl' | 'resizeHandles';
350
+ /**
351
+ * OOXML forEach iteration element.
352
+ *
353
+ * Iterates over data model points selected by axis navigation and
354
+ * point type filtering. For each matching point, the child layout
355
+ * nodes are instantiated (stamped out).
356
+ *
357
+ * Supports:
358
+ * - Axis chaining: `axis` can be space-separated (e.g., `"ch ch"` for grandchildren)
359
+ * - Type filtering: `ptType` can be space-separated (e.g., `"node asst"`)
360
+ * - Subsequence control: `cnt`, `st`, `step` for selecting subsets
361
+ * - Transition hiding: `hideLastTrans` to suppress the last sibling transition
362
+ * - Nesting: forEach can contain other forEach, choose, or layoutNode children
363
+ *
364
+ * @see ECMA-376 Section 21.4.2.13 forEach (For Each)
365
+ */
366
+ export interface ForEach {
367
+ /** Discriminator for LayoutNodeChild union type */
368
+ readonly kind: 'forEach';
369
+ /**
370
+ * Optional name for this forEach element.
371
+ * Can be referenced by other forEach elements via the `ref` attribute.
372
+ */
373
+ readonly name: string;
374
+ /**
375
+ * Reference to another forEach element's name.
376
+ * When specified, this forEach reuses the referenced forEach's definition
377
+ * instead of defining its own axis/ptType/children.
378
+ */
379
+ readonly ref: string;
380
+ /**
381
+ * Axis type(s) for navigation from the current context point.
382
+ * Can be a single axis type or space-separated list for chained navigation.
383
+ * Example: `'ch'` (children), `'ch ch'` (grandchildren), `'des'` (all descendants).
384
+ *
385
+ * @see ST_AxisType
386
+ */
387
+ readonly axis: string;
388
+ /**
389
+ * Point type filter(s) for selecting which data points to iterate over.
390
+ * Can be a single type or space-separated list for multi-type matching.
391
+ * Example: `'node'`, `'node asst'`, `'parTrans sibTrans'`.
392
+ *
393
+ * @see ST_ElementType
394
+ */
395
+ readonly ptType: string;
396
+ /**
397
+ * Maximum count of points to iterate over.
398
+ * 0 means no limit (iterate all matching points).
399
+ * Defaults to 0.
400
+ */
401
+ readonly cnt: number;
402
+ /**
403
+ * Starting index (1-based) for the iteration subsequence.
404
+ * Defaults to 1 (start from the first match).
405
+ */
406
+ readonly st: number;
407
+ /**
408
+ * Step value for iteration.
409
+ * 1 = every item, 2 = every other item, etc.
410
+ * Defaults to 1.
411
+ */
412
+ readonly step: number;
413
+ /**
414
+ * Whether to hide the last sibling transition node.
415
+ * When true, the transition node after the last data node is suppressed.
416
+ * Defaults to true.
417
+ */
418
+ readonly hideLastTrans: boolean;
419
+ /**
420
+ * Child elements instantiated for each matching data point.
421
+ * Can include layout nodes, nested forEach, and choose/if/else constructs.
422
+ */
423
+ readonly children: readonly LayoutNodeChild[];
424
+ }
425
+ /**
426
+ * OOXML choose element for conditional layout branching.
427
+ *
428
+ * Contains one or more `if` clauses evaluated in order, and an optional
429
+ * `else` clause. The first `if` clause whose condition evaluates to true
430
+ * has its children included in the layout tree. If no `if` clause matches,
431
+ * the `else` clause children are used (if present).
432
+ *
433
+ * @see ECMA-376 Section 21.4.2.4 choose (Choose)
434
+ */
435
+ export interface Choose {
436
+ /** Discriminator for LayoutNodeChild union type */
437
+ readonly kind: 'choose';
438
+ /**
439
+ * Optional name for this choose element.
440
+ */
441
+ readonly name: string;
442
+ /**
443
+ * Ordered list of if-clauses.
444
+ * Evaluated in document order; first matching clause wins.
445
+ */
446
+ readonly ifClauses: readonly IfClause[];
447
+ /**
448
+ * Optional else clause.
449
+ * Used when no if-clause condition evaluates to true.
450
+ * Null if no else clause is defined.
451
+ */
452
+ readonly elseClauses: ElseClause | null;
453
+ }
454
+ /**
455
+ * OOXML if-clause within a choose element.
456
+ *
457
+ * Evaluates a condition based on the current iteration context:
458
+ * `func(arg)` `op` `val`
459
+ *
460
+ * Where:
461
+ * - `func` determines what value to compute (count, position, variable, etc.)
462
+ * - `arg` provides additional context for the function (used with 'var' function)
463
+ * - `op` is the comparison operator
464
+ * - `val` is the value to compare against
465
+ *
466
+ * The if-clause also supports axis/ptType navigation for context-sensitive
467
+ * evaluation (similar to forEach).
468
+ *
469
+ * @see ECMA-376 Section 21.4.2.14 if (If)
470
+ */
471
+ export interface IfClause {
472
+ /**
473
+ * Optional name for this if-clause.
474
+ */
475
+ readonly name: string;
476
+ /**
477
+ * Function to evaluate against the current context.
478
+ * Determines what property of the context is being tested.
479
+ *
480
+ * @see ST_FunctionType
481
+ */
482
+ readonly func: ST_FunctionType;
483
+ /**
484
+ * Argument for the function.
485
+ * Primarily used with `func='var'` to specify which variable to look up.
486
+ *
487
+ * @see ST_FunctionArgument
488
+ */
489
+ readonly arg: ST_FunctionArgument;
490
+ /**
491
+ * Comparison operator for the condition.
492
+ *
493
+ * @see ST_FunctionOperator
494
+ */
495
+ readonly op: ST_FunctionOperator;
496
+ /**
497
+ * Value to compare the function result against.
498
+ * For numeric functions (cnt, pos, depth, etc.), this is a number as string.
499
+ * For variable functions (var), this is the expected variable value.
500
+ */
501
+ readonly val: string;
502
+ /**
503
+ * Axis type(s) for navigation context.
504
+ * Used when the function needs to navigate the data model
505
+ * (e.g., counting children along a specific axis).
506
+ *
507
+ * @see ST_AxisType
508
+ */
509
+ readonly axis: string;
510
+ /**
511
+ * Point type filter(s) for navigation.
512
+ *
513
+ * @see ST_ElementType
514
+ */
515
+ readonly ptType: string;
516
+ /**
517
+ * Maximum count of points for axis navigation.
518
+ * 0 means no limit. Defaults to 0.
519
+ */
520
+ readonly cnt: number;
521
+ /**
522
+ * Starting index (1-based) for axis navigation subsequence.
523
+ * Defaults to 1.
524
+ */
525
+ readonly st: number;
526
+ /**
527
+ * Step value for axis navigation.
528
+ * Defaults to 1.
529
+ */
530
+ readonly step: number;
531
+ /**
532
+ * Whether to hide the last sibling transition during navigation.
533
+ * Defaults to true.
534
+ */
535
+ readonly hideLastTrans: boolean;
536
+ /**
537
+ * Child layout elements included when this condition is true.
538
+ */
539
+ readonly children: readonly LayoutNodeChild[];
540
+ }
541
+ /**
542
+ * OOXML else-clause within a choose element.
543
+ *
544
+ * Contains layout children that are used when no if-clause condition
545
+ * evaluates to true. Acts as the default/fallback branch.
546
+ *
547
+ * @see ECMA-376 Section 21.4.2.11 else (Else)
548
+ */
549
+ export interface ElseClause {
550
+ /**
551
+ * Optional name for this else-clause.
552
+ */
553
+ readonly name: string;
554
+ /**
555
+ * Child layout elements included when no if-clause matches.
556
+ */
557
+ readonly children: readonly LayoutNodeChild[];
558
+ }
559
+ /**
560
+ * Discriminated union type for children of a layout node.
561
+ *
562
+ * A layout node's children can be:
563
+ * - A nested `LayoutNode` (static child)
564
+ * - A `ForEach` element (data-driven iteration)
565
+ * - A `Choose` element (conditional branching)
566
+ *
567
+ * Discriminated via the `kind` field:
568
+ * - `kind: 'layoutNode'` → LayoutNode (defined in ooxml-layout-types.ts)
569
+ * - `kind: 'forEach'` → ForEach
570
+ * - `kind: 'choose'` → Choose
571
+ *
572
+ * Note: The actual LayoutNode type with `kind: 'layoutNode'` is defined
573
+ * in the layout definition types (managed by Agent 1). This union is
574
+ * designed to be extended via intersection when all types are combined.
575
+ */
576
+ export type LayoutNodeChild = ForEach | Choose | LayoutNodeChildRef;
577
+ /**
578
+ * Reference placeholder for layout node children.
579
+ *
580
+ * This type represents a layout node child in the discriminated union.
581
+ * The actual LayoutNode interface (with algorithm, shape, constraints, etc.)
582
+ * is defined in the layout definition types. This interface provides the
583
+ * minimal shape needed for the union discriminator to work.
584
+ */
585
+ export interface LayoutNodeChildRef {
586
+ /** Discriminator for LayoutNodeChild union type */
587
+ readonly kind: 'layoutNode';
588
+ /** Layout node name (optional — most inner layout nodes don't have names) */
589
+ readonly name?: string;
590
+ }
591
+ /**
592
+ * Runtime context available during forEach and choose/if evaluation.
593
+ *
594
+ * This context is maintained by the layout engine as it processes
595
+ * forEach loops and evaluates choose/if conditions. It provides all
596
+ * the information needed to evaluate functions like cnt, pos, depth, var.
597
+ *
598
+ * @see ECMA-376 Section 21.4.2.13 forEach
599
+ * @see ECMA-376 Section 21.4.2.14 if
600
+ */
601
+ export interface IterationContext {
602
+ /**
603
+ * The current data model point being processed.
604
+ * This is the point selected by the innermost forEach loop.
605
+ * Represented as a model ID string (matches DataModelPoint.modelId).
606
+ */
607
+ readonly currentPoint: string;
608
+ /**
609
+ * 1-based position of the current point within the forEach iteration.
610
+ * First item is position 1, second is 2, etc.
611
+ */
612
+ readonly position: number;
613
+ /**
614
+ * Total count of items in the current forEach iteration.
615
+ * Used by the `cnt` function and for computing `revPos`.
616
+ */
617
+ readonly count: number;
618
+ /**
619
+ * Depth of the current point in the data model tree.
620
+ * The document root (doc node) is depth 0, its children are depth 1, etc.
621
+ */
622
+ readonly depth: number;
623
+ /**
624
+ * Current variable values from the variable list.
625
+ * Used by the `var` function to look up variable values.
626
+ *
627
+ * @see VariableList
628
+ */
629
+ readonly variables: VariableList;
630
+ }
631
+ /**
632
+ * OOXML layout direction enumeration.
633
+ *
634
+ * Controls the direction of layout flow:
635
+ * - `'norm'` — Normal direction (left-to-right for LTR locales)
636
+ * - `'rev'` — Reversed direction (right-to-left for LTR locales)
637
+ *
638
+ * @see ECMA-376 Section 21.4.7.18 ST_Direction
639
+ */
640
+ export type ST_Direction = 'norm' | 'rev';
641
+ /**
642
+ * OOXML hierarchy branch style enumeration.
643
+ *
644
+ * Controls how child branches are arranged in hierarchy layouts:
645
+ * - `'std'` — Standard branching (balanced left/right)
646
+ * - `'init'` — Initial branching (uses the data model's initial setting)
647
+ * - `'l'` — All branches to the left
648
+ * - `'r'` — All branches to the right
649
+ * - `'hang'` — Hanging arrangement (children hang below)
650
+ *
651
+ * @see ECMA-376 Section 21.4.7.24 ST_HierBranchStyle
652
+ */
653
+ export type ST_HierBranch = 'std' | 'init' | 'l' | 'r' | 'hang';
654
+ /**
655
+ * OOXML one-by-one animation string enumeration.
656
+ *
657
+ * Controls how diagram elements animate one at a time:
658
+ * - `'none'` — Disable one-by-one animation
659
+ * - `'one'` — Animate one element at a time
660
+ * - `'branch'` — Animate one branch at a time
661
+ *
662
+ * @see ECMA-376 Section 21.4.7.3 ST_AnimOneStr
663
+ */
664
+ export type ST_AnimOneStr = 'none' | 'one' | 'branch';
665
+ /**
666
+ * OOXML animation level string enumeration.
667
+ *
668
+ * Controls how diagram elements animate by level:
669
+ * - `'none'` — Disable level-based animation
670
+ * - `'lvl'` — Animate by hierarchy level
671
+ * - `'ctr'` — Animate from the center outward
672
+ *
673
+ * @see ECMA-376 Section 21.4.7.2 ST_AnimLvlStr
674
+ */
675
+ export type ST_AnimLvlStr = 'none' | 'lvl' | 'ctr';
676
+ /**
677
+ * OOXML resize handles string enumeration.
678
+ *
679
+ * Controls how resize handles behave on SmartArt shapes:
680
+ * - `'exact'` — Exact resize (resize to precise dimensions)
681
+ * - `'rel'` — Relative resize (maintain proportional relationships)
682
+ *
683
+ * @see ECMA-376 Section 21.4.7.39 ST_ResizeHandlesStr
684
+ */
685
+ export type ST_ResizeHandlesStr = 'exact' | 'rel';
686
+ /**
687
+ * OOXML variable list for layout definitions.
688
+ *
689
+ * Variables control high-level layout behavior and are referenced by
690
+ * `choose/if` conditions using `func='var'` and `arg='<variableName>'`.
691
+ *
692
+ * Each variable has a defined default value per the OOXML specification.
693
+ * Layout definitions can override these defaults in their `varLst` element.
694
+ *
695
+ * @see ECMA-376 Section 21.4.2.31 varLst (Variable List)
696
+ */
697
+ export interface VariableList {
698
+ /**
699
+ * Whether this is an organization chart layout.
700
+ * Affects assistant node handling and hierarchy branching behavior.
701
+ *
702
+ * Default: `false`
703
+ *
704
+ * @see ECMA-376 Section 21.4.2.18 orgChart
705
+ */
706
+ readonly orgChart: boolean;
707
+ /**
708
+ * Maximum number of children per node.
709
+ * Used by algorithms to limit branching. A value of -1 means unlimited.
710
+ *
711
+ * Default: `-1` (no limit)
712
+ *
713
+ * @see ECMA-376 Section 21.4.2.3 chMax
714
+ */
715
+ readonly chMax: number;
716
+ /**
717
+ * Preferred number of children per node.
718
+ * Used by algorithms for optimal layout computation. A value of -1
719
+ * means no preference.
720
+ *
721
+ * Default: `-1` (no preference)
722
+ *
723
+ * @see ECMA-376 Section 21.4.2.5 chPref
724
+ */
725
+ readonly chPref: number;
726
+ /**
727
+ * Whether bullets are enabled for text content.
728
+ * When true, text nodes may render with bullet formatting.
729
+ *
730
+ * Default: `false`
731
+ *
732
+ * @see ECMA-376 Section 21.4.2.2 bulletEnabled
733
+ */
734
+ readonly bulletEnabled: boolean;
735
+ /**
736
+ * Layout direction.
737
+ * Controls the primary flow direction for the layout algorithm.
738
+ * - `'norm'` — Normal (left-to-right for LTR locales)
739
+ * - `'rev'` — Reversed (right-to-left for LTR locales)
740
+ *
741
+ * Default: `'norm'`
742
+ *
743
+ * @see ECMA-376 Section 21.4.2.10 dir
744
+ */
745
+ readonly dir: ST_Direction;
746
+ /**
747
+ * Hierarchy branching style.
748
+ * Controls how child branches are arranged in hierarchy layouts.
749
+ *
750
+ * Default: `'std'`
751
+ *
752
+ * @see ECMA-376 Section 21.4.2.15 hierBranch
753
+ */
754
+ readonly hierBranch: ST_HierBranch;
755
+ /**
756
+ * One-by-one animation style.
757
+ * Controls how diagram elements animate individually.
758
+ *
759
+ * Default: `'none'`
760
+ *
761
+ * @see ECMA-376 Section 21.4.2.1 animOne
762
+ */
763
+ readonly animOne: ST_AnimOneStr;
764
+ /**
765
+ * Animation level style.
766
+ * Controls how diagram elements animate by hierarchy level.
767
+ *
768
+ * Default: `'none'`
769
+ *
770
+ * @see ECMA-376 Section 21.4.2.0 animLvl
771
+ */
772
+ readonly animLvl: ST_AnimLvlStr;
773
+ /**
774
+ * Resize handle behavior.
775
+ * Controls whether shapes use exact or relative resizing.
776
+ *
777
+ * Default: `'rel'`
778
+ *
779
+ * @see ECMA-376 Section 21.4.2.17 resizeHandles
780
+ */
781
+ readonly resizeHandles: ST_ResizeHandlesStr;
782
+ }
783
+ /**
784
+ * Default values for the OOXML variable list.
785
+ *
786
+ * These defaults are used when a layout definition does not specify
787
+ * explicit values in its `varLst` element. Values are defined per
788
+ * the ECMA-376 specification.
789
+ *
790
+ * @see ECMA-376 Section 21.4.2.31 varLst (Variable List)
791
+ */
792
+ export declare const VARIABLE_LIST_DEFAULTS: Readonly<VariableList>;
793
+ /**
794
+ * Positional constraint types.
795
+ *
796
+ * These control the absolute or relative position of layout nodes.
797
+ */
798
+ export declare const POSITIONAL_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
799
+ /**
800
+ * Dimensional constraint types.
801
+ *
802
+ * These control the width and height of layout nodes.
803
+ */
804
+ export declare const DIMENSIONAL_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
805
+ /**
806
+ * Margin constraint types.
807
+ *
808
+ * These control the internal margins of layout nodes.
809
+ */
810
+ export declare const MARGIN_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
811
+ /**
812
+ * Font constraint types.
813
+ *
814
+ * These control font sizing within layout nodes.
815
+ */
816
+ export declare const FONT_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
817
+ /**
818
+ * Spacing constraint types.
819
+ *
820
+ * These control spacing between layout nodes.
821
+ */
822
+ export declare const SPACING_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
823
+ /**
824
+ * Geometry constraint types.
825
+ *
826
+ * These control geometric properties like connector distance, diameter, etc.
827
+ */
828
+ export declare const GEOMETRY_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
829
+ /**
830
+ * User-defined constraint types (userA through userZ).
831
+ *
832
+ * These 26 custom variables can be used as intermediary values
833
+ * in complex constraint chains. A constraint can set userA, and
834
+ * other constraints can reference userA as their refType.
835
+ */
836
+ export declare const USER_DEFINED_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
837
+ /**
838
+ * All 64 constraint types as an array.
839
+ *
840
+ * Useful for validation, iteration, and exhaustiveness checks.
841
+ */
842
+ export declare const ALL_CONSTRAINT_TYPES: readonly ST_ConstraintType[];
843
+ /**
844
+ * All 13 axis types as an array.
845
+ *
846
+ * Useful for validation and exhaustiveness checks.
847
+ */
848
+ export declare const ALL_AXIS_TYPES: readonly ST_AxisType[];
849
+ /**
850
+ * All 10 element types as an array.
851
+ *
852
+ * Useful for validation and exhaustiveness checks.
853
+ */
854
+ export declare const ALL_ELEMENT_TYPES: readonly ST_ElementType[];
855
+ /**
856
+ * All 8 function types as an array.
857
+ *
858
+ * Useful for validation and exhaustiveness checks.
859
+ */
860
+ export declare const ALL_FUNCTION_TYPES: readonly ST_FunctionType[];
861
+ /**
862
+ * All 6 function operators as an array.
863
+ *
864
+ * Useful for validation and exhaustiveness checks.
865
+ */
866
+ export declare const ALL_FUNCTION_OPERATORS: readonly ST_FunctionOperator[];
867
+ /**
868
+ * All 10 function argument types as an array.
869
+ *
870
+ * Useful for validation and exhaustiveness checks.
871
+ */
872
+ export declare const ALL_FUNCTION_ARGUMENTS: readonly ST_FunctionArgument[];
873
+ //# sourceMappingURL=ooxml-engine-types.d.ts.map