@almadar/ui 5.111.0 → 5.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (589) hide show
  1. package/dist/GameAudioProvider-CPGwD49P.d.cts +151 -0
  2. package/dist/GameAudioProvider-CPGwD49P.d.ts +151 -0
  3. package/dist/TraitProvider-YkK6tXDw.d.cts +236 -0
  4. package/dist/TraitProvider-YkK6tXDw.d.ts +236 -0
  5. package/dist/{providers/UISlotContext.d.ts → UISlotContext-C1FsU9GB.d.ts} +14 -10
  6. package/dist/UISlotContext-D8_SoDsD.d.cts +79 -0
  7. package/dist/UserContext-bziZwgFL.d.cts +278 -0
  8. package/dist/UserContext-bziZwgFL.d.ts +278 -0
  9. package/dist/avl/index.cjs +137 -18
  10. package/dist/avl/index.js +139 -20
  11. package/dist/avl-schema-parser-B8Onmfsu.d.cts +393 -0
  12. package/dist/avl-schema-parser-B8Onmfsu.d.ts +393 -0
  13. package/dist/cn-BkQrMR01.d.cts +295 -0
  14. package/dist/cn-CTEFm9PC.d.ts +295 -0
  15. package/dist/components/index.cjs +33 -6
  16. package/dist/components/index.d.cts +11225 -0
  17. package/dist/components/index.d.ts +11225 -6
  18. package/dist/components/index.js +33 -6
  19. package/dist/{lib/themeTokens.d.ts → context/index.d.cts} +13 -4
  20. package/dist/context/index.d.ts +62 -9
  21. package/dist/{types/event-bus-types.d.ts → event-bus-types-Bl78kokd.d.cts} +7 -6
  22. package/dist/event-bus-types-Bl78kokd.d.ts +65 -0
  23. package/dist/hooks/index.d.cts +995 -0
  24. package/dist/hooks/index.d.ts +994 -32
  25. package/dist/lib/drawable/three/index.cjs +11 -24
  26. package/dist/lib/drawable/three/index.d.cts +1485 -0
  27. package/dist/lib/drawable/three/index.d.ts +1484 -38
  28. package/dist/lib/drawable/three/index.js +11 -24
  29. package/dist/lib/index.d.cts +505 -0
  30. package/dist/lib/index.d.ts +504 -18
  31. package/dist/locales/index.d.cts +22 -0
  32. package/dist/locales/index.d.ts +7 -5
  33. package/dist/offline-executor-aRuNznZx.d.cts +520 -0
  34. package/dist/offline-executor-aRuNznZx.d.ts +520 -0
  35. package/dist/paintDispatch-DR942knx.d.cts +221 -0
  36. package/dist/paintDispatch-DR942knx.d.ts +221 -0
  37. package/dist/providers/index.cjs +33 -6
  38. package/dist/providers/index.d.cts +428 -0
  39. package/dist/providers/index.d.ts +427 -26
  40. package/dist/providers/index.js +33 -6
  41. package/dist/renderer/index.cjs +1 -1
  42. package/dist/renderer/index.d.cts +343 -0
  43. package/dist/renderer/index.d.ts +337 -22
  44. package/dist/renderer/index.js +1 -1
  45. package/dist/runtime/index.cjs +137 -18
  46. package/dist/runtime/index.d.cts +426 -0
  47. package/dist/runtime/index.d.ts +421 -16
  48. package/dist/runtime/index.js +139 -20
  49. package/dist/useEventBus-CQWyAWpK.d.ts +65 -0
  50. package/dist/useEventBus-Ckr4wqW3.d.cts +65 -0
  51. package/dist/{hooks/useUISlots.d.ts → useUISlots-BesZYMks.d.cts} +16 -14
  52. package/dist/useUISlots-BesZYMks.d.ts +216 -0
  53. package/package.json +11 -11
  54. package/dist/avl/index.d.cts +0 -1853
  55. package/dist/avl/index.d.ts +0 -64
  56. package/dist/components/avl/atoms/Avl3DLabel.d.ts +0 -23
  57. package/dist/components/avl/atoms/Avl3DTooltip.d.ts +0 -25
  58. package/dist/components/avl/atoms/AvlApplication.d.ts +0 -8
  59. package/dist/components/avl/atoms/AvlBinding.d.ts +0 -12
  60. package/dist/components/avl/atoms/AvlBindingRef.d.ts +0 -7
  61. package/dist/components/avl/atoms/AvlEffect.d.ts +0 -10
  62. package/dist/components/avl/atoms/AvlEntity.d.ts +0 -9
  63. package/dist/components/avl/atoms/AvlEvent.d.ts +0 -7
  64. package/dist/components/avl/atoms/AvlField.d.ts +0 -10
  65. package/dist/components/avl/atoms/AvlFieldType.d.ts +0 -8
  66. package/dist/components/avl/atoms/AvlGuard.d.ts +0 -7
  67. package/dist/components/avl/atoms/AvlLiteral.d.ts +0 -7
  68. package/dist/components/avl/atoms/AvlOperator.d.ts +0 -8
  69. package/dist/components/avl/atoms/AvlOrbital.d.ts +0 -11
  70. package/dist/components/avl/atoms/AvlPage.d.ts +0 -7
  71. package/dist/components/avl/atoms/AvlPersistence.d.ts +0 -8
  72. package/dist/components/avl/atoms/AvlSExpr.d.ts +0 -8
  73. package/dist/components/avl/atoms/AvlState.d.ts +0 -15
  74. package/dist/components/avl/atoms/AvlTrait.d.ts +0 -13
  75. package/dist/components/avl/atoms/AvlTransition.d.ts +0 -18
  76. package/dist/components/avl/atoms/index.d.ts +0 -24
  77. package/dist/components/avl/hooks/useCanvasDnd.d.ts +0 -155
  78. package/dist/components/avl/lib/avl-3d-layout.d.ts +0 -116
  79. package/dist/components/avl/lib/avl-behavior-compose-converter.d.ts +0 -55
  80. package/dist/components/avl/lib/avl-elk-layout.d.ts +0 -55
  81. package/dist/components/avl/lib/avl-flow-converter.d.ts +0 -17
  82. package/dist/components/avl/lib/avl-layout.d.ts +0 -32
  83. package/dist/components/avl/lib/avl-preview-converter.d.ts +0 -71
  84. package/dist/components/avl/lib/avl-schema-parser.d.ts +0 -128
  85. package/dist/components/avl/lib/avl-story-schemas.d.ts +0 -34
  86. package/dist/components/avl/lib/avl-zoom-band.d.ts +0 -19
  87. package/dist/components/avl/lib/avl-zoom-state.d.ts +0 -72
  88. package/dist/components/avl/lib/derive-edit-focus.d.ts +0 -8
  89. package/dist/components/avl/lib/wire-validation.d.ts +0 -30
  90. package/dist/components/avl/molecules/Avl3DCrossWire.d.ts +0 -22
  91. package/dist/components/avl/molecules/Avl3DEntityCore.d.ts +0 -26
  92. package/dist/components/avl/molecules/Avl3DExprTree.d.ts +0 -21
  93. package/dist/components/avl/molecules/Avl3DOrbitalNode.d.ts +0 -29
  94. package/dist/components/avl/molecules/Avl3DStateNode.d.ts +0 -34
  95. package/dist/components/avl/molecules/Avl3DTransitionArc.d.ts +0 -38
  96. package/dist/components/avl/molecules/AvlBackwardEdge.d.ts +0 -8
  97. package/dist/components/avl/molecules/AvlBehaviorGlyph.d.ts +0 -61
  98. package/dist/components/avl/molecules/AvlBindingEdge.d.ts +0 -9
  99. package/dist/components/avl/molecules/AvlClosedCircuit.d.ts +0 -20
  100. package/dist/components/avl/molecules/AvlEmitListen.d.ts +0 -16
  101. package/dist/components/avl/molecules/AvlEventWireEdge.d.ts +0 -15
  102. package/dist/components/avl/molecules/AvlExprTree.d.ts +0 -13
  103. package/dist/components/avl/molecules/AvlOrbitalNode.d.ts +0 -12
  104. package/dist/components/avl/molecules/AvlOrbitalUnit.d.ts +0 -20
  105. package/dist/components/avl/molecules/AvlPageEdge.d.ts +0 -8
  106. package/dist/components/avl/molecules/AvlSlotMap.d.ts +0 -18
  107. package/dist/components/avl/molecules/AvlStateMachine.d.ts +0 -22
  108. package/dist/components/avl/molecules/AvlSwimLane.d.ts +0 -10
  109. package/dist/components/avl/molecules/AvlTransitionEdge.d.ts +0 -17
  110. package/dist/components/avl/molecules/AvlTransitionLane.d.ts +0 -18
  111. package/dist/components/avl/molecules/BehaviorComposeNode.d.ts +0 -13
  112. package/dist/components/avl/molecules/BehaviorView.d.ts +0 -12
  113. package/dist/components/avl/molecules/DetailView.d.ts +0 -13
  114. package/dist/components/avl/molecules/EventFlowEdge.d.ts +0 -13
  115. package/dist/components/avl/molecules/MiniStateMachine.d.ts +0 -14
  116. package/dist/components/avl/molecules/ModuleCard.d.ts +0 -22
  117. package/dist/components/avl/molecules/OrbPreviewNode.d.ts +0 -38
  118. package/dist/components/avl/molecules/SystemNode.d.ts +0 -12
  119. package/dist/components/avl/molecules/TraitCardNode.d.ts +0 -33
  120. package/dist/components/avl/molecules/index.d.ts +0 -38
  121. package/dist/components/avl/organisms/Avl3DApplicationScene.d.ts +0 -19
  122. package/dist/components/avl/organisms/Avl3DEffects.d.ts +0 -18
  123. package/dist/components/avl/organisms/Avl3DOrbitalScene.d.ts +0 -23
  124. package/dist/components/avl/organisms/Avl3DTraitScene.d.ts +0 -19
  125. package/dist/components/avl/organisms/Avl3DTransitionScene.d.ts +0 -17
  126. package/dist/components/avl/organisms/Avl3DViewer.d.ts +0 -40
  127. package/dist/components/avl/organisms/AvlClickTarget.d.ts +0 -31
  128. package/dist/components/avl/organisms/AvlCosmicZoom.d.ts +0 -41
  129. package/dist/components/avl/organisms/AvlLegend.d.ts +0 -15
  130. package/dist/components/avl/organisms/AvlOrbitalsCosmicZoom.d.ts +0 -54
  131. package/dist/components/avl/organisms/AvlTraitScene.d.ts +0 -17
  132. package/dist/components/avl/organisms/AvlTransitionDetail.d.ts +0 -20
  133. package/dist/components/avl/organisms/AvlTransitionScene.d.ts +0 -13
  134. package/dist/components/avl/organisms/FlowCanvas.d.ts +0 -134
  135. package/dist/components/avl/organisms/OrbInspector.d.ts +0 -45
  136. package/dist/components/avl/organisms/ZoomBreadcrumb.d.ts +0 -16
  137. package/dist/components/avl/organisms/ZoomLegend.d.ts +0 -10
  138. package/dist/components/avl/organisms/index.d.ts +0 -19
  139. package/dist/components/avl/providers/avl-3d-context.d.ts +0 -32
  140. package/dist/components/avl/types/avl-atom-types.d.ts +0 -53
  141. package/dist/components/avl/types/avl-behavior-compose-types.d.ts +0 -120
  142. package/dist/components/avl/types/avl-canvas-types.d.ts +0 -39
  143. package/dist/components/avl/types/avl-preview-types.d.ts +0 -240
  144. package/dist/components/core/atoms/Aside.d.ts +0 -15
  145. package/dist/components/core/atoms/AtlasImage.d.ts +0 -58
  146. package/dist/components/core/atoms/Avatar.d.ts +0 -61
  147. package/dist/components/core/atoms/Badge.d.ts +0 -29
  148. package/dist/components/core/atoms/Box.d.ts +0 -68
  149. package/dist/components/core/atoms/Button.d.ts +0 -33
  150. package/dist/components/core/atoms/Card.d.ts +0 -34
  151. package/dist/components/core/atoms/Center.d.ts +0 -33
  152. package/dist/components/core/atoms/Checkbox.d.ts +0 -14
  153. package/dist/components/core/atoms/ConditionalWrapper.d.ts +0 -69
  154. package/dist/components/core/atoms/ConfettiEffect.d.ts +0 -19
  155. package/dist/components/core/atoms/DayCell.d.ts +0 -22
  156. package/dist/components/core/atoms/Dialog.d.ts +0 -18
  157. package/dist/components/core/atoms/Divider.d.ts +0 -29
  158. package/dist/components/core/atoms/FilterPill.d.ts +0 -30
  159. package/dist/components/core/atoms/FlipContainer.d.ts +0 -21
  160. package/dist/components/core/atoms/GameIcon.d.ts +0 -19
  161. package/dist/components/core/atoms/Icon.d.ts +0 -57
  162. package/dist/components/core/atoms/InfiniteScrollSentinel.d.ts +0 -24
  163. package/dist/components/core/atoms/Input.d.ts +0 -39
  164. package/dist/components/core/atoms/Label.d.ts +0 -12
  165. package/dist/components/core/atoms/LawReferenceTooltip.d.ts +0 -48
  166. package/dist/components/core/atoms/Overlay.d.ts +0 -17
  167. package/dist/components/core/atoms/ProgressBar.d.ts +0 -63
  168. package/dist/components/core/atoms/Radio.d.ts +0 -35
  169. package/dist/components/core/atoms/RangeSlider.d.ts +0 -34
  170. package/dist/components/core/atoms/SectionHeader.d.ts +0 -14
  171. package/dist/components/core/atoms/Select.d.ts +0 -49
  172. package/dist/components/core/atoms/Spacer.d.ts +0 -25
  173. package/dist/components/core/atoms/Sparkline.d.ts +0 -30
  174. package/dist/components/core/atoms/Spinner.d.ts +0 -10
  175. package/dist/components/core/atoms/Stack.d.ts +0 -67
  176. package/dist/components/core/atoms/StatusDot.d.ts +0 -16
  177. package/dist/components/core/atoms/Switch.d.ts +0 -12
  178. package/dist/components/core/atoms/TextHighlight.d.ts +0 -54
  179. package/dist/components/core/atoms/Textarea.d.ts +0 -17
  180. package/dist/components/core/atoms/ThemeToggle.d.ts +0 -33
  181. package/dist/components/core/atoms/TimeSlotCell.d.ts +0 -23
  182. package/dist/components/core/atoms/TraitFrame.d.ts +0 -54
  183. package/dist/components/core/atoms/TrendIndicator.d.ts +0 -20
  184. package/dist/components/core/atoms/TypewriterText.d.ts +0 -20
  185. package/dist/components/core/atoms/Typography.d.ts +0 -39
  186. package/dist/components/core/atoms/index.d.ts +0 -52
  187. package/dist/components/core/atoms/svg/SvgBranch.d.ts +0 -16
  188. package/dist/components/core/atoms/svg/SvgConnection.d.ts +0 -17
  189. package/dist/components/core/atoms/svg/SvgFlow.d.ts +0 -14
  190. package/dist/components/core/atoms/svg/SvgGrid.d.ts +0 -18
  191. package/dist/components/core/atoms/svg/SvgLobe.d.ts +0 -17
  192. package/dist/components/core/atoms/svg/SvgMesh.d.ts +0 -16
  193. package/dist/components/core/atoms/svg/SvgMorph.d.ts +0 -15
  194. package/dist/components/core/atoms/svg/SvgNode.d.ts +0 -16
  195. package/dist/components/core/atoms/svg/SvgPulse.d.ts +0 -16
  196. package/dist/components/core/atoms/svg/SvgRing.d.ts +0 -17
  197. package/dist/components/core/atoms/svg/SvgShield.d.ts +0 -15
  198. package/dist/components/core/atoms/svg/SvgStack.d.ts +0 -17
  199. package/dist/components/core/atoms/svg/index.d.ts +0 -12
  200. package/dist/components/core/atoms/types.d.ts +0 -47
  201. package/dist/components/core/molecules/Accordion.d.ts +0 -71
  202. package/dist/components/core/molecules/ActivationBlock.d.ts +0 -22
  203. package/dist/components/core/molecules/Alert.d.ts +0 -25
  204. package/dist/components/core/molecules/AnimatedCounter.d.ts +0 -18
  205. package/dist/components/core/molecules/AssetPicker.d.ts +0 -21
  206. package/dist/components/core/molecules/BloomQuizBlock.d.ts +0 -25
  207. package/dist/components/core/molecules/BranchingLogicBuilder.d.ts +0 -33
  208. package/dist/components/core/molecules/Breadcrumb.d.ts +0 -55
  209. package/dist/components/core/molecules/ButtonGroup.d.ts +0 -77
  210. package/dist/components/core/molecules/CalendarGrid.d.ts +0 -61
  211. package/dist/components/core/molecules/Card.d.ts +0 -58
  212. package/dist/components/core/molecules/Carousel.d.ts +0 -42
  213. package/dist/components/core/molecules/Chart.d.ts +0 -106
  214. package/dist/components/core/molecules/ChartLegend.d.ts +0 -20
  215. package/dist/components/core/molecules/Coachmark.d.ts +0 -47
  216. package/dist/components/core/molecules/ConfirmDialog.d.ts +0 -49
  217. package/dist/components/core/molecules/ConnectionBlock.d.ts +0 -18
  218. package/dist/components/core/molecules/Container.d.ts +0 -30
  219. package/dist/components/core/molecules/ContentRenderer.d.ts +0 -23
  220. package/dist/components/core/molecules/DataGrid.d.ts +0 -117
  221. package/dist/components/core/molecules/DataList.d.ts +0 -129
  222. package/dist/components/core/molecules/DateRangePicker.d.ts +0 -56
  223. package/dist/components/core/molecules/DateRangeSelector.d.ts +0 -21
  224. package/dist/components/core/molecules/DocBreadcrumb.d.ts +0 -20
  225. package/dist/components/core/molecules/DocPagination.d.ts +0 -21
  226. package/dist/components/core/molecules/DocSearch.d.ts +0 -22
  227. package/dist/components/core/molecules/DocSidebar.d.ts +0 -24
  228. package/dist/components/core/molecules/DocTOC.d.ts +0 -24
  229. package/dist/components/core/molecules/DocumentViewer.d.ts +0 -61
  230. package/dist/components/core/molecules/Drawer.d.ts +0 -47
  231. package/dist/components/core/molecules/EdgeDecoration.d.ts +0 -36
  232. package/dist/components/core/molecules/EmptyState.d.ts +0 -29
  233. package/dist/components/core/molecules/ErrorBoundary.d.ts +0 -54
  234. package/dist/components/core/molecules/ErrorState.d.ts +0 -14
  235. package/dist/components/core/molecules/FeatureGrid.d.ts +0 -19
  236. package/dist/components/core/molecules/FileTree.d.ts +0 -37
  237. package/dist/components/core/molecules/FilterGroup.d.ts +0 -61
  238. package/dist/components/core/molecules/Flex.d.ts +0 -43
  239. package/dist/components/core/molecules/FlipCard.d.ts +0 -24
  240. package/dist/components/core/molecules/FloatingActionButton.d.ts +0 -83
  241. package/dist/components/core/molecules/FormField.d.ts +0 -16
  242. package/dist/components/core/molecules/FormSection.d.ts +0 -39
  243. package/dist/components/core/molecules/FormSectionHeader.d.ts +0 -31
  244. package/dist/components/core/molecules/GradientDivider.d.ts +0 -15
  245. package/dist/components/core/molecules/GraphCanvas.d.ts +0 -83
  246. package/dist/components/core/molecules/GraphView.d.ts +0 -45
  247. package/dist/components/core/molecules/Grid.d.ts +0 -54
  248. package/dist/components/core/molecules/GridPicker.d.ts +0 -44
  249. package/dist/components/core/molecules/Header.d.ts +0 -113
  250. package/dist/components/core/molecules/IconPicker.d.ts +0 -18
  251. package/dist/components/core/molecules/InputGroup.d.ts +0 -24
  252. package/dist/components/core/molecules/JazariStateMachine.d.ts +0 -34
  253. package/dist/components/core/molecules/JsonTreeEditor.d.ts +0 -13
  254. package/dist/components/core/molecules/Lightbox.d.ts +0 -26
  255. package/dist/components/core/molecules/LikertScale.d.ts +0 -34
  256. package/dist/components/core/molecules/LineChart.d.ts +0 -35
  257. package/dist/components/core/molecules/LoadingState.d.ts +0 -7
  258. package/dist/components/core/molecules/MapView.d.ts +0 -87
  259. package/dist/components/core/molecules/MatrixQuestion.d.ts +0 -35
  260. package/dist/components/core/molecules/Menu.d.ts +0 -44
  261. package/dist/components/core/molecules/Meter.d.ts +0 -52
  262. package/dist/components/core/molecules/Modal.d.ts +0 -36
  263. package/dist/components/core/molecules/Navigation.d.ts +0 -67
  264. package/dist/components/core/molecules/NodeSlotEditor.d.ts +0 -17
  265. package/dist/components/core/molecules/NumberStepper.d.ts +0 -28
  266. package/dist/components/core/molecules/OnboardingSpotlight.d.ts +0 -27
  267. package/dist/components/core/molecules/OptionConstraintGroup.d.ts +0 -44
  268. package/dist/components/core/molecules/OrbitalVisualization.d.ts +0 -48
  269. package/dist/components/core/molecules/PageHeader.d.ts +0 -60
  270. package/dist/components/core/molecules/Pagination.d.ts +0 -71
  271. package/dist/components/core/molecules/Popover.d.ts +0 -39
  272. package/dist/components/core/molecules/PositionedCanvas.d.ts +0 -40
  273. package/dist/components/core/molecules/ProgressDots.d.ts +0 -24
  274. package/dist/components/core/molecules/PropertyInspector.d.ts +0 -38
  275. package/dist/components/core/molecules/PullToRefresh.d.ts +0 -22
  276. package/dist/components/core/molecules/QrScanner.d.ts +0 -24
  277. package/dist/components/core/molecules/QuizBlock.d.ts +0 -20
  278. package/dist/components/core/molecules/ReflectionBlock.d.ts +0 -23
  279. package/dist/components/core/molecules/RelationSelect.d.ts +0 -48
  280. package/dist/components/core/molecules/RepeatableFormSection.d.ts +0 -60
  281. package/dist/components/core/molecules/ReplyTree.d.ts +0 -46
  282. package/dist/components/core/molecules/RichBlockEditor.d.ts +0 -43
  283. package/dist/components/core/molecules/ScaledDiagram.d.ts +0 -20
  284. package/dist/components/core/molecules/SearchInput.d.ts +0 -60
  285. package/dist/components/core/molecules/Section.d.ts +0 -43
  286. package/dist/components/core/molecules/SidePanel.d.ts +0 -53
  287. package/dist/components/core/molecules/Sidebar.d.ts +0 -72
  288. package/dist/components/core/molecules/SignaturePad.d.ts +0 -46
  289. package/dist/components/core/molecules/SimpleGrid.d.ts +0 -27
  290. package/dist/components/core/molecules/Skeleton.d.ts +0 -35
  291. package/dist/components/core/molecules/SocialProof.d.ts +0 -25
  292. package/dist/components/core/molecules/SortableList.d.ts +0 -19
  293. package/dist/components/core/molecules/Split.d.ts +0 -41
  294. package/dist/components/core/molecules/StarRating.d.ts +0 -27
  295. package/dist/components/core/molecules/StatDisplay.d.ts +0 -58
  296. package/dist/components/core/molecules/SwipeableRow.d.ts +0 -26
  297. package/dist/components/core/molecules/TableView.d.ts +0 -111
  298. package/dist/components/core/molecules/Tabs.d.ts +0 -60
  299. package/dist/components/core/molecules/TagInput.d.ts +0 -52
  300. package/dist/components/core/molecules/Toast.d.ts +0 -36
  301. package/dist/components/core/molecules/Tooltip.d.ts +0 -25
  302. package/dist/components/core/molecules/UploadDropZone.d.ts +0 -28
  303. package/dist/components/core/molecules/VersionDiff.d.ts +0 -62
  304. package/dist/components/core/molecules/ViolationAlert.d.ts +0 -46
  305. package/dist/components/core/molecules/VoteStack.d.ts +0 -35
  306. package/dist/components/core/molecules/WizardContainer.d.ts +0 -166
  307. package/dist/components/core/molecules/WizardNavigation.d.ts +0 -61
  308. package/dist/components/core/molecules/WizardProgress.d.ts +0 -45
  309. package/dist/components/core/molecules/index.d.ts +0 -138
  310. package/dist/components/core/molecules/lessonSegmentUtils.d.ts +0 -18
  311. package/dist/components/core/molecules/markdown/CodeBlock.d.ts +0 -108
  312. package/dist/components/core/molecules/markdown/MarkdownContent.d.ts +0 -26
  313. package/dist/components/core/molecules/markdown/index.d.ts +0 -2
  314. package/dist/components/core/molecules/parseLessonSegments.d.ts +0 -44
  315. package/dist/components/core/molecules/useDataDnd.d.ts +0 -63
  316. package/dist/components/core/organisms/CardGrid.d.ts +0 -84
  317. package/dist/components/core/organisms/ChatBar.d.ts +0 -31
  318. package/dist/components/core/organisms/CodeRunnerPanel.d.ts +0 -42
  319. package/dist/components/core/organisms/ComponentPatterns.d.ts +0 -185
  320. package/dist/components/core/organisms/CustomPattern.d.ts +0 -105
  321. package/dist/components/core/organisms/DataTable.d.ts +0 -79
  322. package/dist/components/core/organisms/DetailPanel.d.ts +0 -80
  323. package/dist/components/core/organisms/DrawerSlot.d.ts +0 -42
  324. package/dist/components/core/organisms/Form.d.ts +0 -214
  325. package/dist/components/core/organisms/LayoutPatterns.d.ts +0 -108
  326. package/dist/components/core/organisms/List.d.ts +0 -81
  327. package/dist/components/core/organisms/MasterDetail.d.ts +0 -35
  328. package/dist/components/core/organisms/MediaGallery.d.ts +0 -63
  329. package/dist/components/core/organisms/ModalSlot.d.ts +0 -38
  330. package/dist/components/core/organisms/NotifyListener.d.ts +0 -15
  331. package/dist/components/core/organisms/SegmentRenderer.d.ts +0 -38
  332. package/dist/components/core/organisms/StatCard.d.ts +0 -65
  333. package/dist/components/core/organisms/StateMachineView.d.ts +0 -45
  334. package/dist/components/core/organisms/SubagentTracePanel.d.ts +0 -50
  335. package/dist/components/core/organisms/Timeline.d.ts +0 -71
  336. package/dist/components/core/organisms/ToastSlot.d.ts +0 -41
  337. package/dist/components/core/organisms/UISlotRenderer.d.ts +0 -116
  338. package/dist/components/core/organisms/book/index.d.ts +0 -7
  339. package/dist/components/core/organisms/book/types.d.ts +0 -62
  340. package/dist/components/core/organisms/component-registry.generated.d.ts +0 -9
  341. package/dist/components/core/organisms/debug/RuntimeDebugger.d.ts +0 -29
  342. package/dist/components/core/organisms/debug/WalkMinimap.d.ts +0 -17
  343. package/dist/components/core/organisms/debug/hooks/useDebugData.d.ts +0 -25
  344. package/dist/components/core/organisms/debug/index.d.ts +0 -13
  345. package/dist/components/core/organisms/debug/tabs/EntitiesTab.d.ts +0 -14
  346. package/dist/components/core/organisms/debug/tabs/EventDispatcherTab.d.ts +0 -18
  347. package/dist/components/core/organisms/debug/tabs/EventFlowTab.d.ts +0 -14
  348. package/dist/components/core/organisms/debug/tabs/GuardsPanel.d.ts +0 -14
  349. package/dist/components/core/organisms/debug/tabs/ServerBridgeTab.d.ts +0 -20
  350. package/dist/components/core/organisms/debug/tabs/TicksTab.d.ts +0 -14
  351. package/dist/components/core/organisms/debug/tabs/TraitsTab.d.ts +0 -14
  352. package/dist/components/core/organisms/debug/tabs/TransitionTimeline.d.ts +0 -19
  353. package/dist/components/core/organisms/debug/tabs/VerificationTab.d.ts +0 -17
  354. package/dist/components/core/organisms/index.d.ts +0 -33
  355. package/dist/components/core/organisms/layout/DashboardGrid.d.ts +0 -33
  356. package/dist/components/core/organisms/layout/MasterDetailLayout.d.ts +0 -32
  357. package/dist/components/core/organisms/layout/SplitPane.d.ts +0 -34
  358. package/dist/components/core/organisms/layout/TabbedContainer.d.ts +0 -42
  359. package/dist/components/core/organisms/layout/index.d.ts +0 -9
  360. package/dist/components/core/organisms/marketing-types.d.ts +0 -8
  361. package/dist/components/core/organisms/trace-edit-focus.d.ts +0 -14
  362. package/dist/components/core/organisms/types.d.ts +0 -72
  363. package/dist/components/core/templates/CounterTemplate.d.ts +0 -51
  364. package/dist/components/core/templates/DashboardLayout.d.ts +0 -110
  365. package/dist/components/core/templates/GenericAppTemplate.d.ts +0 -24
  366. package/dist/components/core/templates/index.d.ts +0 -10
  367. package/dist/components/core/templates/types.d.ts +0 -35
  368. package/dist/components/game/atoms/ChoiceButton.d.ts +0 -29
  369. package/dist/components/game/atoms/ControlButton.d.ts +0 -35
  370. package/dist/components/game/atoms/DialogueBubble.d.ts +0 -26
  371. package/dist/components/game/atoms/DrawShape.d.ts +0 -50
  372. package/dist/components/game/atoms/DrawSprite.d.ts +0 -47
  373. package/dist/components/game/atoms/DrawText.d.ts +0 -31
  374. package/dist/components/game/atoms/GameAudioToggle.d.ts +0 -34
  375. package/dist/components/game/atoms/HealthBar.d.ts +0 -32
  376. package/dist/components/game/atoms/MiniMap.d.ts +0 -40
  377. package/dist/components/game/atoms/ScoreDisplay.d.ts +0 -25
  378. package/dist/components/game/atoms/StateIndicator.d.ts +0 -29
  379. package/dist/components/game/atoms/TimerDisplay.d.ts +0 -22
  380. package/dist/components/game/molecules/ActionPalette.d.ts +0 -34
  381. package/dist/components/game/molecules/ActionTile.d.ts +0 -30
  382. package/dist/components/game/molecules/Canvas.d.ts +0 -96
  383. package/dist/components/game/molecules/Canvas2D.d.ts +0 -120
  384. package/dist/components/game/molecules/ControlGrid.d.ts +0 -49
  385. package/dist/components/game/molecules/DrawShapeLayer.d.ts +0 -19
  386. package/dist/components/game/molecules/DrawSpriteLayer.d.ts +0 -21
  387. package/dist/components/game/molecules/DrawTextLayer.d.ts +0 -22
  388. package/dist/components/game/molecules/GameHud.d.ts +0 -52
  389. package/dist/components/game/molecules/GameMenu.d.ts +0 -42
  390. package/dist/components/game/molecules/SequenceBar.d.ts +0 -51
  391. package/dist/components/game/molecules/StatBadge.d.ts +0 -39
  392. package/dist/components/game/molecules/StateGraph.d.ts +0 -38
  393. package/dist/components/game/molecules/StateJsonView.d.ts +0 -37
  394. package/dist/components/game/molecules/StateNode.d.ts +0 -31
  395. package/dist/components/game/molecules/TraitSlot.d.ts +0 -99
  396. package/dist/components/game/molecules/TraitStateViewer.d.ts +0 -52
  397. package/dist/components/game/molecules/TransitionArrow.d.ts +0 -31
  398. package/dist/components/game/molecules/index.d.ts +0 -39
  399. package/dist/components/game/patterns.d.ts +0 -20
  400. package/dist/components/game/templates/GameShell.d.ts +0 -35
  401. package/dist/components/learning/atoms/LearningCanvas.d.ts +0 -80
  402. package/dist/components/learning/molecules/AlgorithmCanvas.d.ts +0 -58
  403. package/dist/components/learning/molecules/BiologyCanvas.d.ts +0 -47
  404. package/dist/components/learning/molecules/ChemistryCanvas.d.ts +0 -55
  405. package/dist/components/learning/molecules/MathCanvas.d.ts +0 -61
  406. package/dist/components/learning/molecules/PhysicsCanvas.d.ts +0 -54
  407. package/dist/components/marketing/atoms/AnimatedCounter.d.ts +0 -20
  408. package/dist/components/marketing/atoms/AnimatedGraphic.d.ts +0 -32
  409. package/dist/components/marketing/atoms/AnimatedReveal.d.ts +0 -26
  410. package/dist/components/marketing/atoms/ContentSection.d.ts +0 -16
  411. package/dist/components/marketing/atoms/MarketingStatCard.d.ts +0 -13
  412. package/dist/components/marketing/atoms/PatternTile.d.ts +0 -41
  413. package/dist/components/marketing/molecules/ArticleSection.d.ts +0 -18
  414. package/dist/components/marketing/molecules/CTABanner.d.ts +0 -26
  415. package/dist/components/marketing/molecules/CaseStudyCard.d.ts +0 -24
  416. package/dist/components/marketing/molecules/CommunityLinks.d.ts +0 -28
  417. package/dist/components/marketing/molecules/FeatureCard.d.ts +0 -26
  418. package/dist/components/marketing/molecules/GeometricPattern.d.ts +0 -33
  419. package/dist/components/marketing/molecules/HeroSection.d.ts +0 -28
  420. package/dist/components/marketing/molecules/InstallBox.d.ts +0 -16
  421. package/dist/components/marketing/molecules/MarketingFooter.d.ts +0 -29
  422. package/dist/components/marketing/molecules/PricingCard.d.ts +0 -19
  423. package/dist/components/marketing/molecules/PricingGrid.d.ts +0 -13
  424. package/dist/components/marketing/molecules/PullQuote.d.ts +0 -14
  425. package/dist/components/marketing/molecules/ServiceCatalog.d.ts +0 -19
  426. package/dist/components/marketing/molecules/ShowcaseCard.d.ts +0 -18
  427. package/dist/components/marketing/molecules/SplitSection.d.ts +0 -19
  428. package/dist/components/marketing/molecules/StatsGrid.d.ts +0 -18
  429. package/dist/components/marketing/molecules/StepFlow.d.ts +0 -21
  430. package/dist/components/marketing/molecules/TagCloud.d.ts +0 -18
  431. package/dist/components/marketing/molecules/TeamCard.d.ts +0 -19
  432. package/dist/components/marketing/organisms/CaseStudyOrganism.d.ts +0 -29
  433. package/dist/components/marketing/organisms/FeatureGridOrganism.d.ts +0 -30
  434. package/dist/components/marketing/organisms/HeroOrganism.d.ts +0 -42
  435. package/dist/components/marketing/organisms/PricingOrganism.d.ts +0 -33
  436. package/dist/components/marketing/organisms/ShowcaseOrganism.d.ts +0 -34
  437. package/dist/components/marketing/organisms/StatsOrganism.d.ts +0 -23
  438. package/dist/components/marketing/organisms/StepFlowOrganism.d.ts +0 -29
  439. package/dist/components/marketing/organisms/TeamOrganism.d.ts +0 -28
  440. package/dist/components/marketing/organisms/book/BookChapterView.d.ts +0 -21
  441. package/dist/components/marketing/organisms/book/BookCoverPage.d.ts +0 -21
  442. package/dist/components/marketing/organisms/book/BookNavBar.d.ts +0 -19
  443. package/dist/components/marketing/organisms/book/BookTableOfContents.d.ts +0 -20
  444. package/dist/components/marketing/organisms/book/BookViewer.d.ts +0 -31
  445. package/dist/components/marketing/templates/AboutPageTemplate.d.ts +0 -53
  446. package/dist/components/marketing/templates/AuthLayout.d.ts +0 -15
  447. package/dist/components/marketing/templates/FeatureDetailPageTemplate.d.ts +0 -37
  448. package/dist/components/marketing/templates/LandingPageTemplate.d.ts +0 -70
  449. package/dist/components/marketing/templates/PricingPageTemplate.d.ts +0 -44
  450. package/dist/hooks/useAgentChat.d.ts +0 -105
  451. package/dist/hooks/useAlmadarDndCollision.d.ts +0 -34
  452. package/dist/hooks/useAuthContext.d.ts +0 -25
  453. package/dist/hooks/useCamera.d.ts +0 -57
  454. package/dist/hooks/useCanvasGestures.d.ts +0 -44
  455. package/dist/hooks/useClientEffects.d.ts +0 -88
  456. package/dist/hooks/useCompile.d.ts +0 -18
  457. package/dist/hooks/useDeepAgentGeneration.d.ts +0 -46
  458. package/dist/hooks/useDragReorder.d.ts +0 -26
  459. package/dist/hooks/useDraggable.d.ts +0 -25
  460. package/dist/hooks/useDropZone.d.ts +0 -23
  461. package/dist/hooks/useEventBus.d.ts +0 -99
  462. package/dist/hooks/useExtensions.d.ts +0 -32
  463. package/dist/hooks/useFileEditor.d.ts +0 -32
  464. package/dist/hooks/useFileSystem.d.ts +0 -50
  465. package/dist/hooks/useGameAudio.d.ts +0 -47
  466. package/dist/hooks/useGitHub.d.ts +0 -58
  467. package/dist/hooks/useImageCache.d.ts +0 -16
  468. package/dist/hooks/useInfiniteScroll.d.ts +0 -13
  469. package/dist/hooks/useLongPress.d.ts +0 -16
  470. package/dist/hooks/useOrbitalHistory.d.ts +0 -39
  471. package/dist/hooks/usePreview.d.ts +0 -57
  472. package/dist/hooks/usePullToRefresh.d.ts +0 -25
  473. package/dist/hooks/useQuerySingleton.d.ts +0 -79
  474. package/dist/hooks/useRenderInterpolation.d.ts +0 -33
  475. package/dist/hooks/useResolvedSchema.d.ts +0 -45
  476. package/dist/hooks/useSharedEntityStore.d.ts +0 -53
  477. package/dist/hooks/useSwipeGesture.d.ts +0 -26
  478. package/dist/hooks/useTapReveal.d.ts +0 -32
  479. package/dist/hooks/useTraitStateMachine.d.ts +0 -136
  480. package/dist/hooks/useTranslate.d.ts +0 -35
  481. package/dist/hooks/useUIEvents.d.ts +0 -41
  482. package/dist/hooks/useUnitSpriteAtlas.d.ts +0 -24
  483. package/dist/hooks/useValidation.d.ts +0 -46
  484. package/dist/lib/api-client.d.ts +0 -43
  485. package/dist/lib/atlasSlice.d.ts +0 -58
  486. package/dist/lib/boardEntity.d.ts +0 -44
  487. package/dist/lib/client-effect-executor.d.ts +0 -57
  488. package/dist/lib/cn.d.ts +0 -6
  489. package/dist/lib/createClientEffectHandlers.d.ts +0 -42
  490. package/dist/lib/data-resolver.d.ts +0 -55
  491. package/dist/lib/debug.d.ts +0 -36
  492. package/dist/lib/debugRegistry.d.ts +0 -30
  493. package/dist/lib/debugUtils.d.ts +0 -27
  494. package/dist/lib/drawable/contract.d.ts +0 -68
  495. package/dist/lib/drawable/hitTest.d.ts +0 -23
  496. package/dist/lib/drawable/paintDispatch.d.ts +0 -22
  497. package/dist/lib/drawable/projector.d.ts +0 -14
  498. package/dist/lib/drawable/projector3d.d.ts +0 -20
  499. package/dist/lib/drawable/three/Camera3D.d.ts +0 -60
  500. package/dist/lib/drawable/three/Canvas3DErrorBoundary.d.ts +0 -51
  501. package/dist/lib/drawable/three/Canvas3DHost.d.ts +0 -178
  502. package/dist/lib/drawable/three/Canvas3DLoadingState.d.ts +0 -44
  503. package/dist/lib/drawable/three/Drawable3D.d.ts +0 -20
  504. package/dist/lib/drawable/three/GameCamera3D.d.ts +0 -16
  505. package/dist/lib/drawable/three/Lighting3D.d.ts +0 -55
  506. package/dist/lib/drawable/three/ModelLoader.d.ts +0 -52
  507. package/dist/lib/drawable/three/Scene3D.d.ts +0 -37
  508. package/dist/lib/drawable/three/game3dTheme.d.ts +0 -14
  509. package/dist/lib/drawable/three/hooks/useAssetLoader.d.ts +0 -58
  510. package/dist/lib/drawable/three/hooks/useGameCanvas3DEvents.d.ts +0 -124
  511. package/dist/lib/drawable/three/hooks/useRaycaster.d.ts +0 -86
  512. package/dist/lib/drawable/three/hooks/useSceneGraph.d.ts +0 -67
  513. package/dist/lib/drawable/three/hooks/useThree.d.ts +0 -58
  514. package/dist/lib/drawable/three/lib/AssetLoader.d.ts +0 -80
  515. package/dist/lib/drawable/three/lib/culling.d.ts +0 -134
  516. package/dist/lib/drawable/three/lib/grid3D.d.ts +0 -154
  517. package/dist/lib/drawable/three/mesh3d.d.ts +0 -28
  518. package/dist/lib/editorUtils.d.ts +0 -114
  519. package/dist/lib/embedded-traits.d.ts +0 -39
  520. package/dist/lib/entityDebug.d.ts +0 -39
  521. package/dist/lib/fn-form-lambda.d.ts +0 -27
  522. package/dist/lib/game.d.ts +0 -92
  523. package/dist/lib/gameShared.d.ts +0 -18
  524. package/dist/lib/getNestedValue.d.ts +0 -34
  525. package/dist/lib/guardRegistry.d.ts +0 -33
  526. package/dist/lib/iconFamily.d.ts +0 -41
  527. package/dist/lib/imageCache.d.ts +0 -9
  528. package/dist/lib/init.d.ts +0 -14
  529. package/dist/lib/isometric.d.ts +0 -121
  530. package/dist/lib/isometricTypes.d.ts +0 -141
  531. package/dist/lib/jazari/index.d.ts +0 -5
  532. package/dist/lib/jazari/layout.d.ts +0 -31
  533. package/dist/lib/jazari/svg-paths.d.ts +0 -61
  534. package/dist/lib/jazari/types.d.ts +0 -91
  535. package/dist/lib/makeAsset.d.ts +0 -5
  536. package/dist/lib/mechanics.d.ts +0 -4
  537. package/dist/lib/offline-executor.d.ts +0 -239
  538. package/dist/lib/orbitalsByTrait.d.ts +0 -34
  539. package/dist/lib/painter2d.d.ts +0 -81
  540. package/dist/lib/parseContentSegments.d.ts +0 -42
  541. package/dist/lib/pattern-resolver.d.ts +0 -88
  542. package/dist/lib/perf.d.ts +0 -32
  543. package/dist/lib/physicsPresets.d.ts +0 -4
  544. package/dist/lib/physicsTypes.d.ts +0 -43
  545. package/dist/lib/prepareSchemaForPreview.d.ts +0 -71
  546. package/dist/lib/puzzleObject.d.ts +0 -41
  547. package/dist/lib/slot-definitions.d.ts +0 -33
  548. package/dist/lib/spriteAnimation.d.ts +0 -85
  549. package/dist/lib/spriteAnimationTypes.d.ts +0 -72
  550. package/dist/lib/spriteSheetConstants.d.ts +0 -16
  551. package/dist/lib/tickRegistry.d.ts +0 -40
  552. package/dist/lib/trait-binding-resolver.d.ts +0 -57
  553. package/dist/lib/traitRegistry.d.ts +0 -34
  554. package/dist/lib/verificationRegistry.d.ts +0 -97
  555. package/dist/lib/visualizer/browser.d.ts +0 -48
  556. package/dist/lib/visualizer/index.d.ts +0 -144
  557. package/dist/lib/webPainter2d.d.ts +0 -7
  558. package/dist/lib/wrapCallbackForEvent.d.ts +0 -16
  559. package/dist/marketing/index.d.cts +0 -1067
  560. package/dist/marketing/index.d.ts +0 -72
  561. package/dist/providers/CurrentPagePathContext.d.ts +0 -9
  562. package/dist/providers/DesignThemeContext.d.ts +0 -21
  563. package/dist/providers/EntitySchemaContext.d.ts +0 -81
  564. package/dist/providers/EventBusProvider.d.ts +0 -47
  565. package/dist/providers/GameAudioProvider.d.ts +0 -53
  566. package/dist/providers/OfflineModeProvider.d.ts +0 -79
  567. package/dist/providers/OrbitalProvider.d.ts +0 -110
  568. package/dist/providers/OrbitalThemeProvider.d.ts +0 -37
  569. package/dist/providers/SelectionProvider.d.ts +0 -82
  570. package/dist/providers/ServerBridge.d.ts +0 -102
  571. package/dist/providers/ThemeContext.d.ts +0 -104
  572. package/dist/providers/TraitProvider.d.ts +0 -53
  573. package/dist/providers/TraitScopeProvider.d.ts +0 -43
  574. package/dist/providers/UserContext.d.ts +0 -112
  575. package/dist/providers/VerificationProvider.d.ts +0 -64
  576. package/dist/providers/navigation.d.ts +0 -142
  577. package/dist/runtime/BrowserPlayground.d.ts +0 -34
  578. package/dist/runtime/OrbPreview.d.ts +0 -84
  579. package/dist/scripts/audit-tailwind-safelist.d.ts +0 -27
  580. package/dist/scripts/generate-design-system.d.ts +0 -29
  581. package/dist/scripts/generate-theme-from-schema.d.ts +0 -10
  582. package/dist/scripts/generate.d.ts +0 -12
  583. package/dist/scripts/suggest-components.d.ts +0 -31
  584. package/dist/scripts/types.d.ts +0 -129
  585. package/dist/tsup.config.d.ts +0 -3
  586. package/dist/types/renderer-types.d.ts +0 -146
  587. package/dist/types/runtime-types.d.ts +0 -21
  588. package/dist/types/slot-types.d.ts +0 -49
  589. package/dist/vitest.config.d.ts +0 -2
@@ -1,1853 +0,0 @@
1
- import * as React from 'react';
2
- import React__default from 'react';
3
- import { JsonObject, JsonValue, OrbitalSchema, Expression, UISlot, EntityData, EditFocus, EventPayload, ThemeDefinition } from '@almadar/core';
4
- import { Node, Edge, NodeProps, EdgeProps } from '@xyflow/react';
5
- import { AnyPatternConfig } from '@almadar/patterns';
6
- import { useDraggable } from '@dnd-kit/core';
7
-
8
- /**
9
- * Almadar Visual Language (AVL) shared types.
10
- *
11
- * Every AVL atom renders a `<g>` element (not `<svg>`) and accepts
12
- * AvlBaseProps for positioning and styling within a parent SVG.
13
- */
14
- interface AvlBaseProps {
15
- x?: number;
16
- y?: number;
17
- color?: string;
18
- opacity?: number;
19
- className?: string;
20
- }
21
- type AvlEffectType = 'render-ui' | 'set' | 'persist' | 'fetch' | 'emit' | 'navigate' | 'notify' | 'call-service' | 'spawn' | 'despawn' | 'do' | 'if' | 'log';
22
- type AvlFieldTypeKind = 'string' | 'number' | 'boolean' | 'date' | 'enum' | 'object' | 'array';
23
- type AvlPersistenceKind = 'persistent' | 'runtime' | 'singleton' | 'instance';
24
- type AvlOperatorNamespace = 'arithmetic' | 'comparison' | 'logic' | 'string' | 'collection' | 'time' | 'control' | 'async';
25
- declare const AVL_OPERATOR_COLORS: Record<AvlOperatorNamespace, string>;
26
- declare const AVL_FIELD_TYPE_SHAPES: Record<AvlFieldTypeKind, string>;
27
- type StateRole = 'initial' | 'terminal' | 'hub' | 'error' | 'default';
28
- declare const STATE_COLORS: Record<StateRole, {
29
- fill: string;
30
- border: string;
31
- }>;
32
- type EffectCategory = 'ui' | 'data' | 'communication' | 'lifecycle' | 'control';
33
- declare const EFFECT_CATEGORY_COLORS: Record<EffectCategory, {
34
- color: string;
35
- bg: string;
36
- }>;
37
- declare const EFFECT_TYPE_TO_CATEGORY: Record<AvlEffectType, EffectCategory>;
38
- declare const CONNECTION_COLORS: {
39
- readonly forward: {
40
- readonly color: "#1E293B";
41
- readonly width: 2;
42
- readonly dash: "none";
43
- };
44
- readonly backward: {
45
- readonly color: "#94A3B8";
46
- readonly width: 1.5;
47
- readonly dash: "6 3";
48
- };
49
- readonly selfLoop: {
50
- readonly color: "#CBD5E1";
51
- readonly width: 1;
52
- readonly dash: "3 2";
53
- };
54
- readonly emitListen: {
55
- readonly color: "#F97316";
56
- readonly width: 1.5;
57
- readonly dash: "4 3";
58
- };
59
- };
60
- declare function getStateRole(name: string, isInitial?: boolean, isTerminal?: boolean, transitionCount?: number, maxTransitionCount?: number): StateRole;
61
-
62
- interface AvlOrbitalProps {
63
- cx?: number;
64
- cy?: number;
65
- r?: number;
66
- label?: string;
67
- color?: string;
68
- opacity?: number;
69
- className?: string;
70
- }
71
- declare const AvlOrbital: React__default.FC<AvlOrbitalProps>;
72
-
73
- interface AvlEntityProps extends AvlBaseProps {
74
- r?: number;
75
- fieldCount?: number;
76
- persistence?: AvlPersistenceKind;
77
- label?: string;
78
- }
79
- declare const AvlEntity: React__default.FC<AvlEntityProps>;
80
-
81
- interface AvlTraitProps {
82
- cx?: number;
83
- cy?: number;
84
- rx?: number;
85
- ry?: number;
86
- rotation?: number;
87
- label?: string;
88
- color?: string;
89
- opacity?: number;
90
- className?: string;
91
- }
92
- declare const AvlTrait: React__default.FC<AvlTraitProps>;
93
-
94
- interface AvlPageProps extends AvlBaseProps {
95
- size?: number;
96
- label?: string;
97
- }
98
- declare const AvlPage: React__default.FC<AvlPageProps>;
99
-
100
- interface AvlApplicationProps extends AvlBaseProps {
101
- width?: number;
102
- height?: number;
103
- label?: string;
104
- }
105
- declare const AvlApplication: React__default.FC<AvlApplicationProps>;
106
-
107
- interface AvlStateProps extends AvlBaseProps {
108
- name?: string;
109
- isInitial?: boolean;
110
- isTerminal?: boolean;
111
- width?: number;
112
- height?: number;
113
- /** V2: Role-based fill color. When set, overrides monochrome rendering. */
114
- role?: StateRole;
115
- /** V2: Number of transitions touching this state. Drives proportional width. */
116
- transitionCount?: number;
117
- }
118
- declare const AvlState: React__default.FC<AvlStateProps>;
119
-
120
- interface AvlTransitionProps {
121
- x1: number;
122
- y1: number;
123
- x2: number;
124
- y2: number;
125
- curved?: boolean;
126
- /** Center point to curve away from (curves outward if provided). */
127
- curveAwayFrom?: {
128
- x: number;
129
- y: number;
130
- };
131
- label?: string;
132
- color?: string;
133
- opacity?: number;
134
- className?: string;
135
- }
136
- declare const AvlTransition: React__default.FC<AvlTransitionProps>;
137
-
138
- interface AvlEventProps extends AvlBaseProps {
139
- size?: number;
140
- label?: string;
141
- }
142
- declare const AvlEvent: React__default.FC<AvlEventProps>;
143
-
144
- interface AvlGuardProps extends AvlBaseProps {
145
- size?: number;
146
- label?: string;
147
- }
148
- declare const AvlGuard: React__default.FC<AvlGuardProps>;
149
-
150
- interface AvlEffectProps extends AvlBaseProps {
151
- effectType: AvlEffectType;
152
- size?: number;
153
- label?: string;
154
- /** V2: Render a category-colored background circle behind the icon. */
155
- showBackground?: boolean;
156
- }
157
- declare const AvlEffect: React__default.FC<AvlEffectProps>;
158
-
159
- interface AvlFieldProps extends AvlBaseProps {
160
- /** Angle in radians from entity center. */
161
- angle?: number;
162
- length?: number;
163
- required?: boolean;
164
- label?: string;
165
- }
166
- declare const AvlField: React__default.FC<AvlFieldProps>;
167
-
168
- interface AvlFieldTypeProps extends AvlBaseProps {
169
- kind: AvlFieldTypeKind;
170
- size?: number;
171
- label?: string;
172
- }
173
- declare const AvlFieldType: React__default.FC<AvlFieldTypeProps>;
174
-
175
- interface AvlBindingProps {
176
- x1: number;
177
- y1: number;
178
- x2: number;
179
- y2: number;
180
- label?: string;
181
- color?: string;
182
- opacity?: number;
183
- className?: string;
184
- }
185
- declare const AvlBinding: React__default.FC<AvlBindingProps>;
186
-
187
- interface AvlPersistenceProps extends AvlBaseProps {
188
- kind: AvlPersistenceKind;
189
- size?: number;
190
- label?: string;
191
- }
192
- declare const AvlPersistence: React__default.FC<AvlPersistenceProps>;
193
-
194
- interface AvlOperatorProps extends AvlBaseProps {
195
- name: string;
196
- namespace?: AvlOperatorNamespace;
197
- size?: number;
198
- }
199
- declare const AvlOperator: React__default.FC<AvlOperatorProps>;
200
-
201
- interface AvlSExprProps extends AvlBaseProps {
202
- width?: number;
203
- height?: number;
204
- label?: string;
205
- }
206
- declare const AvlSExpr: React__default.FC<AvlSExprProps>;
207
-
208
- interface AvlLiteralProps extends AvlBaseProps {
209
- value: string;
210
- size?: number;
211
- }
212
- declare const AvlLiteral: React__default.FC<AvlLiteralProps>;
213
-
214
- interface AvlBindingRefProps extends AvlBaseProps {
215
- path: string;
216
- size?: number;
217
- }
218
- declare const AvlBindingRef: React__default.FC<AvlBindingRefProps>;
219
-
220
- interface AvlStateMachineState {
221
- name: string;
222
- isInitial?: boolean;
223
- isTerminal?: boolean;
224
- }
225
- interface AvlStateMachineTransition {
226
- from: string;
227
- to: string;
228
- event?: string;
229
- guard?: string;
230
- effects?: AvlEffectType[];
231
- }
232
- interface AvlStateMachineProps {
233
- states: AvlStateMachineState[];
234
- transitions: AvlStateMachineTransition[];
235
- className?: string;
236
- color?: string;
237
- animated?: boolean;
238
- }
239
- declare const AvlStateMachine: React__default.FC<AvlStateMachineProps>;
240
-
241
- interface AvlOrbitalUnitTrait {
242
- name: string;
243
- color?: string;
244
- }
245
- interface AvlOrbitalUnitPage {
246
- name: string;
247
- }
248
- interface AvlOrbitalUnitProps {
249
- entityName: string;
250
- fields?: number;
251
- persistence?: AvlPersistenceKind;
252
- traits: AvlOrbitalUnitTrait[];
253
- pages: AvlOrbitalUnitPage[];
254
- className?: string;
255
- color?: string;
256
- animated?: boolean;
257
- }
258
- declare const AvlOrbitalUnit: React__default.FC<AvlOrbitalUnitProps>;
259
-
260
- interface AvlClosedCircuitState {
261
- name: string;
262
- }
263
- interface AvlClosedCircuitTransition {
264
- from: string;
265
- to: string;
266
- event?: string;
267
- guard?: string;
268
- effects?: AvlEffectType[];
269
- }
270
- interface AvlClosedCircuitProps {
271
- states: AvlClosedCircuitState[];
272
- transitions: AvlClosedCircuitTransition[];
273
- className?: string;
274
- color?: string;
275
- animated?: boolean;
276
- }
277
- declare const AvlClosedCircuit: React__default.FC<AvlClosedCircuitProps>;
278
-
279
- interface AvlEmitListenProps {
280
- emitter: {
281
- name: string;
282
- fields?: number;
283
- };
284
- listener: {
285
- name: string;
286
- fields?: number;
287
- };
288
- eventName?: string;
289
- className?: string;
290
- color?: string;
291
- animated?: boolean;
292
- }
293
- declare const AvlEmitListen: React__default.FC<AvlEmitListenProps>;
294
-
295
- interface AvlSlotMapSlot {
296
- name: string;
297
- /** Manual position overrides. Omit for auto-layout. */
298
- x?: number;
299
- y?: number;
300
- width?: number;
301
- height?: number;
302
- }
303
- interface AvlSlotMapProps {
304
- slots: AvlSlotMapSlot[];
305
- pageWidth?: number;
306
- pageHeight?: number;
307
- className?: string;
308
- color?: string;
309
- animated?: boolean;
310
- }
311
- declare const AvlSlotMap: React__default.FC<AvlSlotMapProps>;
312
-
313
- interface AvlExprTreeNode {
314
- label: string;
315
- type: 'operator' | 'literal' | 'binding';
316
- children?: AvlExprTreeNode[];
317
- }
318
- interface AvlExprTreeProps {
319
- expression: AvlExprTreeNode;
320
- className?: string;
321
- color?: string;
322
- animated?: boolean;
323
- }
324
- declare const AvlExprTree: React__default.FC<AvlExprTreeProps>;
325
-
326
- interface AvlTransitionLaneEffect {
327
- type: AvlEffectType | string;
328
- }
329
- interface AvlTransitionLaneProps {
330
- event: string;
331
- guard?: string;
332
- effects: AvlTransitionLaneEffect[];
333
- width: number;
334
- x?: number;
335
- y?: number;
336
- isBackward?: boolean;
337
- isSelfLoop?: boolean;
338
- color?: string;
339
- onTransitionClick?: () => void;
340
- }
341
- declare const AvlTransitionLane: React__default.FC<AvlTransitionLaneProps>;
342
-
343
- interface AvlSwimLaneProps {
344
- listenedEvents: string[];
345
- emittedEvents: string[];
346
- centerWidth: number;
347
- height: number;
348
- color?: string;
349
- children: React__default.ReactNode;
350
- }
351
- declare const AvlSwimLane: React__default.FC<AvlSwimLaneProps>;
352
-
353
- /**
354
- * AvlBehaviorGlyph - Visual identity for a behavior.
355
- *
356
- * Generates a unique glyph from behavior properties:
357
- * - Core shape = persistence type
358
- * - Spokes = field count
359
- * - Rings = state count
360
- * - Markers = effect types used
361
- * - Color = domain hue
362
- * - Composition = child glyphs + event wiring (molecule/organism)
363
- */
364
-
365
- declare const DOMAIN_COLORS: Record<string, string>;
366
- type BehaviorLevel = 'atom' | 'molecule' | 'organism';
367
- type GlyphSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
368
- interface BehaviorGlyphChild {
369
- name: string;
370
- fieldCount?: number;
371
- stateCount?: number;
372
- persistence?: AvlPersistenceKind;
373
- effectTypes?: AvlEffectType[];
374
- }
375
- interface BehaviorGlyphConnection {
376
- from: string;
377
- to: string;
378
- event: string;
379
- }
380
- interface AvlBehaviorGlyphProps {
381
- /** Behavior name */
382
- name: string;
383
- /** Composition level */
384
- level?: BehaviorLevel;
385
- /** Domain for color coding */
386
- domain?: string;
387
- /** Override color (otherwise derived from domain) */
388
- color?: string;
389
- /** Entity field count (drives spoke count) */
390
- fieldCount?: number;
391
- /** State count (drives ring count) */
392
- stateCount?: number;
393
- /** Persistence type (drives core shape) */
394
- persistence?: AvlPersistenceKind;
395
- /** Effect types used (drives markers on rings) */
396
- effectTypes?: AvlEffectType[];
397
- /** Child behaviors for molecule/organism composition */
398
- children?: BehaviorGlyphChild[];
399
- /** Event connections between children (organism level) */
400
- connections?: BehaviorGlyphConnection[];
401
- /** Size preset */
402
- size?: GlyphSize;
403
- /** Show text labels */
404
- showLabels?: boolean;
405
- /** Animate orbital rings */
406
- animated?: boolean;
407
- /** Additional className */
408
- className?: string;
409
- /** Click handler */
410
- onClick?: () => void;
411
- }
412
- declare const AvlBehaviorGlyph: React__default.FC<AvlBehaviorGlyphProps>;
413
-
414
- /**
415
- * AVL layout utilities for positioning atoms in composed diagrams.
416
- */
417
- /** Distribute N points evenly around a ring.
418
- * Handles edge cases: 1 state (centered), 2 states (horizontal). */
419
- declare function ringPositions(cx: number, cy: number, r: number, count: number, startAngle?: number): Array<{
420
- x: number;
421
- y: number;
422
- angle: number;
423
- }>;
424
- /** Create an SVG arc path between two angles on a circle. */
425
- declare function arcPath(cx: number, cy: number, r: number, startAngle: number, endAngle: number): string;
426
- /** Distribute N points radially from a center. */
427
- declare function radialPositions(cx: number, cy: number, innerR: number, outerR: number, count: number, startAngle?: number): Array<{
428
- x1: number;
429
- y1: number;
430
- x2: number;
431
- y2: number;
432
- angle: number;
433
- }>;
434
- /** Simple grid layout: position items in columns and rows. */
435
- declare function gridPositions(startX: number, startY: number, cols: number, cellWidth: number, cellHeight: number, count: number): Array<{
436
- x: number;
437
- y: number;
438
- col: number;
439
- row: number;
440
- }>;
441
- /** Compute a quadratic bezier control point offset perpendicular to the line. */
442
- declare function curveControlPoint(x1: number, y1: number, x2: number, y2: number, offset: number): {
443
- cpx: number;
444
- cpy: number;
445
- };
446
-
447
- /**
448
- * AVL Schema Parser
449
- *
450
- * Pure functions that transform an OrbitalSchema into structured data
451
- * for each zoom level of the Cosmic Zoom visualization.
452
- *
453
- * Imports all types from @almadar/core.
454
- *
455
- * @packageDocumentation
456
- */
457
-
458
- interface SerializedEffect extends JsonObject {
459
- type: string;
460
- args: JsonValue[];
461
- }
462
- interface ApplicationOrbitalData {
463
- name: string;
464
- entityName: string;
465
- fieldCount: number;
466
- persistence: string;
467
- traitNames: string[];
468
- pageNames: string[];
469
- position: {
470
- x: number;
471
- y: number;
472
- };
473
- }
474
- interface CrossLink {
475
- emitterOrbital: string;
476
- listenerOrbital: string;
477
- eventName: string;
478
- emitterTrait: string;
479
- listenerTrait: string;
480
- }
481
- interface ApplicationLevelData {
482
- orbitals: ApplicationOrbitalData[];
483
- crossLinks: CrossLink[];
484
- }
485
- interface FieldInfo extends JsonObject {
486
- name: string;
487
- type: string;
488
- required: boolean;
489
- hasDefault: boolean;
490
- }
491
- interface OrbitalTraitInfo extends JsonObject {
492
- name: string;
493
- stateCount: number;
494
- eventCount: number;
495
- transitionCount: number;
496
- emits: string[];
497
- listens: string[];
498
- }
499
- interface OrbitalPageInfo extends JsonObject {
500
- name: string;
501
- route: string;
502
- }
503
- interface ExternalLink extends JsonObject {
504
- targetOrbital: string;
505
- eventName: string;
506
- direction: string;
507
- traitName: string;
508
- }
509
- interface OrbitalLevelData {
510
- name: string;
511
- entity: {
512
- name: string;
513
- fields: FieldInfo[];
514
- persistence: string;
515
- };
516
- traits: OrbitalTraitInfo[];
517
- pages: OrbitalPageInfo[];
518
- externalLinks: ExternalLink[];
519
- }
520
- interface TraitStateInfo extends JsonObject {
521
- name: string;
522
- isInitial: boolean | null;
523
- isTerminal: boolean | null;
524
- }
525
- interface TraitTransitionInfo extends JsonObject {
526
- from: string;
527
- to: string;
528
- event: string;
529
- guard: JsonValue | null;
530
- effects: SerializedEffect[];
531
- index: number;
532
- }
533
- interface TraitLevelData extends JsonObject {
534
- name: string;
535
- linkedEntity: string;
536
- states: TraitStateInfo[];
537
- transitions: TraitTransitionInfo[];
538
- emittedEvents: string[];
539
- listenedEvents: string[];
540
- }
541
- interface ExprTreeNode {
542
- label: string;
543
- type: 'operator' | 'literal' | 'binding';
544
- children?: ExprTreeNode[];
545
- }
546
- interface SlotTarget {
547
- name: string;
548
- pattern: string;
549
- }
550
- interface TransitionLevelData {
551
- from: string;
552
- to: string;
553
- event: string;
554
- guard: ExprTreeNode | null;
555
- effects: ExprTreeNode[];
556
- slotTargets: SlotTarget[];
557
- }
558
- /**
559
- * Parse the application-level view: all orbitals with cross-orbital links.
560
- */
561
- declare function parseApplicationLevel(schema: OrbitalSchema): ApplicationLevelData;
562
- /**
563
- * Parse a single orbital's detail view.
564
- */
565
- declare function parseOrbitalLevel(schema: OrbitalSchema, orbitalName: string): OrbitalLevelData | null;
566
- /**
567
- * Parse a trait's state machine for the detail view.
568
- */
569
- declare function parseTraitLevel(schema: OrbitalSchema, orbitalName: string, traitName: string): TraitLevelData | null;
570
- /**
571
- * Parse a single transition for the detail view.
572
- */
573
- declare function parseTransitionLevel(schema: OrbitalSchema, orbitalName: string, traitName: string, transitionIndex: number): TransitionLevelData | null;
574
-
575
- /**
576
- * AVL Canvas Types
577
- *
578
- * Types for the unified AVL + Flow canvas. These define the data shapes
579
- * for React Flow nodes and edges that render AVL primitives.
580
- */
581
-
582
- /** The four zoom bands of the unified AVL canvas. */
583
- type ZoomBand = 'system' | 'module' | 'behavior' | 'detail';
584
- /** Thresholds for zoom band transitions (React Flow viewport zoom). */
585
- declare const ZOOM_BAND_THRESHOLDS: {
586
- readonly system: readonly [0.1, 0.4];
587
- readonly module: readonly [0.4, 1];
588
- readonly behavior: readonly [1, 2.5];
589
- readonly detail: readonly [2.5, 5];
590
- };
591
- /** Data carried by every orbital node in the unified canvas. */
592
- interface AvlNodeData extends JsonObject {
593
- orbitalName: string;
594
- entityName: string;
595
- persistence: string;
596
- fields: FieldInfo[];
597
- traits: OrbitalTraitInfo[];
598
- pages: OrbitalPageInfo[];
599
- traitDetails: {
600
- [k: string]: TraitLevelData;
601
- };
602
- externalLinks: ExternalLink[];
603
- }
604
- /** Data carried by edges in the unified canvas. */
605
- interface AvlEdgeData extends JsonObject {
606
- edgeKind: string;
607
- event: string | null;
608
- fromTrait: string | null;
609
- toTrait: string | null;
610
- }
611
-
612
- /** Determine which zoom band the current viewport zoom falls into. */
613
- declare function computeZoomBand(zoom: number): ZoomBand;
614
- /**
615
- * Compute progress (0..1) within a zoom band.
616
- * Useful for crossfade transitions between bands.
617
- */
618
- declare function zoomProgress(zoom: number, band: ZoomBand): number;
619
- /** Context providing the current zoom band to all node components. */
620
- declare const ZoomBandContext: React.Context<ZoomBand>;
621
- /** Hook to read the current zoom band. */
622
- declare function useZoomBand(): ZoomBand;
623
-
624
- /**
625
- * AVL Flow Converter
626
- *
627
- * Converts an OrbitalSchema into React Flow nodes and edges
628
- * for the unified AVL canvas. Reuses the existing AVL schema parser.
629
- */
630
-
631
- /**
632
- * Transform an OrbitalSchema into React Flow nodes and edges.
633
- * Pre-parses all orbital and trait details for responsive zoom.
634
- */
635
- declare function schemaToFlowGraph(schema: OrbitalSchema): {
636
- nodes: Node<AvlNodeData>[];
637
- edges: Edge<AvlEdgeData>[];
638
- };
639
-
640
- /**
641
- * AVL ELK Layout
642
- *
643
- * Shared ELK-based layout engine for state machines. Extracted from
644
- * AvlTraitScene so both the V2 scene renderer and the V3 BehaviorView
645
- * can share the same layout computation.
646
- */
647
-
648
- interface LayoutNode {
649
- id: string;
650
- x: number;
651
- y: number;
652
- width: number;
653
- height: number;
654
- isInitial?: boolean;
655
- isTerminal?: boolean;
656
- role: StateRole;
657
- transitionCount: number;
658
- }
659
- interface LayoutEdge {
660
- id: string;
661
- from: string;
662
- to: string;
663
- event: string;
664
- effects: Array<{
665
- type: string;
666
- }>;
667
- guard: boolean;
668
- guardExpr?: string;
669
- index: number;
670
- labelX: number;
671
- labelY: number;
672
- labelW: number;
673
- labelH: number;
674
- points: Array<{
675
- x: number;
676
- y: number;
677
- }>;
678
- isSelf: boolean;
679
- isBackward: boolean;
680
- }
681
- interface ElkLayout {
682
- nodes: LayoutNode[];
683
- edges: LayoutEdge[];
684
- width: number;
685
- height: number;
686
- }
687
- declare function computeTraitLayout(data: TraitLevelData): Promise<ElkLayout>;
688
- declare function edgePath(points: Array<{
689
- x: number;
690
- y: number;
691
- }>): string;
692
-
693
- /**
694
- * SystemNode — Compact orbital node for the system zoom band (0.1x-0.4x).
695
- *
696
- * Renders miniature AVL primitives: entity glyph, field-type dots,
697
- * state chain (role-colored dots), and page squares.
698
- */
699
-
700
- interface SystemNodeProps {
701
- data: AvlNodeData;
702
- }
703
- declare const SystemNode: React__default.FC<SystemNodeProps>;
704
-
705
- /**
706
- * MiniStateMachine — Inline simplified state machine for the ModuleCard.
707
- *
708
- * Renders a compact left-to-right flow of AvlState nodes connected
709
- * by AvlTransition arrows, with AvlEffect icons below.
710
- * No ELK layout needed — uses simple horizontal positioning.
711
- */
712
-
713
- interface MiniStateMachineProps {
714
- data: TraitLevelData;
715
- className?: string;
716
- }
717
- declare const MiniStateMachine: React__default.FC<MiniStateMachineProps>;
718
-
719
- /**
720
- * ModuleCard — Structured card for the module zoom band (0.4x-1.0x).
721
- *
722
- * Renders AVL primitives inside a card container:
723
- * - Entity section: AvlEntity glyph + AvlPersistence + AvlFieldType grid
724
- * - Trait sections: MiniStateMachine per trait + AvlEffect icons + emit/listen indicators
725
- * - Pages section: AvlPage squares with route labels
726
- */
727
-
728
- interface ModuleCardProps {
729
- data: AvlNodeData;
730
- }
731
- /**
732
- * Self-contained ModuleCard. The connection `<Handle>`s need the ReactFlow store,
733
- * so standalone they'd throw ("no zustand provider as an ancestor"). When this
734
- * card isn't already a flow node (`useNodeId() === null`) it bundles its own
735
- * `<ReactFlowProvider>` so it renders anywhere; inside `<FlowCanvas>` it's a real
736
- * node and renders raw (no nested provider). The provider is an implementation
737
- * detail, never a precondition for using the component.
738
- */
739
- declare const ModuleCard: React__default.FC<ModuleCardProps>;
740
-
741
- /**
742
- * BehaviorView — Full state machine for the behavior zoom band (1.0x-2.5x).
743
- *
744
- * Uses ELK layout from avl-elk-layout.ts. Renders AvlState, AvlTransitionLane,
745
- * and AvlSwimLane inside an inline SVG within a React Flow node.
746
- */
747
-
748
- interface BehaviorViewProps {
749
- data: AvlNodeData;
750
- }
751
- declare const BehaviorView: React__default.FC<BehaviorViewProps>;
752
-
753
- /**
754
- * DetailView — Transition specification card for the detail zoom band (2.5x-5.0x).
755
- *
756
- * Renders a spec card with: from/to AvlState nodes, AvlEvent trigger,
757
- * AvlGuard diamond, numbered AvlEffect icons with binding paths,
758
- * and AvlFieldType shapes.
759
- */
760
-
761
- interface DetailViewProps {
762
- data: AvlNodeData;
763
- }
764
- declare const DetailView: React__default.FC<DetailViewProps>;
765
-
766
- /**
767
- * AvlOrbitalNode — Single React Flow node type for the unified AVL canvas.
768
- *
769
- * Reads the current ZoomBand from context and renders the appropriate
770
- * sub-component: SystemNode, ModuleCard, BehaviorView, or DetailView.
771
- *
772
- * Using a single node type (instead of switching types per zoom band)
773
- * prevents React from unmounting/remounting nodes on zoom changes.
774
- */
775
-
776
- declare const AvlOrbitalNode: React__default.FC<NodeProps>;
777
-
778
- /**
779
- * AvlTransitionEdge — React Flow edge for state machine transitions.
780
- *
781
- * Bezier path with event label at midpoint. Guard diamond and effect
782
- * dot indicators shown inline. Forward transitions are solid dark,
783
- * backward transitions are dashed lighter.
784
- */
785
-
786
- interface AvlTransitionEdgeData {
787
- [key: string]: string | boolean | undefined;
788
- event: string;
789
- hasGuard?: boolean;
790
- hasEffects?: boolean;
791
- }
792
- type AvlTransitionFlowEdge = Edge<AvlTransitionEdgeData, 'transition'>;
793
- declare const AvlTransitionEdge: React__default.FC<EdgeProps<AvlTransitionFlowEdge>>;
794
-
795
- /**
796
- * AvlEventWireEdge — React Flow edge for emit/listen event wiring.
797
- *
798
- * Dashed orange Bezier path with event name label at midpoint.
799
- * Uses AVL CONNECTION_COLORS.emitListen styling.
800
- */
801
-
802
- interface AvlEventWireEdgeData {
803
- [key: string]: string | boolean | undefined;
804
- event: string;
805
- compatible?: boolean;
806
- }
807
- type AvlEventWireFlowEdge = Edge<AvlEventWireEdgeData, 'eventWire'>;
808
- declare const AvlEventWireEdge: React__default.FC<EdgeProps<AvlEventWireFlowEdge>>;
809
-
810
- /**
811
- * AvlBackwardEdge — Dashed backward/retry transition edge.
812
- *
813
- * Uses CONNECTION_COLORS.backward styling: dashed, lighter color.
814
- */
815
-
816
- declare const AvlBackwardEdge: React__default.FC<EdgeProps>;
817
-
818
- /**
819
- * AvlPageEdge — Thin solid page-reference edge.
820
- *
821
- * Slate colored, 1px, used for page-to-trait references.
822
- */
823
-
824
- declare const AvlPageEdge: React__default.FC<EdgeProps>;
825
-
826
- /**
827
- * AvlBindingEdge — Dotted violet binding edge with @ marker.
828
- *
829
- * Used for data binding connections. Dotted line at 1px with
830
- * a small @ label at the midpoint.
831
- */
832
-
833
- declare const AvlBindingEdge: React__default.FC<EdgeProps>;
834
-
835
- /**
836
- * AVL Preview Types
837
- *
838
- * Types for the V3 FlowCanvas: UI projection mode.
839
- * Nodes show rendered UI thumbnails, edges show events.
840
- * Two levels: overview (one node per orbital) and expanded (one node per UI state).
841
- *
842
- * Uses @almadar/core types for schema-level constructs.
843
- */
844
-
845
- /**
846
- * The navigation levels of the FlowCanvas.
847
- *
848
- * - `overview` (L1) — one card per orbital, showing the orbital's composed
849
- * render-ui at INIT.
850
- * - `expanded` (L2) — one card per organism-authored transition + one
851
- * grouped card per imported-behavior alias.
852
- * - `behavior-expanded` (L3) — drilled into a single imported behavior at
853
- * L2: one card per transition of THAT behavior. Used to inspect what an
854
- * import contributes without leaving the canvas.
855
- * - `trait-expanded` — one card per trait of a single orbital, connected
856
- * by intra-orbital `emits → listens` edges. Used by the cosmic tab to
857
- * render the trait-level circuit when the user drills into an orbital
858
- * from the L1 grid. Not used by the canvas tab today.
859
- */
860
- type ViewLevel = 'overview' | 'expanded' | 'behavior-expanded' | 'trait-expanded';
861
- /**
862
- * Screen size preset for OrbPreview rendering inside nodes.
863
- *
864
- * Aligned with the four-breakpoint responsiveness audit:
865
- * mobile — phone portrait (≤640px)
866
- * tablet — iPad / small landscape (641–1024px)
867
- * laptop — 13–15" notebook (1025–1440px)
868
- * wide — desktop / monitor (≥1441px)
869
- *
870
- * Preset widths are representative viewport widths within each range; the
871
- * preview renders at exactly this width so the embedded UI experiences
872
- * the same media-query / container-query behavior it would at the real
873
- * viewport. `minHeight` only floors the preview frame; vertical sizing is
874
- * content-driven (BrowserPlayground height="auto").
875
- */
876
- type ScreenSize = 'mobile' | 'tablet' | 'laptop' | 'wide';
877
- /**
878
- * An interactive element inside a render-ui pattern that fires an event.
879
- * For example, a button with `event: "CHECKOUT"` is an event source.
880
- * These are used to draw edges from the specific trigger element to the
881
- * target screen, making the prototype flow concrete.
882
- */
883
- interface PatternEventSource {
884
- /** The event name fired by this element (e.g., "CHECKOUT"). */
885
- event: string;
886
- /** The pattern type of the trigger element (e.g., "button", "link", "icon-button"). */
887
- patternType: string;
888
- /** Human label if available (e.g., "Checkout", "Submit"). */
889
- label?: string;
890
- /**
891
- * Path within the pattern tree (e.g., "children.2" means third child).
892
- * Used to position the handle near the trigger element.
893
- */
894
- path: string;
895
- /** Vertical position hint (0..1) for handle placement on the node. */
896
- positionHint: number;
897
- /** Typed payload fields if this event carries data. */
898
- payloadFields?: Array<{
899
- name: string;
900
- type: string;
901
- required?: boolean;
902
- }>;
903
- }
904
- /** A slot + pattern config pair extracted from a render-ui effect. */
905
- interface RenderUIEntry {
906
- slot: UISlot | string;
907
- pattern: AnyPatternConfig;
908
- }
909
- /** Data for a preview node (used at both overview and expanded levels). */
910
- interface PreviewNodeData {
911
- [key: string]: string | number | boolean | string[] | Expression | null | RenderUIEntry[] | PatternEventSource[] | Array<{
912
- event: string;
913
- fromState: string;
914
- toState: string;
915
- }> | OrbitalSchema | EntityData | undefined;
916
- /** Orbital this node belongs to. */
917
- orbitalName: string;
918
- /** Trait name (only at expanded level). */
919
- traitName?: string;
920
- /** State name after this transition fires (expanded level). */
921
- stateName?: string;
922
- /** Event that triggers this transition (expanded level). */
923
- transitionEvent?: string;
924
- /** From state (expanded level). */
925
- fromState?: string;
926
- /** To state (expanded level). */
927
- toState?: string;
928
- /**
929
- * Render-ui patterns extracted from the transition's effects.
930
- * Each entry is a slot + pattern config pair.
931
- */
932
- patterns: RenderUIEntry[];
933
- /**
934
- * Interactive elements within the patterns that fire events.
935
- * Each one becomes a source handle on the node, allowing edges
936
- * to connect from the specific button/link to the target screen.
937
- */
938
- eventSources: PatternEventSource[];
939
- /** Behavior layer for visual indicator (color band). */
940
- layer?: string;
941
- /** State role for visual indicator. */
942
- stateRole?: 'initial' | 'terminal' | 'hub' | 'error' | 'default';
943
- /** All effect types on this transition (for overlay). */
944
- effectTypes?: string[];
945
- /** Guard expression (for overlay). */
946
- guard?: Expression | null;
947
- entityName?: string;
948
- persistence?: string;
949
- fieldCount?: number;
950
- traitCount?: number;
951
- pageRoutes?: string[];
952
- /**
953
- * Generation status for this orbital. When `'running'`, the overview node
954
- * renders a spinner overlay + accent border so the user can see which
955
- * orbital the coordinator is currently dispatching to. Other states are
956
- * available so consumers can also paint success/error treatments
957
- * (e.g. green border on completion, red on failure). Default is `'idle'`.
958
- *
959
- * Set by FlowCanvasProps.orbitalStatus and threaded through the converter.
960
- * Future expansion: hover over a `'running'` node to surface the subagent
961
- * trace inline.
962
- */
963
- status?: 'idle' | 'running' | 'success' | 'error';
964
- /**
965
- * The `OrbitalSchema.name` this node was derived from. The reserved value
966
- * `'__design_system__'` identifies nodes belonging to the Design System
967
- * tab's synthesized catalog schema, so downstream event handlers can route
968
- * mutation events to the project theme manifest instead of the project's
969
- * orbital schema. Unset for project orbitals — handlers treat absence as
970
- * "project schema".
971
- */
972
- sourceSchemaName?: string;
973
- /**
974
- * Set when this L2 card represents a grouped imported-behavior bucket
975
- * (one card per `uses[]` alias instead of one per transition). The alias
976
- * comes from `Trait.sourceBehavior.alias` populated by the inline phase.
977
- * Double-clicking such a card drills into L3 (`behavior-expanded`) to
978
- * see that alias's transitions.
979
- *
980
- * Absent on organism-authored transition cards and L1 overview cards.
981
- */
982
- behaviorAlias?: string;
983
- /**
984
- * Human-readable behavior name for a grouped imported-behavior card
985
- * (e.g. `'std/behaviors/std-stat-card'`). Comes from
986
- * `Trait.sourceBehavior.behavior`. Renderer surfaces it as a label.
987
- */
988
- behaviorName?: string;
989
- /**
990
- * How many transitions are collapsed into this grouped imported-behavior
991
- * card. Renderer can surface it as a "+N screens" badge.
992
- */
993
- transitionCount?: number;
994
- /**
995
- * Discriminator for the node variant. Absent on overview/expanded/
996
- * behavior-expanded cards (those use field-presence-based discrimination
997
- * via `behaviorAlias`/`transitionEvent`). Set to `'trait-card'` for nodes
998
- * produced by `orbitalToTraitGraph` so renderers can branch cleanly.
999
- */
1000
- kind?: 'trait-card';
1001
- /**
1002
- * Trait-card transitions (`kind === 'trait-card'` only). One row per
1003
- * transition; each row is clickable and drills to L4 transition detail
1004
- * in cosmic. `event` is the trigger; `fromState` / `toState` mirror the
1005
- * underlying state-machine edge.
1006
- */
1007
- transitions?: Array<{
1008
- event: string;
1009
- fromState: string;
1010
- toState: string;
1011
- }>;
1012
- /**
1013
- * Trait-card `emits` event names (`kind === 'trait-card'` only). One
1014
- * source handle per entry on the right edge of the card. Drives the
1015
- * outgoing wire endpoints in `orbitalToTraitGraph`.
1016
- */
1017
- emits?: string[];
1018
- /**
1019
- * Trait-card `listens` event names (`kind === 'trait-card'` only). One
1020
- * target handle per entry on the left edge of the card. Drives the
1021
- * incoming wire endpoints in `orbitalToTraitGraph`.
1022
- */
1023
- listens?: string[];
1024
- /**
1025
- * Trait-card `linkedEntity` (`kind === 'trait-card'` only). Surfaced as a
1026
- * subtitle/badge next to the trait name so users can see what entity the
1027
- * trait operates on. Mirrors `Trait.linkedEntity` from the resolved schema.
1028
- */
1029
- linkedEntity?: string;
1030
- /** Full parsed schema threaded to node renderers (e.g. TraitCardNode). */
1031
- _fullSchema?: OrbitalSchema;
1032
- /** Mock entity data for the orbital preview. */
1033
- _mockData?: EntityData;
1034
- }
1035
- /** Data for event flow edges. */
1036
- interface EventEdgeData {
1037
- [key: string]: string | boolean | undefined;
1038
- /** The event name displayed on the edge. */
1039
- event: string;
1040
- /** Source state name (expanded level). */
1041
- fromState?: string;
1042
- /** Target state name (expanded level). */
1043
- toState?: string;
1044
- /** Whether this is a backward/retry transition. */
1045
- isBackward?: boolean;
1046
- /** Whether this is a cross-orbital event wire (overview level). */
1047
- isCrossOrbital?: boolean;
1048
- /** Source trait (for cross-orbital wires). */
1049
- fromTrait?: string;
1050
- /** Target trait (for cross-orbital wires). */
1051
- toTrait?: string;
1052
- /**
1053
- * The pattern type that triggers this event (e.g., "button").
1054
- * Displayed on the edge label for context.
1055
- */
1056
- triggerPatternType?: string;
1057
- /** The trigger element's label (e.g., "Checkout"). */
1058
- triggerLabel?: string;
1059
- }
1060
-
1061
- /**
1062
- * AVL Preview Converter
1063
- *
1064
- * Extracts render-ui pattern configs from OrbitalSchema transitions
1065
- * and builds React Flow graphs for the two FlowCanvas levels:
1066
- * - Overview: one node per orbital (INIT transition UI)
1067
- * - Expanded: one node per UI state within an orbital
1068
- *
1069
- * Key feature: detects interactive elements (buttons, links) inside
1070
- * patterns that fire events. These become per-element source handles
1071
- * so edges connect from the specific trigger element to the target screen.
1072
- *
1073
- * Uses @almadar/core types for schema-level constructs.
1074
- */
1075
-
1076
- /**
1077
- * Build a React Flow graph for the overview level.
1078
- * Each orbital gets one node showing its INIT transition's UI.
1079
- */
1080
- declare function schemaToOverviewGraph(schema: OrbitalSchema, mockData?: EntityData, behaviorMeta?: Record<string, {
1081
- layer: string;
1082
- }>, layoutHint?: 'pipeline' | 'grid', orbitalStatus?: Record<string, PreviewNodeData['status']>, screenSize?: ScreenSize): {
1083
- nodes: Node<PreviewNodeData>[];
1084
- edges: Edge<EventEdgeData>[];
1085
- };
1086
- /**
1087
- * Build a React Flow graph for the L2 (expanded) level.
1088
- *
1089
- * Organism-authored traits (no `sourceBehavior` metadata) emit one
1090
- * transition card per render-ui-bearing transition (the historical
1091
- * behavior). Imported traits (cloned by the inline phase from `uses[]`)
1092
- * collapse into one grouped card per `sourceBehavior.alias`, so the user
1093
- * sees `Stats`, `Graphs`, `Layout`, etc. as single cards rather than 9
1094
- * anonymous `INIT` peers (STUDIO-1). Drill into a grouped card to reach
1095
- * L3 (`orbitalAliasToExpandedGraph`).
1096
- */
1097
- declare function orbitalToExpandedGraph(schema: OrbitalSchema, orbitalName: string, mockData?: EntityData, screenSize?: ScreenSize): {
1098
- nodes: Node<PreviewNodeData>[];
1099
- edges: Edge<EventEdgeData>[];
1100
- };
1101
-
1102
- /**
1103
- * OrbPreviewNode
1104
- *
1105
- * React Flow node that renders a real OrbPreview inside it.
1106
- * The canvas is always live and editable (like Figma). Clicking any
1107
- * rendered UI element selects its pattern and shows props in the
1108
- * TransitionPanel. No edit mode toggle needed.
1109
- *
1110
- * The header is the drag handle for React Flow. The content area
1111
- * passes clicks through to the pattern elements.
1112
- */
1113
-
1114
- declare const OrbPreviewNode: React__default.NamedExoticComponent<NodeProps>;
1115
-
1116
- /**
1117
- * EventFlowEdge
1118
- *
1119
- * React Flow edge for the V3 FlowCanvas. Shows the event name and
1120
- * optionally the trigger element (button label) that fires it.
1121
- *
1122
- * When the edge originates from a specific event source handle,
1123
- * the label shows "Button Label \u2192 EVENT" to make the connection
1124
- * between UI element and transition clear.
1125
- */
1126
-
1127
- declare const EventFlowEdge: React__default.NamedExoticComponent<EdgeProps>;
1128
-
1129
- /**
1130
- * AVL Behavior Compose Types
1131
- *
1132
- * Types for behavior-level composition canvas.
1133
- * At this level, each node represents a BEHAVIOR (not an orbital).
1134
- * A behavior is a higher-level unit: atom (1 orbital), molecule (1 orbital
1135
- * with composed traits), or organism (multiple orbitals).
1136
- *
1137
- * Three navigation levels:
1138
- * Behavior (compose): One node per behavior showing AvlBehaviorGlyph
1139
- * Overview: One node per orbital showing live UI (OrbPreviewNode)
1140
- * Expanded: One node per UI state within an orbital (OrbPreviewNode)
1141
- */
1142
-
1143
- /** Serializable payload field — mirrors EventPayloadField from @almadar/core. */
1144
- interface SerializedPayloadField extends JsonObject {
1145
- name: string;
1146
- type: string;
1147
- required: boolean | null;
1148
- description: string | null;
1149
- }
1150
- /** Serializable behavior glyph child — mirrors BehaviorGlyphChild from AvlBehaviorGlyph. */
1151
- interface SerializedGlyphChild extends JsonObject {
1152
- name: string;
1153
- fieldCount: number | null;
1154
- stateCount: number | null;
1155
- persistence: string | null;
1156
- effectTypes: string[];
1157
- }
1158
- /** Serializable behavior glyph connection — mirrors BehaviorGlyphConnection from AvlBehaviorGlyph. */
1159
- interface SerializedGlyphConnection extends JsonObject {
1160
- from: string;
1161
- to: string;
1162
- event: string;
1163
- }
1164
- /** Extended view level adding 'behavior' to the existing overview/expanded. */
1165
- type ComposeViewLevel = 'behavior' | 'overview' | 'expanded';
1166
- /** An event that can be wired between behaviors. */
1167
- interface ConnectableEvent extends JsonObject {
1168
- /** Event name (e.g., "ADD_TO_CART"). */
1169
- event: string;
1170
- /** Typed payload fields if declared. */
1171
- payloadFields: SerializedPayloadField[] | null;
1172
- /** Vertical position hint (0..1) for handle placement on the node. */
1173
- positionHint: number;
1174
- }
1175
- /** Data for a BehaviorComposeNode in React Flow. */
1176
- interface BehaviorComposeNodeData extends JsonObject {
1177
- /** Behavior name from registry (e.g., "std-cart"). */
1178
- behaviorName: string;
1179
- /** Composition level: atom, molecule, organism. */
1180
- level: string;
1181
- /** Domain for color coding (e.g., "commerce"). */
1182
- domain: string | null;
1183
- /** Layer classification (e.g., "Domain", "UI Patterns"). */
1184
- layer: string | null;
1185
- /** Primary entity name (e.g., "CartItem"). */
1186
- entityName: string;
1187
- /** Number of states in the behavior. */
1188
- stateCount: number;
1189
- /** Number of entity fields. */
1190
- fieldCount: number | null;
1191
- /** Persistence kind. */
1192
- persistence: string | null;
1193
- /** Effect types used by this behavior. */
1194
- effectTypes: string[] | null;
1195
- /** Child behaviors for molecule/organism glyphs. */
1196
- children: SerializedGlyphChild[] | null;
1197
- /** Connections between children (for organism glyphs). */
1198
- connections: SerializedGlyphConnection[] | null;
1199
- /** Events this behavior can emit (source handles). */
1200
- connectableEvents: ConnectableEvent[];
1201
- /** Behaviors this is composable with (for palette hints). */
1202
- composableWith: string[] | null;
1203
- /** Names of orbitals produced by this behavior (for drill-down). */
1204
- orbitalNames: string[];
1205
- }
1206
- /** Edge data for behavior-level wiring. */
1207
- interface BehaviorWireEdgeData extends JsonObject {
1208
- /** The event name displayed on the edge. */
1209
- event: string;
1210
- /** Source behavior name. */
1211
- sourceBehavior: string;
1212
- /** Target behavior name. */
1213
- targetBehavior: string;
1214
- /** Typed payload fields if declared. */
1215
- payloadFields: SerializedPayloadField[] | null;
1216
- }
1217
- /** Mapping from behavior name to its metadata + produced orbitals. */
1218
- interface BehaviorCanvasEntry {
1219
- /** Behavior name (e.g., "std-cart"). */
1220
- behaviorName: string;
1221
- /** Composition level. */
1222
- level: BehaviorLevel;
1223
- /** Domain for color coding. */
1224
- domain?: string;
1225
- /** Layer classification. */
1226
- layer?: string;
1227
- /** Primary entity name. */
1228
- entityName: string;
1229
- /** Number of states. */
1230
- stateCount: number;
1231
- /** Number of entity fields. */
1232
- fieldCount?: number;
1233
- /** Persistence kind. */
1234
- persistence?: string;
1235
- /** Effect types used. */
1236
- effectTypes?: string[];
1237
- /** Child behaviors (molecule/organism). */
1238
- children?: SerializedGlyphChild[];
1239
- /** Connections between children (organism). */
1240
- connections?: SerializedGlyphConnection[];
1241
- /** Events available for wiring. */
1242
- connectableEvents: ConnectableEvent[];
1243
- /** Compatible behavior names. */
1244
- composableWith?: string[];
1245
- /** Orbital names produced by this behavior (for drill-down mapping). */
1246
- orbitalNames: string[];
1247
- }
1248
-
1249
- /**
1250
- * BehaviorComposeNode
1251
- *
1252
- * React Flow custom node for behavior-level composition.
1253
- * Shows AvlBehaviorGlyph instead of live UI (OrbPreview).
1254
- * Each behavior is one compact node with event handles for wiring.
1255
- *
1256
- * This is the compose-level node. Double-clicking drills into
1257
- * the orbital-level view (OrbPreviewNode).
1258
- */
1259
-
1260
- declare const BehaviorComposeNode: React__default.NamedExoticComponent<NodeProps>;
1261
-
1262
- /**
1263
- * AVL Behavior Compose Converter
1264
- *
1265
- * Converts BehaviorCanvasEntry[] to React Flow nodes and edges
1266
- * for the behavior-level composition canvas.
1267
- *
1268
- * Parallel to avl-preview-converter.ts which works at the orbital level.
1269
- * This works one level higher: each node is a behavior (not an orbital).
1270
- */
1271
-
1272
- /**
1273
- * Build a React Flow graph for behavior-level composition.
1274
- * Each behavior entry becomes one BehaviorComposeNode.
1275
- */
1276
- declare function behaviorsToComposeGraph(entries: BehaviorCanvasEntry[], wires: BehaviorWireEdgeData[], layoutHint?: 'pipeline' | 'grid'): {
1277
- nodes: Node<BehaviorComposeNodeData>[];
1278
- edges: Edge<BehaviorWireEdgeData>[];
1279
- };
1280
- /** Registry record shape (matches behaviors-registry.json entries). */
1281
- interface BehaviorRegistryRecord {
1282
- name: string;
1283
- level: 'atom' | 'molecule' | 'organism';
1284
- family: string;
1285
- layer: string;
1286
- description: string;
1287
- complexity: {
1288
- states: number;
1289
- events: number;
1290
- transitions: number;
1291
- };
1292
- defaultEntity: {
1293
- name: string;
1294
- persistence?: string;
1295
- fields: Array<{
1296
- name: string;
1297
- type: string;
1298
- required?: boolean;
1299
- }>;
1300
- };
1301
- connectableEvents: string[];
1302
- eventPayloads: {
1303
- [k: string]: Array<{
1304
- name: string;
1305
- type: string;
1306
- required?: boolean;
1307
- }>;
1308
- };
1309
- composableWith: string[];
1310
- }
1311
- /**
1312
- * Convert a registry entry to a BehaviorCanvasEntry.
1313
- * Maps connectableEvents + eventPayloads into typed ConnectableEvent[].
1314
- */
1315
- declare function registryEntryToCanvasEntry(entry: BehaviorRegistryRecord, orbitalNames: string[]): BehaviorCanvasEntry;
1316
-
1317
- /**
1318
- * Build an `EditFocus` from a clicked element's `data-orb-*` address (stamped by
1319
- * UISlotRenderer). The owning orbital is read from the DOM (`data-orb-orbital`,
1320
- * walking up via `closest` when the clicked node itself doesn't carry it); since
1321
- * `EditFocus.orbital` is required, returns `null` when it can't be resolved.
1322
- */
1323
- declare function deriveEditFocusFromElement(el: HTMLElement): EditFocus | null;
1324
-
1325
- /**
1326
- * useCanvasDnd — drag/drop primitives for the AVL canvas surface.
1327
- *
1328
- * Shares the sensor stack + collision waterfall with `useDataDnd` (both
1329
- * import from `hooks/useAlmadarDndCollision`); diverges on drop semantics
1330
- * because palette → canvas is a cursor-resolved tree insert, not a
1331
- * sortable-list reorder.
1332
- *
1333
- * Pointer-sensor based so it works inside React Flow nodes (the native
1334
- * HTML5 DnD path was swallowed by React Flow's pan/zoom handlers).
1335
- *
1336
- * Event contract (defaults — overridable via `CanvasDndProvider.onDrop`):
1337
- * - On drag start: emits `UI:DRAG_START` { kind, data }
1338
- * - On drag end: emits `UI:DRAG_END` { kind, data }
1339
- * - On 'pattern' drop: emits `UI:PATTERN_DROP` { patternType, containerNode, parentPath?, index? }
1340
- * - On 'behavior' drop: emits `UI:BEHAVIOR_DROP` { behaviorName, containerNode }
1341
- *
1342
- * The `onDrop` callback lets consumers route OTHER payload kinds (e.g.
1343
- * `'pattern-instance'` for in-canvas reorder of an existing pattern) to
1344
- * their own bus events or schema mutations. Reorder semantics belong in
1345
- * the consumer because they touch the SExpr tree directly — this primitive
1346
- * only resolves payload + target + cursor and hands them off.
1347
- */
1348
-
1349
- /**
1350
- * Drag kinds the canvas understands. Open-ended `string` so consumers can
1351
- * introduce new kinds (e.g. `'pattern-instance'` for in-canvas reorder of an
1352
- * existing pattern) without touching this file — the provider's defaults
1353
- * cover `'pattern'` and `'behavior'`; everything else routes through the
1354
- * consumer's `onDrop`.
1355
- */
1356
- type CanvasDragKind = 'pattern' | 'behavior' | (string & {});
1357
- /**
1358
- * Payload carried by a draggable. For `'pattern'` tiles `data` is
1359
- * `{ type: string }`, for `'behavior'` tiles `{ name: string }`. For consumer
1360
- * kinds (e.g. `'pattern-instance'`) the shape is whatever the consumer
1361
- * agrees on with its own `onDrop`.
1362
- */
1363
- interface CanvasDragPayload {
1364
- kind: CanvasDragKind;
1365
- data: EventPayload;
1366
- }
1367
- /**
1368
- * Orbital/trait/transition context a drop will mutate.
1369
- *
1370
- * Has an explicit `[key: string]: string | undefined` index signature so it
1371
- * structurally matches `EventPayload` — required because we pass the whole
1372
- * object as a field on the `UI:PATTERN_DROP` payload.
1373
- */
1374
- interface CanvasContainerNode {
1375
- orbitalName?: string;
1376
- traitName?: string;
1377
- transitionEvent?: string;
1378
- [key: string]: string | undefined;
1379
- }
1380
- /** Drop-target metadata stored on each droppable's `data` field. */
1381
- interface CanvasDropTarget {
1382
- /**
1383
- * `l1` = outer orbital frame (overview level).
1384
- * `l2` = render-ui slot inside an expanded orbital.
1385
- * `wrapper` = page-level catch-all fired when nothing inner caught the drop.
1386
- */
1387
- level: 'l1' | 'l2' | 'wrapper' | (string & {});
1388
- /** Full or partial container context this drop will mutate. */
1389
- containerNode: CanvasContainerNode;
1390
- /**
1391
- * Optional resolver called at drop time to derive `parentPath` + `index`
1392
- * from the pointer's final client position. L2 slots use this to walk the
1393
- * DOM under their `contentRef` and find the nearest `data-accepts-children`
1394
- * container plus the cursor-relative insertion index.
1395
- */
1396
- resolvePath?: (cursor: {
1397
- x: number;
1398
- y: number;
1399
- }) => {
1400
- parentPath: string;
1401
- index: number;
1402
- } | null;
1403
- }
1404
- interface CanvasDropEvent {
1405
- payload: CanvasDragPayload;
1406
- target: CanvasDropTarget;
1407
- /** Final pointer client position, when dnd-kit could compute it. */
1408
- cursor: {
1409
- x: number;
1410
- y: number;
1411
- } | null;
1412
- /**
1413
- * Resolved insertion path/index from `target.resolvePath(cursor)`. Null
1414
- * when the target has no resolver or the cursor was unavailable.
1415
- */
1416
- resolved: {
1417
- parentPath: string;
1418
- index: number;
1419
- } | null;
1420
- }
1421
- interface UseCanvasDraggableArgs {
1422
- /** Unique id (per-tile). dnd-kit uses this to track the active drag. */
1423
- id: string;
1424
- payload: CanvasDragPayload;
1425
- disabled?: boolean;
1426
- }
1427
- interface UseCanvasDraggableResult {
1428
- setNodeRef: (node: HTMLElement | null) => void;
1429
- attributes: ReturnType<typeof useDraggable>['attributes'];
1430
- listeners: ReturnType<typeof useDraggable>['listeners'];
1431
- isDragging: boolean;
1432
- /** Spread on the tile — live transform + grab cursor + touch-action. */
1433
- style: React__default.CSSProperties;
1434
- }
1435
- declare function useCanvasDraggable({ id, payload, disabled, }: UseCanvasDraggableArgs): UseCanvasDraggableResult;
1436
- interface UseCanvasDroppableArgs {
1437
- id: string;
1438
- target: CanvasDropTarget;
1439
- /** Which drag kinds this zone accepts. Defaults to ['pattern','behavior']. */
1440
- accepts?: readonly CanvasDragKind[];
1441
- disabled?: boolean;
1442
- }
1443
- interface UseCanvasDroppableResult {
1444
- setNodeRef: (node: HTMLElement | null) => void;
1445
- isOver: boolean;
1446
- }
1447
- declare function useCanvasDroppable({ id, target, accepts, disabled, }: UseCanvasDroppableArgs): UseCanvasDroppableResult;
1448
- interface CanvasDndProviderProps {
1449
- children: React__default.ReactNode;
1450
- /**
1451
- * Override the default drop behavior. The default emits `UI:PATTERN_DROP`
1452
- * / `UI:BEHAVIOR_DROP` based on payload kind. Pass an `onDrop` to route
1453
- * additional kinds (e.g. `'pattern-instance'` reorder) elsewhere, or to
1454
- * mutate schema directly without going through the bus.
1455
- *
1456
- * Return `true` from `onDrop` to suppress the default emit; return
1457
- * `false`/`undefined` to fall through to defaults after running your code.
1458
- */
1459
- onDrop?: (drop: CanvasDropEvent) => boolean | void;
1460
- /**
1461
- * Renders the floating preview that follows the cursor during a drag.
1462
- * @dnd-kit moves the source DOM node via CSS transform, which gets clipped
1463
- * by any ancestor with `overflow: hidden|auto|scroll` (e.g. a scrollable
1464
- * palette column). Returning a node here mounts a portal-attached overlay
1465
- * outside the clip so the user always sees what they're dragging.
1466
- *
1467
- * Receives the active payload (or null between drags) and returns the
1468
- * preview element — typically the same JSX the tile renders inline.
1469
- */
1470
- renderOverlay?: (payload: CanvasDragPayload | null) => React__default.ReactNode;
1471
- }
1472
- /**
1473
- * Wraps a canvas subtree in one DndContext + sensors + collision waterfall.
1474
- * Every `useCanvasDraggable` / `useCanvasDroppable` inside this provider
1475
- * participates in the same drag session.
1476
- */
1477
- declare function CanvasDndProvider({ children, onDrop, renderOverlay, }: CanvasDndProviderProps): React__default.ReactElement;
1478
-
1479
- /**
1480
- * OrbInspector
1481
- *
1482
- * Universal contextual inspector for .orb programs. Built into FlowCanvas.
1483
- * Two tabs: Inspector (contextual sections) and Code (.orb syntax view).
1484
- *
1485
- * Inspector shows different sections based on what was clicked:
1486
- * - Orbital header → entity fields, traits, pages
1487
- * - Pattern element → pattern props, entity (if entity-aware), transition (if fires event)
1488
- * - Transition node → state diagram, guard, effects, render-ui source
1489
- *
1490
- * Code tab shows the .orb representation of the selected context.
1491
- *
1492
- * When `editable` is true, inspector fields become inputs.
1493
- */
1494
-
1495
- interface OrbInspectorProps {
1496
- node: PreviewNodeData;
1497
- schema: OrbitalSchema;
1498
- editable?: boolean;
1499
- /**
1500
- * Studio persona viewing the inspector. Controls tab visibility (Code is
1501
- * architect-only, Styles is universal) and section visibility (Entity,
1502
- * raw guard, raw effects are architect-only). Default `'builder'` matches
1503
- * pre-Phase-2 behavior except for the new Styles tab, which every persona
1504
- * gets.
1505
- */
1506
- userType?: 'builder' | 'designer' | 'architect';
1507
- /**
1508
- * Project theme tokens (Design System tab only). When provided AND the
1509
- * selection originates from the synthesized `__design_system__` schema,
1510
- * the Styles tab renders an editable token-row list; edits emit
1511
- * `UI:PROP_CHANGE` with `propName: '__token__.<group>.<key>'` and the
1512
- * page-level dispatcher routes them to `themeManifest.setToken`.
1513
- */
1514
- themeManifest?: ThemeDefinition;
1515
- onSchemaChange?: (schema: OrbitalSchema) => void;
1516
- onClose: () => void;
1517
- }
1518
- declare function OrbInspector({ node, schema, editable, userType, themeManifest, onSchemaChange, onClose }: OrbInspectorProps): React__default.ReactElement;
1519
- declare namespace OrbInspector {
1520
- var displayName: string;
1521
- }
1522
-
1523
- /**
1524
- * FlowCanvas — V3 UI Projection Canvas
1525
- *
1526
- * The canvas IS the app. Nodes show rendered UI thumbnails from
1527
- * render-ui effects. Edges show events connecting screens.
1528
- *
1529
- * Two navigation levels:
1530
- * Level 1 (Overview): One node per orbital showing INIT UI
1531
- * Level 2 (Expanded): One node per UI state within an orbital
1532
- *
1533
- * Double-click to expand an orbital. Click a node for code callback.
1534
- * Escape to go back. AVL overlays on hover (future).
1535
- */
1536
-
1537
- interface FlowCanvasProps {
1538
- schema: OrbitalSchema | string;
1539
- mockData?: EntityData;
1540
- className?: string;
1541
- width?: number | string;
1542
- height?: number | string;
1543
- onNodeClick?: (context: {
1544
- level: ViewLevel | 'code' | 'transition';
1545
- orbital: string;
1546
- trait?: string;
1547
- transition?: string;
1548
- }) => void;
1549
- onLevelChange?: (level: ViewLevel, orbital?: string) => void;
1550
- /**
1551
- * GAP-52: fired when the user double-clicks an orbital. Consumers (e.g. the
1552
- * builder workspace) use this as the trigger to enter cosmic mode
1553
- * (`AvlOrbitalsCosmicZoom`) for the focused orbital.
1554
- *
1555
- * The level at which this fires is controlled by `cosmicEntryLevel` (default
1556
- * `'expanded'`). At `'expanded'` the existing overview→expanded drill is
1557
- * preserved — the callback fires only on the second double-click. At
1558
- * `'overview'` the callback fires on the FIRST double-click and the existing
1559
- * drill is suppressed for that interaction. `'both'` fires at either level.
1560
- *
1561
- * The callback runs unconditionally — persona / permission gating is the
1562
- * consumer's responsibility.
1563
- */
1564
- onOrbitalDoubleClick?: (orbital: string) => void;
1565
- /**
1566
- * GAP-53: which level the `onOrbitalDoubleClick` callback fires at.
1567
- * - `'expanded'` (default, non-breaking) — fires only at L2 expanded; the
1568
- * first overview double-click still drills overview→expanded.
1569
- * - `'overview'` — fires at L1 overview on the FIRST double-click. The
1570
- * overview→expanded drill is suppressed when the callback is provided.
1571
- * - `'both'` — fires at either level.
1572
- */
1573
- cosmicEntryLevel?: 'expanded' | 'overview' | 'both';
1574
- initialOrbital?: string;
1575
- /** Start at Level 2 (expanded) when initialOrbital is set. Default: 'overview'. */
1576
- initialLevel?: ViewLevel;
1577
- /** Pre-select a node on mount (opens OrbInspector). */
1578
- initialSelectedNode?: PreviewNodeData;
1579
- /** Enable editing in the inspector. When true, fields become inputs. */
1580
- editable?: boolean;
1581
- /** Called when the user edits the schema via the inspector. */
1582
- onSchemaChange?: (schema: OrbitalSchema) => void;
1583
- /** Called when the user presses Delete/Backspace with a pattern selected. */
1584
- onPatternDelete?: (context: {
1585
- patternId: string;
1586
- nodeData: PreviewNodeData;
1587
- }) => void;
1588
- /** Called when the user drags from a source handle to a target handle (event wiring). */
1589
- onEventWire?: (wire: {
1590
- eventName: string;
1591
- sourceOrbital: string;
1592
- targetOrbital: string;
1593
- sourceTraitName?: string;
1594
- targetTraitName?: string;
1595
- }) => void;
1596
- /** Behavior layer metadata for node styling (layer color bands). */
1597
- behaviorMeta?: Record<string, {
1598
- layer: string;
1599
- }>;
1600
- /**
1601
- * Per-orbital generation status. Keyed by orbital name. Drives the spinner
1602
- * + accent border treatment on the overview node and (future) the hover
1603
- * trace surface. Defaults to `'idle'` for missing entries. Consumers
1604
- * derive this from agent subagent_start/complete SSE events.
1605
- */
1606
- orbitalStatus?: Record<string, PreviewNodeData['status']>;
1607
- /**
1608
- * Hover handler for overview-level orbital nodes. Fires with the orbital
1609
- * name on enter and `null` on leave. Reserved for the upcoming trace
1610
- * tooltip: consumers will use it to anchor a popover that shows the
1611
- * subagent's live trace + reasoning for the hovered orbital.
1612
- */
1613
- onOrbitalHover?: (orbitalName: string | null) => void;
1614
- /** Layout hint: 'pipeline' renders nodes left-to-right, 'grid' (default) uses sqrt-based grid. */
1615
- layoutHint?: 'pipeline' | 'grid';
1616
- /** Called when the user clicks a node in overview level (for composition hints). */
1617
- onNodeSelect?: (orbitalName: string) => void;
1618
- /** When 'behavior', shows behavior-level glyph nodes instead of orbital previews. */
1619
- composeLevel?: ComposeViewLevel;
1620
- /** Behavior entries for compose mode (only when composeLevel='behavior'). */
1621
- behaviorEntries?: BehaviorCanvasEntry[];
1622
- /** Event wires between behaviors (only when composeLevel='behavior'). */
1623
- behaviorWires?: BehaviorWireEdgeData[];
1624
- /** @deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat. */
1625
- onZoomChange?: (level: string, context: Record<string, string | undefined>) => void;
1626
- /** @deprecated Not used in V3. */
1627
- focusTarget?: {
1628
- type: string;
1629
- name: string;
1630
- };
1631
- /** @deprecated Not used in V3. */
1632
- color?: string;
1633
- /** @deprecated Not used in V3. */
1634
- animated?: boolean;
1635
- /** @deprecated Not used in V3. */
1636
- initialTrait?: string;
1637
- /** @deprecated Not used in V3. */
1638
- stateCoverage?: Record<string, string>;
1639
- /**
1640
- * Studio persona viewing the canvas. Drives `OrbInspector` tab/section
1641
- * visibility — designers and builders hide the raw `code` tab and the
1642
- * architect-only Entity / raw-guard / raw-effects sections; architects see
1643
- * everything. Default `'builder'` preserves pre-Phase-2 behavior.
1644
- */
1645
- userType?: 'builder' | 'designer' | 'architect';
1646
- /**
1647
- * Project theme tokens (Design System tab only). Forwarded to `OrbInspector`
1648
- * so the Styles tab can render an editable token list when the selection
1649
- * originates from the synthesized `__design_system__` schema.
1650
- */
1651
- themeManifest?: ThemeDefinition;
1652
- }
1653
- declare const FlowCanvas: React__default.FC<FlowCanvasProps>;
1654
-
1655
- /**
1656
- * ZoomBreadcrumb — HTML overlay showing current zoom band context.
1657
- *
1658
- * Positioned absolute top-left of the FlowCanvas.
1659
- * Shows AVL primitive icons inline with breadcrumb segments.
1660
- */
1661
-
1662
- interface ZoomBreadcrumbProps {
1663
- band: ZoomBand;
1664
- applicationName?: string;
1665
- orbitalName?: string;
1666
- traitName?: string;
1667
- eventName?: string;
1668
- }
1669
- declare const ZoomBreadcrumb: React__default.FC<ZoomBreadcrumbProps>;
1670
-
1671
- /**
1672
- * ZoomLegend — Collapsible HTML overlay showing AVL primitives
1673
- * relevant to the current zoom band.
1674
- */
1675
-
1676
- interface ZoomLegendProps {
1677
- band: ZoomBand;
1678
- }
1679
- declare const ZoomLegend: React__default.FC<ZoomLegendProps>;
1680
-
1681
- /**
1682
- * AVL Cosmic Zoom State Machine
1683
- *
1684
- * useReducer-based state machine managing which zoom level is displayed,
1685
- * what is selected, and animation state.
1686
- *
1687
- * Shared by AvlOrbitalsCosmicZoom (2D) and Avl3DViewer (3D). The 3D
1688
- * viewer drills through every level (`application → orbital → trait →
1689
- * transition`); the 2D cosmic view skips the `'orbital'` level after
1690
- * COSMIC-1 (no Orbital-View screen) by dispatching `JUMP_TO_TRAIT_CIRCUIT`
1691
- * to land directly at `'trait'`.
1692
- *
1693
- * @packageDocumentation
1694
- */
1695
- type ZoomLevel = 'application' | 'orbital' | 'trait' | 'transition';
1696
-
1697
- /**
1698
- * AvlCosmicZoom — Interactive Orbital Visualization
1699
- *
1700
- * V3: Delegates to FlowCanvas. Nodes are live OrbPreview renders
1701
- * of each orbital/transition. Two-level navigation (overview + expanded).
1702
- * Props interface preserved for backward compatibility with callers.
1703
- */
1704
-
1705
- interface AvlCosmicZoomProps {
1706
- /** The orbital schema (parsed object or JSON string) */
1707
- schema: OrbitalSchema | string;
1708
- /** CSS class for the outer container */
1709
- className?: string;
1710
- /** Primary color for the visualization */
1711
- color?: string;
1712
- /** Enable animations (default: true) */
1713
- animated?: boolean;
1714
- /** Pre-select an orbital on mount */
1715
- initialOrbital?: string;
1716
- /** Pre-select a trait on mount */
1717
- initialTrait?: string;
1718
- /** Callback when zoom level changes */
1719
- onZoomChange?: (level: ZoomLevel, context: {
1720
- orbital?: string;
1721
- trait?: string;
1722
- }) => void;
1723
- /** Container width */
1724
- width?: number | string;
1725
- /** Container height */
1726
- height?: number | string;
1727
- /** Coverage data for verification overlay */
1728
- stateCoverage?: Record<string, 'covered' | 'uncovered' | 'partial'>;
1729
- /** Dynamic focus target. Changes animate the zoom to the specified orbital/trait. */
1730
- focusTarget?: {
1731
- type: 'orbital' | 'trait';
1732
- name: string;
1733
- };
1734
- }
1735
- declare const AvlCosmicZoom: React__default.FC<AvlCosmicZoomProps>;
1736
-
1737
- /**
1738
- * AvlOrbitalsCosmicZoom — Orbital Interaction Visualization
1739
- *
1740
- * Composed organism: renders AvlOrbitalUnit molecules positioned on a canvas,
1741
- * connected by cross-orbital event wire arrows. No React Flow dependency.
1742
- * Designed for documentation use.
1743
- *
1744
- * Composition:
1745
- * - AvlOrbitalUnit (molecule) for each orbital
1746
- * - SVG overlay for event wires between orbitals
1747
- * - Click to select an orbital and show info panel
1748
- *
1749
- * @packageDocumentation
1750
- */
1751
-
1752
- interface AvlOrbitalsCosmicZoomProps {
1753
- /** The orbital schema (parsed object or JSON string) */
1754
- schema: OrbitalSchema | string;
1755
- /** CSS class for the outer container */
1756
- className?: string;
1757
- /** Primary color for the visualization */
1758
- color?: string;
1759
- /** Enable animations (default: true) */
1760
- animated?: boolean;
1761
- /** Container width */
1762
- width?: number | string;
1763
- /** Container height */
1764
- height?: number | string;
1765
- /**
1766
- * GAP-52: name of the orbital to highlight with a persistent ring/glow.
1767
- * Independent from user-driven selection (click). Used by the builder workspace
1768
- * when entering cosmic mode from a focused orbital — the focused orbital is
1769
- * highlighted while the user can still click any other orbital to select it.
1770
- */
1771
- highlightedOrbital?: string;
1772
- /**
1773
- * GAP-55: fired when the user clicks an orbital tile. Consumers (e.g. the
1774
- * builder workspace) use this as the trigger to drill INTO the clicked
1775
- * orbital — typically by switching back to the canvas tab and opening the
1776
- * clicked orbital at L2 expanded. Local `selected` toggle (visual highlight +
1777
- * info panel) still fires regardless of whether the callback is provided.
1778
- */
1779
- onOrbitalSelect?: (orbital: string) => void;
1780
- /**
1781
- * GAP-54: minimum zoom factor when scroll-wheel zooming. Default 0.4.
1782
- */
1783
- minZoom?: number;
1784
- /**
1785
- * GAP-54: maximum zoom factor when scroll-wheel zooming. Default 3.
1786
- */
1787
- maxZoom?: number;
1788
- }
1789
- declare const AvlOrbitalsCosmicZoom: React__default.FC<AvlOrbitalsCosmicZoomProps>;
1790
-
1791
- /**
1792
- * AvlTraitScene V2 - Zoom Level 3
1793
- *
1794
- * Left-to-right horizontal flow with color-coded states,
1795
- * transition lanes, and swim lanes for emit/listen events.
1796
- */
1797
-
1798
- interface AvlTraitSceneProps {
1799
- data: TraitLevelData;
1800
- color?: string;
1801
- onTransitionClick?: (transitionIndex: number, position: {
1802
- x: number;
1803
- y: number;
1804
- }) => void;
1805
- }
1806
- declare const AvlTraitScene: React__default.FC<AvlTraitSceneProps>;
1807
-
1808
- /**
1809
- * AvlTransitionScene V2 - Zoom Level 4
1810
- *
1811
- * Card layout replacing vertical waterfall.
1812
- * Reads like a spec card: from → to, trigger, guard, effects.
1813
- */
1814
-
1815
- interface AvlTransitionSceneProps {
1816
- data: TransitionLevelData;
1817
- color?: string;
1818
- }
1819
- declare const AvlTransitionScene: React__default.FC<AvlTransitionSceneProps>;
1820
-
1821
- /**
1822
- * AvlClickTarget
1823
- *
1824
- * Transparent SVG rect overlay that makes AVL atoms clickable.
1825
- * AVL atoms render <g> elements which don't natively support
1826
- * bounding-box click events. This wrapper adds an invisible
1827
- * rect with pointer events and optional hover glow.
1828
- *
1829
- * @packageDocumentation
1830
- */
1831
-
1832
- interface AvlClickTargetProps {
1833
- /** Bounding box position */
1834
- x: number;
1835
- y: number;
1836
- width: number;
1837
- height: number;
1838
- /** Click handler */
1839
- onClick: () => void;
1840
- /** Hover callback */
1841
- onHover?: (hovering: boolean) => void;
1842
- /** Cursor style (default: pointer) */
1843
- cursor?: string;
1844
- /** Glow color on hover */
1845
- glowColor?: string;
1846
- /** Accessible label */
1847
- label?: string;
1848
- /** Children (the AVL atoms to render on top) */
1849
- children: React__default.ReactNode;
1850
- }
1851
- declare const AvlClickTarget: React__default.FC<AvlClickTargetProps>;
1852
-
1853
- export { AVL_FIELD_TYPE_SHAPES, AVL_OPERATOR_COLORS, type ApplicationLevelData, AvlApplication, type AvlApplicationProps, AvlBackwardEdge, type AvlBaseProps, AvlBehaviorGlyph, type AvlBehaviorGlyphProps, AvlBinding, AvlBindingEdge, type AvlBindingProps, AvlBindingRef, type AvlBindingRefProps, AvlClickTarget, type AvlClickTargetProps, AvlClosedCircuit, type AvlClosedCircuitProps, type AvlClosedCircuitState, type AvlClosedCircuitTransition, AvlCosmicZoom, type AvlCosmicZoomProps, type AvlEdgeData, AvlEffect, type AvlEffectProps, type AvlEffectType, AvlEmitListen, type AvlEmitListenProps, AvlEntity, type AvlEntityProps, AvlEvent, type AvlEventProps, AvlEventWireEdge, type AvlEventWireEdgeData, AvlExprTree, type AvlExprTreeNode, type AvlExprTreeProps, AvlField, type AvlFieldProps, AvlFieldType, type AvlFieldTypeKind, type AvlFieldTypeProps, AvlGuard, type AvlGuardProps, AvlLiteral, type AvlLiteralProps, type AvlNodeData, AvlOperator, type AvlOperatorNamespace, type AvlOperatorProps, AvlOrbital, AvlOrbitalNode, type AvlOrbitalProps, AvlOrbitalUnit, type AvlOrbitalUnitPage, type AvlOrbitalUnitProps, type AvlOrbitalUnitTrait, AvlOrbitalsCosmicZoom, type AvlOrbitalsCosmicZoomProps, AvlPage, AvlPageEdge, type AvlPageProps, AvlPersistence, type AvlPersistenceKind, type AvlPersistenceProps, AvlSExpr, type AvlSExprProps, AvlSlotMap, type AvlSlotMapProps, type AvlSlotMapSlot, AvlState, AvlStateMachine, type AvlStateMachineProps, type AvlStateMachineState, type AvlStateMachineTransition, type AvlStateProps, AvlSwimLane, type AvlSwimLaneProps, AvlTrait, type AvlTraitProps, AvlTraitScene, type AvlTraitSceneProps, AvlTransition, AvlTransitionEdge, type AvlTransitionEdgeData, AvlTransitionLane, type AvlTransitionLaneProps, type AvlTransitionProps, AvlTransitionScene, type AvlTransitionSceneProps, type BehaviorCanvasEntry, BehaviorComposeNode, type BehaviorComposeNodeData, type BehaviorGlyphChild, type BehaviorGlyphConnection, type BehaviorLevel, type BehaviorRegistryRecord, BehaviorView, type BehaviorWireEdgeData, CONNECTION_COLORS, type CanvasContainerNode, CanvasDndProvider, type CanvasDndProviderProps, type CanvasDragKind, type CanvasDragPayload, type CanvasDropEvent, type CanvasDropTarget, type ComposeViewLevel, type ConnectableEvent, type CrossLink, DOMAIN_COLORS, DetailView, EFFECT_CATEGORY_COLORS, EFFECT_TYPE_TO_CATEGORY, type EffectCategory, type ElkLayout, type EventEdgeData, EventFlowEdge, FlowCanvas, type FlowCanvasProps, type GlyphSize, type LayoutEdge, type LayoutNode, MiniStateMachine, ModuleCard, OrbInspector, type OrbInspectorProps, OrbPreviewNode, type OrbitalLevelData, type PatternEventSource, type PreviewNodeData, type RenderUIEntry, STATE_COLORS, type StateRole, SystemNode, type TraitLevelData, type TransitionLevelData, type UseCanvasDraggableArgs, type UseCanvasDraggableResult, type UseCanvasDroppableArgs, type UseCanvasDroppableResult, type ViewLevel, ZOOM_BAND_THRESHOLDS, type ZoomBand, ZoomBandContext, ZoomBreadcrumb, type ZoomBreadcrumbProps, ZoomLegend, type ZoomLegendProps, type ZoomLevel, arcPath, behaviorsToComposeGraph, computeTraitLayout, computeZoomBand, curveControlPoint, deriveEditFocusFromElement, edgePath, getStateRole, gridPositions, orbitalToExpandedGraph, parseApplicationLevel, parseOrbitalLevel, parseTraitLevel, parseTransitionLevel, radialPositions, registryEntryToCanvasEntry, ringPositions, schemaToFlowGraph, schemaToOverviewGraph, useCanvasDraggable, useCanvasDroppable, useZoomBand, zoomProgress };