@syntrologie/runtime-sdk 2.1.0 → 2.2.0-canary.10

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 (360) hide show
  1. package/CAPABILITIES.md +50 -43
  2. package/README.md +7 -7
  3. package/dist/RuntimeProvider.d.ts +1 -1
  4. package/dist/ShadowRootContext.d.ts +19 -0
  5. package/dist/SmartCanvasApp.d.ts +7 -4
  6. package/dist/SmartCanvasElement.d.ts +7 -2
  7. package/dist/SmartCanvasPortal.d.ts +1 -1
  8. package/dist/actions/executors/core-flow.d.ts +19 -0
  9. package/dist/actions/executors/index.d.ts +4 -3
  10. package/dist/actions/executors/tour.d.ts +1 -1
  11. package/dist/actions/index.d.ts +4 -3
  12. package/dist/actions/schema.d.ts +1229 -0
  13. package/dist/actions/schema.js +67 -0
  14. package/dist/actions/schema.js.map +7 -0
  15. package/dist/api.d.ts +4 -2
  16. package/dist/apps/builtinRuntimeModules.generated.d.ts +20 -0
  17. package/dist/apps/examples/gamification-app.example.d.ts +4 -4
  18. package/dist/apps/index.d.ts +7 -7
  19. package/dist/blocks/data/index.d.ts +1 -1
  20. package/dist/blocks/index.d.ts +2 -2
  21. package/dist/blocks/interactive/index.d.ts +1 -1
  22. package/dist/blocks/notification/NotificationBlock.d.ts +1 -1
  23. package/dist/blocks/notification/index.d.ts +1 -1
  24. package/dist/bootstrap.d.ts +4 -4
  25. package/dist/chunk-AYTRRBR5.js +251 -0
  26. package/dist/chunk-AYTRRBR5.js.map +7 -0
  27. package/dist/chunk-VLWWR22N.js +9266 -0
  28. package/dist/chunk-VLWWR22N.js.map +7 -0
  29. package/dist/components/ShadowCanvasOverlay.d.ts +2 -2
  30. package/dist/components/TileCard.d.ts +1 -1
  31. package/dist/context/ContextManager.d.ts +1 -1
  32. package/dist/context/index.d.ts +3 -3
  33. package/dist/decisions/engine.d.ts +1 -1
  34. package/dist/decisions/index.d.ts +3 -3
  35. package/dist/decisions/schema.d.ts +24 -24
  36. package/dist/decisions/strategies/rules.d.ts +1 -1
  37. package/dist/decisions/strategies/score.d.ts +1 -1
  38. package/dist/editorLoader.d.ts +4 -4
  39. package/dist/events/EventAccumulator.d.ts +1 -1
  40. package/dist/events/EventBus.d.ts +1 -1
  41. package/dist/events/index.d.ts +7 -6
  42. package/dist/events/registerConfigPredicates.d.ts +19 -0
  43. package/dist/experiments/adapters/growthbook.d.ts +1 -1
  44. package/dist/experiments/index.d.ts +2 -2
  45. package/dist/experiments/registry.d.ts +1 -1
  46. package/dist/fetchers/index.d.ts +2 -2
  47. package/dist/hooks/useShadowCanvasConfig.d.ts +1 -1
  48. package/dist/hostPatcher/index.d.ts +2 -2
  49. package/dist/index.d.ts +24 -21
  50. package/dist/index.js +2349 -75
  51. package/dist/index.js.map +7 -1
  52. package/dist/metrics/index.d.ts +1 -1
  53. package/dist/notifications/index.d.ts +6 -6
  54. package/dist/overlays/runtime/index.d.ts +3 -3
  55. package/dist/overlays/runtime/overlay/root.d.ts +17 -1
  56. package/dist/overlays/runtime/overlay/tooltip.d.ts +1 -1
  57. package/dist/react.js +90 -134
  58. package/dist/react.js.map +7 -1
  59. package/dist/render/RenderContext.d.ts +2 -2
  60. package/dist/render/index.d.ts +2 -2
  61. package/dist/render/types.d.ts +2 -2
  62. package/dist/runtime.d.ts +8 -8
  63. package/dist/smart-canvas.esm.js +158 -126
  64. package/dist/smart-canvas.esm.js.map +4 -4
  65. package/dist/smart-canvas.js +18872 -16744
  66. package/dist/smart-canvas.js.map +4 -4
  67. package/dist/smart-canvas.min.js +158 -126
  68. package/dist/smart-canvas.min.js.map +4 -4
  69. package/dist/state/StateStore.d.ts +1 -1
  70. package/dist/state/helpers/cooldowns.d.ts +1 -1
  71. package/dist/state/helpers/dismissals.d.ts +1 -1
  72. package/dist/state/helpers/frequency.d.ts +1 -1
  73. package/dist/state/index.d.ts +3 -3
  74. package/dist/surfaces/index.d.ts +3 -3
  75. package/dist/surfaces/positioning.d.ts +1 -1
  76. package/dist/telemetry/adapters/posthog.d.ts +2 -2
  77. package/dist/telemetry/index.d.ts +3 -3
  78. package/dist/telemetry/registry.d.ts +1 -1
  79. package/dist/telemetry/types.d.ts +5 -0
  80. package/dist/theme/ThemeProvider.d.ts +1 -1
  81. package/dist/theme/extractHostTheme.d.ts +1 -1
  82. package/dist/theme/index.d.ts +4 -4
  83. package/dist/types-only.d.ts +1 -1
  84. package/dist/types-only.js +1 -11
  85. package/dist/types-only.js.map +7 -1
  86. package/dist/types.d.ts +1 -1
  87. package/dist/version.d.ts +1 -1
  88. package/dist/widgets/index.d.ts +1 -1
  89. package/package.json +29 -17
  90. package/schema/canvas-config.base.schema.json +351 -0
  91. package/schema/canvas-config.schema.json +3308 -444
  92. package/scripts/validate-config.mjs +54 -58
  93. package/dist/RuntimeProvider.js +0 -113
  94. package/dist/RuntimeProvider.js.map +0 -1
  95. package/dist/SmartCanvasApp.js +0 -143
  96. package/dist/SmartCanvasApp.js.map +0 -1
  97. package/dist/SmartCanvasElement.js +0 -138
  98. package/dist/SmartCanvasElement.js.map +0 -1
  99. package/dist/SmartCanvasPortal.js +0 -17
  100. package/dist/SmartCanvasPortal.js.map +0 -1
  101. package/dist/actions/ActionEngine.js +0 -272
  102. package/dist/actions/ActionEngine.js.map +0 -1
  103. package/dist/actions/executors/index.js +0 -240
  104. package/dist/actions/executors/index.js.map +0 -1
  105. package/dist/actions/executors/tour.js +0 -332
  106. package/dist/actions/executors/tour.js.map +0 -1
  107. package/dist/actions/index.js +0 -12
  108. package/dist/actions/index.js.map +0 -1
  109. package/dist/actions/types.js +0 -8
  110. package/dist/actions/types.js.map +0 -1
  111. package/dist/actions/validation.js +0 -577
  112. package/dist/actions/validation.js.map +0 -1
  113. package/dist/adaptives/adaptive-chatbot/index.js +0 -9
  114. package/dist/adaptives/adaptive-chatbot/index.js.map +0 -7
  115. package/dist/adaptives/adaptive-content/index.js +0 -22
  116. package/dist/adaptives/adaptive-content/index.js.map +0 -7
  117. package/dist/adaptives/adaptive-faq/index.js +0 -11
  118. package/dist/adaptives/adaptive-faq/index.js.map +0 -7
  119. package/dist/adaptives/adaptive-gamification/index.js +0 -2
  120. package/dist/adaptives/adaptive-gamification/index.js.map +0 -7
  121. package/dist/adaptives/adaptive-nav/index.js +0 -12
  122. package/dist/adaptives/adaptive-nav/index.js.map +0 -7
  123. package/dist/adaptives/adaptive-overlays/index.js +0 -94
  124. package/dist/adaptives/adaptive-overlays/index.js.map +0 -7
  125. package/dist/antiFlicker.js +0 -39
  126. package/dist/antiFlicker.js.map +0 -1
  127. package/dist/api.js +0 -205
  128. package/dist/api.js.map +0 -1
  129. package/dist/apps/AppContext.js +0 -91
  130. package/dist/apps/AppContext.js.map +0 -1
  131. package/dist/apps/AppLoader.js +0 -293
  132. package/dist/apps/AppLoader.js.map +0 -1
  133. package/dist/apps/AppRegistry.js +0 -317
  134. package/dist/apps/AppRegistry.js.map +0 -1
  135. package/dist/apps/examples/gamification-app.example.js +0 -329
  136. package/dist/apps/examples/gamification-app.example.js.map +0 -1
  137. package/dist/apps/index.js +0 -16
  138. package/dist/apps/index.js.map +0 -1
  139. package/dist/apps/types.js +0 -8
  140. package/dist/apps/types.js.map +0 -1
  141. package/dist/blocks/data/ComparisonBlock.js +0 -95
  142. package/dist/blocks/data/ComparisonBlock.js.map +0 -1
  143. package/dist/blocks/data/StatsBlock.js +0 -102
  144. package/dist/blocks/data/StatsBlock.js.map +0 -1
  145. package/dist/blocks/data/index.js +0 -3
  146. package/dist/blocks/data/index.js.map +0 -1
  147. package/dist/blocks/index.js +0 -93
  148. package/dist/blocks/index.js.map +0 -1
  149. package/dist/blocks/interactive/ChecklistBlock.js +0 -111
  150. package/dist/blocks/interactive/ChecklistBlock.js.map +0 -1
  151. package/dist/blocks/interactive/RatingBlock.js +0 -147
  152. package/dist/blocks/interactive/RatingBlock.js.map +0 -1
  153. package/dist/blocks/interactive/index.js +0 -3
  154. package/dist/blocks/interactive/index.js.map +0 -1
  155. package/dist/blocks/notification/NotificationBlock.js +0 -171
  156. package/dist/blocks/notification/NotificationBlock.js.map +0 -1
  157. package/dist/blocks/notification/index.js +0 -2
  158. package/dist/blocks/notification/index.js.map +0 -1
  159. package/dist/blocks/theme-tokens.js +0 -25
  160. package/dist/blocks/theme-tokens.js.map +0 -1
  161. package/dist/bootstrap.js +0 -448
  162. package/dist/bootstrap.js.map +0 -1
  163. package/dist/bundle-entry.js +0 -9
  164. package/dist/bundle-entry.js.map +0 -1
  165. package/dist/components/ShadowCanvasOverlay.js +0 -327
  166. package/dist/components/ShadowCanvasOverlay.js.map +0 -1
  167. package/dist/components/TileCard.js +0 -103
  168. package/dist/components/TileCard.js.map +0 -1
  169. package/dist/components/TileWheel.js +0 -50
  170. package/dist/components/TileWheel.js.map +0 -1
  171. package/dist/config-validator.js +0 -173
  172. package/dist/config-validator.js.map +0 -1
  173. package/dist/configFetcher.js +0 -131
  174. package/dist/configFetcher.js.map +0 -1
  175. package/dist/context/ContextManager.js +0 -269
  176. package/dist/context/ContextManager.js.map +0 -1
  177. package/dist/context/index.js +0 -7
  178. package/dist/context/index.js.map +0 -1
  179. package/dist/context/schema.js +0 -50
  180. package/dist/context/schema.js.map +0 -1
  181. package/dist/context/types.js +0 -8
  182. package/dist/context/types.js.map +0 -1
  183. package/dist/controller.js +0 -34
  184. package/dist/controller.js.map +0 -1
  185. package/dist/decisions/engine.js +0 -117
  186. package/dist/decisions/engine.js.map +0 -1
  187. package/dist/decisions/index.js +0 -10
  188. package/dist/decisions/index.js.map +0 -1
  189. package/dist/decisions/schema.js +0 -151
  190. package/dist/decisions/schema.js.map +0 -1
  191. package/dist/decisions/strategies/rules.js +0 -166
  192. package/dist/decisions/strategies/rules.js.map +0 -1
  193. package/dist/decisions/strategies/score.js +0 -29
  194. package/dist/decisions/strategies/score.js.map +0 -1
  195. package/dist/decisions/types.js +0 -2
  196. package/dist/decisions/types.js.map +0 -1
  197. package/dist/earlyPatcher.js +0 -20
  198. package/dist/earlyPatcher.js.map +0 -1
  199. package/dist/editorLoader.js +0 -254
  200. package/dist/editorLoader.js.map +0 -1
  201. package/dist/events/EventAccumulator.js +0 -101
  202. package/dist/events/EventAccumulator.js.map +0 -1
  203. package/dist/events/EventBus.js +0 -152
  204. package/dist/events/EventBus.js.map +0 -1
  205. package/dist/events/index.js +0 -11
  206. package/dist/events/index.js.map +0 -1
  207. package/dist/events/normalizers/canvas.js +0 -116
  208. package/dist/events/normalizers/canvas.js.map +0 -1
  209. package/dist/events/normalizers/posthog.js +0 -171
  210. package/dist/events/normalizers/posthog.js.map +0 -1
  211. package/dist/events/schema.js +0 -30
  212. package/dist/events/schema.js.map +0 -1
  213. package/dist/events/types.js +0 -54
  214. package/dist/events/types.js.map +0 -1
  215. package/dist/experiments/adapters/growthbook.js +0 -81
  216. package/dist/experiments/adapters/growthbook.js.map +0 -1
  217. package/dist/experiments/index.js +0 -4
  218. package/dist/experiments/index.js.map +0 -1
  219. package/dist/experiments/registry.js +0 -30
  220. package/dist/experiments/registry.js.map +0 -1
  221. package/dist/experiments/types.js +0 -2
  222. package/dist/experiments/types.js.map +0 -1
  223. package/dist/fetchers/cdnFetcher.js +0 -96
  224. package/dist/fetchers/cdnFetcher.js.map +0 -1
  225. package/dist/fetchers/experimentsFetcher.js +0 -109
  226. package/dist/fetchers/experimentsFetcher.js.map +0 -1
  227. package/dist/fetchers/index.js +0 -5
  228. package/dist/fetchers/index.js.map +0 -1
  229. package/dist/fetchers/mergeConfigs.js +0 -38
  230. package/dist/fetchers/mergeConfigs.js.map +0 -1
  231. package/dist/fetchers/registry.js +0 -58
  232. package/dist/fetchers/registry.js.map +0 -1
  233. package/dist/fetchers/types.js +0 -2
  234. package/dist/fetchers/types.js.map +0 -1
  235. package/dist/hooks/useCanvasOverlays.js +0 -128
  236. package/dist/hooks/useCanvasOverlays.js.map +0 -1
  237. package/dist/hooks/useHostPatches.js +0 -40
  238. package/dist/hooks/useHostPatches.js.map +0 -1
  239. package/dist/hooks/useShadowCanvasConfig.js +0 -63
  240. package/dist/hooks/useShadowCanvasConfig.js.map +0 -1
  241. package/dist/hostPatcher/core/patcher.js +0 -181
  242. package/dist/hostPatcher/core/patcher.js.map +0 -1
  243. package/dist/hostPatcher/core/sanitizer.js +0 -66
  244. package/dist/hostPatcher/core/sanitizer.js.map +0 -1
  245. package/dist/hostPatcher/core/types.js +0 -2
  246. package/dist/hostPatcher/core/types.js.map +0 -1
  247. package/dist/hostPatcher/index.js +0 -7
  248. package/dist/hostPatcher/index.js.map +0 -1
  249. package/dist/hostPatcher/policy/defaultPolicy.js +0 -23
  250. package/dist/hostPatcher/policy/defaultPolicy.js.map +0 -1
  251. package/dist/hostPatcher/utils/anchors.js +0 -105
  252. package/dist/hostPatcher/utils/anchors.js.map +0 -1
  253. package/dist/hostPatcher/utils/observer.js +0 -11
  254. package/dist/hostPatcher/utils/observer.js.map +0 -1
  255. package/dist/logger.js +0 -81
  256. package/dist/logger.js.map +0 -1
  257. package/dist/metrics/index.js +0 -5
  258. package/dist/metrics/index.js.map +0 -1
  259. package/dist/metrics/sessionMetrics.js +0 -178
  260. package/dist/metrics/sessionMetrics.js.map +0 -1
  261. package/dist/notifications/NotificationToastStack.js +0 -118
  262. package/dist/notifications/NotificationToastStack.js.map +0 -1
  263. package/dist/notifications/index.js +0 -6
  264. package/dist/notifications/index.js.map +0 -1
  265. package/dist/notifications/matcher.js +0 -66
  266. package/dist/notifications/matcher.js.map +0 -1
  267. package/dist/notifications/types.js +0 -13
  268. package/dist/notifications/types.js.map +0 -1
  269. package/dist/notifications/useNotifications.js +0 -104
  270. package/dist/notifications/useNotifications.js.map +0 -1
  271. package/dist/notifications/useNotifyWatcher.js +0 -62
  272. package/dist/notifications/useNotifyWatcher.js.map +0 -1
  273. package/dist/overlays/fetcher.js +0 -15
  274. package/dist/overlays/fetcher.js.map +0 -1
  275. package/dist/overlays/recipeRegistry.js +0 -32
  276. package/dist/overlays/recipeRegistry.js.map +0 -1
  277. package/dist/overlays/runtime/anchor/resolve.js +0 -87
  278. package/dist/overlays/runtime/anchor/resolve.js.map +0 -1
  279. package/dist/overlays/runtime/index.js +0 -8
  280. package/dist/overlays/runtime/index.js.map +0 -1
  281. package/dist/overlays/runtime/overlay/highlight.js +0 -160
  282. package/dist/overlays/runtime/overlay/highlight.js.map +0 -1
  283. package/dist/overlays/runtime/overlay/modal.js +0 -78
  284. package/dist/overlays/runtime/overlay/modal.js.map +0 -1
  285. package/dist/overlays/runtime/overlay/root.js +0 -297
  286. package/dist/overlays/runtime/overlay/root.js.map +0 -1
  287. package/dist/overlays/runtime/overlay/runner.js +0 -602
  288. package/dist/overlays/runtime/overlay/runner.js.map +0 -1
  289. package/dist/overlays/runtime/overlay/tooltip.js +0 -232
  290. package/dist/overlays/runtime/overlay/tooltip.js.map +0 -1
  291. package/dist/overlays/runtime/utils/dom.js +0 -12
  292. package/dist/overlays/runtime/utils/dom.js.map +0 -1
  293. package/dist/overlays/schema.js +0 -52
  294. package/dist/overlays/schema.js.map +0 -1
  295. package/dist/overlays/types.js +0 -2
  296. package/dist/overlays/types.js.map +0 -1
  297. package/dist/render/RenderContext.js +0 -69
  298. package/dist/render/RenderContext.js.map +0 -1
  299. package/dist/render/index.js +0 -3
  300. package/dist/render/index.js.map +0 -1
  301. package/dist/render/types.js +0 -2
  302. package/dist/render/types.js.map +0 -1
  303. package/dist/runtime.js +0 -237
  304. package/dist/runtime.js.map +0 -1
  305. package/dist/state/StateStore.js +0 -176
  306. package/dist/state/StateStore.js.map +0 -1
  307. package/dist/state/helpers/cooldowns.js +0 -31
  308. package/dist/state/helpers/cooldowns.js.map +0 -1
  309. package/dist/state/helpers/dismissals.js +0 -34
  310. package/dist/state/helpers/dismissals.js.map +0 -1
  311. package/dist/state/helpers/frequency.js +0 -43
  312. package/dist/state/helpers/frequency.js.map +0 -1
  313. package/dist/state/index.js +0 -7
  314. package/dist/state/index.js.map +0 -1
  315. package/dist/state/schema.js +0 -25
  316. package/dist/state/schema.js.map +0 -1
  317. package/dist/state/types.js +0 -9
  318. package/dist/state/types.js.map +0 -1
  319. package/dist/store/example.js +0 -43
  320. package/dist/store/example.js.map +0 -1
  321. package/dist/store/mini-effector.js +0 -88
  322. package/dist/store/mini-effector.js.map +0 -1
  323. package/dist/surfaces/Surfaces.js +0 -361
  324. package/dist/surfaces/Surfaces.js.map +0 -1
  325. package/dist/surfaces/index.js +0 -12
  326. package/dist/surfaces/index.js.map +0 -1
  327. package/dist/surfaces/positioning.js +0 -228
  328. package/dist/surfaces/positioning.js.map +0 -1
  329. package/dist/surfaces/types.js +0 -23
  330. package/dist/surfaces/types.js.map +0 -1
  331. package/dist/telemetry/adapters/noop.js +0 -42
  332. package/dist/telemetry/adapters/noop.js.map +0 -1
  333. package/dist/telemetry/adapters/posthog.js +0 -180
  334. package/dist/telemetry/adapters/posthog.js.map +0 -1
  335. package/dist/telemetry/index.js +0 -4
  336. package/dist/telemetry/index.js.map +0 -1
  337. package/dist/telemetry/registry.js +0 -29
  338. package/dist/telemetry/registry.js.map +0 -1
  339. package/dist/telemetry/types.js +0 -2
  340. package/dist/telemetry/types.js.map +0 -1
  341. package/dist/theme/ThemeProvider.js +0 -109
  342. package/dist/theme/ThemeProvider.js.map +0 -1
  343. package/dist/theme/defaultTheme.js +0 -190
  344. package/dist/theme/defaultTheme.js.map +0 -1
  345. package/dist/theme/extractHostTheme.js +0 -259
  346. package/dist/theme/extractHostTheme.js.map +0 -1
  347. package/dist/theme/index.js +0 -7
  348. package/dist/theme/index.js.map +0 -1
  349. package/dist/theme/types.js +0 -6
  350. package/dist/theme/types.js.map +0 -1
  351. package/dist/token.js +0 -44
  352. package/dist/token.js.map +0 -1
  353. package/dist/types.js +0 -17
  354. package/dist/types.js.map +0 -1
  355. package/dist/version.js +0 -14
  356. package/dist/version.js.map +0 -1
  357. package/dist/widgets/WidgetRegistry.js +0 -190
  358. package/dist/widgets/WidgetRegistry.js.map +0 -1
  359. package/dist/widgets/index.js +0 -7
  360. package/dist/widgets/index.js.map +0 -1
@@ -0,0 +1,1229 @@
1
+ /**
2
+ * Core Action Zod Schemas
3
+ *
4
+ * Single source of truth for the shape of all 18 core action types.
5
+ * These schemas are converted to JSON Schema during build and merged
6
+ * into the unified canvas-config.schema.json.
7
+ *
8
+ * Design decisions:
9
+ * - `.strict()` on every object → `additionalProperties: false` in JSON Schema
10
+ * - Matches `types.ts` exactly (fixes all drift from the old manual JSON defs)
11
+ * - Recursive ActionStep references use `z.any()` as placeholder; the generator
12
+ * replaces `{}` with `{ "$ref": "#/$defs/actionStep" }` post-conversion
13
+ */
14
+ import { z } from 'zod';
15
+ /** Highlight style configuration */
16
+ declare const HighlightStyleZ: z.ZodObject<{
17
+ color: z.ZodOptional<z.ZodString>;
18
+ scrimOpacity: z.ZodOptional<z.ZodNumber>;
19
+ paddingPx: z.ZodOptional<z.ZodNumber>;
20
+ radiusPx: z.ZodOptional<z.ZodNumber>;
21
+ }, "strict", z.ZodTypeAny, {
22
+ color?: string | undefined;
23
+ scrimOpacity?: number | undefined;
24
+ paddingPx?: number | undefined;
25
+ radiusPx?: number | undefined;
26
+ }, {
27
+ color?: string | undefined;
28
+ scrimOpacity?: number | undefined;
29
+ paddingPx?: number | undefined;
30
+ radiusPx?: number | undefined;
31
+ }>;
32
+ /** Badge position relative to anchor */
33
+ declare const BadgePositionZ: z.ZodEnum<["top-left", "top-right", "bottom-left", "bottom-right"]>;
34
+ /**
35
+ * Floating-ui Placement — all 12 values.
36
+ * Matches `@floating-ui/dom` `Placement` type.
37
+ */
38
+ declare const PlacementZ: z.ZodEnum<["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"]>;
39
+ /** CTA button configuration for tooltips/modals */
40
+ declare const CtaButtonZ: z.ZodObject<{
41
+ label: z.ZodString;
42
+ actionId: z.ZodString;
43
+ primary: z.ZodOptional<z.ZodBoolean>;
44
+ }, "strict", z.ZodTypeAny, {
45
+ actionId: string;
46
+ label: string;
47
+ primary?: boolean | undefined;
48
+ }, {
49
+ actionId: string;
50
+ label: string;
51
+ primary?: boolean | undefined;
52
+ }>;
53
+ /**
54
+ * Tooltip content (schema-safe version).
55
+ * Omits `cta` (legacy field with recursive ActionStep; never in JSON schema).
56
+ */
57
+ declare const TooltipContentZ: z.ZodObject<{
58
+ title: z.ZodOptional<z.ZodString>;
59
+ body: z.ZodString;
60
+ ctaButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
+ label: z.ZodString;
62
+ actionId: z.ZodString;
63
+ primary: z.ZodOptional<z.ZodBoolean>;
64
+ }, "strict", z.ZodTypeAny, {
65
+ actionId: string;
66
+ label: string;
67
+ primary?: boolean | undefined;
68
+ }, {
69
+ actionId: string;
70
+ label: string;
71
+ primary?: boolean | undefined;
72
+ }>, "many">>;
73
+ }, "strict", z.ZodTypeAny, {
74
+ body: string;
75
+ ctaButtons?: {
76
+ actionId: string;
77
+ label: string;
78
+ primary?: boolean | undefined;
79
+ }[] | undefined;
80
+ title?: string | undefined;
81
+ }, {
82
+ body: string;
83
+ ctaButtons?: {
84
+ actionId: string;
85
+ label: string;
86
+ primary?: boolean | undefined;
87
+ }[] | undefined;
88
+ title?: string | undefined;
89
+ }>;
90
+ /** Modal content configuration */
91
+ declare const ModalContentZ: z.ZodObject<{
92
+ title: z.ZodOptional<z.ZodString>;
93
+ body: z.ZodString;
94
+ }, "strict", z.ZodTypeAny, {
95
+ body: string;
96
+ title?: string | undefined;
97
+ }, {
98
+ body: string;
99
+ title?: string | undefined;
100
+ }>;
101
+ /** Position where HTML/content should be inserted */
102
+ declare const InsertPositionZ: z.ZodEnum<["before", "after", "prepend", "append", "replace"]>;
103
+ /** Tooltip trigger mode */
104
+ declare const TooltipTriggerZ: z.ZodEnum<["immediate", "hover", "click"]>;
105
+ /** Widget configuration for surface mounting */
106
+ declare const WidgetConfigZ: z.ZodObject<{
107
+ widgetId: z.ZodString;
108
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
109
+ priority: z.ZodOptional<z.ZodNumber>;
110
+ }, "strict", z.ZodTypeAny, {
111
+ widgetId: string;
112
+ props?: Record<string, unknown> | undefined;
113
+ priority?: number | undefined;
114
+ }, {
115
+ widgetId: string;
116
+ props?: Record<string, unknown> | undefined;
117
+ priority?: number | undefined;
118
+ }>;
119
+ /**
120
+ * Tour step (schema-safe version).
121
+ * Uses `z.any()` for the `action` field — the generator replaces it with a $ref.
122
+ */
123
+ declare const TourStepForSchemaZ: z.ZodObject<{
124
+ id: z.ZodString;
125
+ action: z.ZodAny;
126
+ route: z.ZodOptional<z.ZodString>;
127
+ onAction: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
128
+ }, "strict", z.ZodTypeAny, {
129
+ id: string;
130
+ route?: string | undefined;
131
+ action?: any;
132
+ onAction?: Record<string, string> | undefined;
133
+ }, {
134
+ id: string;
135
+ route?: string | undefined;
136
+ action?: any;
137
+ onAction?: Record<string, string> | undefined;
138
+ }>;
139
+ declare const ScrollBehaviorZ: z.ZodEnum<["auto", "smooth", "instant"]>;
140
+ declare const ScrollLogicalPositionZ: z.ZodEnum<["start", "center", "end", "nearest"]>;
141
+ declare const SetTextZ: z.ZodObject<{
142
+ kind: z.ZodLiteral<"content:setText">;
143
+ anchorId: z.ZodString;
144
+ text: z.ZodString;
145
+ label: z.ZodOptional<z.ZodString>;
146
+ }, "strict", z.ZodTypeAny, {
147
+ kind: "content:setText";
148
+ anchorId: string;
149
+ text: string;
150
+ label?: string | undefined;
151
+ }, {
152
+ kind: "content:setText";
153
+ anchorId: string;
154
+ text: string;
155
+ label?: string | undefined;
156
+ }>;
157
+ declare const SetAttrZ: z.ZodObject<{
158
+ kind: z.ZodLiteral<"content:setAttr">;
159
+ anchorId: z.ZodString;
160
+ attr: z.ZodString;
161
+ value: z.ZodString;
162
+ label: z.ZodOptional<z.ZodString>;
163
+ }, "strict", z.ZodTypeAny, {
164
+ kind: "content:setAttr";
165
+ anchorId: string;
166
+ attr: string;
167
+ value: string;
168
+ label?: string | undefined;
169
+ }, {
170
+ kind: "content:setAttr";
171
+ anchorId: string;
172
+ attr: string;
173
+ value: string;
174
+ label?: string | undefined;
175
+ }>;
176
+ declare const AddClassZ: z.ZodObject<{
177
+ kind: z.ZodLiteral<"content:addClass">;
178
+ anchorId: z.ZodString;
179
+ className: z.ZodString;
180
+ label: z.ZodOptional<z.ZodString>;
181
+ }, "strict", z.ZodTypeAny, {
182
+ kind: "content:addClass";
183
+ anchorId: string;
184
+ className: string;
185
+ label?: string | undefined;
186
+ }, {
187
+ kind: "content:addClass";
188
+ anchorId: string;
189
+ className: string;
190
+ label?: string | undefined;
191
+ }>;
192
+ declare const RemoveClassZ: z.ZodObject<{
193
+ kind: z.ZodLiteral<"content:removeClass">;
194
+ anchorId: z.ZodString;
195
+ className: z.ZodString;
196
+ label: z.ZodOptional<z.ZodString>;
197
+ }, "strict", z.ZodTypeAny, {
198
+ kind: "content:removeClass";
199
+ anchorId: string;
200
+ className: string;
201
+ label?: string | undefined;
202
+ }, {
203
+ kind: "content:removeClass";
204
+ anchorId: string;
205
+ className: string;
206
+ label?: string | undefined;
207
+ }>;
208
+ declare const SetStyleZ: z.ZodObject<{
209
+ kind: z.ZodLiteral<"content:setStyle">;
210
+ anchorId: z.ZodString;
211
+ styles: z.ZodRecord<z.ZodString, z.ZodString>;
212
+ label: z.ZodOptional<z.ZodString>;
213
+ }, "strict", z.ZodTypeAny, {
214
+ kind: "content:setStyle";
215
+ anchorId: string;
216
+ styles: Record<string, string>;
217
+ label?: string | undefined;
218
+ }, {
219
+ kind: "content:setStyle";
220
+ anchorId: string;
221
+ styles: Record<string, string>;
222
+ label?: string | undefined;
223
+ }>;
224
+ declare const InsertHtmlZ: z.ZodObject<{
225
+ kind: z.ZodLiteral<"content:insertHtml">;
226
+ anchorId: z.ZodString;
227
+ html: z.ZodString;
228
+ position: z.ZodEnum<["before", "after", "prepend", "append", "replace"]>;
229
+ label: z.ZodOptional<z.ZodString>;
230
+ }, "strict", z.ZodTypeAny, {
231
+ kind: "content:insertHtml";
232
+ anchorId: string;
233
+ position: "before" | "after" | "prepend" | "append" | "replace";
234
+ html: string;
235
+ label?: string | undefined;
236
+ }, {
237
+ kind: "content:insertHtml";
238
+ anchorId: string;
239
+ position: "before" | "after" | "prepend" | "append" | "replace";
240
+ html: string;
241
+ label?: string | undefined;
242
+ }>;
243
+ declare const HighlightZ: z.ZodObject<{
244
+ kind: z.ZodLiteral<"overlays:highlight">;
245
+ anchorId: z.ZodString;
246
+ style: z.ZodOptional<z.ZodObject<{
247
+ color: z.ZodOptional<z.ZodString>;
248
+ scrimOpacity: z.ZodOptional<z.ZodNumber>;
249
+ paddingPx: z.ZodOptional<z.ZodNumber>;
250
+ radiusPx: z.ZodOptional<z.ZodNumber>;
251
+ }, "strict", z.ZodTypeAny, {
252
+ color?: string | undefined;
253
+ scrimOpacity?: number | undefined;
254
+ paddingPx?: number | undefined;
255
+ radiusPx?: number | undefined;
256
+ }, {
257
+ color?: string | undefined;
258
+ scrimOpacity?: number | undefined;
259
+ paddingPx?: number | undefined;
260
+ radiusPx?: number | undefined;
261
+ }>>;
262
+ duration: z.ZodOptional<z.ZodNumber>;
263
+ label: z.ZodOptional<z.ZodString>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ kind: "overlays:highlight";
266
+ anchorId: string;
267
+ style?: {
268
+ color?: string | undefined;
269
+ scrimOpacity?: number | undefined;
270
+ paddingPx?: number | undefined;
271
+ radiusPx?: number | undefined;
272
+ } | undefined;
273
+ duration?: number | undefined;
274
+ label?: string | undefined;
275
+ }, {
276
+ kind: "overlays:highlight";
277
+ anchorId: string;
278
+ style?: {
279
+ color?: string | undefined;
280
+ scrimOpacity?: number | undefined;
281
+ paddingPx?: number | undefined;
282
+ radiusPx?: number | undefined;
283
+ } | undefined;
284
+ duration?: number | undefined;
285
+ label?: string | undefined;
286
+ }>;
287
+ declare const PulseZ: z.ZodObject<{
288
+ kind: z.ZodLiteral<"overlays:pulse">;
289
+ anchorId: z.ZodString;
290
+ duration: z.ZodOptional<z.ZodNumber>;
291
+ label: z.ZodOptional<z.ZodString>;
292
+ }, "strict", z.ZodTypeAny, {
293
+ kind: "overlays:pulse";
294
+ anchorId: string;
295
+ duration?: number | undefined;
296
+ label?: string | undefined;
297
+ }, {
298
+ kind: "overlays:pulse";
299
+ anchorId: string;
300
+ duration?: number | undefined;
301
+ label?: string | undefined;
302
+ }>;
303
+ declare const BadgeZ: z.ZodObject<{
304
+ kind: z.ZodLiteral<"overlays:badge">;
305
+ anchorId: z.ZodString;
306
+ content: z.ZodString;
307
+ position: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "bottom-left", "bottom-right"]>>;
308
+ label: z.ZodOptional<z.ZodString>;
309
+ }, "strict", z.ZodTypeAny, {
310
+ kind: "overlays:badge";
311
+ anchorId: string;
312
+ content: string;
313
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
314
+ label?: string | undefined;
315
+ }, {
316
+ kind: "overlays:badge";
317
+ anchorId: string;
318
+ content: string;
319
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
320
+ label?: string | undefined;
321
+ }>;
322
+ declare const TooltipZ: z.ZodObject<{
323
+ kind: z.ZodLiteral<"overlays:tooltip">;
324
+ anchorId: z.ZodString;
325
+ content: z.ZodObject<{
326
+ title: z.ZodOptional<z.ZodString>;
327
+ body: z.ZodString;
328
+ ctaButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
329
+ label: z.ZodString;
330
+ actionId: z.ZodString;
331
+ primary: z.ZodOptional<z.ZodBoolean>;
332
+ }, "strict", z.ZodTypeAny, {
333
+ actionId: string;
334
+ label: string;
335
+ primary?: boolean | undefined;
336
+ }, {
337
+ actionId: string;
338
+ label: string;
339
+ primary?: boolean | undefined;
340
+ }>, "many">>;
341
+ }, "strict", z.ZodTypeAny, {
342
+ body: string;
343
+ ctaButtons?: {
344
+ actionId: string;
345
+ label: string;
346
+ primary?: boolean | undefined;
347
+ }[] | undefined;
348
+ title?: string | undefined;
349
+ }, {
350
+ body: string;
351
+ ctaButtons?: {
352
+ actionId: string;
353
+ label: string;
354
+ primary?: boolean | undefined;
355
+ }[] | undefined;
356
+ title?: string | undefined;
357
+ }>;
358
+ trigger: z.ZodOptional<z.ZodEnum<["immediate", "hover", "click"]>>;
359
+ placement: z.ZodOptional<z.ZodEnum<["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"]>>;
360
+ waitFor: z.ZodOptional<z.ZodString>;
361
+ label: z.ZodOptional<z.ZodString>;
362
+ }, "strict", z.ZodTypeAny, {
363
+ kind: "overlays:tooltip";
364
+ anchorId: string;
365
+ content: {
366
+ body: string;
367
+ ctaButtons?: {
368
+ actionId: string;
369
+ label: string;
370
+ primary?: boolean | undefined;
371
+ }[] | undefined;
372
+ title?: string | undefined;
373
+ };
374
+ trigger?: "immediate" | "hover" | "click" | undefined;
375
+ placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | undefined;
376
+ waitFor?: string | undefined;
377
+ label?: string | undefined;
378
+ }, {
379
+ kind: "overlays:tooltip";
380
+ anchorId: string;
381
+ content: {
382
+ body: string;
383
+ ctaButtons?: {
384
+ actionId: string;
385
+ label: string;
386
+ primary?: boolean | undefined;
387
+ }[] | undefined;
388
+ title?: string | undefined;
389
+ };
390
+ trigger?: "immediate" | "hover" | "click" | undefined;
391
+ placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | undefined;
392
+ waitFor?: string | undefined;
393
+ label?: string | undefined;
394
+ }>;
395
+ declare const ModalZ: z.ZodObject<{
396
+ kind: z.ZodLiteral<"overlays:modal">;
397
+ content: z.ZodObject<{
398
+ title: z.ZodOptional<z.ZodString>;
399
+ body: z.ZodString;
400
+ }, "strict", z.ZodTypeAny, {
401
+ body: string;
402
+ title?: string | undefined;
403
+ }, {
404
+ body: string;
405
+ title?: string | undefined;
406
+ }>;
407
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
408
+ blocking: z.ZodOptional<z.ZodBoolean>;
409
+ scrim: z.ZodOptional<z.ZodObject<{
410
+ opacity: z.ZodOptional<z.ZodNumber>;
411
+ }, "strict", z.ZodTypeAny, {
412
+ opacity?: number | undefined;
413
+ }, {
414
+ opacity?: number | undefined;
415
+ }>>;
416
+ dismiss: z.ZodOptional<z.ZodObject<{
417
+ onEsc: z.ZodOptional<z.ZodBoolean>;
418
+ closeButton: z.ZodOptional<z.ZodBoolean>;
419
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
420
+ }, "strict", z.ZodTypeAny, {
421
+ onEsc?: boolean | undefined;
422
+ closeButton?: boolean | undefined;
423
+ timeoutMs?: number | undefined;
424
+ }, {
425
+ onEsc?: boolean | undefined;
426
+ closeButton?: boolean | undefined;
427
+ timeoutMs?: number | undefined;
428
+ }>>;
429
+ ctaButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
430
+ label: z.ZodString;
431
+ actionId: z.ZodString;
432
+ primary: z.ZodOptional<z.ZodBoolean>;
433
+ }, "strict", z.ZodTypeAny, {
434
+ actionId: string;
435
+ label: string;
436
+ primary?: boolean | undefined;
437
+ }, {
438
+ actionId: string;
439
+ label: string;
440
+ primary?: boolean | undefined;
441
+ }>, "many">>;
442
+ waitFor: z.ZodOptional<z.ZodString>;
443
+ label: z.ZodOptional<z.ZodString>;
444
+ }, "strict", z.ZodTypeAny, {
445
+ kind: "overlays:modal";
446
+ content: {
447
+ body: string;
448
+ title?: string | undefined;
449
+ };
450
+ waitFor?: string | undefined;
451
+ size?: "sm" | "md" | "lg" | undefined;
452
+ blocking?: boolean | undefined;
453
+ scrim?: {
454
+ opacity?: number | undefined;
455
+ } | undefined;
456
+ dismiss?: {
457
+ onEsc?: boolean | undefined;
458
+ closeButton?: boolean | undefined;
459
+ timeoutMs?: number | undefined;
460
+ } | undefined;
461
+ ctaButtons?: {
462
+ actionId: string;
463
+ label: string;
464
+ primary?: boolean | undefined;
465
+ }[] | undefined;
466
+ label?: string | undefined;
467
+ }, {
468
+ kind: "overlays:modal";
469
+ content: {
470
+ body: string;
471
+ title?: string | undefined;
472
+ };
473
+ waitFor?: string | undefined;
474
+ size?: "sm" | "md" | "lg" | undefined;
475
+ blocking?: boolean | undefined;
476
+ scrim?: {
477
+ opacity?: number | undefined;
478
+ } | undefined;
479
+ dismiss?: {
480
+ onEsc?: boolean | undefined;
481
+ closeButton?: boolean | undefined;
482
+ timeoutMs?: number | undefined;
483
+ } | undefined;
484
+ ctaButtons?: {
485
+ actionId: string;
486
+ label: string;
487
+ primary?: boolean | undefined;
488
+ }[] | undefined;
489
+ label?: string | undefined;
490
+ }>;
491
+ declare const ScrollToZ: z.ZodObject<{
492
+ kind: z.ZodLiteral<"navigation:scrollTo">;
493
+ anchorId: z.ZodString;
494
+ behavior: z.ZodOptional<z.ZodEnum<["auto", "smooth", "instant"]>>;
495
+ block: z.ZodOptional<z.ZodEnum<["start", "center", "end", "nearest"]>>;
496
+ inline: z.ZodOptional<z.ZodEnum<["start", "center", "end", "nearest"]>>;
497
+ label: z.ZodOptional<z.ZodString>;
498
+ }, "strict", z.ZodTypeAny, {
499
+ kind: "navigation:scrollTo";
500
+ anchorId: string;
501
+ behavior?: "auto" | "instant" | "smooth" | undefined;
502
+ block?: "start" | "end" | "center" | "nearest" | undefined;
503
+ inline?: "start" | "end" | "center" | "nearest" | undefined;
504
+ label?: string | undefined;
505
+ }, {
506
+ kind: "navigation:scrollTo";
507
+ anchorId: string;
508
+ behavior?: "auto" | "instant" | "smooth" | undefined;
509
+ block?: "start" | "end" | "center" | "nearest" | undefined;
510
+ inline?: "start" | "end" | "center" | "nearest" | undefined;
511
+ label?: string | undefined;
512
+ }>;
513
+ declare const NavigateZ: z.ZodObject<{
514
+ kind: z.ZodLiteral<"navigation:navigate">;
515
+ url: z.ZodString;
516
+ target: z.ZodOptional<z.ZodEnum<["_self", "_blank"]>>;
517
+ label: z.ZodOptional<z.ZodString>;
518
+ }, "strict", z.ZodTypeAny, {
519
+ kind: "navigation:navigate";
520
+ url: string;
521
+ target?: "_self" | "_blank" | undefined;
522
+ label?: string | undefined;
523
+ }, {
524
+ kind: "navigation:navigate";
525
+ url: string;
526
+ target?: "_self" | "_blank" | undefined;
527
+ label?: string | undefined;
528
+ }>;
529
+ declare const MountWidgetZ: z.ZodObject<{
530
+ kind: z.ZodLiteral<"core:mountWidget">;
531
+ slot: z.ZodString;
532
+ widget: z.ZodObject<{
533
+ widgetId: z.ZodString;
534
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
535
+ priority: z.ZodOptional<z.ZodNumber>;
536
+ }, "strict", z.ZodTypeAny, {
537
+ widgetId: string;
538
+ props?: Record<string, unknown> | undefined;
539
+ priority?: number | undefined;
540
+ }, {
541
+ widgetId: string;
542
+ props?: Record<string, unknown> | undefined;
543
+ priority?: number | undefined;
544
+ }>;
545
+ label: z.ZodOptional<z.ZodString>;
546
+ }, "strict", z.ZodTypeAny, {
547
+ kind: "core:mountWidget";
548
+ slot: string;
549
+ widget: {
550
+ widgetId: string;
551
+ props?: Record<string, unknown> | undefined;
552
+ priority?: number | undefined;
553
+ };
554
+ label?: string | undefined;
555
+ }, {
556
+ kind: "core:mountWidget";
557
+ slot: string;
558
+ widget: {
559
+ widgetId: string;
560
+ props?: Record<string, unknown> | undefined;
561
+ priority?: number | undefined;
562
+ };
563
+ label?: string | undefined;
564
+ }>;
565
+ declare const WaitZ: z.ZodObject<{
566
+ kind: z.ZodLiteral<"core:wait">;
567
+ durationMs: z.ZodOptional<z.ZodNumber>;
568
+ event: z.ZodOptional<z.ZodString>;
569
+ label: z.ZodOptional<z.ZodString>;
570
+ }, "strict", z.ZodTypeAny, {
571
+ kind: "core:wait";
572
+ durationMs?: number | undefined;
573
+ event?: string | undefined;
574
+ label?: string | undefined;
575
+ }, {
576
+ kind: "core:wait";
577
+ durationMs?: number | undefined;
578
+ event?: string | undefined;
579
+ label?: string | undefined;
580
+ }>;
581
+ /**
582
+ * Sequence — executes actions serially.
583
+ * `actions` uses `z.any()` as placeholder for recursive ActionStep refs.
584
+ */
585
+ declare const SequenceZ: z.ZodObject<{
586
+ kind: z.ZodLiteral<"core:sequence">;
587
+ actions: z.ZodArray<z.ZodAny, "many">;
588
+ label: z.ZodOptional<z.ZodString>;
589
+ }, "strict", z.ZodTypeAny, {
590
+ kind: "core:sequence";
591
+ actions: any[];
592
+ label?: string | undefined;
593
+ }, {
594
+ kind: "core:sequence";
595
+ actions: any[];
596
+ label?: string | undefined;
597
+ }>;
598
+ /**
599
+ * Parallel — executes actions concurrently.
600
+ * `actions` uses `z.any()` as placeholder for recursive ActionStep refs.
601
+ */
602
+ declare const ParallelZ: z.ZodObject<{
603
+ kind: z.ZodLiteral<"core:parallel">;
604
+ actions: z.ZodArray<z.ZodAny, "many">;
605
+ waitFor: z.ZodOptional<z.ZodEnum<["all", "any"]>>;
606
+ label: z.ZodOptional<z.ZodString>;
607
+ }, "strict", z.ZodTypeAny, {
608
+ kind: "core:parallel";
609
+ actions: any[];
610
+ waitFor?: "all" | "any" | undefined;
611
+ label?: string | undefined;
612
+ }, {
613
+ kind: "core:parallel";
614
+ actions: any[];
615
+ waitFor?: "all" | "any" | undefined;
616
+ label?: string | undefined;
617
+ }>;
618
+ /**
619
+ * Tour — orchestrate sequential steps with cross-page state.
620
+ * `steps` contains TourStepForSchemaZ which uses z.any() for step.action.
621
+ */
622
+ declare const TourZ: z.ZodObject<{
623
+ kind: z.ZodLiteral<"core:tour">;
624
+ tourId: z.ZodString;
625
+ steps: z.ZodArray<z.ZodObject<{
626
+ id: z.ZodString;
627
+ action: z.ZodAny;
628
+ route: z.ZodOptional<z.ZodString>;
629
+ onAction: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
630
+ }, "strict", z.ZodTypeAny, {
631
+ id: string;
632
+ route?: string | undefined;
633
+ action?: any;
634
+ onAction?: Record<string, string> | undefined;
635
+ }, {
636
+ id: string;
637
+ route?: string | undefined;
638
+ action?: any;
639
+ onAction?: Record<string, string> | undefined;
640
+ }>, "many">;
641
+ startStep: z.ZodOptional<z.ZodString>;
642
+ autoStart: z.ZodOptional<z.ZodBoolean>;
643
+ label: z.ZodOptional<z.ZodString>;
644
+ }, "strict", z.ZodTypeAny, {
645
+ kind: "core:tour";
646
+ tourId: string;
647
+ steps: {
648
+ id: string;
649
+ route?: string | undefined;
650
+ action?: any;
651
+ onAction?: Record<string, string> | undefined;
652
+ }[];
653
+ startStep?: string | undefined;
654
+ autoStart?: boolean | undefined;
655
+ label?: string | undefined;
656
+ }, {
657
+ kind: "core:tour";
658
+ tourId: string;
659
+ steps: {
660
+ id: string;
661
+ route?: string | undefined;
662
+ action?: any;
663
+ onAction?: Record<string, string> | undefined;
664
+ }[];
665
+ startStep?: string | undefined;
666
+ autoStart?: boolean | undefined;
667
+ label?: string | undefined;
668
+ }>;
669
+ /**
670
+ * All 18 core action step schemas for unified JSON Schema generation.
671
+ * The generator imports this array and converts each to JSON Schema,
672
+ * then merges them into `$defs` and `actionStep.oneOf`.
673
+ *
674
+ * `defName` values match the existing `$defs` keys for backward compat.
675
+ */
676
+ export declare const coreActionStepSchemas: ({
677
+ defName: string;
678
+ schema: z.ZodObject<{
679
+ kind: z.ZodLiteral<"content:setText">;
680
+ anchorId: z.ZodString;
681
+ text: z.ZodString;
682
+ label: z.ZodOptional<z.ZodString>;
683
+ }, "strict", z.ZodTypeAny, {
684
+ kind: "content:setText";
685
+ anchorId: string;
686
+ text: string;
687
+ label?: string | undefined;
688
+ }, {
689
+ kind: "content:setText";
690
+ anchorId: string;
691
+ text: string;
692
+ label?: string | undefined;
693
+ }>;
694
+ } | {
695
+ defName: string;
696
+ schema: z.ZodObject<{
697
+ kind: z.ZodLiteral<"content:setAttr">;
698
+ anchorId: z.ZodString;
699
+ attr: z.ZodString;
700
+ value: z.ZodString;
701
+ label: z.ZodOptional<z.ZodString>;
702
+ }, "strict", z.ZodTypeAny, {
703
+ kind: "content:setAttr";
704
+ anchorId: string;
705
+ attr: string;
706
+ value: string;
707
+ label?: string | undefined;
708
+ }, {
709
+ kind: "content:setAttr";
710
+ anchorId: string;
711
+ attr: string;
712
+ value: string;
713
+ label?: string | undefined;
714
+ }>;
715
+ } | {
716
+ defName: string;
717
+ schema: z.ZodObject<{
718
+ kind: z.ZodLiteral<"content:addClass">;
719
+ anchorId: z.ZodString;
720
+ className: z.ZodString;
721
+ label: z.ZodOptional<z.ZodString>;
722
+ }, "strict", z.ZodTypeAny, {
723
+ kind: "content:addClass";
724
+ anchorId: string;
725
+ className: string;
726
+ label?: string | undefined;
727
+ }, {
728
+ kind: "content:addClass";
729
+ anchorId: string;
730
+ className: string;
731
+ label?: string | undefined;
732
+ }>;
733
+ } | {
734
+ defName: string;
735
+ schema: z.ZodObject<{
736
+ kind: z.ZodLiteral<"content:removeClass">;
737
+ anchorId: z.ZodString;
738
+ className: z.ZodString;
739
+ label: z.ZodOptional<z.ZodString>;
740
+ }, "strict", z.ZodTypeAny, {
741
+ kind: "content:removeClass";
742
+ anchorId: string;
743
+ className: string;
744
+ label?: string | undefined;
745
+ }, {
746
+ kind: "content:removeClass";
747
+ anchorId: string;
748
+ className: string;
749
+ label?: string | undefined;
750
+ }>;
751
+ } | {
752
+ defName: string;
753
+ schema: z.ZodObject<{
754
+ kind: z.ZodLiteral<"content:setStyle">;
755
+ anchorId: z.ZodString;
756
+ styles: z.ZodRecord<z.ZodString, z.ZodString>;
757
+ label: z.ZodOptional<z.ZodString>;
758
+ }, "strict", z.ZodTypeAny, {
759
+ kind: "content:setStyle";
760
+ anchorId: string;
761
+ styles: Record<string, string>;
762
+ label?: string | undefined;
763
+ }, {
764
+ kind: "content:setStyle";
765
+ anchorId: string;
766
+ styles: Record<string, string>;
767
+ label?: string | undefined;
768
+ }>;
769
+ } | {
770
+ defName: string;
771
+ schema: z.ZodObject<{
772
+ kind: z.ZodLiteral<"content:insertHtml">;
773
+ anchorId: z.ZodString;
774
+ html: z.ZodString;
775
+ position: z.ZodEnum<["before", "after", "prepend", "append", "replace"]>;
776
+ label: z.ZodOptional<z.ZodString>;
777
+ }, "strict", z.ZodTypeAny, {
778
+ kind: "content:insertHtml";
779
+ anchorId: string;
780
+ position: "before" | "after" | "prepend" | "append" | "replace";
781
+ html: string;
782
+ label?: string | undefined;
783
+ }, {
784
+ kind: "content:insertHtml";
785
+ anchorId: string;
786
+ position: "before" | "after" | "prepend" | "append" | "replace";
787
+ html: string;
788
+ label?: string | undefined;
789
+ }>;
790
+ } | {
791
+ defName: string;
792
+ schema: z.ZodObject<{
793
+ kind: z.ZodLiteral<"overlays:highlight">;
794
+ anchorId: z.ZodString;
795
+ style: z.ZodOptional<z.ZodObject<{
796
+ color: z.ZodOptional<z.ZodString>;
797
+ scrimOpacity: z.ZodOptional<z.ZodNumber>;
798
+ paddingPx: z.ZodOptional<z.ZodNumber>;
799
+ radiusPx: z.ZodOptional<z.ZodNumber>;
800
+ }, "strict", z.ZodTypeAny, {
801
+ color?: string | undefined;
802
+ scrimOpacity?: number | undefined;
803
+ paddingPx?: number | undefined;
804
+ radiusPx?: number | undefined;
805
+ }, {
806
+ color?: string | undefined;
807
+ scrimOpacity?: number | undefined;
808
+ paddingPx?: number | undefined;
809
+ radiusPx?: number | undefined;
810
+ }>>;
811
+ duration: z.ZodOptional<z.ZodNumber>;
812
+ label: z.ZodOptional<z.ZodString>;
813
+ }, "strict", z.ZodTypeAny, {
814
+ kind: "overlays:highlight";
815
+ anchorId: string;
816
+ style?: {
817
+ color?: string | undefined;
818
+ scrimOpacity?: number | undefined;
819
+ paddingPx?: number | undefined;
820
+ radiusPx?: number | undefined;
821
+ } | undefined;
822
+ duration?: number | undefined;
823
+ label?: string | undefined;
824
+ }, {
825
+ kind: "overlays:highlight";
826
+ anchorId: string;
827
+ style?: {
828
+ color?: string | undefined;
829
+ scrimOpacity?: number | undefined;
830
+ paddingPx?: number | undefined;
831
+ radiusPx?: number | undefined;
832
+ } | undefined;
833
+ duration?: number | undefined;
834
+ label?: string | undefined;
835
+ }>;
836
+ } | {
837
+ defName: string;
838
+ schema: z.ZodObject<{
839
+ kind: z.ZodLiteral<"overlays:pulse">;
840
+ anchorId: z.ZodString;
841
+ duration: z.ZodOptional<z.ZodNumber>;
842
+ label: z.ZodOptional<z.ZodString>;
843
+ }, "strict", z.ZodTypeAny, {
844
+ kind: "overlays:pulse";
845
+ anchorId: string;
846
+ duration?: number | undefined;
847
+ label?: string | undefined;
848
+ }, {
849
+ kind: "overlays:pulse";
850
+ anchorId: string;
851
+ duration?: number | undefined;
852
+ label?: string | undefined;
853
+ }>;
854
+ } | {
855
+ defName: string;
856
+ schema: z.ZodObject<{
857
+ kind: z.ZodLiteral<"overlays:badge">;
858
+ anchorId: z.ZodString;
859
+ content: z.ZodString;
860
+ position: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "bottom-left", "bottom-right"]>>;
861
+ label: z.ZodOptional<z.ZodString>;
862
+ }, "strict", z.ZodTypeAny, {
863
+ kind: "overlays:badge";
864
+ anchorId: string;
865
+ content: string;
866
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
867
+ label?: string | undefined;
868
+ }, {
869
+ kind: "overlays:badge";
870
+ anchorId: string;
871
+ content: string;
872
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
873
+ label?: string | undefined;
874
+ }>;
875
+ } | {
876
+ defName: string;
877
+ schema: z.ZodObject<{
878
+ kind: z.ZodLiteral<"overlays:tooltip">;
879
+ anchorId: z.ZodString;
880
+ content: z.ZodObject<{
881
+ title: z.ZodOptional<z.ZodString>;
882
+ body: z.ZodString;
883
+ ctaButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
884
+ label: z.ZodString;
885
+ actionId: z.ZodString;
886
+ primary: z.ZodOptional<z.ZodBoolean>;
887
+ }, "strict", z.ZodTypeAny, {
888
+ actionId: string;
889
+ label: string;
890
+ primary?: boolean | undefined;
891
+ }, {
892
+ actionId: string;
893
+ label: string;
894
+ primary?: boolean | undefined;
895
+ }>, "many">>;
896
+ }, "strict", z.ZodTypeAny, {
897
+ body: string;
898
+ ctaButtons?: {
899
+ actionId: string;
900
+ label: string;
901
+ primary?: boolean | undefined;
902
+ }[] | undefined;
903
+ title?: string | undefined;
904
+ }, {
905
+ body: string;
906
+ ctaButtons?: {
907
+ actionId: string;
908
+ label: string;
909
+ primary?: boolean | undefined;
910
+ }[] | undefined;
911
+ title?: string | undefined;
912
+ }>;
913
+ trigger: z.ZodOptional<z.ZodEnum<["immediate", "hover", "click"]>>;
914
+ placement: z.ZodOptional<z.ZodEnum<["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"]>>;
915
+ waitFor: z.ZodOptional<z.ZodString>;
916
+ label: z.ZodOptional<z.ZodString>;
917
+ }, "strict", z.ZodTypeAny, {
918
+ kind: "overlays:tooltip";
919
+ anchorId: string;
920
+ content: {
921
+ body: string;
922
+ ctaButtons?: {
923
+ actionId: string;
924
+ label: string;
925
+ primary?: boolean | undefined;
926
+ }[] | undefined;
927
+ title?: string | undefined;
928
+ };
929
+ trigger?: "immediate" | "hover" | "click" | undefined;
930
+ placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | undefined;
931
+ waitFor?: string | undefined;
932
+ label?: string | undefined;
933
+ }, {
934
+ kind: "overlays:tooltip";
935
+ anchorId: string;
936
+ content: {
937
+ body: string;
938
+ ctaButtons?: {
939
+ actionId: string;
940
+ label: string;
941
+ primary?: boolean | undefined;
942
+ }[] | undefined;
943
+ title?: string | undefined;
944
+ };
945
+ trigger?: "immediate" | "hover" | "click" | undefined;
946
+ placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | undefined;
947
+ waitFor?: string | undefined;
948
+ label?: string | undefined;
949
+ }>;
950
+ } | {
951
+ defName: string;
952
+ schema: z.ZodObject<{
953
+ kind: z.ZodLiteral<"overlays:modal">;
954
+ content: z.ZodObject<{
955
+ title: z.ZodOptional<z.ZodString>;
956
+ body: z.ZodString;
957
+ }, "strict", z.ZodTypeAny, {
958
+ body: string;
959
+ title?: string | undefined;
960
+ }, {
961
+ body: string;
962
+ title?: string | undefined;
963
+ }>;
964
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
965
+ blocking: z.ZodOptional<z.ZodBoolean>;
966
+ scrim: z.ZodOptional<z.ZodObject<{
967
+ opacity: z.ZodOptional<z.ZodNumber>;
968
+ }, "strict", z.ZodTypeAny, {
969
+ opacity?: number | undefined;
970
+ }, {
971
+ opacity?: number | undefined;
972
+ }>>;
973
+ dismiss: z.ZodOptional<z.ZodObject<{
974
+ onEsc: z.ZodOptional<z.ZodBoolean>;
975
+ closeButton: z.ZodOptional<z.ZodBoolean>;
976
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
977
+ }, "strict", z.ZodTypeAny, {
978
+ onEsc?: boolean | undefined;
979
+ closeButton?: boolean | undefined;
980
+ timeoutMs?: number | undefined;
981
+ }, {
982
+ onEsc?: boolean | undefined;
983
+ closeButton?: boolean | undefined;
984
+ timeoutMs?: number | undefined;
985
+ }>>;
986
+ ctaButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
987
+ label: z.ZodString;
988
+ actionId: z.ZodString;
989
+ primary: z.ZodOptional<z.ZodBoolean>;
990
+ }, "strict", z.ZodTypeAny, {
991
+ actionId: string;
992
+ label: string;
993
+ primary?: boolean | undefined;
994
+ }, {
995
+ actionId: string;
996
+ label: string;
997
+ primary?: boolean | undefined;
998
+ }>, "many">>;
999
+ waitFor: z.ZodOptional<z.ZodString>;
1000
+ label: z.ZodOptional<z.ZodString>;
1001
+ }, "strict", z.ZodTypeAny, {
1002
+ kind: "overlays:modal";
1003
+ content: {
1004
+ body: string;
1005
+ title?: string | undefined;
1006
+ };
1007
+ waitFor?: string | undefined;
1008
+ size?: "sm" | "md" | "lg" | undefined;
1009
+ blocking?: boolean | undefined;
1010
+ scrim?: {
1011
+ opacity?: number | undefined;
1012
+ } | undefined;
1013
+ dismiss?: {
1014
+ onEsc?: boolean | undefined;
1015
+ closeButton?: boolean | undefined;
1016
+ timeoutMs?: number | undefined;
1017
+ } | undefined;
1018
+ ctaButtons?: {
1019
+ actionId: string;
1020
+ label: string;
1021
+ primary?: boolean | undefined;
1022
+ }[] | undefined;
1023
+ label?: string | undefined;
1024
+ }, {
1025
+ kind: "overlays:modal";
1026
+ content: {
1027
+ body: string;
1028
+ title?: string | undefined;
1029
+ };
1030
+ waitFor?: string | undefined;
1031
+ size?: "sm" | "md" | "lg" | undefined;
1032
+ blocking?: boolean | undefined;
1033
+ scrim?: {
1034
+ opacity?: number | undefined;
1035
+ } | undefined;
1036
+ dismiss?: {
1037
+ onEsc?: boolean | undefined;
1038
+ closeButton?: boolean | undefined;
1039
+ timeoutMs?: number | undefined;
1040
+ } | undefined;
1041
+ ctaButtons?: {
1042
+ actionId: string;
1043
+ label: string;
1044
+ primary?: boolean | undefined;
1045
+ }[] | undefined;
1046
+ label?: string | undefined;
1047
+ }>;
1048
+ } | {
1049
+ defName: string;
1050
+ schema: z.ZodObject<{
1051
+ kind: z.ZodLiteral<"navigation:scrollTo">;
1052
+ anchorId: z.ZodString;
1053
+ behavior: z.ZodOptional<z.ZodEnum<["auto", "smooth", "instant"]>>;
1054
+ block: z.ZodOptional<z.ZodEnum<["start", "center", "end", "nearest"]>>;
1055
+ inline: z.ZodOptional<z.ZodEnum<["start", "center", "end", "nearest"]>>;
1056
+ label: z.ZodOptional<z.ZodString>;
1057
+ }, "strict", z.ZodTypeAny, {
1058
+ kind: "navigation:scrollTo";
1059
+ anchorId: string;
1060
+ behavior?: "auto" | "instant" | "smooth" | undefined;
1061
+ block?: "start" | "end" | "center" | "nearest" | undefined;
1062
+ inline?: "start" | "end" | "center" | "nearest" | undefined;
1063
+ label?: string | undefined;
1064
+ }, {
1065
+ kind: "navigation:scrollTo";
1066
+ anchorId: string;
1067
+ behavior?: "auto" | "instant" | "smooth" | undefined;
1068
+ block?: "start" | "end" | "center" | "nearest" | undefined;
1069
+ inline?: "start" | "end" | "center" | "nearest" | undefined;
1070
+ label?: string | undefined;
1071
+ }>;
1072
+ } | {
1073
+ defName: string;
1074
+ schema: z.ZodObject<{
1075
+ kind: z.ZodLiteral<"navigation:navigate">;
1076
+ url: z.ZodString;
1077
+ target: z.ZodOptional<z.ZodEnum<["_self", "_blank"]>>;
1078
+ label: z.ZodOptional<z.ZodString>;
1079
+ }, "strict", z.ZodTypeAny, {
1080
+ kind: "navigation:navigate";
1081
+ url: string;
1082
+ target?: "_self" | "_blank" | undefined;
1083
+ label?: string | undefined;
1084
+ }, {
1085
+ kind: "navigation:navigate";
1086
+ url: string;
1087
+ target?: "_self" | "_blank" | undefined;
1088
+ label?: string | undefined;
1089
+ }>;
1090
+ } | {
1091
+ defName: string;
1092
+ schema: z.ZodObject<{
1093
+ kind: z.ZodLiteral<"core:mountWidget">;
1094
+ slot: z.ZodString;
1095
+ widget: z.ZodObject<{
1096
+ widgetId: z.ZodString;
1097
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1098
+ priority: z.ZodOptional<z.ZodNumber>;
1099
+ }, "strict", z.ZodTypeAny, {
1100
+ widgetId: string;
1101
+ props?: Record<string, unknown> | undefined;
1102
+ priority?: number | undefined;
1103
+ }, {
1104
+ widgetId: string;
1105
+ props?: Record<string, unknown> | undefined;
1106
+ priority?: number | undefined;
1107
+ }>;
1108
+ label: z.ZodOptional<z.ZodString>;
1109
+ }, "strict", z.ZodTypeAny, {
1110
+ kind: "core:mountWidget";
1111
+ slot: string;
1112
+ widget: {
1113
+ widgetId: string;
1114
+ props?: Record<string, unknown> | undefined;
1115
+ priority?: number | undefined;
1116
+ };
1117
+ label?: string | undefined;
1118
+ }, {
1119
+ kind: "core:mountWidget";
1120
+ slot: string;
1121
+ widget: {
1122
+ widgetId: string;
1123
+ props?: Record<string, unknown> | undefined;
1124
+ priority?: number | undefined;
1125
+ };
1126
+ label?: string | undefined;
1127
+ }>;
1128
+ } | {
1129
+ defName: string;
1130
+ schema: z.ZodObject<{
1131
+ kind: z.ZodLiteral<"core:wait">;
1132
+ durationMs: z.ZodOptional<z.ZodNumber>;
1133
+ event: z.ZodOptional<z.ZodString>;
1134
+ label: z.ZodOptional<z.ZodString>;
1135
+ }, "strict", z.ZodTypeAny, {
1136
+ kind: "core:wait";
1137
+ durationMs?: number | undefined;
1138
+ event?: string | undefined;
1139
+ label?: string | undefined;
1140
+ }, {
1141
+ kind: "core:wait";
1142
+ durationMs?: number | undefined;
1143
+ event?: string | undefined;
1144
+ label?: string | undefined;
1145
+ }>;
1146
+ } | {
1147
+ defName: string;
1148
+ schema: z.ZodObject<{
1149
+ kind: z.ZodLiteral<"core:sequence">;
1150
+ actions: z.ZodArray<z.ZodAny, "many">;
1151
+ label: z.ZodOptional<z.ZodString>;
1152
+ }, "strict", z.ZodTypeAny, {
1153
+ kind: "core:sequence";
1154
+ actions: any[];
1155
+ label?: string | undefined;
1156
+ }, {
1157
+ kind: "core:sequence";
1158
+ actions: any[];
1159
+ label?: string | undefined;
1160
+ }>;
1161
+ } | {
1162
+ defName: string;
1163
+ schema: z.ZodObject<{
1164
+ kind: z.ZodLiteral<"core:parallel">;
1165
+ actions: z.ZodArray<z.ZodAny, "many">;
1166
+ waitFor: z.ZodOptional<z.ZodEnum<["all", "any"]>>;
1167
+ label: z.ZodOptional<z.ZodString>;
1168
+ }, "strict", z.ZodTypeAny, {
1169
+ kind: "core:parallel";
1170
+ actions: any[];
1171
+ waitFor?: "all" | "any" | undefined;
1172
+ label?: string | undefined;
1173
+ }, {
1174
+ kind: "core:parallel";
1175
+ actions: any[];
1176
+ waitFor?: "all" | "any" | undefined;
1177
+ label?: string | undefined;
1178
+ }>;
1179
+ } | {
1180
+ defName: string;
1181
+ schema: z.ZodObject<{
1182
+ kind: z.ZodLiteral<"core:tour">;
1183
+ tourId: z.ZodString;
1184
+ steps: z.ZodArray<z.ZodObject<{
1185
+ id: z.ZodString;
1186
+ action: z.ZodAny;
1187
+ route: z.ZodOptional<z.ZodString>;
1188
+ onAction: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1189
+ }, "strict", z.ZodTypeAny, {
1190
+ id: string;
1191
+ route?: string | undefined;
1192
+ action?: any;
1193
+ onAction?: Record<string, string> | undefined;
1194
+ }, {
1195
+ id: string;
1196
+ route?: string | undefined;
1197
+ action?: any;
1198
+ onAction?: Record<string, string> | undefined;
1199
+ }>, "many">;
1200
+ startStep: z.ZodOptional<z.ZodString>;
1201
+ autoStart: z.ZodOptional<z.ZodBoolean>;
1202
+ label: z.ZodOptional<z.ZodString>;
1203
+ }, "strict", z.ZodTypeAny, {
1204
+ kind: "core:tour";
1205
+ tourId: string;
1206
+ steps: {
1207
+ id: string;
1208
+ route?: string | undefined;
1209
+ action?: any;
1210
+ onAction?: Record<string, string> | undefined;
1211
+ }[];
1212
+ startStep?: string | undefined;
1213
+ autoStart?: boolean | undefined;
1214
+ label?: string | undefined;
1215
+ }, {
1216
+ kind: "core:tour";
1217
+ tourId: string;
1218
+ steps: {
1219
+ id: string;
1220
+ route?: string | undefined;
1221
+ action?: any;
1222
+ onAction?: Record<string, string> | undefined;
1223
+ }[];
1224
+ startStep?: string | undefined;
1225
+ autoStart?: boolean | undefined;
1226
+ label?: string | undefined;
1227
+ }>;
1228
+ })[];
1229
+ export { HighlightStyleZ, BadgePositionZ, PlacementZ, CtaButtonZ, TooltipContentZ, ModalContentZ, InsertPositionZ, TooltipTriggerZ, WidgetConfigZ, TourStepForSchemaZ, ScrollBehaviorZ, ScrollLogicalPositionZ, SetTextZ, SetAttrZ, AddClassZ, RemoveClassZ, SetStyleZ, InsertHtmlZ, HighlightZ, PulseZ, BadgeZ, TooltipZ, ModalZ, ScrollToZ, NavigateZ, MountWidgetZ, WaitZ, SequenceZ, ParallelZ, TourZ, };