@syntrologie/adapt-nav 2.13.0 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/NavWidgetLit.d.ts +56 -0
  2. package/dist/NavWidgetLit.d.ts.map +1 -0
  3. package/dist/NavWidgetLit.js +495 -0
  4. package/dist/NavWidgetLit.test.d.ts +8 -0
  5. package/dist/NavWidgetLit.test.d.ts.map +1 -0
  6. package/dist/NavWidgetLit.test.js +199 -0
  7. package/dist/editor-lit.d.ts +49 -0
  8. package/dist/editor-lit.d.ts.map +1 -0
  9. package/dist/editor-lit.js +319 -0
  10. package/dist/editor.d.ts.map +1 -1
  11. package/dist/editor.js +3 -3
  12. package/dist/runtime-lit.d.ts +108 -0
  13. package/dist/runtime-lit.d.ts.map +1 -0
  14. package/dist/runtime-lit.js +241 -0
  15. package/dist/runtime.d.ts +15 -3
  16. package/dist/runtime.d.ts.map +1 -1
  17. package/dist/runtime.js +29 -0
  18. package/dist/schema.d.ts +216 -216
  19. package/dist/schema.d.ts.map +1 -1
  20. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts +2 -0
  21. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts.map +1 -1
  22. package/node_modules/@syntro/design-system/dist/tokens/index.js +2 -0
  23. package/node_modules/@syntro/design-system/dist/tokens/panel-shell.d.ts +93 -0
  24. package/node_modules/@syntro/design-system/dist/tokens/panel-shell.d.ts.map +1 -0
  25. package/node_modules/@syntro/design-system/dist/tokens/panel-shell.js +72 -0
  26. package/node_modules/@syntrologie/sdk-contracts/dist/index.d.ts +1 -1
  27. package/node_modules/@syntrologie/sdk-contracts/dist/index.js +5 -3
  28. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.d.ts +150 -79
  29. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.js +266 -67
  30. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +1 -1
  31. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +6 -3
  32. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts +84 -0
  33. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts.map +1 -0
  34. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.js +323 -0
  35. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts +25 -0
  36. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts.map +1 -0
  37. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.js +55 -0
  38. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts +33 -0
  39. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts.map +1 -0
  40. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.js +118 -0
  41. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts +32 -0
  42. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts.map +1 -0
  43. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.js +68 -0
  44. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts +34 -0
  45. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts.map +1 -0
  46. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.js +57 -0
  47. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts +13 -0
  48. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts.map +1 -0
  49. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.js +31 -0
  50. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts +7 -0
  51. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts.map +1 -0
  52. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.js +15 -0
  53. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts +36 -0
  54. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts.map +1 -0
  55. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.js +102 -0
  56. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts +20 -0
  57. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts.map +1 -0
  58. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.js +48 -0
  59. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts +16 -0
  60. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts.map +1 -0
  61. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.js +25 -0
  62. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts +66 -0
  63. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts.map +1 -0
  64. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.js +87 -0
  65. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts +7 -0
  66. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts.map +1 -0
  67. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.js +15 -0
  68. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +1 -1
  69. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +28 -17
  70. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts +66 -0
  71. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts.map +1 -0
  72. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.js +528 -0
  73. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts +41 -0
  74. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts.map +1 -0
  75. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.js +63 -0
  76. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts +55 -0
  77. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts.map +1 -0
  78. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.js +92 -0
  79. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts +90 -0
  80. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts.map +1 -0
  81. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.js +242 -0
  82. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts +12 -0
  83. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts.map +1 -0
  84. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.js +21 -0
  85. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts +21 -0
  86. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts.map +1 -0
  87. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.js +33 -0
  88. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts +28 -0
  89. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts.map +1 -0
  90. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.js +121 -0
  91. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts +110 -0
  92. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts.map +1 -0
  93. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.js +476 -0
  94. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +2 -0
  95. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +1 -1
  96. package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +1 -0
  97. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts +15 -0
  98. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts.map +1 -0
  99. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.js +14 -0
  100. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts +0 -4
  101. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts.map +1 -1
  102. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.js +17 -1
  103. package/node_modules/@syntrologie/shared-editor-ui/package.json +9 -1
  104. package/package.json +12 -1
package/dist/schema.d.ts CHANGED
@@ -38,27 +38,27 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
38
38
  category: z.ZodOptional<z.ZodString>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  external: boolean;
41
- title: string;
42
41
  id: string;
42
+ title: string;
43
43
  description: string;
44
- href?: string | undefined;
45
44
  icon?: string | undefined;
46
45
  anchor?: {
47
46
  selector: string;
48
47
  route: string | string[];
49
48
  } | undefined;
49
+ href?: string | undefined;
50
50
  category?: string | undefined;
51
51
  }, {
52
- title: string;
53
52
  id: string;
53
+ title: string;
54
54
  description: string;
55
55
  external?: boolean | undefined;
56
- href?: string | undefined;
57
56
  icon?: string | undefined;
58
57
  anchor?: {
59
58
  selector: string;
60
59
  route: string | string[];
61
60
  } | undefined;
61
+ href?: string | undefined;
62
62
  category?: string | undefined;
63
63
  }>;
64
64
  /** Per-item activation strategy (null = always show) */
@@ -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", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
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" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
486
486
  match?: Record<string, {
487
487
  equals?: string | number | boolean | undefined;
488
488
  contains?: string | undefined;
@@ -576,15 +576,15 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
576
576
  kind: "nav:tip";
577
577
  config: {
578
578
  external: boolean;
579
- title: string;
580
579
  id: string;
580
+ title: string;
581
581
  description: string;
582
- href?: string | undefined;
583
582
  icon?: string | undefined;
584
583
  anchor?: {
585
584
  selector: string;
586
585
  route: string | string[];
587
586
  } | undefined;
587
+ href?: string | undefined;
588
588
  category?: string | undefined;
589
589
  };
590
590
  triggerWhen?: {
@@ -616,7 +616,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
616
616
  maxHeight?: number | undefined;
617
617
  } | {
618
618
  type: "session_metric";
619
- key: string;
619
+ key: "time_on_page" | "page_views" | "scroll_depth";
620
620
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
621
621
  threshold: number;
622
622
  } | {
@@ -639,7 +639,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
639
639
  count: number;
640
640
  withinMs?: number | undefined;
641
641
  counter?: {
642
- events: string[];
642
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
643
643
  match?: Record<string, {
644
644
  equals?: string | number | boolean | undefined;
645
645
  contains?: string | undefined;
@@ -680,16 +680,16 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
680
680
  }, {
681
681
  kind: "nav:tip";
682
682
  config: {
683
- title: string;
684
683
  id: string;
684
+ title: string;
685
685
  description: string;
686
686
  external?: boolean | undefined;
687
- href?: string | undefined;
688
687
  icon?: string | undefined;
689
688
  anchor?: {
690
689
  selector: string;
691
690
  route: string | string[];
692
691
  } | undefined;
692
+ href?: string | undefined;
693
693
  category?: string | undefined;
694
694
  };
695
695
  triggerWhen?: {
@@ -721,7 +721,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
721
721
  maxHeight?: number | undefined;
722
722
  } | {
723
723
  type: "session_metric";
724
- key: string;
724
+ key: "time_on_page" | "page_views" | "scroll_depth";
725
725
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
726
726
  threshold: number;
727
727
  } | {
@@ -744,7 +744,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
744
744
  count: number;
745
745
  withinMs?: number | undefined;
746
746
  counter?: {
747
- events: string[];
747
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
748
748
  match?: Record<string, {
749
749
  equals?: string | number | boolean | undefined;
750
750
  contains?: string | undefined;
@@ -786,15 +786,15 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
786
786
  kind: "nav:tip";
787
787
  config: {
788
788
  external: boolean;
789
- title: string;
790
789
  id: string;
790
+ title: string;
791
791
  description: string;
792
- href?: string | undefined;
793
792
  icon?: string | undefined;
794
793
  anchor?: {
795
794
  selector: string;
796
795
  route: string | string[];
797
796
  } | undefined;
797
+ href?: string | undefined;
798
798
  category?: string | undefined;
799
799
  };
800
800
  triggerWhen?: {
@@ -826,7 +826,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
826
826
  maxHeight?: number | undefined;
827
827
  } | {
828
828
  type: "session_metric";
829
- key: string;
829
+ key: "time_on_page" | "page_views" | "scroll_depth";
830
830
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
831
831
  threshold: number;
832
832
  } | {
@@ -849,7 +849,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
849
849
  count: number;
850
850
  withinMs?: number | undefined;
851
851
  counter?: {
852
- events: string[];
852
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
853
853
  match?: Record<string, {
854
854
  equals?: string | number | boolean | undefined;
855
855
  contains?: string | undefined;
@@ -890,16 +890,16 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
890
890
  }, {
891
891
  kind: "nav:tip";
892
892
  config: {
893
- title: string;
894
893
  id: string;
894
+ title: string;
895
895
  description: string;
896
896
  external?: boolean | undefined;
897
- href?: string | undefined;
898
897
  icon?: string | undefined;
899
898
  anchor?: {
900
899
  selector: string;
901
900
  route: string | string[];
902
901
  } | undefined;
902
+ href?: string | undefined;
903
903
  category?: string | undefined;
904
904
  };
905
905
  triggerWhen?: {
@@ -931,7 +931,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
931
931
  maxHeight?: number | undefined;
932
932
  } | {
933
933
  type: "session_metric";
934
- key: string;
934
+ key: "time_on_page" | "page_views" | "scroll_depth";
935
935
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
936
936
  threshold: number;
937
937
  } | {
@@ -954,7 +954,7 @@ export declare const NavTipSchema: z.ZodEffects<z.ZodObject<{
954
954
  count: number;
955
955
  withinMs?: number | undefined;
956
956
  counter?: {
957
- events: string[];
957
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
958
958
  match?: Record<string, {
959
959
  equals?: string | number | boolean | undefined;
960
960
  contains?: string | undefined;
@@ -1025,27 +1025,27 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1025
1025
  category: z.ZodOptional<z.ZodString>;
1026
1026
  }, "strip", z.ZodTypeAny, {
1027
1027
  external: boolean;
1028
- title: string;
1029
1028
  id: string;
1029
+ title: string;
1030
1030
  description: string;
1031
- href?: string | undefined;
1032
1031
  icon?: string | undefined;
1033
1032
  anchor?: {
1034
1033
  selector: string;
1035
1034
  route: string | string[];
1036
1035
  } | undefined;
1036
+ href?: string | undefined;
1037
1037
  category?: string | undefined;
1038
1038
  }, {
1039
- title: string;
1040
1039
  id: string;
1040
+ title: string;
1041
1041
  description: string;
1042
1042
  external?: boolean | undefined;
1043
- href?: string | undefined;
1044
1043
  icon?: string | undefined;
1045
1044
  anchor?: {
1046
1045
  selector: string;
1047
1046
  route: string | string[];
1048
1047
  } | undefined;
1048
+ href?: string | undefined;
1049
1049
  category?: string | undefined;
1050
1050
  }>;
1051
1051
  /** Per-item activation strategy (null = always show) */
@@ -1126,17 +1126,17 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1126
1126
  maxHeight?: number | undefined;
1127
1127
  }>, z.ZodObject<{
1128
1128
  type: z.ZodLiteral<"session_metric">;
1129
- key: z.ZodString;
1129
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
1130
1130
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
1131
1131
  threshold: z.ZodNumber;
1132
1132
  }, "strip", z.ZodTypeAny, {
1133
1133
  type: "session_metric";
1134
- key: string;
1134
+ key: "time_on_page" | "page_views" | "scroll_depth";
1135
1135
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1136
1136
  threshold: number;
1137
1137
  }, {
1138
1138
  type: "session_metric";
1139
- key: string;
1139
+ key: "time_on_page" | "page_views" | "scroll_depth";
1140
1140
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1141
1141
  threshold: number;
1142
1142
  }>, z.ZodObject<{
@@ -1185,7 +1185,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1185
1185
  count: z.ZodNumber;
1186
1186
  withinMs: z.ZodOptional<z.ZodNumber>;
1187
1187
  counter: z.ZodOptional<z.ZodObject<{
1188
- events: z.ZodArray<z.ZodString, "many">;
1188
+ 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", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
1189
1189
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1190
1190
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1191
1191
  contains: z.ZodOptional<z.ZodString>;
@@ -1197,13 +1197,13 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1197
1197
  contains?: string | undefined;
1198
1198
  }>>>;
1199
1199
  }, "strip", z.ZodTypeAny, {
1200
- events: string[];
1200
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1201
1201
  match?: Record<string, {
1202
1202
  equals?: string | number | boolean | undefined;
1203
1203
  contains?: string | undefined;
1204
1204
  }> | undefined;
1205
1205
  }, {
1206
- events: string[];
1206
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1207
1207
  match?: Record<string, {
1208
1208
  equals?: string | number | boolean | undefined;
1209
1209
  contains?: string | undefined;
@@ -1216,7 +1216,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1216
1216
  count: number;
1217
1217
  withinMs?: number | undefined;
1218
1218
  counter?: {
1219
- events: string[];
1219
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1220
1220
  match?: Record<string, {
1221
1221
  equals?: string | number | boolean | undefined;
1222
1222
  contains?: string | undefined;
@@ -1229,7 +1229,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1229
1229
  count: number;
1230
1230
  withinMs?: number | undefined;
1231
1231
  counter?: {
1232
- events: string[];
1232
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1233
1233
  match?: Record<string, {
1234
1234
  equals?: string | number | boolean | undefined;
1235
1235
  contains?: string | undefined;
@@ -1264,7 +1264,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1264
1264
  maxHeight?: number | undefined;
1265
1265
  } | {
1266
1266
  type: "session_metric";
1267
- key: string;
1267
+ key: "time_on_page" | "page_views" | "scroll_depth";
1268
1268
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1269
1269
  threshold: number;
1270
1270
  } | {
@@ -1287,7 +1287,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1287
1287
  count: number;
1288
1288
  withinMs?: number | undefined;
1289
1289
  counter?: {
1290
- events: string[];
1290
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1291
1291
  match?: Record<string, {
1292
1292
  equals?: string | number | boolean | undefined;
1293
1293
  contains?: string | undefined;
@@ -1322,7 +1322,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1322
1322
  maxHeight?: number | undefined;
1323
1323
  } | {
1324
1324
  type: "session_metric";
1325
- key: string;
1325
+ key: "time_on_page" | "page_views" | "scroll_depth";
1326
1326
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1327
1327
  threshold: number;
1328
1328
  } | {
@@ -1345,7 +1345,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1345
1345
  count: number;
1346
1346
  withinMs?: number | undefined;
1347
1347
  counter?: {
1348
- events: string[];
1348
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1349
1349
  match?: Record<string, {
1350
1350
  equals?: string | number | boolean | undefined;
1351
1351
  contains?: string | undefined;
@@ -1384,7 +1384,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1384
1384
  maxHeight?: number | undefined;
1385
1385
  } | {
1386
1386
  type: "session_metric";
1387
- key: string;
1387
+ key: "time_on_page" | "page_views" | "scroll_depth";
1388
1388
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1389
1389
  threshold: number;
1390
1390
  } | {
@@ -1407,7 +1407,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1407
1407
  count: number;
1408
1408
  withinMs?: number | undefined;
1409
1409
  counter?: {
1410
- events: string[];
1410
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1411
1411
  match?: Record<string, {
1412
1412
  equals?: string | number | boolean | undefined;
1413
1413
  contains?: string | undefined;
@@ -1446,7 +1446,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1446
1446
  maxHeight?: number | undefined;
1447
1447
  } | {
1448
1448
  type: "session_metric";
1449
- key: string;
1449
+ key: "time_on_page" | "page_views" | "scroll_depth";
1450
1450
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1451
1451
  threshold: number;
1452
1452
  } | {
@@ -1469,7 +1469,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1469
1469
  count: number;
1470
1470
  withinMs?: number | undefined;
1471
1471
  counter?: {
1472
- events: string[];
1472
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1473
1473
  match?: Record<string, {
1474
1474
  equals?: string | number | boolean | undefined;
1475
1475
  contains?: string | undefined;
@@ -1563,15 +1563,15 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1563
1563
  kind: "nav:tip";
1564
1564
  config: {
1565
1565
  external: boolean;
1566
- title: string;
1567
1566
  id: string;
1567
+ title: string;
1568
1568
  description: string;
1569
- href?: string | undefined;
1570
1569
  icon?: string | undefined;
1571
1570
  anchor?: {
1572
1571
  selector: string;
1573
1572
  route: string | string[];
1574
1573
  } | undefined;
1574
+ href?: string | undefined;
1575
1575
  category?: string | undefined;
1576
1576
  };
1577
1577
  triggerWhen?: {
@@ -1603,7 +1603,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1603
1603
  maxHeight?: number | undefined;
1604
1604
  } | {
1605
1605
  type: "session_metric";
1606
- key: string;
1606
+ key: "time_on_page" | "page_views" | "scroll_depth";
1607
1607
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1608
1608
  threshold: number;
1609
1609
  } | {
@@ -1626,7 +1626,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1626
1626
  count: number;
1627
1627
  withinMs?: number | undefined;
1628
1628
  counter?: {
1629
- events: string[];
1629
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1630
1630
  match?: Record<string, {
1631
1631
  equals?: string | number | boolean | undefined;
1632
1632
  contains?: string | undefined;
@@ -1667,16 +1667,16 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1667
1667
  }, {
1668
1668
  kind: "nav:tip";
1669
1669
  config: {
1670
- title: string;
1671
1670
  id: string;
1671
+ title: string;
1672
1672
  description: string;
1673
1673
  external?: boolean | undefined;
1674
- href?: string | undefined;
1675
1674
  icon?: string | undefined;
1676
1675
  anchor?: {
1677
1676
  selector: string;
1678
1677
  route: string | string[];
1679
1678
  } | undefined;
1679
+ href?: string | undefined;
1680
1680
  category?: string | undefined;
1681
1681
  };
1682
1682
  triggerWhen?: {
@@ -1708,7 +1708,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1708
1708
  maxHeight?: number | undefined;
1709
1709
  } | {
1710
1710
  type: "session_metric";
1711
- key: string;
1711
+ key: "time_on_page" | "page_views" | "scroll_depth";
1712
1712
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1713
1713
  threshold: number;
1714
1714
  } | {
@@ -1731,7 +1731,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1731
1731
  count: number;
1732
1732
  withinMs?: number | undefined;
1733
1733
  counter?: {
1734
- events: string[];
1734
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1735
1735
  match?: Record<string, {
1736
1736
  equals?: string | number | boolean | undefined;
1737
1737
  contains?: string | undefined;
@@ -1773,15 +1773,15 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1773
1773
  kind: "nav:tip";
1774
1774
  config: {
1775
1775
  external: boolean;
1776
- title: string;
1777
1776
  id: string;
1777
+ title: string;
1778
1778
  description: string;
1779
- href?: string | undefined;
1780
1779
  icon?: string | undefined;
1781
1780
  anchor?: {
1782
1781
  selector: string;
1783
1782
  route: string | string[];
1784
1783
  } | undefined;
1784
+ href?: string | undefined;
1785
1785
  category?: string | undefined;
1786
1786
  };
1787
1787
  triggerWhen?: {
@@ -1813,7 +1813,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1813
1813
  maxHeight?: number | undefined;
1814
1814
  } | {
1815
1815
  type: "session_metric";
1816
- key: string;
1816
+ key: "time_on_page" | "page_views" | "scroll_depth";
1817
1817
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1818
1818
  threshold: number;
1819
1819
  } | {
@@ -1836,7 +1836,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1836
1836
  count: number;
1837
1837
  withinMs?: number | undefined;
1838
1838
  counter?: {
1839
- events: string[];
1839
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1840
1840
  match?: Record<string, {
1841
1841
  equals?: string | number | boolean | undefined;
1842
1842
  contains?: string | undefined;
@@ -1877,16 +1877,16 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1877
1877
  }, {
1878
1878
  kind: "nav:tip";
1879
1879
  config: {
1880
- title: string;
1881
1880
  id: string;
1881
+ title: string;
1882
1882
  description: string;
1883
1883
  external?: boolean | undefined;
1884
- href?: string | undefined;
1885
1884
  icon?: string | undefined;
1886
1885
  anchor?: {
1887
1886
  selector: string;
1888
1887
  route: string | string[];
1889
1888
  } | undefined;
1889
+ href?: string | undefined;
1890
1890
  category?: string | undefined;
1891
1891
  };
1892
1892
  triggerWhen?: {
@@ -1918,7 +1918,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1918
1918
  maxHeight?: number | undefined;
1919
1919
  } | {
1920
1920
  type: "session_metric";
1921
- key: string;
1921
+ key: "time_on_page" | "page_views" | "scroll_depth";
1922
1922
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1923
1923
  threshold: number;
1924
1924
  } | {
@@ -1941,7 +1941,7 @@ export declare const NavLinkSchema: z.ZodEffects<z.ZodObject<{
1941
1941
  count: number;
1942
1942
  withinMs?: number | undefined;
1943
1943
  counter?: {
1944
- events: string[];
1944
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1945
1945
  match?: Record<string, {
1946
1946
  equals?: string | number | boolean | undefined;
1947
1947
  contains?: string | undefined;
@@ -2022,27 +2022,27 @@ export declare const configSchema: z.ZodObject<{
2022
2022
  category: z.ZodOptional<z.ZodString>;
2023
2023
  }, "strip", z.ZodTypeAny, {
2024
2024
  external: boolean;
2025
- title: string;
2026
2025
  id: string;
2026
+ title: string;
2027
2027
  description: string;
2028
- href?: string | undefined;
2029
2028
  icon?: string | undefined;
2030
2029
  anchor?: {
2031
2030
  selector: string;
2032
2031
  route: string | string[];
2033
2032
  } | undefined;
2033
+ href?: string | undefined;
2034
2034
  category?: string | undefined;
2035
2035
  }, {
2036
- title: string;
2037
2036
  id: string;
2037
+ title: string;
2038
2038
  description: string;
2039
2039
  external?: boolean | undefined;
2040
- href?: string | undefined;
2041
2040
  icon?: string | undefined;
2042
2041
  anchor?: {
2043
2042
  selector: string;
2044
2043
  route: string | string[];
2045
2044
  } | undefined;
2045
+ href?: string | undefined;
2046
2046
  category?: string | undefined;
2047
2047
  }>;
2048
2048
  /** Per-item activation strategy (null = always show) */
@@ -2123,17 +2123,17 @@ export declare const configSchema: z.ZodObject<{
2123
2123
  maxHeight?: number | undefined;
2124
2124
  }>, z.ZodObject<{
2125
2125
  type: z.ZodLiteral<"session_metric">;
2126
- key: z.ZodString;
2126
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2127
2127
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2128
2128
  threshold: z.ZodNumber;
2129
2129
  }, "strip", z.ZodTypeAny, {
2130
2130
  type: "session_metric";
2131
- key: string;
2131
+ key: "time_on_page" | "page_views" | "scroll_depth";
2132
2132
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2133
2133
  threshold: number;
2134
2134
  }, {
2135
2135
  type: "session_metric";
2136
- key: string;
2136
+ key: "time_on_page" | "page_views" | "scroll_depth";
2137
2137
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2138
2138
  threshold: number;
2139
2139
  }>, z.ZodObject<{
@@ -2182,7 +2182,7 @@ export declare const configSchema: z.ZodObject<{
2182
2182
  count: z.ZodNumber;
2183
2183
  withinMs: z.ZodOptional<z.ZodNumber>;
2184
2184
  counter: z.ZodOptional<z.ZodObject<{
2185
- events: z.ZodArray<z.ZodString, "many">;
2185
+ 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", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
2186
2186
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2187
2187
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2188
2188
  contains: z.ZodOptional<z.ZodString>;
@@ -2194,13 +2194,13 @@ export declare const configSchema: z.ZodObject<{
2194
2194
  contains?: string | undefined;
2195
2195
  }>>>;
2196
2196
  }, "strip", z.ZodTypeAny, {
2197
- events: string[];
2197
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2198
2198
  match?: Record<string, {
2199
2199
  equals?: string | number | boolean | undefined;
2200
2200
  contains?: string | undefined;
2201
2201
  }> | undefined;
2202
2202
  }, {
2203
- events: string[];
2203
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2204
2204
  match?: Record<string, {
2205
2205
  equals?: string | number | boolean | undefined;
2206
2206
  contains?: string | undefined;
@@ -2213,7 +2213,7 @@ export declare const configSchema: z.ZodObject<{
2213
2213
  count: number;
2214
2214
  withinMs?: number | undefined;
2215
2215
  counter?: {
2216
- events: string[];
2216
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2217
2217
  match?: Record<string, {
2218
2218
  equals?: string | number | boolean | undefined;
2219
2219
  contains?: string | undefined;
@@ -2226,7 +2226,7 @@ export declare const configSchema: z.ZodObject<{
2226
2226
  count: number;
2227
2227
  withinMs?: number | undefined;
2228
2228
  counter?: {
2229
- events: string[];
2229
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2230
2230
  match?: Record<string, {
2231
2231
  equals?: string | number | boolean | undefined;
2232
2232
  contains?: string | undefined;
@@ -2261,7 +2261,7 @@ export declare const configSchema: z.ZodObject<{
2261
2261
  maxHeight?: number | undefined;
2262
2262
  } | {
2263
2263
  type: "session_metric";
2264
- key: string;
2264
+ key: "time_on_page" | "page_views" | "scroll_depth";
2265
2265
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2266
2266
  threshold: number;
2267
2267
  } | {
@@ -2284,7 +2284,7 @@ export declare const configSchema: z.ZodObject<{
2284
2284
  count: number;
2285
2285
  withinMs?: number | undefined;
2286
2286
  counter?: {
2287
- events: string[];
2287
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2288
2288
  match?: Record<string, {
2289
2289
  equals?: string | number | boolean | undefined;
2290
2290
  contains?: string | undefined;
@@ -2319,7 +2319,7 @@ export declare const configSchema: z.ZodObject<{
2319
2319
  maxHeight?: number | undefined;
2320
2320
  } | {
2321
2321
  type: "session_metric";
2322
- key: string;
2322
+ key: "time_on_page" | "page_views" | "scroll_depth";
2323
2323
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2324
2324
  threshold: number;
2325
2325
  } | {
@@ -2342,7 +2342,7 @@ export declare const configSchema: z.ZodObject<{
2342
2342
  count: number;
2343
2343
  withinMs?: number | undefined;
2344
2344
  counter?: {
2345
- events: string[];
2345
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2346
2346
  match?: Record<string, {
2347
2347
  equals?: string | number | boolean | undefined;
2348
2348
  contains?: string | undefined;
@@ -2381,7 +2381,7 @@ export declare const configSchema: z.ZodObject<{
2381
2381
  maxHeight?: number | undefined;
2382
2382
  } | {
2383
2383
  type: "session_metric";
2384
- key: string;
2384
+ key: "time_on_page" | "page_views" | "scroll_depth";
2385
2385
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2386
2386
  threshold: number;
2387
2387
  } | {
@@ -2404,7 +2404,7 @@ export declare const configSchema: z.ZodObject<{
2404
2404
  count: number;
2405
2405
  withinMs?: number | undefined;
2406
2406
  counter?: {
2407
- events: string[];
2407
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2408
2408
  match?: Record<string, {
2409
2409
  equals?: string | number | boolean | undefined;
2410
2410
  contains?: string | undefined;
@@ -2443,7 +2443,7 @@ export declare const configSchema: z.ZodObject<{
2443
2443
  maxHeight?: number | undefined;
2444
2444
  } | {
2445
2445
  type: "session_metric";
2446
- key: string;
2446
+ key: "time_on_page" | "page_views" | "scroll_depth";
2447
2447
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2448
2448
  threshold: number;
2449
2449
  } | {
@@ -2466,7 +2466,7 @@ export declare const configSchema: z.ZodObject<{
2466
2466
  count: number;
2467
2467
  withinMs?: number | undefined;
2468
2468
  counter?: {
2469
- events: string[];
2469
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2470
2470
  match?: Record<string, {
2471
2471
  equals?: string | number | boolean | undefined;
2472
2472
  contains?: string | undefined;
@@ -2560,15 +2560,15 @@ export declare const configSchema: z.ZodObject<{
2560
2560
  kind: "nav:tip";
2561
2561
  config: {
2562
2562
  external: boolean;
2563
- title: string;
2564
2563
  id: string;
2564
+ title: string;
2565
2565
  description: string;
2566
- href?: string | undefined;
2567
2566
  icon?: string | undefined;
2568
2567
  anchor?: {
2569
2568
  selector: string;
2570
2569
  route: string | string[];
2571
2570
  } | undefined;
2571
+ href?: string | undefined;
2572
2572
  category?: string | undefined;
2573
2573
  };
2574
2574
  triggerWhen?: {
@@ -2600,7 +2600,7 @@ export declare const configSchema: z.ZodObject<{
2600
2600
  maxHeight?: number | undefined;
2601
2601
  } | {
2602
2602
  type: "session_metric";
2603
- key: string;
2603
+ key: "time_on_page" | "page_views" | "scroll_depth";
2604
2604
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2605
2605
  threshold: number;
2606
2606
  } | {
@@ -2623,7 +2623,7 @@ export declare const configSchema: z.ZodObject<{
2623
2623
  count: number;
2624
2624
  withinMs?: number | undefined;
2625
2625
  counter?: {
2626
- events: string[];
2626
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2627
2627
  match?: Record<string, {
2628
2628
  equals?: string | number | boolean | undefined;
2629
2629
  contains?: string | undefined;
@@ -2664,16 +2664,16 @@ export declare const configSchema: z.ZodObject<{
2664
2664
  }, {
2665
2665
  kind: "nav:tip";
2666
2666
  config: {
2667
- title: string;
2668
2667
  id: string;
2668
+ title: string;
2669
2669
  description: string;
2670
2670
  external?: boolean | undefined;
2671
- href?: string | undefined;
2672
2671
  icon?: string | undefined;
2673
2672
  anchor?: {
2674
2673
  selector: string;
2675
2674
  route: string | string[];
2676
2675
  } | undefined;
2676
+ href?: string | undefined;
2677
2677
  category?: string | undefined;
2678
2678
  };
2679
2679
  triggerWhen?: {
@@ -2705,7 +2705,7 @@ export declare const configSchema: z.ZodObject<{
2705
2705
  maxHeight?: number | undefined;
2706
2706
  } | {
2707
2707
  type: "session_metric";
2708
- key: string;
2708
+ key: "time_on_page" | "page_views" | "scroll_depth";
2709
2709
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2710
2710
  threshold: number;
2711
2711
  } | {
@@ -2728,7 +2728,7 @@ export declare const configSchema: z.ZodObject<{
2728
2728
  count: number;
2729
2729
  withinMs?: number | undefined;
2730
2730
  counter?: {
2731
- events: string[];
2731
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2732
2732
  match?: Record<string, {
2733
2733
  equals?: string | number | boolean | undefined;
2734
2734
  contains?: string | undefined;
@@ -2770,15 +2770,15 @@ export declare const configSchema: z.ZodObject<{
2770
2770
  kind: "nav:tip";
2771
2771
  config: {
2772
2772
  external: boolean;
2773
- title: string;
2774
2773
  id: string;
2774
+ title: string;
2775
2775
  description: string;
2776
- href?: string | undefined;
2777
2776
  icon?: string | undefined;
2778
2777
  anchor?: {
2779
2778
  selector: string;
2780
2779
  route: string | string[];
2781
2780
  } | undefined;
2781
+ href?: string | undefined;
2782
2782
  category?: string | undefined;
2783
2783
  };
2784
2784
  triggerWhen?: {
@@ -2810,7 +2810,7 @@ export declare const configSchema: z.ZodObject<{
2810
2810
  maxHeight?: number | undefined;
2811
2811
  } | {
2812
2812
  type: "session_metric";
2813
- key: string;
2813
+ key: "time_on_page" | "page_views" | "scroll_depth";
2814
2814
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2815
2815
  threshold: number;
2816
2816
  } | {
@@ -2833,7 +2833,7 @@ export declare const configSchema: z.ZodObject<{
2833
2833
  count: number;
2834
2834
  withinMs?: number | undefined;
2835
2835
  counter?: {
2836
- events: string[];
2836
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2837
2837
  match?: Record<string, {
2838
2838
  equals?: string | number | boolean | undefined;
2839
2839
  contains?: string | undefined;
@@ -2874,16 +2874,16 @@ export declare const configSchema: z.ZodObject<{
2874
2874
  }, {
2875
2875
  kind: "nav:tip";
2876
2876
  config: {
2877
- title: string;
2878
2877
  id: string;
2878
+ title: string;
2879
2879
  description: string;
2880
2880
  external?: boolean | undefined;
2881
- href?: string | undefined;
2882
2881
  icon?: string | undefined;
2883
2882
  anchor?: {
2884
2883
  selector: string;
2885
2884
  route: string | string[];
2886
2885
  } | undefined;
2886
+ href?: string | undefined;
2887
2887
  category?: string | undefined;
2888
2888
  };
2889
2889
  triggerWhen?: {
@@ -2915,7 +2915,7 @@ export declare const configSchema: z.ZodObject<{
2915
2915
  maxHeight?: number | undefined;
2916
2916
  } | {
2917
2917
  type: "session_metric";
2918
- key: string;
2918
+ key: "time_on_page" | "page_views" | "scroll_depth";
2919
2919
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2920
2920
  threshold: number;
2921
2921
  } | {
@@ -2938,7 +2938,7 @@ export declare const configSchema: z.ZodObject<{
2938
2938
  count: number;
2939
2939
  withinMs?: number | undefined;
2940
2940
  counter?: {
2941
- events: string[];
2941
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2942
2942
  match?: Record<string, {
2943
2943
  equals?: string | number | boolean | undefined;
2944
2944
  contains?: string | undefined;
@@ -2978,19 +2978,21 @@ export declare const configSchema: z.ZodObject<{
2978
2978
  } | undefined;
2979
2979
  }>, "many">>;
2980
2980
  }, "strip", z.ZodTypeAny, {
2981
+ expandBehavior: "single" | "multiple";
2982
+ theme: "light" | "dark" | "auto";
2981
2983
  actions: {
2982
2984
  kind: "nav:tip";
2983
2985
  config: {
2984
2986
  external: boolean;
2985
- title: string;
2986
2987
  id: string;
2988
+ title: string;
2987
2989
  description: string;
2988
- href?: string | undefined;
2989
2990
  icon?: string | undefined;
2990
2991
  anchor?: {
2991
2992
  selector: string;
2992
2993
  route: string | string[];
2993
2994
  } | undefined;
2995
+ href?: string | undefined;
2994
2996
  category?: string | undefined;
2995
2997
  };
2996
2998
  triggerWhen?: {
@@ -3022,7 +3024,7 @@ export declare const configSchema: z.ZodObject<{
3022
3024
  maxHeight?: number | undefined;
3023
3025
  } | {
3024
3026
  type: "session_metric";
3025
- key: string;
3027
+ key: "time_on_page" | "page_views" | "scroll_depth";
3026
3028
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3027
3029
  threshold: number;
3028
3030
  } | {
@@ -3045,7 +3047,7 @@ export declare const configSchema: z.ZodObject<{
3045
3047
  count: number;
3046
3048
  withinMs?: number | undefined;
3047
3049
  counter?: {
3048
- events: string[];
3050
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3049
3051
  match?: Record<string, {
3050
3052
  equals?: string | number | boolean | undefined;
3051
3053
  contains?: string | undefined;
@@ -3084,24 +3086,24 @@ export declare const configSchema: z.ZodObject<{
3084
3086
  confidence?: number | undefined;
3085
3087
  } | undefined;
3086
3088
  }[];
3087
- theme: "light" | "dark" | "auto";
3088
- expandBehavior: "single" | "multiple";
3089
3089
  title?: string | undefined;
3090
3090
  }, {
3091
3091
  title?: string | undefined;
3092
+ expandBehavior?: "single" | "multiple" | undefined;
3093
+ theme?: "light" | "dark" | "auto" | undefined;
3092
3094
  actions?: {
3093
3095
  kind: "nav:tip";
3094
3096
  config: {
3095
- title: string;
3096
3097
  id: string;
3098
+ title: string;
3097
3099
  description: string;
3098
3100
  external?: boolean | undefined;
3099
- href?: string | undefined;
3100
3101
  icon?: string | undefined;
3101
3102
  anchor?: {
3102
3103
  selector: string;
3103
3104
  route: string | string[];
3104
3105
  } | undefined;
3106
+ href?: string | undefined;
3105
3107
  category?: string | undefined;
3106
3108
  };
3107
3109
  triggerWhen?: {
@@ -3133,7 +3135,7 @@ export declare const configSchema: z.ZodObject<{
3133
3135
  maxHeight?: number | undefined;
3134
3136
  } | {
3135
3137
  type: "session_metric";
3136
- key: string;
3138
+ key: "time_on_page" | "page_views" | "scroll_depth";
3137
3139
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3138
3140
  threshold: number;
3139
3141
  } | {
@@ -3156,7 +3158,7 @@ export declare const configSchema: z.ZodObject<{
3156
3158
  count: number;
3157
3159
  withinMs?: number | undefined;
3158
3160
  counter?: {
3159
- events: string[];
3161
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3160
3162
  match?: Record<string, {
3161
3163
  equals?: string | number | boolean | undefined;
3162
3164
  contains?: string | undefined;
@@ -3195,8 +3197,6 @@ export declare const configSchema: z.ZodObject<{
3195
3197
  confidence?: number | undefined;
3196
3198
  } | undefined;
3197
3199
  }[] | undefined;
3198
- theme?: "light" | "dark" | "auto" | undefined;
3199
- expandBehavior?: "single" | "multiple" | undefined;
3200
3200
  }>;
3201
3201
  export type NavConfig = z.infer<typeof configSchema>;
3202
3202
  /**
@@ -3255,16 +3255,16 @@ export declare const navigationTargetsSchema: z.ZodOptional<z.ZodArray<z.ZodObje
3255
3255
  export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3256
3256
  kind: "nav:tip";
3257
3257
  config: {
3258
- title: string;
3259
3258
  id: string;
3259
+ title: string;
3260
3260
  description: string;
3261
3261
  external?: boolean | undefined;
3262
- href?: string | undefined;
3263
3262
  icon?: string | undefined;
3264
3263
  anchor?: {
3265
3264
  selector: string;
3266
3265
  route: string | string[];
3267
3266
  } | undefined;
3267
+ href?: string | undefined;
3268
3268
  category?: string | undefined;
3269
3269
  };
3270
3270
  triggerWhen?: {
@@ -3296,7 +3296,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3296
3296
  maxHeight?: number | undefined;
3297
3297
  } | {
3298
3298
  type: "session_metric";
3299
- key: string;
3299
+ key: "time_on_page" | "page_views" | "scroll_depth";
3300
3300
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3301
3301
  threshold: number;
3302
3302
  } | {
@@ -3319,7 +3319,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3319
3319
  count: number;
3320
3320
  withinMs?: number | undefined;
3321
3321
  counter?: {
3322
- events: string[];
3322
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3323
3323
  match?: Record<string, {
3324
3324
  equals?: string | number | boolean | undefined;
3325
3325
  contains?: string | undefined;
@@ -3361,15 +3361,15 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3361
3361
  kind: "nav:tip";
3362
3362
  config: {
3363
3363
  external: boolean;
3364
- title: string;
3365
3364
  id: string;
3365
+ title: string;
3366
3366
  description: string;
3367
- href?: string | undefined;
3368
3367
  icon?: string | undefined;
3369
3368
  anchor?: {
3370
3369
  selector: string;
3371
3370
  route: string | string[];
3372
3371
  } | undefined;
3372
+ href?: string | undefined;
3373
3373
  category?: string | undefined;
3374
3374
  };
3375
3375
  triggerWhen?: {
@@ -3401,7 +3401,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3401
3401
  maxHeight?: number | undefined;
3402
3402
  } | {
3403
3403
  type: "session_metric";
3404
- key: string;
3404
+ key: "time_on_page" | "page_views" | "scroll_depth";
3405
3405
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3406
3406
  threshold: number;
3407
3407
  } | {
@@ -3424,7 +3424,7 @@ export declare function validateNavTip(data: unknown): z.SafeParseReturnType<{
3424
3424
  count: number;
3425
3425
  withinMs?: number | undefined;
3426
3426
  counter?: {
3427
- events: string[];
3427
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3428
3428
  match?: Record<string, {
3429
3429
  equals?: string | number | boolean | undefined;
3430
3430
  contains?: string | undefined;
@@ -3470,19 +3470,21 @@ export declare const validateNavLink: typeof validateNavTip;
3470
3470
  */
3471
3471
  export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<{
3472
3472
  title?: string | undefined;
3473
+ expandBehavior?: "single" | "multiple" | undefined;
3474
+ theme?: "light" | "dark" | "auto" | undefined;
3473
3475
  actions?: {
3474
3476
  kind: "nav:tip";
3475
3477
  config: {
3476
- title: string;
3477
3478
  id: string;
3479
+ title: string;
3478
3480
  description: string;
3479
3481
  external?: boolean | undefined;
3480
- href?: string | undefined;
3481
3482
  icon?: string | undefined;
3482
3483
  anchor?: {
3483
3484
  selector: string;
3484
3485
  route: string | string[];
3485
3486
  } | undefined;
3487
+ href?: string | undefined;
3486
3488
  category?: string | undefined;
3487
3489
  };
3488
3490
  triggerWhen?: {
@@ -3514,7 +3516,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3514
3516
  maxHeight?: number | undefined;
3515
3517
  } | {
3516
3518
  type: "session_metric";
3517
- key: string;
3519
+ key: "time_on_page" | "page_views" | "scroll_depth";
3518
3520
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3519
3521
  threshold: number;
3520
3522
  } | {
@@ -3537,7 +3539,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3537
3539
  count: number;
3538
3540
  withinMs?: number | undefined;
3539
3541
  counter?: {
3540
- events: string[];
3542
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3541
3543
  match?: Record<string, {
3542
3544
  equals?: string | number | boolean | undefined;
3543
3545
  contains?: string | undefined;
@@ -3576,22 +3578,22 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3576
3578
  confidence?: number | undefined;
3577
3579
  } | undefined;
3578
3580
  }[] | undefined;
3579
- theme?: "light" | "dark" | "auto" | undefined;
3580
- expandBehavior?: "single" | "multiple" | undefined;
3581
3581
  }, {
3582
+ expandBehavior: "single" | "multiple";
3583
+ theme: "light" | "dark" | "auto";
3582
3584
  actions: {
3583
3585
  kind: "nav:tip";
3584
3586
  config: {
3585
3587
  external: boolean;
3586
- title: string;
3587
3588
  id: string;
3589
+ title: string;
3588
3590
  description: string;
3589
- href?: string | undefined;
3590
3591
  icon?: string | undefined;
3591
3592
  anchor?: {
3592
3593
  selector: string;
3593
3594
  route: string | string[];
3594
3595
  } | undefined;
3596
+ href?: string | undefined;
3595
3597
  category?: string | undefined;
3596
3598
  };
3597
3599
  triggerWhen?: {
@@ -3623,7 +3625,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3623
3625
  maxHeight?: number | undefined;
3624
3626
  } | {
3625
3627
  type: "session_metric";
3626
- key: string;
3628
+ key: "time_on_page" | "page_views" | "scroll_depth";
3627
3629
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3628
3630
  threshold: number;
3629
3631
  } | {
@@ -3646,7 +3648,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3646
3648
  count: number;
3647
3649
  withinMs?: number | undefined;
3648
3650
  counter?: {
3649
- events: string[];
3651
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3650
3652
  match?: Record<string, {
3651
3653
  equals?: string | number | boolean | undefined;
3652
3654
  contains?: string | undefined;
@@ -3685,8 +3687,6 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3685
3687
  confidence?: number | undefined;
3686
3688
  } | undefined;
3687
3689
  }[];
3688
- theme: "light" | "dark" | "auto";
3689
- expandBehavior: "single" | "multiple";
3690
3690
  title?: string | undefined;
3691
3691
  }>;
3692
3692
  /**
@@ -3726,27 +3726,27 @@ export declare const actionStepSchemas: {
3726
3726
  category: z.ZodOptional<z.ZodString>;
3727
3727
  }, "strip", z.ZodTypeAny, {
3728
3728
  external: boolean;
3729
- title: string;
3730
3729
  id: string;
3730
+ title: string;
3731
3731
  description: string;
3732
- href?: string | undefined;
3733
3732
  icon?: string | undefined;
3734
3733
  anchor?: {
3735
3734
  selector: string;
3736
3735
  route: string | string[];
3737
3736
  } | undefined;
3737
+ href?: string | undefined;
3738
3738
  category?: string | undefined;
3739
3739
  }, {
3740
- title: string;
3741
3740
  id: string;
3741
+ title: string;
3742
3742
  description: string;
3743
3743
  external?: boolean | undefined;
3744
- href?: string | undefined;
3745
3744
  icon?: string | undefined;
3746
3745
  anchor?: {
3747
3746
  selector: string;
3748
3747
  route: string | string[];
3749
3748
  } | undefined;
3749
+ href?: string | undefined;
3750
3750
  category?: string | undefined;
3751
3751
  }>;
3752
3752
  /** Per-item activation strategy (null = always show) */
@@ -3827,17 +3827,17 @@ export declare const actionStepSchemas: {
3827
3827
  maxHeight?: number | undefined;
3828
3828
  }>, z.ZodObject<{
3829
3829
  type: z.ZodLiteral<"session_metric">;
3830
- key: z.ZodString;
3830
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
3831
3831
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
3832
3832
  threshold: z.ZodNumber;
3833
3833
  }, "strip", z.ZodTypeAny, {
3834
3834
  type: "session_metric";
3835
- key: string;
3835
+ key: "time_on_page" | "page_views" | "scroll_depth";
3836
3836
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3837
3837
  threshold: number;
3838
3838
  }, {
3839
3839
  type: "session_metric";
3840
- key: string;
3840
+ key: "time_on_page" | "page_views" | "scroll_depth";
3841
3841
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3842
3842
  threshold: number;
3843
3843
  }>, z.ZodObject<{
@@ -3886,7 +3886,7 @@ export declare const actionStepSchemas: {
3886
3886
  count: z.ZodNumber;
3887
3887
  withinMs: z.ZodOptional<z.ZodNumber>;
3888
3888
  counter: z.ZodOptional<z.ZodObject<{
3889
- events: z.ZodArray<z.ZodString, "many">;
3889
+ 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", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
3890
3890
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3891
3891
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3892
3892
  contains: z.ZodOptional<z.ZodString>;
@@ -3898,13 +3898,13 @@ export declare const actionStepSchemas: {
3898
3898
  contains?: string | undefined;
3899
3899
  }>>>;
3900
3900
  }, "strip", z.ZodTypeAny, {
3901
- events: string[];
3901
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3902
3902
  match?: Record<string, {
3903
3903
  equals?: string | number | boolean | undefined;
3904
3904
  contains?: string | undefined;
3905
3905
  }> | undefined;
3906
3906
  }, {
3907
- events: string[];
3907
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3908
3908
  match?: Record<string, {
3909
3909
  equals?: string | number | boolean | undefined;
3910
3910
  contains?: string | undefined;
@@ -3917,7 +3917,7 @@ export declare const actionStepSchemas: {
3917
3917
  count: number;
3918
3918
  withinMs?: number | undefined;
3919
3919
  counter?: {
3920
- events: string[];
3920
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3921
3921
  match?: Record<string, {
3922
3922
  equals?: string | number | boolean | undefined;
3923
3923
  contains?: string | undefined;
@@ -3930,7 +3930,7 @@ export declare const actionStepSchemas: {
3930
3930
  count: number;
3931
3931
  withinMs?: number | undefined;
3932
3932
  counter?: {
3933
- events: string[];
3933
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3934
3934
  match?: Record<string, {
3935
3935
  equals?: string | number | boolean | undefined;
3936
3936
  contains?: string | undefined;
@@ -3965,7 +3965,7 @@ export declare const actionStepSchemas: {
3965
3965
  maxHeight?: number | undefined;
3966
3966
  } | {
3967
3967
  type: "session_metric";
3968
- key: string;
3968
+ key: "time_on_page" | "page_views" | "scroll_depth";
3969
3969
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3970
3970
  threshold: number;
3971
3971
  } | {
@@ -3988,7 +3988,7 @@ export declare const actionStepSchemas: {
3988
3988
  count: number;
3989
3989
  withinMs?: number | undefined;
3990
3990
  counter?: {
3991
- events: string[];
3991
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3992
3992
  match?: Record<string, {
3993
3993
  equals?: string | number | boolean | undefined;
3994
3994
  contains?: string | undefined;
@@ -4023,7 +4023,7 @@ export declare const actionStepSchemas: {
4023
4023
  maxHeight?: number | undefined;
4024
4024
  } | {
4025
4025
  type: "session_metric";
4026
- key: string;
4026
+ key: "time_on_page" | "page_views" | "scroll_depth";
4027
4027
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4028
4028
  threshold: number;
4029
4029
  } | {
@@ -4046,7 +4046,7 @@ export declare const actionStepSchemas: {
4046
4046
  count: number;
4047
4047
  withinMs?: number | undefined;
4048
4048
  counter?: {
4049
- events: string[];
4049
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4050
4050
  match?: Record<string, {
4051
4051
  equals?: string | number | boolean | undefined;
4052
4052
  contains?: string | undefined;
@@ -4085,7 +4085,7 @@ export declare const actionStepSchemas: {
4085
4085
  maxHeight?: number | undefined;
4086
4086
  } | {
4087
4087
  type: "session_metric";
4088
- key: string;
4088
+ key: "time_on_page" | "page_views" | "scroll_depth";
4089
4089
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4090
4090
  threshold: number;
4091
4091
  } | {
@@ -4108,7 +4108,7 @@ export declare const actionStepSchemas: {
4108
4108
  count: number;
4109
4109
  withinMs?: number | undefined;
4110
4110
  counter?: {
4111
- events: string[];
4111
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4112
4112
  match?: Record<string, {
4113
4113
  equals?: string | number | boolean | undefined;
4114
4114
  contains?: string | undefined;
@@ -4147,7 +4147,7 @@ export declare const actionStepSchemas: {
4147
4147
  maxHeight?: number | undefined;
4148
4148
  } | {
4149
4149
  type: "session_metric";
4150
- key: string;
4150
+ key: "time_on_page" | "page_views" | "scroll_depth";
4151
4151
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4152
4152
  threshold: number;
4153
4153
  } | {
@@ -4170,7 +4170,7 @@ export declare const actionStepSchemas: {
4170
4170
  count: number;
4171
4171
  withinMs?: number | undefined;
4172
4172
  counter?: {
4173
- events: string[];
4173
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4174
4174
  match?: Record<string, {
4175
4175
  equals?: string | number | boolean | undefined;
4176
4176
  contains?: string | undefined;
@@ -4264,15 +4264,15 @@ export declare const actionStepSchemas: {
4264
4264
  kind: "nav:tip";
4265
4265
  config: {
4266
4266
  external: boolean;
4267
- title: string;
4268
4267
  id: string;
4268
+ title: string;
4269
4269
  description: string;
4270
- href?: string | undefined;
4271
4270
  icon?: string | undefined;
4272
4271
  anchor?: {
4273
4272
  selector: string;
4274
4273
  route: string | string[];
4275
4274
  } | undefined;
4275
+ href?: string | undefined;
4276
4276
  category?: string | undefined;
4277
4277
  };
4278
4278
  triggerWhen?: {
@@ -4304,7 +4304,7 @@ export declare const actionStepSchemas: {
4304
4304
  maxHeight?: number | undefined;
4305
4305
  } | {
4306
4306
  type: "session_metric";
4307
- key: string;
4307
+ key: "time_on_page" | "page_views" | "scroll_depth";
4308
4308
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4309
4309
  threshold: number;
4310
4310
  } | {
@@ -4327,7 +4327,7 @@ export declare const actionStepSchemas: {
4327
4327
  count: number;
4328
4328
  withinMs?: number | undefined;
4329
4329
  counter?: {
4330
- events: string[];
4330
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4331
4331
  match?: Record<string, {
4332
4332
  equals?: string | number | boolean | undefined;
4333
4333
  contains?: string | undefined;
@@ -4368,16 +4368,16 @@ export declare const actionStepSchemas: {
4368
4368
  }, {
4369
4369
  kind: "nav:tip";
4370
4370
  config: {
4371
- title: string;
4372
4371
  id: string;
4372
+ title: string;
4373
4373
  description: string;
4374
4374
  external?: boolean | undefined;
4375
- href?: string | undefined;
4376
4375
  icon?: string | undefined;
4377
4376
  anchor?: {
4378
4377
  selector: string;
4379
4378
  route: string | string[];
4380
4379
  } | undefined;
4380
+ href?: string | undefined;
4381
4381
  category?: string | undefined;
4382
4382
  };
4383
4383
  triggerWhen?: {
@@ -4409,7 +4409,7 @@ export declare const actionStepSchemas: {
4409
4409
  maxHeight?: number | undefined;
4410
4410
  } | {
4411
4411
  type: "session_metric";
4412
- key: string;
4412
+ key: "time_on_page" | "page_views" | "scroll_depth";
4413
4413
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4414
4414
  threshold: number;
4415
4415
  } | {
@@ -4432,7 +4432,7 @@ export declare const actionStepSchemas: {
4432
4432
  count: number;
4433
4433
  withinMs?: number | undefined;
4434
4434
  counter?: {
4435
- events: string[];
4435
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4436
4436
  match?: Record<string, {
4437
4437
  equals?: string | number | boolean | undefined;
4438
4438
  contains?: string | undefined;
@@ -4518,27 +4518,27 @@ export declare const tileWidgets: {
4518
4518
  category: z.ZodOptional<z.ZodString>;
4519
4519
  }, "strip", z.ZodTypeAny, {
4520
4520
  external: boolean;
4521
- title: string;
4522
4521
  id: string;
4522
+ title: string;
4523
4523
  description: string;
4524
- href?: string | undefined;
4525
4524
  icon?: string | undefined;
4526
4525
  anchor?: {
4527
4526
  selector: string;
4528
4527
  route: string | string[];
4529
4528
  } | undefined;
4529
+ href?: string | undefined;
4530
4530
  category?: string | undefined;
4531
4531
  }, {
4532
- title: string;
4533
4532
  id: string;
4533
+ title: string;
4534
4534
  description: string;
4535
4535
  external?: boolean | undefined;
4536
- href?: string | undefined;
4537
4536
  icon?: string | undefined;
4538
4537
  anchor?: {
4539
4538
  selector: string;
4540
4539
  route: string | string[];
4541
4540
  } | undefined;
4541
+ href?: string | undefined;
4542
4542
  category?: string | undefined;
4543
4543
  }>;
4544
4544
  /** Per-item activation strategy (null = always show) */
@@ -4619,17 +4619,17 @@ export declare const tileWidgets: {
4619
4619
  maxHeight?: number | undefined;
4620
4620
  }>, z.ZodObject<{
4621
4621
  type: z.ZodLiteral<"session_metric">;
4622
- key: z.ZodString;
4622
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4623
4623
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4624
4624
  threshold: z.ZodNumber;
4625
4625
  }, "strip", z.ZodTypeAny, {
4626
4626
  type: "session_metric";
4627
- key: string;
4627
+ key: "time_on_page" | "page_views" | "scroll_depth";
4628
4628
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4629
4629
  threshold: number;
4630
4630
  }, {
4631
4631
  type: "session_metric";
4632
- key: string;
4632
+ key: "time_on_page" | "page_views" | "scroll_depth";
4633
4633
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4634
4634
  threshold: number;
4635
4635
  }>, z.ZodObject<{
@@ -4678,7 +4678,7 @@ export declare const tileWidgets: {
4678
4678
  count: z.ZodNumber;
4679
4679
  withinMs: z.ZodOptional<z.ZodNumber>;
4680
4680
  counter: z.ZodOptional<z.ZodObject<{
4681
- events: z.ZodArray<z.ZodString, "many">;
4681
+ 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", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
4682
4682
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4683
4683
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4684
4684
  contains: z.ZodOptional<z.ZodString>;
@@ -4690,13 +4690,13 @@ export declare const tileWidgets: {
4690
4690
  contains?: string | undefined;
4691
4691
  }>>>;
4692
4692
  }, "strip", z.ZodTypeAny, {
4693
- events: string[];
4693
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4694
4694
  match?: Record<string, {
4695
4695
  equals?: string | number | boolean | undefined;
4696
4696
  contains?: string | undefined;
4697
4697
  }> | undefined;
4698
4698
  }, {
4699
- events: string[];
4699
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4700
4700
  match?: Record<string, {
4701
4701
  equals?: string | number | boolean | undefined;
4702
4702
  contains?: string | undefined;
@@ -4709,7 +4709,7 @@ export declare const tileWidgets: {
4709
4709
  count: number;
4710
4710
  withinMs?: number | undefined;
4711
4711
  counter?: {
4712
- events: string[];
4712
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4713
4713
  match?: Record<string, {
4714
4714
  equals?: string | number | boolean | undefined;
4715
4715
  contains?: string | undefined;
@@ -4722,7 +4722,7 @@ export declare const tileWidgets: {
4722
4722
  count: number;
4723
4723
  withinMs?: number | undefined;
4724
4724
  counter?: {
4725
- events: string[];
4725
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4726
4726
  match?: Record<string, {
4727
4727
  equals?: string | number | boolean | undefined;
4728
4728
  contains?: string | undefined;
@@ -4757,7 +4757,7 @@ export declare const tileWidgets: {
4757
4757
  maxHeight?: number | undefined;
4758
4758
  } | {
4759
4759
  type: "session_metric";
4760
- key: string;
4760
+ key: "time_on_page" | "page_views" | "scroll_depth";
4761
4761
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4762
4762
  threshold: number;
4763
4763
  } | {
@@ -4780,7 +4780,7 @@ export declare const tileWidgets: {
4780
4780
  count: number;
4781
4781
  withinMs?: number | undefined;
4782
4782
  counter?: {
4783
- events: string[];
4783
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4784
4784
  match?: Record<string, {
4785
4785
  equals?: string | number | boolean | undefined;
4786
4786
  contains?: string | undefined;
@@ -4815,7 +4815,7 @@ export declare const tileWidgets: {
4815
4815
  maxHeight?: number | undefined;
4816
4816
  } | {
4817
4817
  type: "session_metric";
4818
- key: string;
4818
+ key: "time_on_page" | "page_views" | "scroll_depth";
4819
4819
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4820
4820
  threshold: number;
4821
4821
  } | {
@@ -4838,7 +4838,7 @@ export declare const tileWidgets: {
4838
4838
  count: number;
4839
4839
  withinMs?: number | undefined;
4840
4840
  counter?: {
4841
- events: string[];
4841
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4842
4842
  match?: Record<string, {
4843
4843
  equals?: string | number | boolean | undefined;
4844
4844
  contains?: string | undefined;
@@ -4877,7 +4877,7 @@ export declare const tileWidgets: {
4877
4877
  maxHeight?: number | undefined;
4878
4878
  } | {
4879
4879
  type: "session_metric";
4880
- key: string;
4880
+ key: "time_on_page" | "page_views" | "scroll_depth";
4881
4881
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4882
4882
  threshold: number;
4883
4883
  } | {
@@ -4900,7 +4900,7 @@ export declare const tileWidgets: {
4900
4900
  count: number;
4901
4901
  withinMs?: number | undefined;
4902
4902
  counter?: {
4903
- events: string[];
4903
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4904
4904
  match?: Record<string, {
4905
4905
  equals?: string | number | boolean | undefined;
4906
4906
  contains?: string | undefined;
@@ -4939,7 +4939,7 @@ export declare const tileWidgets: {
4939
4939
  maxHeight?: number | undefined;
4940
4940
  } | {
4941
4941
  type: "session_metric";
4942
- key: string;
4942
+ key: "time_on_page" | "page_views" | "scroll_depth";
4943
4943
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4944
4944
  threshold: number;
4945
4945
  } | {
@@ -4962,7 +4962,7 @@ export declare const tileWidgets: {
4962
4962
  count: number;
4963
4963
  withinMs?: number | undefined;
4964
4964
  counter?: {
4965
- events: string[];
4965
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4966
4966
  match?: Record<string, {
4967
4967
  equals?: string | number | boolean | undefined;
4968
4968
  contains?: string | undefined;
@@ -5056,15 +5056,15 @@ export declare const tileWidgets: {
5056
5056
  kind: "nav:tip";
5057
5057
  config: {
5058
5058
  external: boolean;
5059
- title: string;
5060
5059
  id: string;
5060
+ title: string;
5061
5061
  description: string;
5062
- href?: string | undefined;
5063
5062
  icon?: string | undefined;
5064
5063
  anchor?: {
5065
5064
  selector: string;
5066
5065
  route: string | string[];
5067
5066
  } | undefined;
5067
+ href?: string | undefined;
5068
5068
  category?: string | undefined;
5069
5069
  };
5070
5070
  triggerWhen?: {
@@ -5096,7 +5096,7 @@ export declare const tileWidgets: {
5096
5096
  maxHeight?: number | undefined;
5097
5097
  } | {
5098
5098
  type: "session_metric";
5099
- key: string;
5099
+ key: "time_on_page" | "page_views" | "scroll_depth";
5100
5100
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5101
5101
  threshold: number;
5102
5102
  } | {
@@ -5119,7 +5119,7 @@ export declare const tileWidgets: {
5119
5119
  count: number;
5120
5120
  withinMs?: number | undefined;
5121
5121
  counter?: {
5122
- events: string[];
5122
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5123
5123
  match?: Record<string, {
5124
5124
  equals?: string | number | boolean | undefined;
5125
5125
  contains?: string | undefined;
@@ -5160,16 +5160,16 @@ export declare const tileWidgets: {
5160
5160
  }, {
5161
5161
  kind: "nav:tip";
5162
5162
  config: {
5163
- title: string;
5164
5163
  id: string;
5164
+ title: string;
5165
5165
  description: string;
5166
5166
  external?: boolean | undefined;
5167
- href?: string | undefined;
5168
5167
  icon?: string | undefined;
5169
5168
  anchor?: {
5170
5169
  selector: string;
5171
5170
  route: string | string[];
5172
5171
  } | undefined;
5172
+ href?: string | undefined;
5173
5173
  category?: string | undefined;
5174
5174
  };
5175
5175
  triggerWhen?: {
@@ -5201,7 +5201,7 @@ export declare const tileWidgets: {
5201
5201
  maxHeight?: number | undefined;
5202
5202
  } | {
5203
5203
  type: "session_metric";
5204
- key: string;
5204
+ key: "time_on_page" | "page_views" | "scroll_depth";
5205
5205
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5206
5206
  threshold: number;
5207
5207
  } | {
@@ -5224,7 +5224,7 @@ export declare const tileWidgets: {
5224
5224
  count: number;
5225
5225
  withinMs?: number | undefined;
5226
5226
  counter?: {
5227
- events: string[];
5227
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5228
5228
  match?: Record<string, {
5229
5229
  equals?: string | number | boolean | undefined;
5230
5230
  contains?: string | undefined;
@@ -5266,15 +5266,15 @@ export declare const tileWidgets: {
5266
5266
  kind: "nav:tip";
5267
5267
  config: {
5268
5268
  external: boolean;
5269
- title: string;
5270
5269
  id: string;
5270
+ title: string;
5271
5271
  description: string;
5272
- href?: string | undefined;
5273
5272
  icon?: string | undefined;
5274
5273
  anchor?: {
5275
5274
  selector: string;
5276
5275
  route: string | string[];
5277
5276
  } | undefined;
5277
+ href?: string | undefined;
5278
5278
  category?: string | undefined;
5279
5279
  };
5280
5280
  triggerWhen?: {
@@ -5306,7 +5306,7 @@ export declare const tileWidgets: {
5306
5306
  maxHeight?: number | undefined;
5307
5307
  } | {
5308
5308
  type: "session_metric";
5309
- key: string;
5309
+ key: "time_on_page" | "page_views" | "scroll_depth";
5310
5310
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5311
5311
  threshold: number;
5312
5312
  } | {
@@ -5329,7 +5329,7 @@ export declare const tileWidgets: {
5329
5329
  count: number;
5330
5330
  withinMs?: number | undefined;
5331
5331
  counter?: {
5332
- events: string[];
5332
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5333
5333
  match?: Record<string, {
5334
5334
  equals?: string | number | boolean | undefined;
5335
5335
  contains?: string | undefined;
@@ -5370,16 +5370,16 @@ export declare const tileWidgets: {
5370
5370
  }, {
5371
5371
  kind: "nav:tip";
5372
5372
  config: {
5373
- title: string;
5374
5373
  id: string;
5374
+ title: string;
5375
5375
  description: string;
5376
5376
  external?: boolean | undefined;
5377
- href?: string | undefined;
5378
5377
  icon?: string | undefined;
5379
5378
  anchor?: {
5380
5379
  selector: string;
5381
5380
  route: string | string[];
5382
5381
  } | undefined;
5382
+ href?: string | undefined;
5383
5383
  category?: string | undefined;
5384
5384
  };
5385
5385
  triggerWhen?: {
@@ -5411,7 +5411,7 @@ export declare const tileWidgets: {
5411
5411
  maxHeight?: number | undefined;
5412
5412
  } | {
5413
5413
  type: "session_metric";
5414
- key: string;
5414
+ key: "time_on_page" | "page_views" | "scroll_depth";
5415
5415
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5416
5416
  threshold: number;
5417
5417
  } | {
@@ -5434,7 +5434,7 @@ export declare const tileWidgets: {
5434
5434
  count: number;
5435
5435
  withinMs?: number | undefined;
5436
5436
  counter?: {
5437
- events: string[];
5437
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5438
5438
  match?: Record<string, {
5439
5439
  equals?: string | number | boolean | undefined;
5440
5440
  contains?: string | undefined;
@@ -5474,19 +5474,21 @@ export declare const tileWidgets: {
5474
5474
  } | undefined;
5475
5475
  }>, "many">>;
5476
5476
  }, "strip", z.ZodTypeAny, {
5477
+ expandBehavior: "single" | "multiple";
5478
+ theme: "light" | "dark" | "auto";
5477
5479
  actions: {
5478
5480
  kind: "nav:tip";
5479
5481
  config: {
5480
5482
  external: boolean;
5481
- title: string;
5482
5483
  id: string;
5484
+ title: string;
5483
5485
  description: string;
5484
- href?: string | undefined;
5485
5486
  icon?: string | undefined;
5486
5487
  anchor?: {
5487
5488
  selector: string;
5488
5489
  route: string | string[];
5489
5490
  } | undefined;
5491
+ href?: string | undefined;
5490
5492
  category?: string | undefined;
5491
5493
  };
5492
5494
  triggerWhen?: {
@@ -5518,7 +5520,7 @@ export declare const tileWidgets: {
5518
5520
  maxHeight?: number | undefined;
5519
5521
  } | {
5520
5522
  type: "session_metric";
5521
- key: string;
5523
+ key: "time_on_page" | "page_views" | "scroll_depth";
5522
5524
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5523
5525
  threshold: number;
5524
5526
  } | {
@@ -5541,7 +5543,7 @@ export declare const tileWidgets: {
5541
5543
  count: number;
5542
5544
  withinMs?: number | undefined;
5543
5545
  counter?: {
5544
- events: string[];
5546
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5545
5547
  match?: Record<string, {
5546
5548
  equals?: string | number | boolean | undefined;
5547
5549
  contains?: string | undefined;
@@ -5580,24 +5582,24 @@ export declare const tileWidgets: {
5580
5582
  confidence?: number | undefined;
5581
5583
  } | undefined;
5582
5584
  }[];
5583
- theme: "light" | "dark" | "auto";
5584
- expandBehavior: "single" | "multiple";
5585
5585
  title?: string | undefined;
5586
5586
  }, {
5587
5587
  title?: string | undefined;
5588
+ expandBehavior?: "single" | "multiple" | undefined;
5589
+ theme?: "light" | "dark" | "auto" | undefined;
5588
5590
  actions?: {
5589
5591
  kind: "nav:tip";
5590
5592
  config: {
5591
- title: string;
5592
5593
  id: string;
5594
+ title: string;
5593
5595
  description: string;
5594
5596
  external?: boolean | undefined;
5595
- href?: string | undefined;
5596
5597
  icon?: string | undefined;
5597
5598
  anchor?: {
5598
5599
  selector: string;
5599
5600
  route: string | string[];
5600
5601
  } | undefined;
5602
+ href?: string | undefined;
5601
5603
  category?: string | undefined;
5602
5604
  };
5603
5605
  triggerWhen?: {
@@ -5629,7 +5631,7 @@ export declare const tileWidgets: {
5629
5631
  maxHeight?: number | undefined;
5630
5632
  } | {
5631
5633
  type: "session_metric";
5632
- key: string;
5634
+ key: "time_on_page" | "page_views" | "scroll_depth";
5633
5635
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5634
5636
  threshold: number;
5635
5637
  } | {
@@ -5652,7 +5654,7 @@ export declare const tileWidgets: {
5652
5654
  count: number;
5653
5655
  withinMs?: number | undefined;
5654
5656
  counter?: {
5655
- events: string[];
5657
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5656
5658
  match?: Record<string, {
5657
5659
  equals?: string | number | boolean | undefined;
5658
5660
  contains?: string | undefined;
@@ -5691,8 +5693,6 @@ export declare const tileWidgets: {
5691
5693
  confidence?: number | undefined;
5692
5694
  } | undefined;
5693
5695
  }[] | undefined;
5694
- theme?: "light" | "dark" | "auto" | undefined;
5695
- expandBehavior?: "single" | "multiple" | undefined;
5696
5696
  }>;
5697
5697
  }[];
5698
5698
  //# sourceMappingURL=schema.d.ts.map