@syntrologie/adapt-nav 2.8.0-canary.31 → 2.8.0-canary.310

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 (144) hide show
  1. package/dist/NavWidgetLit.d.ts +56 -0
  2. package/dist/NavWidgetLit.d.ts.map +1 -0
  3. package/dist/NavWidgetLit.editable.d.ts +151 -0
  4. package/dist/NavWidgetLit.editable.d.ts.map +1 -0
  5. package/dist/NavWidgetLit.test.d.ts +8 -0
  6. package/dist/NavWidgetLit.test.d.ts.map +1 -0
  7. package/dist/chunk-SX36IHRC.js +640 -0
  8. package/dist/chunk-SX36IHRC.js.map +7 -0
  9. package/dist/editor.d.ts +66 -21
  10. package/dist/editor.d.ts.map +1 -1
  11. package/dist/editor.js +5627 -307
  12. package/dist/editor.js.map +7 -0
  13. package/dist/nav-item-editor.d.ts +43 -0
  14. package/dist/nav-item-editor.d.ts.map +1 -0
  15. package/dist/resolveNavTarget.d.ts +61 -0
  16. package/dist/resolveNavTarget.d.ts.map +1 -0
  17. package/dist/resolveNavTarget.test.d.ts +2 -0
  18. package/dist/resolveNavTarget.test.d.ts.map +1 -0
  19. package/dist/runtime.d.ts +22 -6
  20. package/dist/runtime.d.ts.map +1 -1
  21. package/dist/runtime.js +643 -142
  22. package/dist/runtime.js.map +7 -0
  23. package/dist/schema.d.ts +316 -174
  24. package/dist/schema.d.ts.map +1 -1
  25. package/dist/schema.js +155 -125
  26. package/dist/schema.js.map +7 -0
  27. package/dist/types.d.ts +7 -0
  28. package/dist/types.d.ts.map +1 -1
  29. package/package.json +12 -16
  30. package/dist/NavWidget.d.ts +0 -31
  31. package/dist/NavWidget.d.ts.map +0 -1
  32. package/dist/NavWidget.js +0 -491
  33. package/dist/cdn.d.ts +0 -62
  34. package/dist/cdn.d.ts.map +0 -1
  35. package/dist/cdn.js +0 -48
  36. package/dist/summarize.js +0 -51
  37. package/dist/types.js +0 -18
  38. package/node_modules/@syntro/design-system/README.md +0 -335
  39. package/node_modules/@syntro/design-system/dist/assets/syntrologie-logo.svg +0 -21
  40. package/node_modules/@syntro/design-system/dist/assets/syntrologie-logomark.svg +0 -10
  41. package/node_modules/@syntro/design-system/dist/index.d.ts +0 -8
  42. package/node_modules/@syntro/design-system/dist/index.d.ts.map +0 -1
  43. package/node_modules/@syntro/design-system/dist/index.js +0 -7
  44. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts +0 -19
  45. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts.map +0 -1
  46. package/node_modules/@syntro/design-system/dist/tailwind-preset.js +0 -453
  47. package/node_modules/@syntro/design-system/dist/tokens/colors.css +0 -464
  48. package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts +0 -874
  49. package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts.map +0 -1
  50. package/node_modules/@syntro/design-system/dist/tokens/colors.js +0 -564
  51. package/node_modules/@syntro/design-system/dist/tokens/effects.css +0 -43
  52. package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts +0 -85
  53. package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts.map +0 -1
  54. package/node_modules/@syntro/design-system/dist/tokens/effects.js +0 -77
  55. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts +0 -10
  56. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts.map +0 -1
  57. package/node_modules/@syntro/design-system/dist/tokens/index.js +0 -9
  58. package/node_modules/@syntro/design-system/package.json +0 -55
  59. package/node_modules/@syntro/design-system/src/assets/syntrologie-logo.svg +0 -21
  60. package/node_modules/@syntro/design-system/src/assets/syntrologie-logomark.svg +0 -10
  61. package/node_modules/@syntrologie/sdk-contracts/dist/index.d.ts +0 -129
  62. package/node_modules/@syntrologie/sdk-contracts/dist/index.js +0 -15
  63. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.d.ts +0 -2225
  64. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.js +0 -162
  65. package/node_modules/@syntrologie/sdk-contracts/package.json +0 -33
  66. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts +0 -2
  67. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts.map +0 -1
  68. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.js +0 -3
  69. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts +0 -34
  70. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +0 -1
  71. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +0 -158
  72. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts +0 -7
  73. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts.map +0 -1
  74. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.js +0 -9
  75. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts +0 -23
  76. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts.map +0 -1
  77. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.js +0 -40
  78. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts +0 -7
  79. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts.map +0 -1
  80. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.js +0 -22
  81. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts +0 -8
  82. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts.map +0 -1
  83. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.js +0 -9
  84. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts +0 -7
  85. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts.map +0 -1
  86. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.js +0 -4
  87. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts +0 -7
  88. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts.map +0 -1
  89. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.js +0 -4
  90. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts +0 -13
  91. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts.map +0 -1
  92. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.js +0 -15
  93. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts +0 -7
  94. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts.map +0 -1
  95. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.js +0 -4
  96. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts +0 -9
  97. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts.map +0 -1
  98. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.js +0 -4
  99. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts +0 -8
  100. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts.map +0 -1
  101. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.js +0 -8
  102. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts +0 -7
  103. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts.map +0 -1
  104. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.js +0 -4
  105. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts +0 -25
  106. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +0 -1
  107. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +0 -379
  108. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts +0 -8
  109. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts.map +0 -1
  110. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.js +0 -8
  111. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts +0 -8
  112. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts.map +0 -1
  113. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.js +0 -17
  114. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts +0 -32
  115. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts.map +0 -1
  116. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.js +0 -85
  117. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts +0 -6
  118. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts.map +0 -1
  119. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.js +0 -4
  120. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts +0 -8
  121. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts.map +0 -1
  122. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.js +0 -5
  123. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts +0 -12
  124. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts.map +0 -1
  125. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.js +0 -40
  126. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts +0 -26
  127. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts.map +0 -1
  128. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.js +0 -202
  129. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts +0 -8
  130. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts.map +0 -1
  131. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.js +0 -46
  132. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts +0 -24
  133. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts.map +0 -1
  134. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.js +0 -86
  135. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +0 -34
  136. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +0 -1
  137. package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +0 -25
  138. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts +0 -37
  139. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts.map +0 -1
  140. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.js +0 -52
  141. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts +0 -22
  142. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts.map +0 -1
  143. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.js +0 -143
  144. package/node_modules/@syntrologie/shared-editor-ui/package.json +0 -45
package/dist/schema.d.ts CHANGED
@@ -39,8 +39,8 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  external: boolean;
41
41
  title: string;
42
- description: string;
43
42
  id: string;
43
+ description: string;
44
44
  href?: string | undefined;
45
45
  icon?: string | undefined;
46
46
  anchor?: {
@@ -50,8 +50,8 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
50
50
  category?: string | undefined;
51
51
  }, {
52
52
  title: string;
53
- description: string;
54
53
  id: string;
54
+ description: string;
55
55
  external?: boolean | undefined;
56
56
  href?: string | undefined;
57
57
  icon?: string | undefined;
@@ -139,17 +139,17 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
139
139
  maxHeight?: number | undefined;
140
140
  }>, z.ZodObject<{
141
141
  type: z.ZodLiteral<"session_metric">;
142
- key: z.ZodString;
142
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
143
143
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
144
144
  threshold: z.ZodNumber;
145
145
  }, "strip", z.ZodTypeAny, {
146
146
  type: "session_metric";
147
- key: string;
147
+ key: "time_on_page" | "page_views" | "scroll_depth";
148
148
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
149
149
  threshold: number;
150
150
  }, {
151
151
  type: "session_metric";
152
- key: string;
152
+ key: "time_on_page" | "page_views" | "scroll_depth";
153
153
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
154
154
  threshold: number;
155
155
  }>, z.ZodObject<{
@@ -198,7 +198,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
198
198
  count: z.ZodNumber;
199
199
  withinMs: z.ZodOptional<z.ZodNumber>;
200
200
  counter: z.ZodOptional<z.ZodObject<{
201
- events: z.ZodArray<z.ZodString, "many">;
201
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "ui.hesitate", "ui.rage_click", "nav.page_view", "nav.page_leave"]>, "many">;
202
202
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
203
203
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
204
204
  contains: z.ZodOptional<z.ZodString>;
@@ -210,13 +210,13 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
210
210
  contains?: string | undefined;
211
211
  }>>>;
212
212
  }, "strip", z.ZodTypeAny, {
213
- events: string[];
213
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
214
214
  match?: Record<string, {
215
215
  equals?: string | number | boolean | undefined;
216
216
  contains?: string | undefined;
217
217
  }> | undefined;
218
218
  }, {
219
- events: string[];
219
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
220
220
  match?: Record<string, {
221
221
  equals?: string | number | boolean | undefined;
222
222
  contains?: string | undefined;
@@ -229,7 +229,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
229
229
  count: number;
230
230
  withinMs?: number | undefined;
231
231
  counter?: {
232
- events: string[];
232
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
233
233
  match?: Record<string, {
234
234
  equals?: string | number | boolean | undefined;
235
235
  contains?: string | undefined;
@@ -242,7 +242,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
242
242
  count: number;
243
243
  withinMs?: number | undefined;
244
244
  counter?: {
245
- events: string[];
245
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
246
246
  match?: Record<string, {
247
247
  equals?: string | number | boolean | undefined;
248
248
  contains?: string | undefined;
@@ -277,7 +277,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
277
277
  maxHeight?: number | undefined;
278
278
  } | {
279
279
  type: "session_metric";
280
- key: string;
280
+ key: "time_on_page" | "page_views" | "scroll_depth";
281
281
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
282
282
  threshold: number;
283
283
  } | {
@@ -300,7 +300,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
300
300
  count: number;
301
301
  withinMs?: number | undefined;
302
302
  counter?: {
303
- events: string[];
303
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
304
304
  match?: Record<string, {
305
305
  equals?: string | number | boolean | undefined;
306
306
  contains?: string | undefined;
@@ -335,7 +335,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
335
335
  maxHeight?: number | undefined;
336
336
  } | {
337
337
  type: "session_metric";
338
- key: string;
338
+ key: "time_on_page" | "page_views" | "scroll_depth";
339
339
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
340
340
  threshold: number;
341
341
  } | {
@@ -358,7 +358,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
358
358
  count: number;
359
359
  withinMs?: number | undefined;
360
360
  counter?: {
361
- events: string[];
361
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
362
362
  match?: Record<string, {
363
363
  equals?: string | number | boolean | undefined;
364
364
  contains?: string | undefined;
@@ -397,7 +397,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
397
397
  maxHeight?: number | undefined;
398
398
  } | {
399
399
  type: "session_metric";
400
- key: string;
400
+ key: "time_on_page" | "page_views" | "scroll_depth";
401
401
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
402
402
  threshold: number;
403
403
  } | {
@@ -420,7 +420,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
420
420
  count: number;
421
421
  withinMs?: number | undefined;
422
422
  counter?: {
423
- events: string[];
423
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
424
424
  match?: Record<string, {
425
425
  equals?: string | number | boolean | undefined;
426
426
  contains?: string | undefined;
@@ -459,7 +459,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
459
459
  maxHeight?: number | undefined;
460
460
  } | {
461
461
  type: "session_metric";
462
- key: string;
462
+ key: "time_on_page" | "page_views" | "scroll_depth";
463
463
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
464
464
  threshold: number;
465
465
  } | {
@@ -482,7 +482,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
482
482
  count: number;
483
483
  withinMs?: number | undefined;
484
484
  counter?: {
485
- events: string[];
485
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
486
486
  match?: Record<string, {
487
487
  equals?: string | number | boolean | undefined;
488
488
  contains?: string | undefined;
@@ -572,13 +572,17 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
572
572
  why: string;
573
573
  confidence?: number | undefined;
574
574
  }>>;
575
+ id: z.ZodOptional<z.ZodString>;
576
+ title: z.ZodOptional<z.ZodString>;
577
+ description: z.ZodOptional<z.ZodString>;
578
+ validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
575
579
  }, "strip", z.ZodTypeAny, {
576
580
  kind: "nav:tip";
577
581
  config: {
578
582
  external: boolean;
579
583
  title: string;
580
- description: string;
581
584
  id: string;
585
+ description: string;
582
586
  href?: string | undefined;
583
587
  icon?: string | undefined;
584
588
  anchor?: {
@@ -587,6 +591,9 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
587
591
  } | undefined;
588
592
  category?: string | undefined;
589
593
  };
594
+ title?: string | undefined;
595
+ id?: string | undefined;
596
+ description?: string | undefined;
590
597
  triggerWhen?: {
591
598
  type: "rules";
592
599
  rules: {
@@ -616,7 +623,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
616
623
  maxHeight?: number | undefined;
617
624
  } | {
618
625
  type: "session_metric";
619
- key: string;
626
+ key: "time_on_page" | "page_views" | "scroll_depth";
620
627
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
621
628
  threshold: number;
622
629
  } | {
@@ -639,7 +646,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
639
646
  count: number;
640
647
  withinMs?: number | undefined;
641
648
  counter?: {
642
- events: string[];
649
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
643
650
  match?: Record<string, {
644
651
  equals?: string | number | boolean | undefined;
645
652
  contains?: string | undefined;
@@ -668,6 +675,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
668
675
  method?: "GET" | "POST" | undefined;
669
676
  timeoutMs?: number | undefined;
670
677
  } | null | undefined;
678
+ validation?: string[] | undefined;
671
679
  notify?: {
672
680
  title?: string | undefined;
673
681
  body?: string | undefined;
@@ -681,8 +689,8 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
681
689
  kind: "nav:tip";
682
690
  config: {
683
691
  title: string;
684
- description: string;
685
692
  id: string;
693
+ description: string;
686
694
  external?: boolean | undefined;
687
695
  href?: string | undefined;
688
696
  icon?: string | undefined;
@@ -692,6 +700,9 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
692
700
  } | undefined;
693
701
  category?: string | undefined;
694
702
  };
703
+ title?: string | undefined;
704
+ id?: string | undefined;
705
+ description?: string | undefined;
695
706
  triggerWhen?: {
696
707
  type: "rules";
697
708
  rules: {
@@ -721,7 +732,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
721
732
  maxHeight?: number | undefined;
722
733
  } | {
723
734
  type: "session_metric";
724
- key: string;
735
+ key: "time_on_page" | "page_views" | "scroll_depth";
725
736
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
726
737
  threshold: number;
727
738
  } | {
@@ -744,7 +755,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
744
755
  count: number;
745
756
  withinMs?: number | undefined;
746
757
  counter?: {
747
- events: string[];
758
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
748
759
  match?: Record<string, {
749
760
  equals?: string | number | boolean | undefined;
750
761
  contains?: string | undefined;
@@ -773,6 +784,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
773
784
  method?: "GET" | "POST" | undefined;
774
785
  timeoutMs?: number | undefined;
775
786
  } | null | undefined;
787
+ validation?: string[] | undefined;
776
788
  notify?: {
777
789
  title?: string | undefined;
778
790
  body?: string | undefined;
@@ -787,8 +799,8 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
787
799
  config: {
788
800
  external: boolean;
789
801
  title: string;
790
- description: string;
791
802
  id: string;
803
+ description: string;
792
804
  href?: string | undefined;
793
805
  icon?: string | undefined;
794
806
  anchor?: {
@@ -797,6 +809,9 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
797
809
  } | undefined;
798
810
  category?: string | undefined;
799
811
  };
812
+ title?: string | undefined;
813
+ id?: string | undefined;
814
+ description?: string | undefined;
800
815
  triggerWhen?: {
801
816
  type: "rules";
802
817
  rules: {
@@ -826,7 +841,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
826
841
  maxHeight?: number | undefined;
827
842
  } | {
828
843
  type: "session_metric";
829
- key: string;
844
+ key: "time_on_page" | "page_views" | "scroll_depth";
830
845
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
831
846
  threshold: number;
832
847
  } | {
@@ -849,7 +864,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
849
864
  count: number;
850
865
  withinMs?: number | undefined;
851
866
  counter?: {
852
- events: string[];
867
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
853
868
  match?: Record<string, {
854
869
  equals?: string | number | boolean | undefined;
855
870
  contains?: string | undefined;
@@ -878,6 +893,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
878
893
  method?: "GET" | "POST" | undefined;
879
894
  timeoutMs?: number | undefined;
880
895
  } | null | undefined;
896
+ validation?: string[] | undefined;
881
897
  notify?: {
882
898
  title?: string | undefined;
883
899
  body?: string | undefined;
@@ -891,8 +907,8 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
891
907
  kind: "nav:tip";
892
908
  config: {
893
909
  title: string;
894
- description: string;
895
910
  id: string;
911
+ description: string;
896
912
  external?: boolean | undefined;
897
913
  href?: string | undefined;
898
914
  icon?: string | undefined;
@@ -902,6 +918,9 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
902
918
  } | undefined;
903
919
  category?: string | undefined;
904
920
  };
921
+ title?: string | undefined;
922
+ id?: string | undefined;
923
+ description?: string | undefined;
905
924
  triggerWhen?: {
906
925
  type: "rules";
907
926
  rules: {
@@ -931,7 +950,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
931
950
  maxHeight?: number | undefined;
932
951
  } | {
933
952
  type: "session_metric";
934
- key: string;
953
+ key: "time_on_page" | "page_views" | "scroll_depth";
935
954
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
936
955
  threshold: number;
937
956
  } | {
@@ -954,7 +973,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
954
973
  count: number;
955
974
  withinMs?: number | undefined;
956
975
  counter?: {
957
- events: string[];
976
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
958
977
  match?: Record<string, {
959
978
  equals?: string | number | boolean | undefined;
960
979
  contains?: string | undefined;
@@ -983,6 +1002,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
983
1002
  method?: "GET" | "POST" | undefined;
984
1003
  timeoutMs?: number | undefined;
985
1004
  } | null | undefined;
1005
+ validation?: string[] | undefined;
986
1006
  notify?: {
987
1007
  title?: string | undefined;
988
1008
  body?: string | undefined;
@@ -1026,8 +1046,8 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1026
1046
  }, "strip", z.ZodTypeAny, {
1027
1047
  external: boolean;
1028
1048
  title: string;
1029
- description: string;
1030
1049
  id: string;
1050
+ description: string;
1031
1051
  href?: string | undefined;
1032
1052
  icon?: string | undefined;
1033
1053
  anchor?: {
@@ -1037,8 +1057,8 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1037
1057
  category?: string | undefined;
1038
1058
  }, {
1039
1059
  title: string;
1040
- description: string;
1041
1060
  id: string;
1061
+ description: string;
1042
1062
  external?: boolean | undefined;
1043
1063
  href?: string | undefined;
1044
1064
  icon?: string | undefined;
@@ -1126,17 +1146,17 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1126
1146
  maxHeight?: number | undefined;
1127
1147
  }>, z.ZodObject<{
1128
1148
  type: z.ZodLiteral<"session_metric">;
1129
- key: z.ZodString;
1149
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
1130
1150
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
1131
1151
  threshold: z.ZodNumber;
1132
1152
  }, "strip", z.ZodTypeAny, {
1133
1153
  type: "session_metric";
1134
- key: string;
1154
+ key: "time_on_page" | "page_views" | "scroll_depth";
1135
1155
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1136
1156
  threshold: number;
1137
1157
  }, {
1138
1158
  type: "session_metric";
1139
- key: string;
1159
+ key: "time_on_page" | "page_views" | "scroll_depth";
1140
1160
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1141
1161
  threshold: number;
1142
1162
  }>, z.ZodObject<{
@@ -1185,7 +1205,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1185
1205
  count: z.ZodNumber;
1186
1206
  withinMs: z.ZodOptional<z.ZodNumber>;
1187
1207
  counter: z.ZodOptional<z.ZodObject<{
1188
- events: z.ZodArray<z.ZodString, "many">;
1208
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "ui.hesitate", "ui.rage_click", "nav.page_view", "nav.page_leave"]>, "many">;
1189
1209
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1190
1210
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1191
1211
  contains: z.ZodOptional<z.ZodString>;
@@ -1197,13 +1217,13 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1197
1217
  contains?: string | undefined;
1198
1218
  }>>>;
1199
1219
  }, "strip", z.ZodTypeAny, {
1200
- events: string[];
1220
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1201
1221
  match?: Record<string, {
1202
1222
  equals?: string | number | boolean | undefined;
1203
1223
  contains?: string | undefined;
1204
1224
  }> | undefined;
1205
1225
  }, {
1206
- events: string[];
1226
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1207
1227
  match?: Record<string, {
1208
1228
  equals?: string | number | boolean | undefined;
1209
1229
  contains?: string | undefined;
@@ -1216,7 +1236,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1216
1236
  count: number;
1217
1237
  withinMs?: number | undefined;
1218
1238
  counter?: {
1219
- events: string[];
1239
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1220
1240
  match?: Record<string, {
1221
1241
  equals?: string | number | boolean | undefined;
1222
1242
  contains?: string | undefined;
@@ -1229,7 +1249,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1229
1249
  count: number;
1230
1250
  withinMs?: number | undefined;
1231
1251
  counter?: {
1232
- events: string[];
1252
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1233
1253
  match?: Record<string, {
1234
1254
  equals?: string | number | boolean | undefined;
1235
1255
  contains?: string | undefined;
@@ -1264,7 +1284,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1264
1284
  maxHeight?: number | undefined;
1265
1285
  } | {
1266
1286
  type: "session_metric";
1267
- key: string;
1287
+ key: "time_on_page" | "page_views" | "scroll_depth";
1268
1288
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1269
1289
  threshold: number;
1270
1290
  } | {
@@ -1287,7 +1307,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1287
1307
  count: number;
1288
1308
  withinMs?: number | undefined;
1289
1309
  counter?: {
1290
- events: string[];
1310
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1291
1311
  match?: Record<string, {
1292
1312
  equals?: string | number | boolean | undefined;
1293
1313
  contains?: string | undefined;
@@ -1322,7 +1342,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1322
1342
  maxHeight?: number | undefined;
1323
1343
  } | {
1324
1344
  type: "session_metric";
1325
- key: string;
1345
+ key: "time_on_page" | "page_views" | "scroll_depth";
1326
1346
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1327
1347
  threshold: number;
1328
1348
  } | {
@@ -1345,7 +1365,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1345
1365
  count: number;
1346
1366
  withinMs?: number | undefined;
1347
1367
  counter?: {
1348
- events: string[];
1368
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1349
1369
  match?: Record<string, {
1350
1370
  equals?: string | number | boolean | undefined;
1351
1371
  contains?: string | undefined;
@@ -1384,7 +1404,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1384
1404
  maxHeight?: number | undefined;
1385
1405
  } | {
1386
1406
  type: "session_metric";
1387
- key: string;
1407
+ key: "time_on_page" | "page_views" | "scroll_depth";
1388
1408
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1389
1409
  threshold: number;
1390
1410
  } | {
@@ -1407,7 +1427,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1407
1427
  count: number;
1408
1428
  withinMs?: number | undefined;
1409
1429
  counter?: {
1410
- events: string[];
1430
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1411
1431
  match?: Record<string, {
1412
1432
  equals?: string | number | boolean | undefined;
1413
1433
  contains?: string | undefined;
@@ -1446,7 +1466,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1446
1466
  maxHeight?: number | undefined;
1447
1467
  } | {
1448
1468
  type: "session_metric";
1449
- key: string;
1469
+ key: "time_on_page" | "page_views" | "scroll_depth";
1450
1470
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1451
1471
  threshold: number;
1452
1472
  } | {
@@ -1469,7 +1489,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1469
1489
  count: number;
1470
1490
  withinMs?: number | undefined;
1471
1491
  counter?: {
1472
- events: string[];
1492
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1473
1493
  match?: Record<string, {
1474
1494
  equals?: string | number | boolean | undefined;
1475
1495
  contains?: string | undefined;
@@ -1559,13 +1579,17 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1559
1579
  why: string;
1560
1580
  confidence?: number | undefined;
1561
1581
  }>>;
1582
+ id: z.ZodOptional<z.ZodString>;
1583
+ title: z.ZodOptional<z.ZodString>;
1584
+ description: z.ZodOptional<z.ZodString>;
1585
+ validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1562
1586
  }, "strip", z.ZodTypeAny, {
1563
1587
  kind: "nav:tip";
1564
1588
  config: {
1565
1589
  external: boolean;
1566
1590
  title: string;
1567
- description: string;
1568
1591
  id: string;
1592
+ description: string;
1569
1593
  href?: string | undefined;
1570
1594
  icon?: string | undefined;
1571
1595
  anchor?: {
@@ -1574,6 +1598,9 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1574
1598
  } | undefined;
1575
1599
  category?: string | undefined;
1576
1600
  };
1601
+ title?: string | undefined;
1602
+ id?: string | undefined;
1603
+ description?: string | undefined;
1577
1604
  triggerWhen?: {
1578
1605
  type: "rules";
1579
1606
  rules: {
@@ -1603,7 +1630,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1603
1630
  maxHeight?: number | undefined;
1604
1631
  } | {
1605
1632
  type: "session_metric";
1606
- key: string;
1633
+ key: "time_on_page" | "page_views" | "scroll_depth";
1607
1634
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1608
1635
  threshold: number;
1609
1636
  } | {
@@ -1626,7 +1653,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1626
1653
  count: number;
1627
1654
  withinMs?: number | undefined;
1628
1655
  counter?: {
1629
- events: string[];
1656
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1630
1657
  match?: Record<string, {
1631
1658
  equals?: string | number | boolean | undefined;
1632
1659
  contains?: string | undefined;
@@ -1655,6 +1682,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1655
1682
  method?: "GET" | "POST" | undefined;
1656
1683
  timeoutMs?: number | undefined;
1657
1684
  } | null | undefined;
1685
+ validation?: string[] | undefined;
1658
1686
  notify?: {
1659
1687
  title?: string | undefined;
1660
1688
  body?: string | undefined;
@@ -1668,8 +1696,8 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1668
1696
  kind: "nav:tip";
1669
1697
  config: {
1670
1698
  title: string;
1671
- description: string;
1672
1699
  id: string;
1700
+ description: string;
1673
1701
  external?: boolean | undefined;
1674
1702
  href?: string | undefined;
1675
1703
  icon?: string | undefined;
@@ -1679,6 +1707,9 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1679
1707
  } | undefined;
1680
1708
  category?: string | undefined;
1681
1709
  };
1710
+ title?: string | undefined;
1711
+ id?: string | undefined;
1712
+ description?: string | undefined;
1682
1713
  triggerWhen?: {
1683
1714
  type: "rules";
1684
1715
  rules: {
@@ -1708,7 +1739,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1708
1739
  maxHeight?: number | undefined;
1709
1740
  } | {
1710
1741
  type: "session_metric";
1711
- key: string;
1742
+ key: "time_on_page" | "page_views" | "scroll_depth";
1712
1743
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1713
1744
  threshold: number;
1714
1745
  } | {
@@ -1731,7 +1762,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1731
1762
  count: number;
1732
1763
  withinMs?: number | undefined;
1733
1764
  counter?: {
1734
- events: string[];
1765
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1735
1766
  match?: Record<string, {
1736
1767
  equals?: string | number | boolean | undefined;
1737
1768
  contains?: string | undefined;
@@ -1760,6 +1791,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1760
1791
  method?: "GET" | "POST" | undefined;
1761
1792
  timeoutMs?: number | undefined;
1762
1793
  } | null | undefined;
1794
+ validation?: string[] | undefined;
1763
1795
  notify?: {
1764
1796
  title?: string | undefined;
1765
1797
  body?: string | undefined;
@@ -1774,8 +1806,8 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1774
1806
  config: {
1775
1807
  external: boolean;
1776
1808
  title: string;
1777
- description: string;
1778
1809
  id: string;
1810
+ description: string;
1779
1811
  href?: string | undefined;
1780
1812
  icon?: string | undefined;
1781
1813
  anchor?: {
@@ -1784,6 +1816,9 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1784
1816
  } | undefined;
1785
1817
  category?: string | undefined;
1786
1818
  };
1819
+ title?: string | undefined;
1820
+ id?: string | undefined;
1821
+ description?: string | undefined;
1787
1822
  triggerWhen?: {
1788
1823
  type: "rules";
1789
1824
  rules: {
@@ -1813,7 +1848,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1813
1848
  maxHeight?: number | undefined;
1814
1849
  } | {
1815
1850
  type: "session_metric";
1816
- key: string;
1851
+ key: "time_on_page" | "page_views" | "scroll_depth";
1817
1852
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1818
1853
  threshold: number;
1819
1854
  } | {
@@ -1836,7 +1871,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1836
1871
  count: number;
1837
1872
  withinMs?: number | undefined;
1838
1873
  counter?: {
1839
- events: string[];
1874
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1840
1875
  match?: Record<string, {
1841
1876
  equals?: string | number | boolean | undefined;
1842
1877
  contains?: string | undefined;
@@ -1865,6 +1900,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1865
1900
  method?: "GET" | "POST" | undefined;
1866
1901
  timeoutMs?: number | undefined;
1867
1902
  } | null | undefined;
1903
+ validation?: string[] | undefined;
1868
1904
  notify?: {
1869
1905
  title?: string | undefined;
1870
1906
  body?: string | undefined;
@@ -1878,8 +1914,8 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1878
1914
  kind: "nav:tip";
1879
1915
  config: {
1880
1916
  title: string;
1881
- description: string;
1882
1917
  id: string;
1918
+ description: string;
1883
1919
  external?: boolean | undefined;
1884
1920
  href?: string | undefined;
1885
1921
  icon?: string | undefined;
@@ -1889,6 +1925,9 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1889
1925
  } | undefined;
1890
1926
  category?: string | undefined;
1891
1927
  };
1928
+ title?: string | undefined;
1929
+ id?: string | undefined;
1930
+ description?: string | undefined;
1892
1931
  triggerWhen?: {
1893
1932
  type: "rules";
1894
1933
  rules: {
@@ -1918,7 +1957,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1918
1957
  maxHeight?: number | undefined;
1919
1958
  } | {
1920
1959
  type: "session_metric";
1921
- key: string;
1960
+ key: "time_on_page" | "page_views" | "scroll_depth";
1922
1961
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1923
1962
  threshold: number;
1924
1963
  } | {
@@ -1941,7 +1980,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1941
1980
  count: number;
1942
1981
  withinMs?: number | undefined;
1943
1982
  counter?: {
1944
- events: string[];
1983
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1945
1984
  match?: Record<string, {
1946
1985
  equals?: string | number | boolean | undefined;
1947
1986
  contains?: string | undefined;
@@ -1970,6 +2009,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1970
2009
  method?: "GET" | "POST" | undefined;
1971
2010
  timeoutMs?: number | undefined;
1972
2011
  } | null | undefined;
2012
+ validation?: string[] | undefined;
1973
2013
  notify?: {
1974
2014
  title?: string | undefined;
1975
2015
  body?: string | undefined;
@@ -2023,8 +2063,8 @@ export declare const configSchema: z.ZodObject<{
2023
2063
  }, "strip", z.ZodTypeAny, {
2024
2064
  external: boolean;
2025
2065
  title: string;
2026
- description: string;
2027
2066
  id: string;
2067
+ description: string;
2028
2068
  href?: string | undefined;
2029
2069
  icon?: string | undefined;
2030
2070
  anchor?: {
@@ -2034,8 +2074,8 @@ export declare const configSchema: z.ZodObject<{
2034
2074
  category?: string | undefined;
2035
2075
  }, {
2036
2076
  title: string;
2037
- description: string;
2038
2077
  id: string;
2078
+ description: string;
2039
2079
  external?: boolean | undefined;
2040
2080
  href?: string | undefined;
2041
2081
  icon?: string | undefined;
@@ -2123,17 +2163,17 @@ export declare const configSchema: z.ZodObject<{
2123
2163
  maxHeight?: number | undefined;
2124
2164
  }>, z.ZodObject<{
2125
2165
  type: z.ZodLiteral<"session_metric">;
2126
- key: z.ZodString;
2166
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2127
2167
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2128
2168
  threshold: z.ZodNumber;
2129
2169
  }, "strip", z.ZodTypeAny, {
2130
2170
  type: "session_metric";
2131
- key: string;
2171
+ key: "time_on_page" | "page_views" | "scroll_depth";
2132
2172
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2133
2173
  threshold: number;
2134
2174
  }, {
2135
2175
  type: "session_metric";
2136
- key: string;
2176
+ key: "time_on_page" | "page_views" | "scroll_depth";
2137
2177
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2138
2178
  threshold: number;
2139
2179
  }>, z.ZodObject<{
@@ -2182,7 +2222,7 @@ export declare const configSchema: z.ZodObject<{
2182
2222
  count: z.ZodNumber;
2183
2223
  withinMs: z.ZodOptional<z.ZodNumber>;
2184
2224
  counter: z.ZodOptional<z.ZodObject<{
2185
- events: z.ZodArray<z.ZodString, "many">;
2225
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "ui.hesitate", "ui.rage_click", "nav.page_view", "nav.page_leave"]>, "many">;
2186
2226
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2187
2227
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2188
2228
  contains: z.ZodOptional<z.ZodString>;
@@ -2194,13 +2234,13 @@ export declare const configSchema: z.ZodObject<{
2194
2234
  contains?: string | undefined;
2195
2235
  }>>>;
2196
2236
  }, "strip", z.ZodTypeAny, {
2197
- events: string[];
2237
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2198
2238
  match?: Record<string, {
2199
2239
  equals?: string | number | boolean | undefined;
2200
2240
  contains?: string | undefined;
2201
2241
  }> | undefined;
2202
2242
  }, {
2203
- events: string[];
2243
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2204
2244
  match?: Record<string, {
2205
2245
  equals?: string | number | boolean | undefined;
2206
2246
  contains?: string | undefined;
@@ -2213,7 +2253,7 @@ export declare const configSchema: z.ZodObject<{
2213
2253
  count: number;
2214
2254
  withinMs?: number | undefined;
2215
2255
  counter?: {
2216
- events: string[];
2256
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2217
2257
  match?: Record<string, {
2218
2258
  equals?: string | number | boolean | undefined;
2219
2259
  contains?: string | undefined;
@@ -2226,7 +2266,7 @@ export declare const configSchema: z.ZodObject<{
2226
2266
  count: number;
2227
2267
  withinMs?: number | undefined;
2228
2268
  counter?: {
2229
- events: string[];
2269
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2230
2270
  match?: Record<string, {
2231
2271
  equals?: string | number | boolean | undefined;
2232
2272
  contains?: string | undefined;
@@ -2261,7 +2301,7 @@ export declare const configSchema: z.ZodObject<{
2261
2301
  maxHeight?: number | undefined;
2262
2302
  } | {
2263
2303
  type: "session_metric";
2264
- key: string;
2304
+ key: "time_on_page" | "page_views" | "scroll_depth";
2265
2305
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2266
2306
  threshold: number;
2267
2307
  } | {
@@ -2284,7 +2324,7 @@ export declare const configSchema: z.ZodObject<{
2284
2324
  count: number;
2285
2325
  withinMs?: number | undefined;
2286
2326
  counter?: {
2287
- events: string[];
2327
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2288
2328
  match?: Record<string, {
2289
2329
  equals?: string | number | boolean | undefined;
2290
2330
  contains?: string | undefined;
@@ -2319,7 +2359,7 @@ export declare const configSchema: z.ZodObject<{
2319
2359
  maxHeight?: number | undefined;
2320
2360
  } | {
2321
2361
  type: "session_metric";
2322
- key: string;
2362
+ key: "time_on_page" | "page_views" | "scroll_depth";
2323
2363
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2324
2364
  threshold: number;
2325
2365
  } | {
@@ -2342,7 +2382,7 @@ export declare const configSchema: z.ZodObject<{
2342
2382
  count: number;
2343
2383
  withinMs?: number | undefined;
2344
2384
  counter?: {
2345
- events: string[];
2385
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2346
2386
  match?: Record<string, {
2347
2387
  equals?: string | number | boolean | undefined;
2348
2388
  contains?: string | undefined;
@@ -2381,7 +2421,7 @@ export declare const configSchema: z.ZodObject<{
2381
2421
  maxHeight?: number | undefined;
2382
2422
  } | {
2383
2423
  type: "session_metric";
2384
- key: string;
2424
+ key: "time_on_page" | "page_views" | "scroll_depth";
2385
2425
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2386
2426
  threshold: number;
2387
2427
  } | {
@@ -2404,7 +2444,7 @@ export declare const configSchema: z.ZodObject<{
2404
2444
  count: number;
2405
2445
  withinMs?: number | undefined;
2406
2446
  counter?: {
2407
- events: string[];
2447
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2408
2448
  match?: Record<string, {
2409
2449
  equals?: string | number | boolean | undefined;
2410
2450
  contains?: string | undefined;
@@ -2443,7 +2483,7 @@ export declare const configSchema: z.ZodObject<{
2443
2483
  maxHeight?: number | undefined;
2444
2484
  } | {
2445
2485
  type: "session_metric";
2446
- key: string;
2486
+ key: "time_on_page" | "page_views" | "scroll_depth";
2447
2487
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2448
2488
  threshold: number;
2449
2489
  } | {
@@ -2466,7 +2506,7 @@ export declare const configSchema: z.ZodObject<{
2466
2506
  count: number;
2467
2507
  withinMs?: number | undefined;
2468
2508
  counter?: {
2469
- events: string[];
2509
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2470
2510
  match?: Record<string, {
2471
2511
  equals?: string | number | boolean | undefined;
2472
2512
  contains?: string | undefined;
@@ -2556,13 +2596,17 @@ export declare const configSchema: z.ZodObject<{
2556
2596
  why: string;
2557
2597
  confidence?: number | undefined;
2558
2598
  }>>;
2599
+ id: z.ZodOptional<z.ZodString>;
2600
+ title: z.ZodOptional<z.ZodString>;
2601
+ description: z.ZodOptional<z.ZodString>;
2602
+ validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2559
2603
  }, "strip", z.ZodTypeAny, {
2560
2604
  kind: "nav:tip";
2561
2605
  config: {
2562
2606
  external: boolean;
2563
2607
  title: string;
2564
- description: string;
2565
2608
  id: string;
2609
+ description: string;
2566
2610
  href?: string | undefined;
2567
2611
  icon?: string | undefined;
2568
2612
  anchor?: {
@@ -2571,6 +2615,9 @@ export declare const configSchema: z.ZodObject<{
2571
2615
  } | undefined;
2572
2616
  category?: string | undefined;
2573
2617
  };
2618
+ title?: string | undefined;
2619
+ id?: string | undefined;
2620
+ description?: string | undefined;
2574
2621
  triggerWhen?: {
2575
2622
  type: "rules";
2576
2623
  rules: {
@@ -2600,7 +2647,7 @@ export declare const configSchema: z.ZodObject<{
2600
2647
  maxHeight?: number | undefined;
2601
2648
  } | {
2602
2649
  type: "session_metric";
2603
- key: string;
2650
+ key: "time_on_page" | "page_views" | "scroll_depth";
2604
2651
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2605
2652
  threshold: number;
2606
2653
  } | {
@@ -2623,7 +2670,7 @@ export declare const configSchema: z.ZodObject<{
2623
2670
  count: number;
2624
2671
  withinMs?: number | undefined;
2625
2672
  counter?: {
2626
- events: string[];
2673
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2627
2674
  match?: Record<string, {
2628
2675
  equals?: string | number | boolean | undefined;
2629
2676
  contains?: string | undefined;
@@ -2652,6 +2699,7 @@ export declare const configSchema: z.ZodObject<{
2652
2699
  method?: "GET" | "POST" | undefined;
2653
2700
  timeoutMs?: number | undefined;
2654
2701
  } | null | undefined;
2702
+ validation?: string[] | undefined;
2655
2703
  notify?: {
2656
2704
  title?: string | undefined;
2657
2705
  body?: string | undefined;
@@ -2665,8 +2713,8 @@ export declare const configSchema: z.ZodObject<{
2665
2713
  kind: "nav:tip";
2666
2714
  config: {
2667
2715
  title: string;
2668
- description: string;
2669
2716
  id: string;
2717
+ description: string;
2670
2718
  external?: boolean | undefined;
2671
2719
  href?: string | undefined;
2672
2720
  icon?: string | undefined;
@@ -2676,6 +2724,9 @@ export declare const configSchema: z.ZodObject<{
2676
2724
  } | undefined;
2677
2725
  category?: string | undefined;
2678
2726
  };
2727
+ title?: string | undefined;
2728
+ id?: string | undefined;
2729
+ description?: string | undefined;
2679
2730
  triggerWhen?: {
2680
2731
  type: "rules";
2681
2732
  rules: {
@@ -2705,7 +2756,7 @@ export declare const configSchema: z.ZodObject<{
2705
2756
  maxHeight?: number | undefined;
2706
2757
  } | {
2707
2758
  type: "session_metric";
2708
- key: string;
2759
+ key: "time_on_page" | "page_views" | "scroll_depth";
2709
2760
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2710
2761
  threshold: number;
2711
2762
  } | {
@@ -2728,7 +2779,7 @@ export declare const configSchema: z.ZodObject<{
2728
2779
  count: number;
2729
2780
  withinMs?: number | undefined;
2730
2781
  counter?: {
2731
- events: string[];
2782
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2732
2783
  match?: Record<string, {
2733
2784
  equals?: string | number | boolean | undefined;
2734
2785
  contains?: string | undefined;
@@ -2757,6 +2808,7 @@ export declare const configSchema: z.ZodObject<{
2757
2808
  method?: "GET" | "POST" | undefined;
2758
2809
  timeoutMs?: number | undefined;
2759
2810
  } | null | undefined;
2811
+ validation?: string[] | undefined;
2760
2812
  notify?: {
2761
2813
  title?: string | undefined;
2762
2814
  body?: string | undefined;
@@ -2771,8 +2823,8 @@ export declare const configSchema: z.ZodObject<{
2771
2823
  config: {
2772
2824
  external: boolean;
2773
2825
  title: string;
2774
- description: string;
2775
2826
  id: string;
2827
+ description: string;
2776
2828
  href?: string | undefined;
2777
2829
  icon?: string | undefined;
2778
2830
  anchor?: {
@@ -2781,6 +2833,9 @@ export declare const configSchema: z.ZodObject<{
2781
2833
  } | undefined;
2782
2834
  category?: string | undefined;
2783
2835
  };
2836
+ title?: string | undefined;
2837
+ id?: string | undefined;
2838
+ description?: string | undefined;
2784
2839
  triggerWhen?: {
2785
2840
  type: "rules";
2786
2841
  rules: {
@@ -2810,7 +2865,7 @@ export declare const configSchema: z.ZodObject<{
2810
2865
  maxHeight?: number | undefined;
2811
2866
  } | {
2812
2867
  type: "session_metric";
2813
- key: string;
2868
+ key: "time_on_page" | "page_views" | "scroll_depth";
2814
2869
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2815
2870
  threshold: number;
2816
2871
  } | {
@@ -2833,7 +2888,7 @@ export declare const configSchema: z.ZodObject<{
2833
2888
  count: number;
2834
2889
  withinMs?: number | undefined;
2835
2890
  counter?: {
2836
- events: string[];
2891
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2837
2892
  match?: Record<string, {
2838
2893
  equals?: string | number | boolean | undefined;
2839
2894
  contains?: string | undefined;
@@ -2862,6 +2917,7 @@ export declare const configSchema: z.ZodObject<{
2862
2917
  method?: "GET" | "POST" | undefined;
2863
2918
  timeoutMs?: number | undefined;
2864
2919
  } | null | undefined;
2920
+ validation?: string[] | undefined;
2865
2921
  notify?: {
2866
2922
  title?: string | undefined;
2867
2923
  body?: string | undefined;
@@ -2875,8 +2931,8 @@ export declare const configSchema: z.ZodObject<{
2875
2931
  kind: "nav:tip";
2876
2932
  config: {
2877
2933
  title: string;
2878
- description: string;
2879
2934
  id: string;
2935
+ description: string;
2880
2936
  external?: boolean | undefined;
2881
2937
  href?: string | undefined;
2882
2938
  icon?: string | undefined;
@@ -2886,6 +2942,9 @@ export declare const configSchema: z.ZodObject<{
2886
2942
  } | undefined;
2887
2943
  category?: string | undefined;
2888
2944
  };
2945
+ title?: string | undefined;
2946
+ id?: string | undefined;
2947
+ description?: string | undefined;
2889
2948
  triggerWhen?: {
2890
2949
  type: "rules";
2891
2950
  rules: {
@@ -2915,7 +2974,7 @@ export declare const configSchema: z.ZodObject<{
2915
2974
  maxHeight?: number | undefined;
2916
2975
  } | {
2917
2976
  type: "session_metric";
2918
- key: string;
2977
+ key: "time_on_page" | "page_views" | "scroll_depth";
2919
2978
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2920
2979
  threshold: number;
2921
2980
  } | {
@@ -2938,7 +2997,7 @@ export declare const configSchema: z.ZodObject<{
2938
2997
  count: number;
2939
2998
  withinMs?: number | undefined;
2940
2999
  counter?: {
2941
- events: string[];
3000
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
2942
3001
  match?: Record<string, {
2943
3002
  equals?: string | number | boolean | undefined;
2944
3003
  contains?: string | undefined;
@@ -2967,6 +3026,7 @@ export declare const configSchema: z.ZodObject<{
2967
3026
  method?: "GET" | "POST" | undefined;
2968
3027
  timeoutMs?: number | undefined;
2969
3028
  } | null | undefined;
3029
+ validation?: string[] | undefined;
2970
3030
  notify?: {
2971
3031
  title?: string | undefined;
2972
3032
  body?: string | undefined;
@@ -2978,15 +3038,15 @@ export declare const configSchema: z.ZodObject<{
2978
3038
  } | undefined;
2979
3039
  }>, "many">>;
2980
3040
  }, "strip", z.ZodTypeAny, {
2981
- theme: "light" | "dark" | "auto";
2982
3041
  expandBehavior: "single" | "multiple";
3042
+ theme: "light" | "dark" | "auto";
2983
3043
  actions: {
2984
3044
  kind: "nav:tip";
2985
3045
  config: {
2986
3046
  external: boolean;
2987
3047
  title: string;
2988
- description: string;
2989
3048
  id: string;
3049
+ description: string;
2990
3050
  href?: string | undefined;
2991
3051
  icon?: string | undefined;
2992
3052
  anchor?: {
@@ -2995,6 +3055,9 @@ export declare const configSchema: z.ZodObject<{
2995
3055
  } | undefined;
2996
3056
  category?: string | undefined;
2997
3057
  };
3058
+ title?: string | undefined;
3059
+ id?: string | undefined;
3060
+ description?: string | undefined;
2998
3061
  triggerWhen?: {
2999
3062
  type: "rules";
3000
3063
  rules: {
@@ -3024,7 +3087,7 @@ export declare const configSchema: z.ZodObject<{
3024
3087
  maxHeight?: number | undefined;
3025
3088
  } | {
3026
3089
  type: "session_metric";
3027
- key: string;
3090
+ key: "time_on_page" | "page_views" | "scroll_depth";
3028
3091
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3029
3092
  threshold: number;
3030
3093
  } | {
@@ -3047,7 +3110,7 @@ export declare const configSchema: z.ZodObject<{
3047
3110
  count: number;
3048
3111
  withinMs?: number | undefined;
3049
3112
  counter?: {
3050
- events: string[];
3113
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3051
3114
  match?: Record<string, {
3052
3115
  equals?: string | number | boolean | undefined;
3053
3116
  contains?: string | undefined;
@@ -3076,6 +3139,7 @@ export declare const configSchema: z.ZodObject<{
3076
3139
  method?: "GET" | "POST" | undefined;
3077
3140
  timeoutMs?: number | undefined;
3078
3141
  } | null | undefined;
3142
+ validation?: string[] | undefined;
3079
3143
  notify?: {
3080
3144
  title?: string | undefined;
3081
3145
  body?: string | undefined;
@@ -3088,15 +3152,15 @@ export declare const configSchema: z.ZodObject<{
3088
3152
  }[];
3089
3153
  title?: string | undefined;
3090
3154
  }, {
3091
- theme?: "light" | "dark" | "auto" | undefined;
3092
3155
  title?: string | undefined;
3093
3156
  expandBehavior?: "single" | "multiple" | undefined;
3157
+ theme?: "light" | "dark" | "auto" | undefined;
3094
3158
  actions?: {
3095
3159
  kind: "nav:tip";
3096
3160
  config: {
3097
3161
  title: string;
3098
- description: string;
3099
3162
  id: string;
3163
+ description: string;
3100
3164
  external?: boolean | undefined;
3101
3165
  href?: string | undefined;
3102
3166
  icon?: string | undefined;
@@ -3106,6 +3170,9 @@ export declare const configSchema: z.ZodObject<{
3106
3170
  } | undefined;
3107
3171
  category?: string | undefined;
3108
3172
  };
3173
+ title?: string | undefined;
3174
+ id?: string | undefined;
3175
+ description?: string | undefined;
3109
3176
  triggerWhen?: {
3110
3177
  type: "rules";
3111
3178
  rules: {
@@ -3135,7 +3202,7 @@ export declare const configSchema: z.ZodObject<{
3135
3202
  maxHeight?: number | undefined;
3136
3203
  } | {
3137
3204
  type: "session_metric";
3138
- key: string;
3205
+ key: "time_on_page" | "page_views" | "scroll_depth";
3139
3206
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3140
3207
  threshold: number;
3141
3208
  } | {
@@ -3158,7 +3225,7 @@ export declare const configSchema: z.ZodObject<{
3158
3225
  count: number;
3159
3226
  withinMs?: number | undefined;
3160
3227
  counter?: {
3161
- events: string[];
3228
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3162
3229
  match?: Record<string, {
3163
3230
  equals?: string | number | boolean | undefined;
3164
3231
  contains?: string | undefined;
@@ -3187,6 +3254,7 @@ export declare const configSchema: z.ZodObject<{
3187
3254
  method?: "GET" | "POST" | undefined;
3188
3255
  timeoutMs?: number | undefined;
3189
3256
  } | null | undefined;
3257
+ validation?: string[] | undefined;
3190
3258
  notify?: {
3191
3259
  title?: string | undefined;
3192
3260
  body?: string | undefined;
@@ -3256,8 +3324,8 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3256
3324
  kind: "nav:tip";
3257
3325
  config: {
3258
3326
  title: string;
3259
- description: string;
3260
3327
  id: string;
3328
+ description: string;
3261
3329
  external?: boolean | undefined;
3262
3330
  href?: string | undefined;
3263
3331
  icon?: string | undefined;
@@ -3267,6 +3335,9 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3267
3335
  } | undefined;
3268
3336
  category?: string | undefined;
3269
3337
  };
3338
+ title?: string | undefined;
3339
+ id?: string | undefined;
3340
+ description?: string | undefined;
3270
3341
  triggerWhen?: {
3271
3342
  type: "rules";
3272
3343
  rules: {
@@ -3296,7 +3367,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3296
3367
  maxHeight?: number | undefined;
3297
3368
  } | {
3298
3369
  type: "session_metric";
3299
- key: string;
3370
+ key: "time_on_page" | "page_views" | "scroll_depth";
3300
3371
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3301
3372
  threshold: number;
3302
3373
  } | {
@@ -3319,7 +3390,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3319
3390
  count: number;
3320
3391
  withinMs?: number | undefined;
3321
3392
  counter?: {
3322
- events: string[];
3393
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3323
3394
  match?: Record<string, {
3324
3395
  equals?: string | number | boolean | undefined;
3325
3396
  contains?: string | undefined;
@@ -3348,6 +3419,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3348
3419
  method?: "GET" | "POST" | undefined;
3349
3420
  timeoutMs?: number | undefined;
3350
3421
  } | null | undefined;
3422
+ validation?: string[] | undefined;
3351
3423
  notify?: {
3352
3424
  title?: string | undefined;
3353
3425
  body?: string | undefined;
@@ -3362,8 +3434,8 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3362
3434
  config: {
3363
3435
  external: boolean;
3364
3436
  title: string;
3365
- description: string;
3366
3437
  id: string;
3438
+ description: string;
3367
3439
  href?: string | undefined;
3368
3440
  icon?: string | undefined;
3369
3441
  anchor?: {
@@ -3372,6 +3444,9 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3372
3444
  } | undefined;
3373
3445
  category?: string | undefined;
3374
3446
  };
3447
+ title?: string | undefined;
3448
+ id?: string | undefined;
3449
+ description?: string | undefined;
3375
3450
  triggerWhen?: {
3376
3451
  type: "rules";
3377
3452
  rules: {
@@ -3401,7 +3476,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3401
3476
  maxHeight?: number | undefined;
3402
3477
  } | {
3403
3478
  type: "session_metric";
3404
- key: string;
3479
+ key: "time_on_page" | "page_views" | "scroll_depth";
3405
3480
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3406
3481
  threshold: number;
3407
3482
  } | {
@@ -3424,7 +3499,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3424
3499
  count: number;
3425
3500
  withinMs?: number | undefined;
3426
3501
  counter?: {
3427
- events: string[];
3502
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3428
3503
  match?: Record<string, {
3429
3504
  equals?: string | number | boolean | undefined;
3430
3505
  contains?: string | undefined;
@@ -3453,6 +3528,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3453
3528
  method?: "GET" | "POST" | undefined;
3454
3529
  timeoutMs?: number | undefined;
3455
3530
  } | null | undefined;
3531
+ validation?: string[] | undefined;
3456
3532
  notify?: {
3457
3533
  title?: string | undefined;
3458
3534
  body?: string | undefined;
@@ -3469,15 +3545,15 @@ export declare const validateNavLink: typeof validateNavTip;
3469
3545
  * Validate the full nav config.
3470
3546
  */
3471
3547
  export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<{
3472
- theme?: "light" | "dark" | "auto" | undefined;
3473
3548
  title?: string | undefined;
3474
3549
  expandBehavior?: "single" | "multiple" | undefined;
3550
+ theme?: "light" | "dark" | "auto" | undefined;
3475
3551
  actions?: {
3476
3552
  kind: "nav:tip";
3477
3553
  config: {
3478
3554
  title: string;
3479
- description: string;
3480
3555
  id: string;
3556
+ description: string;
3481
3557
  external?: boolean | undefined;
3482
3558
  href?: string | undefined;
3483
3559
  icon?: string | undefined;
@@ -3487,6 +3563,9 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3487
3563
  } | undefined;
3488
3564
  category?: string | undefined;
3489
3565
  };
3566
+ title?: string | undefined;
3567
+ id?: string | undefined;
3568
+ description?: string | undefined;
3490
3569
  triggerWhen?: {
3491
3570
  type: "rules";
3492
3571
  rules: {
@@ -3516,7 +3595,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3516
3595
  maxHeight?: number | undefined;
3517
3596
  } | {
3518
3597
  type: "session_metric";
3519
- key: string;
3598
+ key: "time_on_page" | "page_views" | "scroll_depth";
3520
3599
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3521
3600
  threshold: number;
3522
3601
  } | {
@@ -3539,7 +3618,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3539
3618
  count: number;
3540
3619
  withinMs?: number | undefined;
3541
3620
  counter?: {
3542
- events: string[];
3621
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3543
3622
  match?: Record<string, {
3544
3623
  equals?: string | number | boolean | undefined;
3545
3624
  contains?: string | undefined;
@@ -3568,6 +3647,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3568
3647
  method?: "GET" | "POST" | undefined;
3569
3648
  timeoutMs?: number | undefined;
3570
3649
  } | null | undefined;
3650
+ validation?: string[] | undefined;
3571
3651
  notify?: {
3572
3652
  title?: string | undefined;
3573
3653
  body?: string | undefined;
@@ -3579,15 +3659,15 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3579
3659
  } | undefined;
3580
3660
  }[] | undefined;
3581
3661
  }, {
3582
- theme: "light" | "dark" | "auto";
3583
3662
  expandBehavior: "single" | "multiple";
3663
+ theme: "light" | "dark" | "auto";
3584
3664
  actions: {
3585
3665
  kind: "nav:tip";
3586
3666
  config: {
3587
3667
  external: boolean;
3588
3668
  title: string;
3589
- description: string;
3590
3669
  id: string;
3670
+ description: string;
3591
3671
  href?: string | undefined;
3592
3672
  icon?: string | undefined;
3593
3673
  anchor?: {
@@ -3596,6 +3676,9 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3596
3676
  } | undefined;
3597
3677
  category?: string | undefined;
3598
3678
  };
3679
+ title?: string | undefined;
3680
+ id?: string | undefined;
3681
+ description?: string | undefined;
3599
3682
  triggerWhen?: {
3600
3683
  type: "rules";
3601
3684
  rules: {
@@ -3625,7 +3708,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3625
3708
  maxHeight?: number | undefined;
3626
3709
  } | {
3627
3710
  type: "session_metric";
3628
- key: string;
3711
+ key: "time_on_page" | "page_views" | "scroll_depth";
3629
3712
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3630
3713
  threshold: number;
3631
3714
  } | {
@@ -3648,7 +3731,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3648
3731
  count: number;
3649
3732
  withinMs?: number | undefined;
3650
3733
  counter?: {
3651
- events: string[];
3734
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3652
3735
  match?: Record<string, {
3653
3736
  equals?: string | number | boolean | undefined;
3654
3737
  contains?: string | undefined;
@@ -3677,6 +3760,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3677
3760
  method?: "GET" | "POST" | undefined;
3678
3761
  timeoutMs?: number | undefined;
3679
3762
  } | null | undefined;
3763
+ validation?: string[] | undefined;
3680
3764
  notify?: {
3681
3765
  title?: string | undefined;
3682
3766
  body?: string | undefined;
@@ -3727,8 +3811,8 @@ export declare const actionStepSchemas: {
3727
3811
  }, "strip", z.ZodTypeAny, {
3728
3812
  external: boolean;
3729
3813
  title: string;
3730
- description: string;
3731
3814
  id: string;
3815
+ description: string;
3732
3816
  href?: string | undefined;
3733
3817
  icon?: string | undefined;
3734
3818
  anchor?: {
@@ -3738,8 +3822,8 @@ export declare const actionStepSchemas: {
3738
3822
  category?: string | undefined;
3739
3823
  }, {
3740
3824
  title: string;
3741
- description: string;
3742
3825
  id: string;
3826
+ description: string;
3743
3827
  external?: boolean | undefined;
3744
3828
  href?: string | undefined;
3745
3829
  icon?: string | undefined;
@@ -3827,17 +3911,17 @@ export declare const actionStepSchemas: {
3827
3911
  maxHeight?: number | undefined;
3828
3912
  }>, z.ZodObject<{
3829
3913
  type: z.ZodLiteral<"session_metric">;
3830
- key: z.ZodString;
3914
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
3831
3915
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
3832
3916
  threshold: z.ZodNumber;
3833
3917
  }, "strip", z.ZodTypeAny, {
3834
3918
  type: "session_metric";
3835
- key: string;
3919
+ key: "time_on_page" | "page_views" | "scroll_depth";
3836
3920
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3837
3921
  threshold: number;
3838
3922
  }, {
3839
3923
  type: "session_metric";
3840
- key: string;
3924
+ key: "time_on_page" | "page_views" | "scroll_depth";
3841
3925
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3842
3926
  threshold: number;
3843
3927
  }>, z.ZodObject<{
@@ -3886,7 +3970,7 @@ export declare const actionStepSchemas: {
3886
3970
  count: z.ZodNumber;
3887
3971
  withinMs: z.ZodOptional<z.ZodNumber>;
3888
3972
  counter: z.ZodOptional<z.ZodObject<{
3889
- events: z.ZodArray<z.ZodString, "many">;
3973
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "ui.hesitate", "ui.rage_click", "nav.page_view", "nav.page_leave"]>, "many">;
3890
3974
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3891
3975
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3892
3976
  contains: z.ZodOptional<z.ZodString>;
@@ -3898,13 +3982,13 @@ export declare const actionStepSchemas: {
3898
3982
  contains?: string | undefined;
3899
3983
  }>>>;
3900
3984
  }, "strip", z.ZodTypeAny, {
3901
- events: string[];
3985
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3902
3986
  match?: Record<string, {
3903
3987
  equals?: string | number | boolean | undefined;
3904
3988
  contains?: string | undefined;
3905
3989
  }> | undefined;
3906
3990
  }, {
3907
- events: string[];
3991
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3908
3992
  match?: Record<string, {
3909
3993
  equals?: string | number | boolean | undefined;
3910
3994
  contains?: string | undefined;
@@ -3917,7 +4001,7 @@ export declare const actionStepSchemas: {
3917
4001
  count: number;
3918
4002
  withinMs?: number | undefined;
3919
4003
  counter?: {
3920
- events: string[];
4004
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3921
4005
  match?: Record<string, {
3922
4006
  equals?: string | number | boolean | undefined;
3923
4007
  contains?: string | undefined;
@@ -3930,7 +4014,7 @@ export declare const actionStepSchemas: {
3930
4014
  count: number;
3931
4015
  withinMs?: number | undefined;
3932
4016
  counter?: {
3933
- events: string[];
4017
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3934
4018
  match?: Record<string, {
3935
4019
  equals?: string | number | boolean | undefined;
3936
4020
  contains?: string | undefined;
@@ -3965,7 +4049,7 @@ export declare const actionStepSchemas: {
3965
4049
  maxHeight?: number | undefined;
3966
4050
  } | {
3967
4051
  type: "session_metric";
3968
- key: string;
4052
+ key: "time_on_page" | "page_views" | "scroll_depth";
3969
4053
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3970
4054
  threshold: number;
3971
4055
  } | {
@@ -3988,7 +4072,7 @@ export declare const actionStepSchemas: {
3988
4072
  count: number;
3989
4073
  withinMs?: number | undefined;
3990
4074
  counter?: {
3991
- events: string[];
4075
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
3992
4076
  match?: Record<string, {
3993
4077
  equals?: string | number | boolean | undefined;
3994
4078
  contains?: string | undefined;
@@ -4023,7 +4107,7 @@ export declare const actionStepSchemas: {
4023
4107
  maxHeight?: number | undefined;
4024
4108
  } | {
4025
4109
  type: "session_metric";
4026
- key: string;
4110
+ key: "time_on_page" | "page_views" | "scroll_depth";
4027
4111
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4028
4112
  threshold: number;
4029
4113
  } | {
@@ -4046,7 +4130,7 @@ export declare const actionStepSchemas: {
4046
4130
  count: number;
4047
4131
  withinMs?: number | undefined;
4048
4132
  counter?: {
4049
- events: string[];
4133
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4050
4134
  match?: Record<string, {
4051
4135
  equals?: string | number | boolean | undefined;
4052
4136
  contains?: string | undefined;
@@ -4085,7 +4169,7 @@ export declare const actionStepSchemas: {
4085
4169
  maxHeight?: number | undefined;
4086
4170
  } | {
4087
4171
  type: "session_metric";
4088
- key: string;
4172
+ key: "time_on_page" | "page_views" | "scroll_depth";
4089
4173
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4090
4174
  threshold: number;
4091
4175
  } | {
@@ -4108,7 +4192,7 @@ export declare const actionStepSchemas: {
4108
4192
  count: number;
4109
4193
  withinMs?: number | undefined;
4110
4194
  counter?: {
4111
- events: string[];
4195
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4112
4196
  match?: Record<string, {
4113
4197
  equals?: string | number | boolean | undefined;
4114
4198
  contains?: string | undefined;
@@ -4147,7 +4231,7 @@ export declare const actionStepSchemas: {
4147
4231
  maxHeight?: number | undefined;
4148
4232
  } | {
4149
4233
  type: "session_metric";
4150
- key: string;
4234
+ key: "time_on_page" | "page_views" | "scroll_depth";
4151
4235
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4152
4236
  threshold: number;
4153
4237
  } | {
@@ -4170,7 +4254,7 @@ export declare const actionStepSchemas: {
4170
4254
  count: number;
4171
4255
  withinMs?: number | undefined;
4172
4256
  counter?: {
4173
- events: string[];
4257
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4174
4258
  match?: Record<string, {
4175
4259
  equals?: string | number | boolean | undefined;
4176
4260
  contains?: string | undefined;
@@ -4260,13 +4344,17 @@ export declare const actionStepSchemas: {
4260
4344
  why: string;
4261
4345
  confidence?: number | undefined;
4262
4346
  }>>;
4347
+ id: z.ZodOptional<z.ZodString>;
4348
+ title: z.ZodOptional<z.ZodString>;
4349
+ description: z.ZodOptional<z.ZodString>;
4350
+ validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4263
4351
  }, "strip", z.ZodTypeAny, {
4264
4352
  kind: "nav:tip";
4265
4353
  config: {
4266
4354
  external: boolean;
4267
4355
  title: string;
4268
- description: string;
4269
4356
  id: string;
4357
+ description: string;
4270
4358
  href?: string | undefined;
4271
4359
  icon?: string | undefined;
4272
4360
  anchor?: {
@@ -4275,6 +4363,9 @@ export declare const actionStepSchemas: {
4275
4363
  } | undefined;
4276
4364
  category?: string | undefined;
4277
4365
  };
4366
+ title?: string | undefined;
4367
+ id?: string | undefined;
4368
+ description?: string | undefined;
4278
4369
  triggerWhen?: {
4279
4370
  type: "rules";
4280
4371
  rules: {
@@ -4304,7 +4395,7 @@ export declare const actionStepSchemas: {
4304
4395
  maxHeight?: number | undefined;
4305
4396
  } | {
4306
4397
  type: "session_metric";
4307
- key: string;
4398
+ key: "time_on_page" | "page_views" | "scroll_depth";
4308
4399
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4309
4400
  threshold: number;
4310
4401
  } | {
@@ -4327,7 +4418,7 @@ export declare const actionStepSchemas: {
4327
4418
  count: number;
4328
4419
  withinMs?: number | undefined;
4329
4420
  counter?: {
4330
- events: string[];
4421
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4331
4422
  match?: Record<string, {
4332
4423
  equals?: string | number | boolean | undefined;
4333
4424
  contains?: string | undefined;
@@ -4356,6 +4447,7 @@ export declare const actionStepSchemas: {
4356
4447
  method?: "GET" | "POST" | undefined;
4357
4448
  timeoutMs?: number | undefined;
4358
4449
  } | null | undefined;
4450
+ validation?: string[] | undefined;
4359
4451
  notify?: {
4360
4452
  title?: string | undefined;
4361
4453
  body?: string | undefined;
@@ -4369,8 +4461,8 @@ export declare const actionStepSchemas: {
4369
4461
  kind: "nav:tip";
4370
4462
  config: {
4371
4463
  title: string;
4372
- description: string;
4373
4464
  id: string;
4465
+ description: string;
4374
4466
  external?: boolean | undefined;
4375
4467
  href?: string | undefined;
4376
4468
  icon?: string | undefined;
@@ -4380,6 +4472,9 @@ export declare const actionStepSchemas: {
4380
4472
  } | undefined;
4381
4473
  category?: string | undefined;
4382
4474
  };
4475
+ title?: string | undefined;
4476
+ id?: string | undefined;
4477
+ description?: string | undefined;
4383
4478
  triggerWhen?: {
4384
4479
  type: "rules";
4385
4480
  rules: {
@@ -4409,7 +4504,7 @@ export declare const actionStepSchemas: {
4409
4504
  maxHeight?: number | undefined;
4410
4505
  } | {
4411
4506
  type: "session_metric";
4412
- key: string;
4507
+ key: "time_on_page" | "page_views" | "scroll_depth";
4413
4508
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4414
4509
  threshold: number;
4415
4510
  } | {
@@ -4432,7 +4527,7 @@ export declare const actionStepSchemas: {
4432
4527
  count: number;
4433
4528
  withinMs?: number | undefined;
4434
4529
  counter?: {
4435
- events: string[];
4530
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4436
4531
  match?: Record<string, {
4437
4532
  equals?: string | number | boolean | undefined;
4438
4533
  contains?: string | undefined;
@@ -4461,6 +4556,7 @@ export declare const actionStepSchemas: {
4461
4556
  method?: "GET" | "POST" | undefined;
4462
4557
  timeoutMs?: number | undefined;
4463
4558
  } | null | undefined;
4559
+ validation?: string[] | undefined;
4464
4560
  notify?: {
4465
4561
  title?: string | undefined;
4466
4562
  body?: string | undefined;
@@ -4519,8 +4615,8 @@ export declare const tileWidgets: {
4519
4615
  }, "strip", z.ZodTypeAny, {
4520
4616
  external: boolean;
4521
4617
  title: string;
4522
- description: string;
4523
4618
  id: string;
4619
+ description: string;
4524
4620
  href?: string | undefined;
4525
4621
  icon?: string | undefined;
4526
4622
  anchor?: {
@@ -4530,8 +4626,8 @@ export declare const tileWidgets: {
4530
4626
  category?: string | undefined;
4531
4627
  }, {
4532
4628
  title: string;
4533
- description: string;
4534
4629
  id: string;
4630
+ description: string;
4535
4631
  external?: boolean | undefined;
4536
4632
  href?: string | undefined;
4537
4633
  icon?: string | undefined;
@@ -4619,17 +4715,17 @@ export declare const tileWidgets: {
4619
4715
  maxHeight?: number | undefined;
4620
4716
  }>, z.ZodObject<{
4621
4717
  type: z.ZodLiteral<"session_metric">;
4622
- key: z.ZodString;
4718
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4623
4719
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4624
4720
  threshold: z.ZodNumber;
4625
4721
  }, "strip", z.ZodTypeAny, {
4626
4722
  type: "session_metric";
4627
- key: string;
4723
+ key: "time_on_page" | "page_views" | "scroll_depth";
4628
4724
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4629
4725
  threshold: number;
4630
4726
  }, {
4631
4727
  type: "session_metric";
4632
- key: string;
4728
+ key: "time_on_page" | "page_views" | "scroll_depth";
4633
4729
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4634
4730
  threshold: number;
4635
4731
  }>, z.ZodObject<{
@@ -4678,7 +4774,7 @@ export declare const tileWidgets: {
4678
4774
  count: z.ZodNumber;
4679
4775
  withinMs: z.ZodOptional<z.ZodNumber>;
4680
4776
  counter: z.ZodOptional<z.ZodObject<{
4681
- events: z.ZodArray<z.ZodString, "many">;
4777
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "ui.hesitate", "ui.rage_click", "nav.page_view", "nav.page_leave"]>, "many">;
4682
4778
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4683
4779
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4684
4780
  contains: z.ZodOptional<z.ZodString>;
@@ -4690,13 +4786,13 @@ export declare const tileWidgets: {
4690
4786
  contains?: string | undefined;
4691
4787
  }>>>;
4692
4788
  }, "strip", z.ZodTypeAny, {
4693
- events: string[];
4789
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4694
4790
  match?: Record<string, {
4695
4791
  equals?: string | number | boolean | undefined;
4696
4792
  contains?: string | undefined;
4697
4793
  }> | undefined;
4698
4794
  }, {
4699
- events: string[];
4795
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4700
4796
  match?: Record<string, {
4701
4797
  equals?: string | number | boolean | undefined;
4702
4798
  contains?: string | undefined;
@@ -4709,7 +4805,7 @@ export declare const tileWidgets: {
4709
4805
  count: number;
4710
4806
  withinMs?: number | undefined;
4711
4807
  counter?: {
4712
- events: string[];
4808
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4713
4809
  match?: Record<string, {
4714
4810
  equals?: string | number | boolean | undefined;
4715
4811
  contains?: string | undefined;
@@ -4722,7 +4818,7 @@ export declare const tileWidgets: {
4722
4818
  count: number;
4723
4819
  withinMs?: number | undefined;
4724
4820
  counter?: {
4725
- events: string[];
4821
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4726
4822
  match?: Record<string, {
4727
4823
  equals?: string | number | boolean | undefined;
4728
4824
  contains?: string | undefined;
@@ -4757,7 +4853,7 @@ export declare const tileWidgets: {
4757
4853
  maxHeight?: number | undefined;
4758
4854
  } | {
4759
4855
  type: "session_metric";
4760
- key: string;
4856
+ key: "time_on_page" | "page_views" | "scroll_depth";
4761
4857
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4762
4858
  threshold: number;
4763
4859
  } | {
@@ -4780,7 +4876,7 @@ export declare const tileWidgets: {
4780
4876
  count: number;
4781
4877
  withinMs?: number | undefined;
4782
4878
  counter?: {
4783
- events: string[];
4879
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4784
4880
  match?: Record<string, {
4785
4881
  equals?: string | number | boolean | undefined;
4786
4882
  contains?: string | undefined;
@@ -4815,7 +4911,7 @@ export declare const tileWidgets: {
4815
4911
  maxHeight?: number | undefined;
4816
4912
  } | {
4817
4913
  type: "session_metric";
4818
- key: string;
4914
+ key: "time_on_page" | "page_views" | "scroll_depth";
4819
4915
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4820
4916
  threshold: number;
4821
4917
  } | {
@@ -4838,7 +4934,7 @@ export declare const tileWidgets: {
4838
4934
  count: number;
4839
4935
  withinMs?: number | undefined;
4840
4936
  counter?: {
4841
- events: string[];
4937
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4842
4938
  match?: Record<string, {
4843
4939
  equals?: string | number | boolean | undefined;
4844
4940
  contains?: string | undefined;
@@ -4877,7 +4973,7 @@ export declare const tileWidgets: {
4877
4973
  maxHeight?: number | undefined;
4878
4974
  } | {
4879
4975
  type: "session_metric";
4880
- key: string;
4976
+ key: "time_on_page" | "page_views" | "scroll_depth";
4881
4977
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4882
4978
  threshold: number;
4883
4979
  } | {
@@ -4900,7 +4996,7 @@ export declare const tileWidgets: {
4900
4996
  count: number;
4901
4997
  withinMs?: number | undefined;
4902
4998
  counter?: {
4903
- events: string[];
4999
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4904
5000
  match?: Record<string, {
4905
5001
  equals?: string | number | boolean | undefined;
4906
5002
  contains?: string | undefined;
@@ -4939,7 +5035,7 @@ export declare const tileWidgets: {
4939
5035
  maxHeight?: number | undefined;
4940
5036
  } | {
4941
5037
  type: "session_metric";
4942
- key: string;
5038
+ key: "time_on_page" | "page_views" | "scroll_depth";
4943
5039
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4944
5040
  threshold: number;
4945
5041
  } | {
@@ -4962,7 +5058,7 @@ export declare const tileWidgets: {
4962
5058
  count: number;
4963
5059
  withinMs?: number | undefined;
4964
5060
  counter?: {
4965
- events: string[];
5061
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
4966
5062
  match?: Record<string, {
4967
5063
  equals?: string | number | boolean | undefined;
4968
5064
  contains?: string | undefined;
@@ -5052,13 +5148,17 @@ export declare const tileWidgets: {
5052
5148
  why: string;
5053
5149
  confidence?: number | undefined;
5054
5150
  }>>;
5151
+ id: z.ZodOptional<z.ZodString>;
5152
+ title: z.ZodOptional<z.ZodString>;
5153
+ description: z.ZodOptional<z.ZodString>;
5154
+ validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5055
5155
  }, "strip", z.ZodTypeAny, {
5056
5156
  kind: "nav:tip";
5057
5157
  config: {
5058
5158
  external: boolean;
5059
5159
  title: string;
5060
- description: string;
5061
5160
  id: string;
5161
+ description: string;
5062
5162
  href?: string | undefined;
5063
5163
  icon?: string | undefined;
5064
5164
  anchor?: {
@@ -5067,6 +5167,9 @@ export declare const tileWidgets: {
5067
5167
  } | undefined;
5068
5168
  category?: string | undefined;
5069
5169
  };
5170
+ title?: string | undefined;
5171
+ id?: string | undefined;
5172
+ description?: string | undefined;
5070
5173
  triggerWhen?: {
5071
5174
  type: "rules";
5072
5175
  rules: {
@@ -5096,7 +5199,7 @@ export declare const tileWidgets: {
5096
5199
  maxHeight?: number | undefined;
5097
5200
  } | {
5098
5201
  type: "session_metric";
5099
- key: string;
5202
+ key: "time_on_page" | "page_views" | "scroll_depth";
5100
5203
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5101
5204
  threshold: number;
5102
5205
  } | {
@@ -5119,7 +5222,7 @@ export declare const tileWidgets: {
5119
5222
  count: number;
5120
5223
  withinMs?: number | undefined;
5121
5224
  counter?: {
5122
- events: string[];
5225
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
5123
5226
  match?: Record<string, {
5124
5227
  equals?: string | number | boolean | undefined;
5125
5228
  contains?: string | undefined;
@@ -5148,6 +5251,7 @@ export declare const tileWidgets: {
5148
5251
  method?: "GET" | "POST" | undefined;
5149
5252
  timeoutMs?: number | undefined;
5150
5253
  } | null | undefined;
5254
+ validation?: string[] | undefined;
5151
5255
  notify?: {
5152
5256
  title?: string | undefined;
5153
5257
  body?: string | undefined;
@@ -5161,8 +5265,8 @@ export declare const tileWidgets: {
5161
5265
  kind: "nav:tip";
5162
5266
  config: {
5163
5267
  title: string;
5164
- description: string;
5165
5268
  id: string;
5269
+ description: string;
5166
5270
  external?: boolean | undefined;
5167
5271
  href?: string | undefined;
5168
5272
  icon?: string | undefined;
@@ -5172,6 +5276,9 @@ export declare const tileWidgets: {
5172
5276
  } | undefined;
5173
5277
  category?: string | undefined;
5174
5278
  };
5279
+ title?: string | undefined;
5280
+ id?: string | undefined;
5281
+ description?: string | undefined;
5175
5282
  triggerWhen?: {
5176
5283
  type: "rules";
5177
5284
  rules: {
@@ -5201,7 +5308,7 @@ export declare const tileWidgets: {
5201
5308
  maxHeight?: number | undefined;
5202
5309
  } | {
5203
5310
  type: "session_metric";
5204
- key: string;
5311
+ key: "time_on_page" | "page_views" | "scroll_depth";
5205
5312
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5206
5313
  threshold: number;
5207
5314
  } | {
@@ -5224,7 +5331,7 @@ export declare const tileWidgets: {
5224
5331
  count: number;
5225
5332
  withinMs?: number | undefined;
5226
5333
  counter?: {
5227
- events: string[];
5334
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
5228
5335
  match?: Record<string, {
5229
5336
  equals?: string | number | boolean | undefined;
5230
5337
  contains?: string | undefined;
@@ -5253,6 +5360,7 @@ export declare const tileWidgets: {
5253
5360
  method?: "GET" | "POST" | undefined;
5254
5361
  timeoutMs?: number | undefined;
5255
5362
  } | null | undefined;
5363
+ validation?: string[] | undefined;
5256
5364
  notify?: {
5257
5365
  title?: string | undefined;
5258
5366
  body?: string | undefined;
@@ -5267,8 +5375,8 @@ export declare const tileWidgets: {
5267
5375
  config: {
5268
5376
  external: boolean;
5269
5377
  title: string;
5270
- description: string;
5271
5378
  id: string;
5379
+ description: string;
5272
5380
  href?: string | undefined;
5273
5381
  icon?: string | undefined;
5274
5382
  anchor?: {
@@ -5277,6 +5385,9 @@ export declare const tileWidgets: {
5277
5385
  } | undefined;
5278
5386
  category?: string | undefined;
5279
5387
  };
5388
+ title?: string | undefined;
5389
+ id?: string | undefined;
5390
+ description?: string | undefined;
5280
5391
  triggerWhen?: {
5281
5392
  type: "rules";
5282
5393
  rules: {
@@ -5306,7 +5417,7 @@ export declare const tileWidgets: {
5306
5417
  maxHeight?: number | undefined;
5307
5418
  } | {
5308
5419
  type: "session_metric";
5309
- key: string;
5420
+ key: "time_on_page" | "page_views" | "scroll_depth";
5310
5421
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5311
5422
  threshold: number;
5312
5423
  } | {
@@ -5329,7 +5440,7 @@ export declare const tileWidgets: {
5329
5440
  count: number;
5330
5441
  withinMs?: number | undefined;
5331
5442
  counter?: {
5332
- events: string[];
5443
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
5333
5444
  match?: Record<string, {
5334
5445
  equals?: string | number | boolean | undefined;
5335
5446
  contains?: string | undefined;
@@ -5358,6 +5469,7 @@ export declare const tileWidgets: {
5358
5469
  method?: "GET" | "POST" | undefined;
5359
5470
  timeoutMs?: number | undefined;
5360
5471
  } | null | undefined;
5472
+ validation?: string[] | undefined;
5361
5473
  notify?: {
5362
5474
  title?: string | undefined;
5363
5475
  body?: string | undefined;
@@ -5371,8 +5483,8 @@ export declare const tileWidgets: {
5371
5483
  kind: "nav:tip";
5372
5484
  config: {
5373
5485
  title: string;
5374
- description: string;
5375
5486
  id: string;
5487
+ description: string;
5376
5488
  external?: boolean | undefined;
5377
5489
  href?: string | undefined;
5378
5490
  icon?: string | undefined;
@@ -5382,6 +5494,9 @@ export declare const tileWidgets: {
5382
5494
  } | undefined;
5383
5495
  category?: string | undefined;
5384
5496
  };
5497
+ title?: string | undefined;
5498
+ id?: string | undefined;
5499
+ description?: string | undefined;
5385
5500
  triggerWhen?: {
5386
5501
  type: "rules";
5387
5502
  rules: {
@@ -5411,7 +5526,7 @@ export declare const tileWidgets: {
5411
5526
  maxHeight?: number | undefined;
5412
5527
  } | {
5413
5528
  type: "session_metric";
5414
- key: string;
5529
+ key: "time_on_page" | "page_views" | "scroll_depth";
5415
5530
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5416
5531
  threshold: number;
5417
5532
  } | {
@@ -5434,7 +5549,7 @@ export declare const tileWidgets: {
5434
5549
  count: number;
5435
5550
  withinMs?: number | undefined;
5436
5551
  counter?: {
5437
- events: string[];
5552
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
5438
5553
  match?: Record<string, {
5439
5554
  equals?: string | number | boolean | undefined;
5440
5555
  contains?: string | undefined;
@@ -5463,6 +5578,7 @@ export declare const tileWidgets: {
5463
5578
  method?: "GET" | "POST" | undefined;
5464
5579
  timeoutMs?: number | undefined;
5465
5580
  } | null | undefined;
5581
+ validation?: string[] | undefined;
5466
5582
  notify?: {
5467
5583
  title?: string | undefined;
5468
5584
  body?: string | undefined;
@@ -5474,15 +5590,15 @@ export declare const tileWidgets: {
5474
5590
  } | undefined;
5475
5591
  }>, "many">>;
5476
5592
  }, "strip", z.ZodTypeAny, {
5477
- theme: "light" | "dark" | "auto";
5478
5593
  expandBehavior: "single" | "multiple";
5594
+ theme: "light" | "dark" | "auto";
5479
5595
  actions: {
5480
5596
  kind: "nav:tip";
5481
5597
  config: {
5482
5598
  external: boolean;
5483
5599
  title: string;
5484
- description: string;
5485
5600
  id: string;
5601
+ description: string;
5486
5602
  href?: string | undefined;
5487
5603
  icon?: string | undefined;
5488
5604
  anchor?: {
@@ -5491,6 +5607,9 @@ export declare const tileWidgets: {
5491
5607
  } | undefined;
5492
5608
  category?: string | undefined;
5493
5609
  };
5610
+ title?: string | undefined;
5611
+ id?: string | undefined;
5612
+ description?: string | undefined;
5494
5613
  triggerWhen?: {
5495
5614
  type: "rules";
5496
5615
  rules: {
@@ -5520,7 +5639,7 @@ export declare const tileWidgets: {
5520
5639
  maxHeight?: number | undefined;
5521
5640
  } | {
5522
5641
  type: "session_metric";
5523
- key: string;
5642
+ key: "time_on_page" | "page_views" | "scroll_depth";
5524
5643
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5525
5644
  threshold: number;
5526
5645
  } | {
@@ -5543,7 +5662,7 @@ export declare const tileWidgets: {
5543
5662
  count: number;
5544
5663
  withinMs?: number | undefined;
5545
5664
  counter?: {
5546
- events: string[];
5665
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
5547
5666
  match?: Record<string, {
5548
5667
  equals?: string | number | boolean | undefined;
5549
5668
  contains?: string | undefined;
@@ -5572,6 +5691,7 @@ export declare const tileWidgets: {
5572
5691
  method?: "GET" | "POST" | undefined;
5573
5692
  timeoutMs?: number | undefined;
5574
5693
  } | null | undefined;
5694
+ validation?: string[] | undefined;
5575
5695
  notify?: {
5576
5696
  title?: string | undefined;
5577
5697
  body?: string | undefined;
@@ -5584,15 +5704,15 @@ export declare const tileWidgets: {
5584
5704
  }[];
5585
5705
  title?: string | undefined;
5586
5706
  }, {
5587
- theme?: "light" | "dark" | "auto" | undefined;
5588
5707
  title?: string | undefined;
5589
5708
  expandBehavior?: "single" | "multiple" | undefined;
5709
+ theme?: "light" | "dark" | "auto" | undefined;
5590
5710
  actions?: {
5591
5711
  kind: "nav:tip";
5592
5712
  config: {
5593
5713
  title: string;
5594
- description: string;
5595
5714
  id: string;
5715
+ description: string;
5596
5716
  external?: boolean | undefined;
5597
5717
  href?: string | undefined;
5598
5718
  icon?: string | undefined;
@@ -5602,6 +5722,9 @@ export declare const tileWidgets: {
5602
5722
  } | undefined;
5603
5723
  category?: string | undefined;
5604
5724
  };
5725
+ title?: string | undefined;
5726
+ id?: string | undefined;
5727
+ description?: string | undefined;
5605
5728
  triggerWhen?: {
5606
5729
  type: "rules";
5607
5730
  rules: {
@@ -5631,7 +5754,7 @@ export declare const tileWidgets: {
5631
5754
  maxHeight?: number | undefined;
5632
5755
  } | {
5633
5756
  type: "session_metric";
5634
- key: string;
5757
+ key: "time_on_page" | "page_views" | "scroll_depth";
5635
5758
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5636
5759
  threshold: number;
5637
5760
  } | {
@@ -5654,7 +5777,7 @@ export declare const tileWidgets: {
5654
5777
  count: number;
5655
5778
  withinMs?: number | undefined;
5656
5779
  counter?: {
5657
- events: string[];
5780
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
5658
5781
  match?: Record<string, {
5659
5782
  equals?: string | number | boolean | undefined;
5660
5783
  contains?: string | undefined;
@@ -5683,6 +5806,7 @@ export declare const tileWidgets: {
5683
5806
  method?: "GET" | "POST" | undefined;
5684
5807
  timeoutMs?: number | undefined;
5685
5808
  } | null | undefined;
5809
+ validation?: string[] | undefined;
5686
5810
  notify?: {
5687
5811
  title?: string | undefined;
5688
5812
  body?: string | undefined;
@@ -5695,4 +5819,22 @@ export declare const tileWidgets: {
5695
5819
  }[] | undefined;
5696
5820
  }>;
5697
5821
  }[];
5822
+ export declare const CAPABILITIES_DOCUMENTATION: {
5823
+ packageId: string;
5824
+ plannerSummary: string;
5825
+ description: string;
5826
+ whenToUse: {
5827
+ goal: string;
5828
+ action: string;
5829
+ }[];
5830
+ conventions: {
5831
+ name: string;
5832
+ description: string;
5833
+ }[];
5834
+ events: {
5835
+ name: string;
5836
+ when: string;
5837
+ props: string;
5838
+ }[];
5839
+ };
5698
5840
  //# sourceMappingURL=schema.d.ts.map