@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,845 @@
1
+ /**
2
+ * OOXML SmartArt Data Model Types
3
+ *
4
+ * Type definitions for the SmartArt data model (data#.xml) as defined in
5
+ * ECMA-376 Part 1, Section 21.4 (DrawingML - Diagrams).
6
+ *
7
+ * The data model represents the logical content of a SmartArt diagram:
8
+ * - Points: individual nodes with text, properties, and shape overrides
9
+ * - Connections: parent-child, presentation, and sibling relationships
10
+ * - Rich text: formatted text with paragraphs, runs, and styling
11
+ * - Property sets: per-point metadata (placeholders, custom text, etc.)
12
+ *
13
+ * NOTE ON NAMING: Color types in this file use the `Dml` prefix (DrawingML) to
14
+ * distinguish them from the simpler style-label color types in ooxml-style-types.ts.
15
+ * The `Dml*` types are the full DrawingML color model supporting scheme, srgb,
16
+ * system, and preset colors. The style-types `SchemeColor` is style-label-specific.
17
+ *
18
+ * XML namespace: `dgm` (http://schemas.openxmlformats.org/drawingml/2006/diagram)
19
+ * File: `diagrams/data#.xml` within the XLSX package
20
+ *
21
+ * @see ECMA-376 Part 1, Section 21.4.2 (Diagram Data)
22
+ * @see ECMA-376 Part 1, Section 21.4.2.19 (dgm:dataModel)
23
+ */
24
+ /**
25
+ * Unique identifier for a data model point.
26
+ *
27
+ * In OOXML, this is the `modelId` attribute on `dgm:pt` and `dgm:cxn` elements.
28
+ * Values are typically small integers represented as strings (e.g., "0", "1", "2")
29
+ * but can be any unique string. Using a branded type prevents accidental use
30
+ * of arbitrary strings as model identifiers.
31
+ *
32
+ * @see ECMA-376 Part 1, Section 21.4.7.41 (ST_ModelId)
33
+ */
34
+ export type ModelId = string & {
35
+ readonly __brand: 'OoxmlModelId';
36
+ };
37
+ /**
38
+ * Type of a data model point.
39
+ *
40
+ * Determines the role of a point in the diagram's data hierarchy.
41
+ * Maps to OOXML `ST_PtType` (dgm:pt/@type attribute).
42
+ *
43
+ * @see ECMA-376 Part 1, Section 21.4.7.50 (ST_PtType)
44
+ */
45
+ export declare const PointType: {
46
+ /** Document root point. Every data model has exactly one doc point. */
47
+ readonly doc: "doc";
48
+ /**
49
+ * Normal content node. The default type for user-visible nodes.
50
+ * Alias: in many contexts "node" and "norm" are interchangeable;
51
+ * the spec uses "node" as the default when type is omitted.
52
+ */
53
+ readonly node: "node";
54
+ /** Normalized node. A content node that participates in normalization. */
55
+ readonly norm: "norm";
56
+ /** Non-normalized node. A content node excluded from normalization. */
57
+ readonly nonNorm: "nonNorm";
58
+ /** Assistant node. Used in org charts for assistant positions. */
59
+ readonly asst: "asst";
60
+ /** Non-assistant node. Explicitly marked as not an assistant. */
61
+ readonly nonAsst: "nonAsst";
62
+ /** Parent transition. A connector/transition shape between parent and child. */
63
+ readonly parTrans: "parTrans";
64
+ /** Presentation point. A layout-generated point (not part of the user's data). */
65
+ readonly pres: "pres";
66
+ /** Sibling transition. A connector/transition shape between siblings. */
67
+ readonly sibTrans: "sibTrans";
68
+ };
69
+ /** Union type of all valid point type values. */
70
+ export type PointTypeValue = (typeof PointType)[keyof typeof PointType];
71
+ /**
72
+ * Type of a data model connection.
73
+ *
74
+ * Connections define relationships between points. Maps to OOXML
75
+ * `ST_CxnType` (dgm:cxn/@type attribute).
76
+ *
77
+ * @see ECMA-376 Part 1, Section 21.4.7.15 (ST_CxnType)
78
+ */
79
+ export declare const ConnectionType: {
80
+ /** Parent-of relationship. Defines the tree hierarchy of data nodes. */
81
+ readonly parOf: "parOf";
82
+ /** Presentation-of relationship. Maps data points to layout presentation nodes. */
83
+ readonly presOf: "presOf";
84
+ /** Presentation-parent-of relationship. Defines hierarchy among presentation nodes. */
85
+ readonly presParOf: "presParOf";
86
+ /** Unknown relationship. Fallback for unrecognized connection types. */
87
+ readonly unknownRelationship: "unknownRelationship";
88
+ };
89
+ /** Union type of all valid connection type values. */
90
+ export type ConnectionTypeValue = (typeof ConnectionType)[keyof typeof ConnectionType];
91
+ /**
92
+ * Rich text content for a data model point.
93
+ *
94
+ * Corresponds to the `dgm:t` element inside `dgm:pt`, which contains
95
+ * DrawingML text body content (a:bodyPr + a:p paragraphs).
96
+ *
97
+ * @see ECMA-376 Part 1, Section 21.4.2.26 (dgm:t)
98
+ * @see ECMA-376 Part 1, Section 21.1.2.1 (a:bodyPr)
99
+ */
100
+ export interface RichText {
101
+ /**
102
+ * Body properties controlling text layout within the shape.
103
+ * Includes anchor, overflow, rotation, columns, margins, etc.
104
+ */
105
+ bodyProperties: TextBodyProperties;
106
+ /** Ordered array of paragraphs. */
107
+ paragraphs: Paragraph[];
108
+ }
109
+ /**
110
+ * Text body properties (a:bodyPr).
111
+ *
112
+ * Controls how text is laid out within the shape bounds.
113
+ *
114
+ * @see ECMA-376 Part 1, Section 21.1.2.1.1 (a:bodyPr)
115
+ */
116
+ export interface TextBodyProperties {
117
+ /** Vertical anchor for text within the shape. */
118
+ anchor?: 't' | 'ctr' | 'b' | 'just' | 'dist';
119
+ /** Horizontal overflow behavior. */
120
+ horzOverflow?: 'overflow' | 'clip';
121
+ /** Vertical overflow behavior. */
122
+ vertOverflow?: 'overflow' | 'clip' | 'ellipsis';
123
+ /** Text wrapping mode. */
124
+ wrap?: 'none' | 'square';
125
+ /** Left inset (margin) in EMUs. */
126
+ lIns?: number;
127
+ /** Top inset (margin) in EMUs. */
128
+ tIns?: number;
129
+ /** Right inset (margin) in EMUs. */
130
+ rIns?: number;
131
+ /** Bottom inset (margin) in EMUs. */
132
+ bIns?: number;
133
+ /** Number of text columns. */
134
+ numCol?: number;
135
+ /** Spacing between columns in EMUs. */
136
+ spcCol?: number;
137
+ /** Rotation angle in 60,000ths of a degree. */
138
+ rot?: number;
139
+ /** Whether text is upright (not rotated with shape). */
140
+ upright?: boolean;
141
+ /** Auto-fit behavior for text sizing. */
142
+ autoFit?: TextAutoFit;
143
+ }
144
+ /**
145
+ * Text auto-fit configuration.
146
+ *
147
+ * Determines how text is sized to fit within the shape:
148
+ * - none: No auto-fitting; text may overflow
149
+ * - normalAutoFit: Shrink font size to fit (with optional min size)
150
+ * - shapeAutoFit: Resize the shape to fit the text
151
+ *
152
+ * @see ECMA-376 Part 1, Section 21.1.2.1.2 (a:normAutofit)
153
+ */
154
+ export type TextAutoFit = {
155
+ type: 'none';
156
+ } | {
157
+ type: 'normalAutoFit';
158
+ fontScale?: number;
159
+ lineSpaceReduction?: number;
160
+ } | {
161
+ type: 'shapeAutoFit';
162
+ };
163
+ /**
164
+ * A paragraph within rich text.
165
+ *
166
+ * Corresponds to the `a:p` element. Contains an array of text runs
167
+ * and paragraph-level properties (alignment, spacing, etc.).
168
+ *
169
+ * @see ECMA-376 Part 1, Section 21.1.2.2.6 (a:p)
170
+ */
171
+ export interface Paragraph {
172
+ /** Ordered array of text runs within this paragraph. */
173
+ runs: TextRun[];
174
+ /** Paragraph-level properties. */
175
+ properties?: ParagraphProperties;
176
+ }
177
+ /**
178
+ * Paragraph properties (a:pPr).
179
+ *
180
+ * Controls paragraph-level formatting such as alignment, indentation,
181
+ * and line spacing.
182
+ *
183
+ * @see ECMA-376 Part 1, Section 21.1.2.2.7 (a:pPr)
184
+ */
185
+ export interface ParagraphProperties {
186
+ /** Horizontal text alignment. */
187
+ alignment?: 'l' | 'ctr' | 'r' | 'just' | 'justLow' | 'dist' | 'thaiDist';
188
+ /** Indentation level (0-based). */
189
+ level?: number;
190
+ /** Left margin/indent in EMUs. */
191
+ marL?: number;
192
+ /** Right margin/indent in EMUs. */
193
+ marR?: number;
194
+ /** First line indent in EMUs (can be negative for hanging indent). */
195
+ indent?: number;
196
+ /** Line spacing. Value in hundredths of a percent (e.g., 100000 = 100%) or EMUs. */
197
+ lineSpacing?: SpacingValue;
198
+ /** Space before paragraph. */
199
+ spaceBefore?: SpacingValue;
200
+ /** Space after paragraph. */
201
+ spaceAfter?: SpacingValue;
202
+ /** Default text run properties for this paragraph. */
203
+ defaultRunProperties?: TextRunProperties;
204
+ /** Bullet/numbering properties. */
205
+ bullet?: BulletProperties;
206
+ }
207
+ /**
208
+ * Spacing value that can be either a percentage or an absolute value.
209
+ *
210
+ * @see ECMA-376 Part 1, Section 21.1.2.2.11 (a:spcPct / a:spcPts)
211
+ */
212
+ export type SpacingValue = {
213
+ type: 'percent';
214
+ value: number;
215
+ } | {
216
+ type: 'points';
217
+ value: number;
218
+ };
219
+ /**
220
+ * Bullet/numbering properties for a paragraph.
221
+ *
222
+ * @see ECMA-376 Part 1, Section 21.1.2.4 (Bullet Properties)
223
+ */
224
+ export interface BulletProperties {
225
+ /** Bullet type. */
226
+ type: 'none' | 'char' | 'autoNum' | 'blip';
227
+ /** Character used for char bullets. */
228
+ char?: string;
229
+ /** Auto-numbering type (e.g., 'arabicPeriod', 'romanUcPeriod'). */
230
+ autoNumType?: string;
231
+ /** Starting number for auto-numbering. */
232
+ startAt?: number;
233
+ /** Bullet size as percentage of text size. */
234
+ sizePercent?: number;
235
+ /** Bullet color override. */
236
+ color?: DmlColorValue;
237
+ /** Bullet font override. */
238
+ font?: string;
239
+ }
240
+ /**
241
+ * A single text run within a paragraph.
242
+ *
243
+ * Corresponds to the `a:r` element. Contains text content and
244
+ * run-level formatting properties.
245
+ *
246
+ * @see ECMA-376 Part 1, Section 21.1.2.3.8 (a:r)
247
+ */
248
+ export interface TextRun {
249
+ /** The actual text content of this run. */
250
+ text: string;
251
+ /** Run-level formatting properties. */
252
+ properties?: TextRunProperties;
253
+ }
254
+ /**
255
+ * Text run properties (a:rPr).
256
+ *
257
+ * Controls character-level formatting such as font, size, color,
258
+ * bold, italic, underline, etc.
259
+ *
260
+ * @see ECMA-376 Part 1, Section 21.1.2.3.9 (a:rPr)
261
+ */
262
+ export interface TextRunProperties {
263
+ /** Bold text. */
264
+ bold?: boolean;
265
+ /** Italic text. */
266
+ italic?: boolean;
267
+ /** Underline style. */
268
+ underline?: TextUnderlineType;
269
+ /** Strikethrough style. */
270
+ strikethrough?: 'noStrike' | 'sngStrike' | 'dblStrike';
271
+ /** Font family name (Latin script). */
272
+ fontFamily?: string;
273
+ /** East Asian font family name. */
274
+ fontFamilyEastAsian?: string;
275
+ /** Complex script font family name. */
276
+ fontFamilyComplexScript?: string;
277
+ /**
278
+ * Font size in hundredths of a point.
279
+ * For example, 1200 = 12pt.
280
+ */
281
+ fontSize?: number;
282
+ /** Text color. */
283
+ color?: DmlColorValue;
284
+ /** Character spacing (tracking) in hundredths of a point. */
285
+ spacing?: number;
286
+ /** Baseline shift as a percentage (positive = superscript, negative = subscript). */
287
+ baseline?: number;
288
+ /** Whether text is capitalized. */
289
+ cap?: 'none' | 'small' | 'all';
290
+ /** Text language (BCP 47 language tag, e.g., "en-US"). */
291
+ lang?: string;
292
+ /** Whether the run is a hyperlink. */
293
+ hyperlink?: HyperlinkInfo;
294
+ }
295
+ /**
296
+ * Underline type values from DrawingML.
297
+ *
298
+ * @see ECMA-376 Part 1, Section 20.1.10.82 (ST_TextUnderlineType)
299
+ */
300
+ export type TextUnderlineType = 'none' | 'sng' | 'dbl' | 'heavy' | 'dotted' | 'dottedHeavy' | 'dash' | 'dashHeavy' | 'dashLong' | 'dashLongHeavy' | 'dotDash' | 'dotDashHeavy' | 'dotDotDash' | 'dotDotDashHeavy' | 'wavy' | 'wavyHeavy' | 'wavyDbl' | 'words';
301
+ /**
302
+ * Hyperlink information for a text run.
303
+ *
304
+ * @see ECMA-376 Part 1, Section 21.1.2.3.5 (a:hlinkClick)
305
+ */
306
+ export interface HyperlinkInfo {
307
+ /** Target URL or relationship ID. */
308
+ target: string;
309
+ /** Whether to open in a new window. */
310
+ newWindow?: boolean;
311
+ /** Tooltip text shown on hover. */
312
+ tooltip?: string;
313
+ }
314
+ /**
315
+ * A color value in full DrawingML.
316
+ *
317
+ * This is the comprehensive DrawingML color model supporting four color sources:
318
+ * scheme (theme-relative), sRGB (hex), system (OS), and preset (named).
319
+ * Each can have color transforms applied.
320
+ *
321
+ * Prefixed with `Dml` to distinguish from the simpler `SchemeColor` in
322
+ * ooxml-style-types.ts, which represents style-label-specific scheme colors.
323
+ *
324
+ * @see ECMA-376 Part 1, Section 20.1.2.3 (Color Definitions)
325
+ */
326
+ export type DmlColorValue = DmlSchemeColor | DmlSrgbColor | DmlSystemColor | DmlPresetColor;
327
+ /**
328
+ * A scheme/theme color reference with optional transforms (DrawingML).
329
+ *
330
+ * References a color from the document's theme color scheme
331
+ * (e.g., accent1, dk1, lt1). Transforms modify the base color.
332
+ *
333
+ * @see ECMA-376 Part 1, Section 20.1.2.3.29 (a:schemeClr)
334
+ */
335
+ export interface DmlSchemeColor {
336
+ /** Discriminant for the DmlColorValue union. */
337
+ type: 'scheme';
338
+ /**
339
+ * Theme color name.
340
+ * Standard names: dk1, dk2, lt1, lt2, accent1-accent6, hlink, folHlink
341
+ */
342
+ value: string;
343
+ /** Color transforms applied in order. */
344
+ transforms?: DmlColorTransform[];
345
+ }
346
+ /**
347
+ * An sRGB hex color with optional transforms (DrawingML).
348
+ *
349
+ * @see ECMA-376 Part 1, Section 20.1.2.3.32 (a:srgbClr)
350
+ */
351
+ export interface DmlSrgbColor {
352
+ /** Discriminant for the DmlColorValue union. */
353
+ type: 'srgb';
354
+ /** 6-digit hex color string (without '#' prefix), e.g., "FF0000". */
355
+ value: string;
356
+ /** Color transforms applied in order. */
357
+ transforms?: DmlColorTransform[];
358
+ }
359
+ /**
360
+ * A system color reference with optional transforms (DrawingML).
361
+ *
362
+ * References an operating system color (e.g., windowText, window).
363
+ *
364
+ * @see ECMA-376 Part 1, Section 20.1.2.3.33 (a:sysClr)
365
+ */
366
+ export interface DmlSystemColor {
367
+ /** Discriminant for the DmlColorValue union. */
368
+ type: 'system';
369
+ /** System color name (e.g., 'windowText', 'window', 'btnFace'). */
370
+ value: string;
371
+ /** Last computed color value as 6-digit hex string. */
372
+ lastColor?: string;
373
+ /** Color transforms applied in order. */
374
+ transforms?: DmlColorTransform[];
375
+ }
376
+ /**
377
+ * A preset color name with optional transforms (DrawingML).
378
+ *
379
+ * Uses one of the 149 named colors from the DrawingML specification.
380
+ *
381
+ * @see ECMA-376 Part 1, Section 20.1.2.3.22 (a:prstClr)
382
+ */
383
+ export interface DmlPresetColor {
384
+ /** Discriminant for the DmlColorValue union. */
385
+ type: 'preset';
386
+ /** Preset color name (e.g., 'red', 'blue', 'white', 'black'). */
387
+ value: string;
388
+ /** Color transforms applied in order. */
389
+ transforms?: DmlColorTransform[];
390
+ }
391
+ /**
392
+ * A color transform operation (DrawingML).
393
+ *
394
+ * Transforms are applied sequentially to modify a base color.
395
+ * Values are in thousandths of a percent (e.g., 50000 = 50%).
396
+ *
397
+ * @see ECMA-376 Part 1, Section 20.1.2.3 (Color Transform Children)
398
+ */
399
+ export interface DmlColorTransform {
400
+ /**
401
+ * Transform type.
402
+ *
403
+ * Full list includes all 25 DrawingML color transform operations:
404
+ * tint, shade, satMod, satOff, lumMod, lumOff, hueMod, hueOff,
405
+ * alpha, alphaOff, alphaMod, comp, inv, gray,
406
+ * red, redMod, redOff, green, greenMod, greenOff,
407
+ * blue, blueMod, blueOff, gamma, invGamma
408
+ *
409
+ * @see ECMA-376 Part 1, Section 20.1.2.3 (Color Transform Elements)
410
+ */
411
+ type: DmlColorTransformType;
412
+ /** Transform value, typically in thousandths of a percent. */
413
+ value?: number;
414
+ }
415
+ /**
416
+ * All possible DrawingML color transform types.
417
+ *
418
+ * This is the full set of 25 color transform operations from the DrawingML spec.
419
+ * The `ColorTransformType` in ooxml-style-types.ts is a smaller subset (13 values)
420
+ * used specifically for style label color definitions.
421
+ *
422
+ * @see ECMA-376 Part 1, Section 20.1.2.3 (Color Transform Elements)
423
+ */
424
+ export type DmlColorTransformType = 'tint' | 'shade' | 'satMod' | 'satOff' | 'lumMod' | 'lumOff' | 'hueMod' | 'hueOff' | 'alpha' | 'alphaOff' | 'alphaMod' | 'comp' | 'inv' | 'gray' | 'red' | 'redMod' | 'redOff' | 'green' | 'greenMod' | 'greenOff' | 'blue' | 'blueMod' | 'blueOff' | 'gamma' | 'invGamma';
425
+ /**
426
+ * Shape properties for a data model point (dgm:spPr).
427
+ *
428
+ * These are per-point DrawingML shape property overrides. When present on a
429
+ * data model point, they override the defaults from the layout definition.
430
+ *
431
+ * This is a simplified representation. Full DrawingML spPr is extremely
432
+ * complex; we capture the properties relevant to SmartArt.
433
+ *
434
+ * @see ECMA-376 Part 1, Section 20.1.2.2.35 (a:spPr)
435
+ */
436
+ export interface DmlShapeProperties {
437
+ /** 2D transform: position and size. */
438
+ xfrm?: DmlShapeTransform;
439
+ /** Preset geometry type (e.g., "rect", "roundRect", "ellipse"). */
440
+ presetGeometry?: string;
441
+ /** Geometry adjustment values (shape handles). */
442
+ adjustValues?: Record<string, number>;
443
+ /** Fill override. */
444
+ fill?: DmlFillProperties;
445
+ /** Line/stroke override. */
446
+ line?: DmlLineProperties;
447
+ /** Effect list override. */
448
+ effectList?: DmlEffectProperties;
449
+ }
450
+ /**
451
+ * 2D transform for shape position and size.
452
+ *
453
+ * @see ECMA-376 Part 1, Section 20.1.7.6 (a:xfrm)
454
+ */
455
+ export interface DmlShapeTransform {
456
+ /** Offset from parent origin. */
457
+ offset?: {
458
+ x: number;
459
+ y: number;
460
+ };
461
+ /** Extent (width and height) in EMUs. */
462
+ extent?: {
463
+ cx: number;
464
+ cy: number;
465
+ };
466
+ /** Rotation angle in 60,000ths of a degree. */
467
+ rotation?: number;
468
+ /** Whether the shape is flipped horizontally. */
469
+ flipH?: boolean;
470
+ /** Whether the shape is flipped vertically. */
471
+ flipV?: boolean;
472
+ }
473
+ /**
474
+ * Fill properties for shapes (DrawingML).
475
+ *
476
+ * @see ECMA-376 Part 1, Section 20.1.8 (Fill Properties)
477
+ */
478
+ export type DmlFillProperties = {
479
+ type: 'none';
480
+ } | {
481
+ type: 'solid';
482
+ color: DmlColorValue;
483
+ } | {
484
+ type: 'gradient';
485
+ stops: DmlGradientStop[];
486
+ linear?: {
487
+ angle: number;
488
+ scaled?: boolean;
489
+ };
490
+ } | {
491
+ type: 'pattern';
492
+ preset: string;
493
+ foregroundColor?: DmlColorValue;
494
+ backgroundColor?: DmlColorValue;
495
+ } | {
496
+ type: 'blip';
497
+ embed?: string;
498
+ stretch?: boolean;
499
+ };
500
+ /**
501
+ * A single stop in a gradient fill.
502
+ *
503
+ * @see ECMA-376 Part 1, Section 20.1.8.36 (a:gs)
504
+ */
505
+ export interface DmlGradientStop {
506
+ /** Position of this stop (0-100000, where 100000 = 100%). */
507
+ position: number;
508
+ /** Color at this stop. */
509
+ color: DmlColorValue;
510
+ }
511
+ /**
512
+ * Line/stroke properties (DrawingML).
513
+ *
514
+ * @see ECMA-376 Part 1, Section 20.1.2.2.24 (a:ln)
515
+ */
516
+ export interface DmlLineProperties {
517
+ /** Line width in EMUs. */
518
+ width?: number;
519
+ /** Line cap type. */
520
+ cap?: 'flat' | 'rnd' | 'sq';
521
+ /** Line compound type. */
522
+ compound?: 'sng' | 'dbl' | 'thickThin' | 'thinThick' | 'tri';
523
+ /** Dash style. */
524
+ dash?: 'solid' | 'dot' | 'dash' | 'lgDash' | 'dashDot' | 'lgDashDot' | 'lgDashDotDot' | 'sysDash' | 'sysDot' | 'sysDashDot' | 'sysDashDotDot';
525
+ /** Line fill (color). */
526
+ fill?: DmlFillProperties;
527
+ /** Line join type. */
528
+ join?: 'round' | 'bevel' | 'miter';
529
+ /** Head end arrow style. */
530
+ headEnd?: DmlArrowStyle;
531
+ /** Tail end arrow style. */
532
+ tailEnd?: DmlArrowStyle;
533
+ }
534
+ /**
535
+ * Arrow style properties for line ends (DrawingML).
536
+ *
537
+ * @see ECMA-376 Part 1, Section 20.1.8.4 (a:headEnd / a:tailEnd)
538
+ */
539
+ export interface DmlArrowStyle {
540
+ /** Arrow type. */
541
+ type?: 'none' | 'triangle' | 'stealth' | 'diamond' | 'oval' | 'arrow';
542
+ /** Arrow width. */
543
+ width?: 'sm' | 'med' | 'lg';
544
+ /** Arrow length. */
545
+ length?: 'sm' | 'med' | 'lg';
546
+ }
547
+ /**
548
+ * Effect properties for shapes (DrawingML).
549
+ *
550
+ * @see ECMA-376 Part 1, Section 20.1.8 (Effect Properties)
551
+ */
552
+ export interface DmlEffectProperties {
553
+ /** Outer shadow. */
554
+ outerShadow?: {
555
+ blurRadius?: number;
556
+ distance?: number;
557
+ direction?: number;
558
+ color?: DmlColorValue;
559
+ alignment?: string;
560
+ rotateWithShape?: boolean;
561
+ };
562
+ /** Inner shadow. */
563
+ innerShadow?: {
564
+ blurRadius?: number;
565
+ distance?: number;
566
+ direction?: number;
567
+ color?: DmlColorValue;
568
+ };
569
+ /** Glow effect. */
570
+ glow?: {
571
+ radius?: number;
572
+ color?: DmlColorValue;
573
+ };
574
+ /** Soft edge effect. */
575
+ softEdge?: {
576
+ radius?: number;
577
+ };
578
+ /** Reflection effect. */
579
+ reflection?: {
580
+ blurRadius?: number;
581
+ startOpacity?: number;
582
+ startPosition?: number;
583
+ endOpacity?: number;
584
+ endPosition?: number;
585
+ distance?: number;
586
+ direction?: number;
587
+ fadeDirection?: number;
588
+ alignment?: string;
589
+ rotateWithShape?: boolean;
590
+ };
591
+ }
592
+ /**
593
+ * Property set for a data model point (dgm:prSet).
594
+ *
595
+ * Contains per-point metadata that controls how the point is treated
596
+ * by the layout engine and renderers.
597
+ *
598
+ * @see ECMA-376 Part 1, Section 21.4.2.24 (dgm:prSet)
599
+ */
600
+ export interface PointPropertySet {
601
+ /**
602
+ * Whether this point is a placeholder.
603
+ * When true, the point renders as a placeholder shape.
604
+ */
605
+ phldr?: boolean;
606
+ /**
607
+ * Placeholder text override.
608
+ * Displayed when the point is a placeholder.
609
+ */
610
+ phldrT?: string;
611
+ /**
612
+ * Custom text flag.
613
+ * When true, the point's text has been customized by the user.
614
+ */
615
+ custT?: boolean;
616
+ /** Custom angle for the point (in degrees). */
617
+ custAng?: number;
618
+ /** Whether the point is flipped vertically. */
619
+ custFlipVert?: boolean;
620
+ /** Whether the point is flipped horizontally. */
621
+ custFlipHor?: boolean;
622
+ /** Custom size X (width) as a percentage. */
623
+ custSzX?: number;
624
+ /** Custom size Y (height) as a percentage. */
625
+ custSzY?: number;
626
+ /** Custom radial scale radius as a percentage. */
627
+ custRadScaleRad?: number;
628
+ /** Custom radial scale increment as a percentage. */
629
+ custRadScaleInc?: number;
630
+ /** Custom linear factor X as a percentage. */
631
+ custLinFactX?: number;
632
+ /** Custom linear factor Y as a percentage. */
633
+ custLinFactY?: number;
634
+ /** Custom linear factor neighbor X as a percentage. */
635
+ custLinFactNeighborX?: number;
636
+ /** Custom linear factor neighbor Y as a percentage. */
637
+ custLinFactNeighborY?: number;
638
+ /** Custom scale X percentage (100 = 100%). */
639
+ custScaleX?: number;
640
+ /** Custom scale Y percentage (100 = 100%). */
641
+ custScaleY?: number;
642
+ /**
643
+ * Associated presentation point ID.
644
+ * Links this data point to its presentation mapping.
645
+ */
646
+ presAssocID?: ModelId;
647
+ /**
648
+ * Presentation name.
649
+ * The name of the layout node that this point maps to.
650
+ */
651
+ presName?: string;
652
+ /**
653
+ * Presentation style label.
654
+ * The style label used for this point's rendering.
655
+ */
656
+ presStyleLbl?: string;
657
+ /**
658
+ * Presentation style index.
659
+ * Index into the color cycling within the style label.
660
+ */
661
+ presStyleIdx?: number;
662
+ /**
663
+ * Presentation style count.
664
+ * Total number of items in the style label's color cycle.
665
+ */
666
+ presStyleCnt?: number;
667
+ /**
668
+ * Layout type ID (URI).
669
+ * Identifies which layout definition this point was created for.
670
+ */
671
+ loTypeId?: string;
672
+ /**
673
+ * Layout category ID.
674
+ * The category of the layout definition.
675
+ */
676
+ loCatId?: string;
677
+ /**
678
+ * Quick style type ID (URI).
679
+ * Identifies the quick style applied to this point.
680
+ */
681
+ qsTypeId?: string;
682
+ /**
683
+ * Quick style category ID.
684
+ * The category of the quick style.
685
+ */
686
+ qsCatId?: string;
687
+ /**
688
+ * Color transform type ID (URI).
689
+ * Identifies the color definition applied to this point.
690
+ */
691
+ csTypeId?: string;
692
+ /**
693
+ * Color transform category ID.
694
+ * The category of the color definition.
695
+ */
696
+ csCatId?: string;
697
+ /** Whether coherent 3D is disabled. */
698
+ coherent3DOff?: boolean;
699
+ /** Index signature for additional/unknown properties. */
700
+ [key: string]: unknown;
701
+ }
702
+ /**
703
+ * A single point in the data model (dgm:pt).
704
+ *
705
+ * Points represent the nodes/items in a SmartArt diagram. Each point has:
706
+ * - A unique modelId
707
+ * - A type indicating its role (doc, node, assistant, transition, etc.)
708
+ * - Optional rich text content
709
+ * - Optional shape property overrides
710
+ * - Optional property set metadata
711
+ *
712
+ * @see ECMA-376 Part 1, Section 21.4.2.22 (dgm:pt)
713
+ */
714
+ export interface DataModelPoint {
715
+ /** Unique identifier for this point within the data model. */
716
+ modelId: ModelId;
717
+ /**
718
+ * Type of this point.
719
+ * Defaults to 'node' if not specified in the XML.
720
+ */
721
+ type: PointTypeValue;
722
+ /**
723
+ * Rich text content displayed in this point's shape.
724
+ * May be undefined for structural points (doc, transitions).
725
+ */
726
+ text?: RichText;
727
+ /**
728
+ * Property set with per-point metadata.
729
+ * Controls placeholder behavior, presentation mapping, style overrides, etc.
730
+ */
731
+ properties?: PointPropertySet;
732
+ /**
733
+ * Shape property overrides (dgm:spPr).
734
+ * When present, these override the shape properties from the layout definition.
735
+ */
736
+ shapeProperties?: DmlShapeProperties;
737
+ /**
738
+ * Connection ID used for transitions.
739
+ * For parTrans and sibTrans points, this links to the connection they represent.
740
+ */
741
+ cxnId?: ModelId;
742
+ }
743
+ /**
744
+ * A connection between two points in the data model (dgm:cxn).
745
+ *
746
+ * Connections define relationships:
747
+ * - parOf: Parent-child hierarchy (the data tree structure)
748
+ * - presOf: Data point -> presentation node mapping
749
+ * - presParOf: Presentation node hierarchy
750
+ *
751
+ * @see ECMA-376 Part 1, Section 21.4.2.7 (dgm:cxn)
752
+ */
753
+ export interface DataModelConnection {
754
+ /** Unique identifier for this connection. */
755
+ modelId: ModelId;
756
+ /** Type of relationship this connection represents. */
757
+ type: ConnectionTypeValue;
758
+ /** Source point ID (the "from" side of the relationship). */
759
+ srcId: ModelId;
760
+ /** Destination point ID (the "to" side of the relationship). */
761
+ destId: ModelId;
762
+ /**
763
+ * Source ordering index.
764
+ * Determines the order of outgoing connections from the source point.
765
+ */
766
+ srcOrd: number;
767
+ /**
768
+ * Destination ordering index.
769
+ * Determines the order of incoming connections at the destination point.
770
+ */
771
+ destOrd: number;
772
+ /**
773
+ * Parent transition point ID.
774
+ * For parOf connections, this optionally references the transition point
775
+ * that sits between parent and child.
776
+ */
777
+ parTransId?: ModelId;
778
+ /**
779
+ * Sibling transition point ID.
780
+ * For parOf connections, this optionally references the sibling transition
781
+ * point that sits between this child and the next sibling.
782
+ */
783
+ sibTransId?: ModelId;
784
+ /**
785
+ * Presentation ID.
786
+ * For presOf connections, identifies the presentation element.
787
+ */
788
+ presId?: string;
789
+ }
790
+ /**
791
+ * Background formatting for the entire diagram (dgm:bg).
792
+ *
793
+ * @see ECMA-376 Part 1, Section 21.4.2.1 (dgm:bg)
794
+ */
795
+ export interface DiagramBackground {
796
+ /** Fill properties for the diagram background. */
797
+ fill?: DmlFillProperties;
798
+ /** Effect properties for the diagram background. */
799
+ effectList?: DmlEffectProperties;
800
+ }
801
+ /**
802
+ * Whole-document formatting applied to all shapes in the diagram (dgm:whole).
803
+ *
804
+ * @see ECMA-376 Part 1, Section 21.4.2.28 (dgm:whole)
805
+ */
806
+ export interface DiagramWhole {
807
+ /** Line/stroke properties applied to all shapes. */
808
+ line?: DmlLineProperties;
809
+ /** Effect properties applied to all shapes. */
810
+ effectList?: DmlEffectProperties;
811
+ }
812
+ /**
813
+ * Complete SmartArt data model (dgm:dataModel).
814
+ *
815
+ * The top-level container for all data in a SmartArt diagram's data#.xml file.
816
+ * Contains the point list, connection list, and optional background/whole formatting.
817
+ *
818
+ * The data model defines the LOGICAL content of the diagram:
819
+ * - Points are the nodes (content items)
820
+ * - Connections define the tree structure and presentation mappings
821
+ * - The layout engine reads this data model and produces visual output
822
+ *
823
+ * @see ECMA-376 Part 1, Section 21.4.2.19 (dgm:dataModel)
824
+ */
825
+ export interface DataModel {
826
+ /**
827
+ * All points in the data model.
828
+ * Includes doc point, content nodes, assistant nodes, and transition nodes.
829
+ */
830
+ points: DataModelPoint[];
831
+ /**
832
+ * All connections between points.
833
+ * Defines parent-child hierarchy, presentation mappings, etc.
834
+ */
835
+ connections: DataModelConnection[];
836
+ /**
837
+ * Optional background formatting for the entire diagram.
838
+ */
839
+ background?: DiagramBackground;
840
+ /**
841
+ * Optional whole-document formatting applied to all shapes.
842
+ */
843
+ whole?: DiagramWhole;
844
+ }
845
+ //# sourceMappingURL=ooxml-data-model-types.d.ts.map