@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,33 +0,0 @@
1
- /**
2
- * Slot Definitions
3
- *
4
- * Defines the available UI slots and their rendering behavior.
5
- * Slots are either inline (rendered in the component tree) or
6
- * portal (rendered to document.body via React Portal).
7
- *
8
- * @packageDocumentation
9
- */
10
- import type { UISlot, SlotDefinition } from '../types/renderer-types';
11
- /**
12
- * Definitions for all available UI slots.
13
- *
14
- * Inline slots render within the component hierarchy.
15
- * Portal slots render to document.body, breaking out of overflow containers.
16
- */
17
- export declare const SLOT_DEFINITIONS: Partial<Record<UISlot, SlotDefinition>> & Record<'main' | 'sidebar' | 'modal' | 'drawer' | 'overlay' | 'center' | 'toast' | 'hud-top' | 'hud-bottom' | 'floating', SlotDefinition>;
18
- /**
19
- * Get the slot definition for a slot name.
20
- */
21
- export declare function getSlotDefinition(slot: UISlot): SlotDefinition | undefined;
22
- /**
23
- * Check if a slot is a portal slot.
24
- */
25
- export declare function isPortalSlot(slot: string): boolean;
26
- /**
27
- * Get all inline slots.
28
- */
29
- export declare function getInlineSlots(): UISlot[];
30
- /**
31
- * All valid slot names.
32
- */
33
- export declare const ALL_SLOTS: UISlot[];
@@ -1,85 +0,0 @@
1
- /**
2
- * Sprite Animation Engine
3
- *
4
- * Pure functions for sprite sheet animation: direction inference,
5
- * frame computation, sheet resolution, and animation state management.
6
- * No React dependencies — usable in any context.
7
- *
8
- * @packageDocumentation
9
- */
10
- import type { AnimationDef, AnimationName, FacingDirection, SpriteDirection, ResolvedFrame, UnitAnimationState, SpriteFrameDims, SpriteSheetUrls } from './spriteAnimationTypes';
11
- /**
12
- * Infer facing direction from a movement delta on the isometric grid.
13
- * dx/dy are tile coordinate deltas (not screen pixels).
14
- *
15
- * Isometric grid:
16
- * NW ← (-x) NE ← (-y)
17
- * SW ← (+y) SE ← (+x)
18
- */
19
- export declare function inferDirection(dx: number, dy: number): FacingDirection;
20
- /**
21
- * Map a 4-direction facing to the actual sheet file direction + flipX flag.
22
- * We only have SE and SW sheet images. NE/NW are rendered by flipping:
23
- * SE → SE sheet, no flip
24
- * SW → SW sheet, no flip
25
- * NE → SW sheet, flipX (mirror of SW gives NE)
26
- * NW → SE sheet, flipX (mirror of SE gives NW)
27
- */
28
- export declare function resolveSheetDirection(facing: FacingDirection): {
29
- sheetDir: SpriteDirection;
30
- flipX: boolean;
31
- };
32
- /** A source rectangle into a sprite sheet for a single frame. */
33
- export interface FrameRect {
34
- /** Source X in the sheet (pixel offset). */
35
- sx: number;
36
- /** Source Y in the sheet (pixel offset). */
37
- sy: number;
38
- /** Source width (frame width). */
39
- sw: number;
40
- /** Source height (frame height). */
41
- sh: number;
42
- }
43
- /**
44
- * Compute the source rect for a single frame within a grid sprite sheet.
45
- * Single home for the `sx = (frame % columns) * frameWidth`, `sy = row * frameHeight`
46
- * math shared by `Sprite.tsx`, `useUnitSpriteAtlas.ts`, and `resolveFrame`.
47
- *
48
- * Pass `row` explicitly for atlas-driven layouts (each animation occupies a row);
49
- * pass `row = Math.floor(frame / columns)` for flat frame-index sheets.
50
- */
51
- export declare function frameRect(frame: number, row: number, columns: number, frameWidth: number, frameHeight: number): FrameRect;
52
- /**
53
- * Compute the current frame index from an animation definition.
54
- * Atlas-driven and constant-driven callers share this one timing core.
55
- */
56
- export declare function getCurrentFrameFromDef(def: AnimationDef, elapsed: number): {
57
- frame: number;
58
- finished: boolean;
59
- };
60
- /**
61
- * Compute the current frame index and whether the animation has finished.
62
- */
63
- export declare function getCurrentFrame(animName: AnimationName, elapsed: number): {
64
- frame: number;
65
- finished: boolean;
66
- };
67
- /**
68
- * Resolve a complete frame descriptor for canvas drawing.
69
- * Returns null if no sprite sheet URLs are available for this unit.
70
- */
71
- export declare function resolveFrame(sheetUrls: SpriteSheetUrls | null, frameDims: SpriteFrameDims, animState: UnitAnimationState): ResolvedFrame | null;
72
- /**
73
- * Create initial animation state for a unit (idle, facing SE).
74
- */
75
- export declare function createUnitAnimationState(unitId: string): UnitAnimationState;
76
- /**
77
- * Transition to a new animation. Resets elapsed time.
78
- * Optionally updates direction. Death cannot be overridden.
79
- */
80
- export declare function transitionAnimation(state: UnitAnimationState, newAnim: AnimationName, direction?: FacingDirection): UnitAnimationState;
81
- /**
82
- * Advance animation state by deltaMs.
83
- * Handles one-shot → queued/idle transitions automatically.
84
- */
85
- export declare function tickAnimationState(state: UnitAnimationState, deltaMs: number): UnitAnimationState;
@@ -1,72 +0,0 @@
1
- /**
2
- * Sprite Sheet Animation Types
3
- *
4
- * Type definitions for frame-based sprite sheet animation system.
5
- * Supports standard 8-column × 5-row character sheets.
6
- *
7
- * `AnimationName`, `AnimationDef`, and `SpriteDirection` are canonically owned
8
- * by `@almadar/core` (they travel with a `spriteSheet`-role `Asset.url`'s
9
- * resolved atlas contract) — re-exported here so existing call sites in this
10
- * package don't need to change their import path.
11
- *
12
- * @packageDocumentation
13
- */
14
- import type { AnimationName } from '@almadar/core';
15
- export type { AnimationName, AnimationDef, SpriteDirection } from '@almadar/core';
16
- /** Unit facing direction on screen (4 isometric directions) */
17
- export type FacingDirection = 'se' | 'sw' | 'ne' | 'nw';
18
- /** A resolved frame ready to draw on canvas */
19
- export interface ResolvedFrame {
20
- /** URL of the sprite sheet image */
21
- sheetUrl: string;
22
- /** Source X in the sheet (pixel offset) */
23
- sx: number;
24
- /** Source Y in the sheet (pixel offset) */
25
- sy: number;
26
- /** Source width (frame width) */
27
- sw: number;
28
- /** Source height (frame height) */
29
- sh: number;
30
- /** Whether to flip horizontally when drawing (for NE/NW directions) */
31
- flipX: boolean;
32
- /** When true, canvas should apply sine-bob breathing offset (frozen idle frame) */
33
- applyBreathing?: boolean;
34
- }
35
- /** Per-unit animation state tracked in the animation system */
36
- export interface UnitAnimationState {
37
- /** Unit identifier */
38
- unitId: string;
39
- /** Current animation playing */
40
- animation: AnimationName;
41
- /** Current facing direction */
42
- direction: FacingDirection;
43
- /** Current frame index within the animation */
44
- frame: number;
45
- /** Elapsed time in current animation (ms) */
46
- elapsed: number;
47
- /** Animation to play after current one-shot completes (null = idle) */
48
- queuedAnimation: AnimationName | null;
49
- /** Whether the current one-shot animation has finished its last frame */
50
- finished: boolean;
51
- }
52
- /** Frame dimensions for a sprite sheet */
53
- export interface SpriteFrameDims {
54
- /** Width of a single frame in pixels */
55
- width: number;
56
- /** Height of a single frame in pixels */
57
- height: number;
58
- }
59
- /** Sheet URLs for both directions */
60
- export interface SpriteSheetUrls {
61
- /** Southeast-facing sheet URL */
62
- se: string;
63
- /** Southwest-facing sheet URL */
64
- sw: string;
65
- }
66
- /**
67
- * Parsed sprite-sheet atlas JSON (e.g. `guardian-sprite-sheet.json`).
68
- * Sits next to the `.png` sheets and drives the frame rect deterministically.
69
- * Canonically `@almadar/core`'s `SpriteSheetAtlas` — re-exported under this
70
- * package's existing name so call sites don't need to change.
71
- */
72
- export type { SpriteSheetAtlas as SpriteAtlas } from '@almadar/core';
@@ -1,16 +0,0 @@
1
- /**
2
- * Sprite Sheet Constants
3
- *
4
- * Standard layout for 8-column × 5-row character sprite sheets.
5
- * All characters share identical sheet geometry.
6
- *
7
- * @packageDocumentation
8
- */
9
- import type { AnimationDef, AnimationName } from './spriteAnimationTypes';
10
- /** Number of columns in a sprite sheet (frames per row) */
11
- export declare const SHEET_COLUMNS = 8;
12
- /**
13
- * Standard sprite sheet row layout.
14
- * Row 0 = idle, Row 1 = walk, Row 2 = attack, Row 3 = hit, Row 4 = death.
15
- */
16
- export declare const SPRITE_SHEET_LAYOUT: Record<AnimationName, AnimationDef>;
@@ -1,40 +0,0 @@
1
- /**
2
- * Tick Registry - Tracks scheduled tick executions for debugging
3
- *
4
- * @packageDocumentation
5
- */
6
- export interface TickExecution {
7
- id: string;
8
- traitName: string;
9
- /** Tick name (display name) */
10
- name: string;
11
- /** Tick identifier */
12
- tickName: string;
13
- interval: number;
14
- /** Last execution timestamp */
15
- lastRun: number;
16
- lastExecuted: number | null;
17
- nextExecution: number | null;
18
- /** Number of times this tick has run */
19
- runCount: number;
20
- executionCount: number;
21
- /** Average execution time in ms */
22
- executionTime: number;
23
- /** Whether the tick is currently active */
24
- active: boolean;
25
- isActive: boolean;
26
- /** Guard name if this tick has a guard */
27
- guardName?: string;
28
- /** Whether the guard passed on last evaluation */
29
- guardPassed?: boolean;
30
- }
31
- type ChangeListener = () => void;
32
- export declare function registerTick(tick: TickExecution): void;
33
- export declare function updateTickExecution(id: string, timestamp: number): void;
34
- export declare function setTickActive(id: string, isActive: boolean): void;
35
- export declare function unregisterTick(id: string): void;
36
- export declare function getAllTicks(): TickExecution[];
37
- export declare function getTick(id: string): TickExecution | undefined;
38
- export declare function subscribeToTickChanges(listener: ChangeListener): () => void;
39
- export declare function clearTicks(): void;
40
- export {};
@@ -1,57 +0,0 @@
1
- /**
2
- * Trait-binding resolver for the interpreted runtime path.
3
- *
4
- * When a pattern tree contains a string like `"@trait.ItemSearch"` or
5
- * `"@trait.ItemSearch.main"` inside a `children:` array (or a
6
- * `node`-typed prop), the `SlotContentRenderer` walker calls this
7
- * resolver to transform those string leaves into `<TraitFrame>` React
8
- * elements before rendering.
9
- *
10
- * This module only handles the INTERPRETED path — compiled apps bake
11
- * `<TraitFrame>` into JSX at build time via the TypeScript shell
12
- * codegen (`orbital-shell-typescript/src/backend.rs`). Both paths land
13
- * on the same component.
14
- *
15
- * Scope:
16
- * - string values `"@trait.X[.slot]"` are replaced with
17
- * `<TraitFrame traitName="X" slot={...} />`.
18
- * - strings that don't match the `@trait.*` shape pass through
19
- * verbatim (they may be `@entity.X` bindings resolved elsewhere,
20
- * or plain text content).
21
- * - recurses into arrays and objects so nested children are covered.
22
- *
23
- * @see docs/Almadar_Std_Gaps.md §3.8
24
- */
25
- import React from "react";
26
- import type { FieldValue } from "@almadar/core";
27
- export interface ResolveTraitBindingsContext {
28
- /**
29
- * Depth cap — the walker refuses to descend deeper than this to
30
- * protect against deeply nested patterns (real or adversarial).
31
- * Default 8; roughly matches the deepest layout trees seen in the
32
- * std catalog plus head-room.
33
- */
34
- depth?: number;
35
- }
36
- /**
37
- * Walk a pattern-tree value, returning a structurally-identical tree
38
- * with `@trait.*` string leaves replaced by `<TraitFrame>` React
39
- * elements.
40
- *
41
- * The walker preserves insertion order of object keys and array
42
- * positions — it only transforms the narrow subset of string values
43
- * that match the `@trait.X[.slot]` form. Other strings are copied as-is.
44
- *
45
- * Call from `SlotContentRenderer` once per render, pointed at
46
- * `content.props` with `currentSlot` bound to the slot whose render-ui
47
- * is being composed.
48
- */
49
- type PatternTreeNode = FieldValue | React.ReactElement | undefined;
50
- export declare function resolveTraitBindingsInPattern(value: PatternTreeNode, ctx: ResolveTraitBindingsContext): PatternTreeNode;
51
- /**
52
- * Lower-level helper: is this string a `@trait.*` binding the resolver
53
- * would handle? Useful for consumers that need to treat the trait case
54
- * specially before handing the string back to the walker.
55
- */
56
- export declare function isTraitBinding(value: PatternTreeNode): value is string;
57
- export {};
@@ -1,34 +0,0 @@
1
- /**
2
- * Trait Registry - Tracks active traits and their state machines for debugging
3
- *
4
- * @packageDocumentation
5
- */
6
- export interface TraitTransition {
7
- from: string;
8
- to: string;
9
- event: string;
10
- guard?: string;
11
- }
12
- export interface TraitGuard {
13
- name: string;
14
- lastResult?: boolean;
15
- }
16
- export interface TraitDebugInfo {
17
- id: string;
18
- name: string;
19
- currentState: string;
20
- states: string[];
21
- transitions: TraitTransition[];
22
- guards: TraitGuard[];
23
- transitionCount: number;
24
- }
25
- type ChangeListener = () => void;
26
- export declare function registerTrait(info: TraitDebugInfo): void;
27
- export declare function updateTraitState(id: string, newState: string): void;
28
- export declare function updateGuardResult(traitId: string, guardName: string, result: boolean): void;
29
- export declare function unregisterTrait(id: string): void;
30
- export declare function getAllTraits(): TraitDebugInfo[];
31
- export declare function getTrait(id: string): TraitDebugInfo | undefined;
32
- export declare function subscribeToTraitChanges(listener: ChangeListener): () => void;
33
- export declare function clearTraits(): void;
34
- export {};
@@ -1,97 +0,0 @@
1
- /**
2
- * Verification Registry - Tracks runtime verification checks and transition traces
3
- *
4
- * Provides:
5
- * 1. A checklist of pass/fail checks (INIT has fetch, bridge connected, etc.)
6
- * 2. A full transition timeline with effect execution results
7
- * 3. ServerBridge health snapshot
8
- * 4. window.__orbitalVerification for Playwright/automation
9
- *
10
- * @packageDocumentation
11
- */
12
- import type { AssetLoadStatus, BridgeHealth, BusEvent, CheckStatus, EffectTrace, EventLogEntry, EventPayload, OrbitalVerificationAPI, ServerResponseTrace, TraitStateSnapshot, TransitionTrace, VerificationCheck, VerificationSnapshot, VerificationSummary } from '@almadar/core';
13
- export type { AssetLoadStatus, BridgeHealth, CheckStatus, EffectTrace, EventLogEntry, OrbitalVerificationAPI, ServerResponseTrace, TraitStateSnapshot, TransitionTrace, VerificationCheck, VerificationSnapshot, VerificationSummary, };
14
- type ChangeListener = () => void;
15
- /**
16
- * Per-trait snapshot getter. Each generated trait logic hook (or
17
- * `useTraitStateMachine` trait binding) registers one on mount so the
18
- * verifier can read the live reducer state for that trait.
19
- */
20
- export type TraitSnapshotGetter = () => TraitStateSnapshot;
21
- export declare function registerCheck(id: string, label: string, status?: CheckStatus, details?: string): void;
22
- export declare function updateCheck(id: string, status: CheckStatus, details?: string): void;
23
- export declare function getAllChecks(): VerificationCheck[];
24
- export declare function recordTransition(trace: Omit<TransitionTrace, "id">): void;
25
- export declare function getTransitions(): TransitionTrace[];
26
- export declare function getTransitionsForTrait(traitName: string): TransitionTrace[];
27
- /**
28
- * Record a server response as a timeline entry.
29
- * Creates a synthetic transition entry with type "server-response" to show
30
- * what the server returned (clientEffects, data counts, emitted events).
31
- */
32
- export declare function recordServerResponse(orbitalName: string, event: string, response: Omit<ServerResponseTrace, "orbitalName" | "timestamp">): void;
33
- export declare function updateBridgeHealth(health: BridgeHealth): void;
34
- export declare function getBridgeHealth(): BridgeHealth | null;
35
- export declare function getSummary(): VerificationSummary;
36
- export declare function getSnapshot(): VerificationSnapshot;
37
- /**
38
- * Per-trait snapshot for the verifier.
39
- *
40
- * Iterates every registered trait getter and collects the live reducer
41
- * state. Empty until at least one trait hook calls `registerTraitSnapshot`.
42
- * A getter that throws is logged and skipped — one broken trait must not
43
- * poison the rest of the snapshot.
44
- */
45
- export declare function getTraitSnapshots(): TraitStateSnapshot[];
46
- export declare function subscribeToVerification(listener: ChangeListener): () => void;
47
- declare global {
48
- interface Window {
49
- __orbitalVerification?: OrbitalVerificationAPI;
50
- }
51
- }
52
- /**
53
- * Wait for a transition matching the given event to appear.
54
- * Returns the trace or null on timeout.
55
- */
56
- export declare function waitForTransition(event: string, timeoutMs?: number): Promise<TransitionTrace | null>;
57
- /**
58
- * Bind the EventBus so automation can send events and log emissions.
59
- * Call this during app initialization.
60
- */
61
- export declare function bindEventBus(eventBus: {
62
- emit: (type: string, payload?: EventPayload) => void;
63
- onAny?: (listener: (event: BusEvent) => void) => () => void;
64
- }): void;
65
- /**
66
- * Bind a trait state getter so automation can query current states.
67
- */
68
- export declare function bindTraitStateGetter(getter: (traitName: string) => string | undefined): void;
69
- /**
70
- * Register a per-trait snapshot provider. The generated trait logic hook
71
- * (or `useTraitStateMachine`) calls this once on mount, passing a getter
72
- * that reads the current reducer state via a ref. Returns an unregister
73
- * function for cleanup on unmount.
74
- *
75
- * Calling this twice for the same `traitName` replaces the previous
76
- * getter (e.g. page navigation remounts the trait; the new registration
77
- * wins).
78
- */
79
- export declare function registerTraitSnapshot(traitName: string, getter: TraitSnapshotGetter): () => void;
80
- /**
81
- * Register a canvas frame capture function.
82
- * Called by game organisms (IsometricCanvas, PlatformerCanvas)
83
- * so the verifier can snapshot canvas content at checkpoints.
84
- */
85
- export declare function bindCanvasCapture(captureFn: () => string | null): void;
86
- /**
87
- * Bind a reader for the last drawables list received by a canvas host.
88
- * Lets verification scripts inspect exactly which neutral descriptors reached
89
- * the painter without re-deriving them from state.
90
- */
91
- export declare function bindLastDrawables(getDrawables: () => unknown[] | null): void;
92
- /**
93
- * Update asset load status for canvas verification.
94
- * Game organisms call this when images load or fail.
95
- */
96
- export declare function updateAssetStatus(url: string, status: AssetLoadStatus): void;
97
- export declare function clearVerification(): void;
@@ -1,48 +0,0 @@
1
- /**
2
- * Browser entry point for the Orbital Visualizer
3
- *
4
- * This file is bundled by esbuild to create a standalone browser script.
5
- * It exports the visualizer to the global `OrbitalVisualizer` object.
6
- */
7
- import { renderStateMachineToSvg, extractStateMachine, getEffectSummary, extractOutputsFromTransitions, type RenderOptions, type VisualizerConfig } from './index.js';
8
- import type { OrbitalSchema } from '@almadar/core';
9
- type SExpr = string | number | boolean | SExpr[];
10
- declare function formatSExprHumanReadable(expr: SExpr, indent?: number): string;
11
- interface BrowserRenderOptions extends RenderOptions {
12
- config?: Partial<VisualizerConfig>;
13
- }
14
- /**
15
- * Render a state machine into a container element
16
- */
17
- declare function render(container: HTMLElement, data: OrbitalSchema | object, options?: BrowserRenderOptions): void;
18
- /**
19
- * Auto-initialize diagrams from data attributes
20
- */
21
- declare function init(): void;
22
- declare let pinnedTooltip: {
23
- element: HTMLElement;
24
- bundleId: string;
25
- } | null;
26
- /**
27
- * Render a state machine into a container element using DOM-based approach
28
- * This matches the React DomStateMachineVisualizer component
29
- */
30
- declare function renderDom(container: HTMLElement, data: OrbitalSchema | object, options?: BrowserRenderOptions): void;
31
- declare const OrbitalVisualizer: {
32
- render: typeof render;
33
- renderDom: typeof renderDom;
34
- init: typeof init;
35
- renderToSvg: typeof renderStateMachineToSvg;
36
- extractStateMachine: typeof extractStateMachine;
37
- getEffectSummary: typeof getEffectSummary;
38
- extractOutputsFromTransitions: typeof extractOutputsFromTransitions;
39
- formatSExprHumanReadable: typeof formatSExprHumanReadable;
40
- CONFIG: VisualizerConfig;
41
- };
42
- declare global {
43
- interface Window {
44
- OrbitalVisualizer: typeof OrbitalVisualizer;
45
- _pinnedTooltip: typeof pinnedTooltip;
46
- }
47
- }
48
- export { OrbitalVisualizer };
@@ -1,144 +0,0 @@
1
- /**
2
- * Orbital State Machine Visualizer
3
- *
4
- * Renders SVG diagrams from Orbital schemas and Trait definitions.
5
- * Can be used in documentation, IDE previews, and other tools.
6
- */
7
- import type { Effect, OrbitalSchema, SExpr } from '@almadar/core';
8
- export interface VisualizerConfig {
9
- nodeRadius: number;
10
- nodeSpacing: number;
11
- initialIndicatorOffset: number;
12
- arrowSize: number;
13
- colors: {
14
- background: string;
15
- node: string;
16
- nodeBorder: string;
17
- nodeText: string;
18
- initialNode: string;
19
- finalNode: string;
20
- arrow: string;
21
- arrowText: string;
22
- effectText: string;
23
- guardText: string;
24
- initial: string;
25
- };
26
- fonts: {
27
- node: string;
28
- event: string;
29
- effect: string;
30
- };
31
- }
32
- export interface StateDefinition {
33
- name: string;
34
- isInitial?: boolean;
35
- isFinal?: boolean;
36
- description?: string;
37
- }
38
- export interface TransitionDefinition {
39
- from: string;
40
- to: string;
41
- event: string;
42
- guard?: SExpr | null;
43
- effects?: Effect[];
44
- }
45
- export interface StateMachineDefinition {
46
- states: StateDefinition[];
47
- transitions: TransitionDefinition[];
48
- }
49
- export interface EntityDefinition {
50
- name: string;
51
- fields?: (string | {
52
- name: string;
53
- })[];
54
- }
55
- export interface RenderOptions {
56
- title?: string;
57
- entity?: EntityDefinition;
58
- }
59
- /** Position data for a state node in DOM layout */
60
- export interface DomStateNode {
61
- id: string;
62
- name: string;
63
- x: number;
64
- y: number;
65
- radius: number;
66
- isInitial: boolean;
67
- isFinal: boolean;
68
- description?: string;
69
- }
70
- /** Position data for a transition arrow */
71
- export interface DomTransitionPath {
72
- id: string;
73
- from: string;
74
- to: string;
75
- /** SVG path data for the curved arrow */
76
- pathData: string;
77
- /** Midpoint for label positioning */
78
- labelX: number;
79
- labelY: number;
80
- }
81
- /** Position data for a transition label with guard/effect details */
82
- export interface DomTransitionLabel {
83
- id: string;
84
- from: string;
85
- to: string;
86
- event: string;
87
- x: number;
88
- y: number;
89
- /** Human-readable guard text (e.g., "if amount > 100") */
90
- guardText?: string;
91
- /** Human-readable effect texts */
92
- effectTexts: string[];
93
- /** Whether this transition has details to show in tooltip */
94
- hasDetails: boolean;
95
- }
96
- /** Entity input box data */
97
- export interface DomEntityBox {
98
- name: string;
99
- fields: string[];
100
- x: number;
101
- y: number;
102
- width: number;
103
- height: number;
104
- }
105
- /** Output effects box data */
106
- export interface DomOutputsBox {
107
- outputs: string[];
108
- x: number;
109
- y: number;
110
- width: number;
111
- height: number;
112
- }
113
- /** Complete DOM layout data for rendering */
114
- export interface DomLayoutData {
115
- width: number;
116
- height: number;
117
- title?: string;
118
- states: DomStateNode[];
119
- paths: DomTransitionPath[];
120
- labels: DomTransitionLabel[];
121
- entity?: DomEntityBox;
122
- outputs?: DomOutputsBox;
123
- config: VisualizerConfig;
124
- }
125
- export declare const DEFAULT_CONFIG: VisualizerConfig;
126
- declare function formatGuard(guard: SExpr | null | undefined): string;
127
- export declare function getEffectSummary(effects: Effect[]): string;
128
- declare function extractOutputsFromTransitions(transitions: TransitionDefinition[]): string[];
129
- /**
130
- * Render a state machine to an SVG string.
131
- * Works in both browser and Node.js environments.
132
- */
133
- export declare function renderStateMachineToSvg(stateMachine: StateMachineDefinition, options?: RenderOptions, config?: VisualizerConfig): string;
134
- /**
135
- * Extract state machine from various data formats (Trait, Orbital, or raw)
136
- */
137
- export declare function extractStateMachine(data: OrbitalSchema | object): StateMachineDefinition | null;
138
- /**
139
- * Render a state machine to DOM layout data.
140
- * This is used by the DOM-based visualizer component for hybrid SVG/DOM rendering.
141
- * Unlike renderStateMachineToSvg, this returns structured data instead of an SVG string.
142
- */
143
- export declare function renderStateMachineToDomData(stateMachine: StateMachineDefinition, options?: RenderOptions, config?: VisualizerConfig): DomLayoutData;
144
- export { formatGuard, extractOutputsFromTransitions };
@@ -1,7 +0,0 @@
1
- import type { Painter2D } from './painter2d';
2
- /**
3
- * Create a {@link Painter2D} backed by a web 2D context. `onAssetLoad` (optional)
4
- * fires when a texture requested via `resolveTexture` finishes loading, so a
5
- * draw-host can schedule a re-draw.
6
- */
7
- export declare function createWebPainter(ctx: CanvasRenderingContext2D, onAssetLoad?: () => void): Painter2D;
@@ -1,16 +0,0 @@
1
- import type { PatternCallbackArg } from '@almadar/patterns';
2
- import type { EventPayload, EventPayloadValue } from '@almadar/core';
3
- /**
4
- * Build the runtime wrapper that turns a string-typed callback prop
5
- * (e.g. `onTabChange: "TAB_CHANGED"`) into a function the component can
6
- * invoke. The wrapper consumes the component's positional callback args
7
- * by name and dispatches an OBJECT payload `{ argName: value, ... }` so
8
- * the bus carries the trait's declared event payload, not a raw
9
- * positional spread. Mirrors the codegen wrapper in
10
- * `orbital-shell-typescript/src/codegen/pattern.rs` (C2 compiled path).
11
- *
12
- * Single-sourcing this logic across runtime and codegen (shared shape,
13
- * not shared code — codegen emits string source) is what keeps the two
14
- * paths from silently diverging on payload shape.
15
- */
16
- export declare function wrapCallbackForEvent(qualifiedEvent: string, callbackArgs: PatternCallbackArg[] | undefined, emit: (eventKey: string, payload?: EventPayload) => void): (...args: EventPayloadValue[]) => void;