@syntrologie/adapt-nav 2.13.0 → 2.14.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.
package/dist/schema.d.ts CHANGED
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -3022,7 +3022,7 @@ export declare const configSchema: z.ZodObject<{
3022
3022
  maxHeight?: number | undefined;
3023
3023
  } | {
3024
3024
  type: "session_metric";
3025
- key: string;
3025
+ key: "time_on_page" | "page_views" | "scroll_depth";
3026
3026
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3027
3027
  threshold: number;
3028
3028
  } | {
@@ -3045,7 +3045,7 @@ export declare const configSchema: z.ZodObject<{
3045
3045
  count: number;
3046
3046
  withinMs?: number | undefined;
3047
3047
  counter?: {
3048
- events: string[];
3048
+ 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
3049
  match?: Record<string, {
3050
3050
  equals?: string | number | boolean | undefined;
3051
3051
  contains?: string | undefined;
@@ -3133,7 +3133,7 @@ export declare const configSchema: z.ZodObject<{
3133
3133
  maxHeight?: number | undefined;
3134
3134
  } | {
3135
3135
  type: "session_metric";
3136
- key: string;
3136
+ key: "time_on_page" | "page_views" | "scroll_depth";
3137
3137
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3138
3138
  threshold: number;
3139
3139
  } | {
@@ -3156,7 +3156,7 @@ export declare const configSchema: z.ZodObject<{
3156
3156
  count: number;
3157
3157
  withinMs?: number | undefined;
3158
3158
  counter?: {
3159
- events: string[];
3159
+ 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
3160
  match?: Record<string, {
3161
3161
  equals?: string | number | boolean | undefined;
3162
3162
  contains?: string | undefined;
@@ -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;
@@ -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;
@@ -3514,7 +3514,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3514
3514
  maxHeight?: number | undefined;
3515
3515
  } | {
3516
3516
  type: "session_metric";
3517
- key: string;
3517
+ key: "time_on_page" | "page_views" | "scroll_depth";
3518
3518
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3519
3519
  threshold: number;
3520
3520
  } | {
@@ -3537,7 +3537,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3537
3537
  count: number;
3538
3538
  withinMs?: number | undefined;
3539
3539
  counter?: {
3540
- events: string[];
3540
+ 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
3541
  match?: Record<string, {
3542
3542
  equals?: string | number | boolean | undefined;
3543
3543
  contains?: string | undefined;
@@ -3623,7 +3623,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3623
3623
  maxHeight?: number | undefined;
3624
3624
  } | {
3625
3625
  type: "session_metric";
3626
- key: string;
3626
+ key: "time_on_page" | "page_views" | "scroll_depth";
3627
3627
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3628
3628
  threshold: number;
3629
3629
  } | {
@@ -3646,7 +3646,7 @@ export declare function validateNavConfig(data: unknown): z.SafeParseReturnType<
3646
3646
  count: number;
3647
3647
  withinMs?: number | undefined;
3648
3648
  counter?: {
3649
- events: string[];
3649
+ 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
3650
  match?: Record<string, {
3651
3651
  equals?: string | number | boolean | undefined;
3652
3652
  contains?: string | undefined;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -5518,7 +5518,7 @@ export declare const tileWidgets: {
5518
5518
  maxHeight?: number | undefined;
5519
5519
  } | {
5520
5520
  type: "session_metric";
5521
- key: string;
5521
+ key: "time_on_page" | "page_views" | "scroll_depth";
5522
5522
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5523
5523
  threshold: number;
5524
5524
  } | {
@@ -5541,7 +5541,7 @@ export declare const tileWidgets: {
5541
5541
  count: number;
5542
5542
  withinMs?: number | undefined;
5543
5543
  counter?: {
5544
- events: string[];
5544
+ 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
5545
  match?: Record<string, {
5546
5546
  equals?: string | number | boolean | undefined;
5547
5547
  contains?: string | undefined;
@@ -5629,7 +5629,7 @@ export declare const tileWidgets: {
5629
5629
  maxHeight?: number | undefined;
5630
5630
  } | {
5631
5631
  type: "session_metric";
5632
- key: string;
5632
+ key: "time_on_page" | "page_views" | "scroll_depth";
5633
5633
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5634
5634
  threshold: number;
5635
5635
  } | {
@@ -5652,7 +5652,7 @@ export declare const tileWidgets: {
5652
5652
  count: number;
5653
5653
  withinMs?: number | undefined;
5654
5654
  counter?: {
5655
- events: string[];
5655
+ 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
5656
  match?: Record<string, {
5657
5657
  equals?: string | number | boolean | undefined;
5658
5658
  contains?: string | undefined;