@ninetailed/experience.js-utils 7.12.0 → 7.13.0-beta.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.
@@ -20,67 +20,137 @@ export declare const ExperienceSchema: z.ZodObject<{
20
20
  config: z.ZodDefault<z.ZodObject<{
21
21
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22
22
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
23
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
23
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
24
25
  baseline: z.ZodObject<{
25
- id: z.ZodDefault<z.ZodString>;
26
+ id: z.ZodString;
27
+ hidden: z.ZodDefault<z.ZodBoolean>;
26
28
  }, "strip", z.ZodTypeAny, {
27
29
  id: string;
30
+ hidden: boolean;
28
31
  }, {
29
- id?: string | undefined;
32
+ id: string;
33
+ hidden?: boolean | undefined;
30
34
  }>;
31
35
  variants: z.ZodArray<z.ZodObject<{
32
- id: z.ZodDefault<z.ZodString>;
36
+ id: z.ZodString;
33
37
  hidden: z.ZodDefault<z.ZodBoolean>;
34
38
  }, "strip", z.ZodTypeAny, {
35
39
  id: string;
36
40
  hidden: boolean;
37
41
  }, {
38
- id?: string | undefined;
42
+ id: string;
39
43
  hidden?: boolean | undefined;
40
44
  }>, "many">;
41
45
  }, "strip", z.ZodTypeAny, {
42
46
  baseline: {
43
47
  id: string;
48
+ hidden: boolean;
44
49
  };
45
50
  variants: {
46
51
  id: string;
47
52
  hidden: boolean;
48
53
  }[];
54
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
49
55
  }, {
50
56
  baseline: {
51
- id?: string | undefined;
57
+ id: string;
58
+ hidden?: boolean | undefined;
52
59
  };
53
60
  variants: {
54
- id?: string | undefined;
61
+ id: string;
55
62
  hidden?: boolean | undefined;
56
63
  }[];
57
- }>, "many">>>;
64
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
65
+ }>, z.ZodObject<{
66
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
67
+ key: z.ZodString;
68
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
69
+ baseline: z.ZodObject<{
70
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
73
+ }, {
74
+ value?: unknown;
75
+ }>;
76
+ variants: z.ZodArray<z.ZodObject<{
77
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
80
+ }, {
81
+ value?: unknown;
82
+ }>, "many">;
83
+ }, "strip", z.ZodTypeAny, {
84
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
85
+ baseline: {
86
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
87
+ };
88
+ variants: {
89
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
90
+ }[];
91
+ key: string;
92
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
93
+ }, {
94
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
95
+ baseline: {
96
+ value?: unknown;
97
+ };
98
+ variants: {
99
+ value?: unknown;
100
+ }[];
101
+ key: string;
102
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
103
+ }>]>, "many">>>;
58
104
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
59
105
  }, "strip", z.ZodTypeAny, {
60
106
  distribution: number[];
61
107
  traffic: number;
62
- components: {
108
+ components: ({
63
109
  baseline: {
64
110
  id: string;
111
+ hidden: boolean;
65
112
  };
66
113
  variants: {
67
114
  id: string;
68
115
  hidden: boolean;
69
116
  }[];
70
- }[];
117
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
118
+ } | {
119
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
120
+ baseline: {
121
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
122
+ };
123
+ variants: {
124
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
125
+ }[];
126
+ key: string;
127
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
128
+ })[];
71
129
  sticky: boolean;
72
130
  }, {
73
131
  distribution?: number[] | undefined;
74
132
  traffic?: number | undefined;
75
- components?: {
133
+ components?: ({
76
134
  baseline: {
77
- id?: string | undefined;
135
+ id: string;
136
+ hidden?: boolean | undefined;
78
137
  };
79
138
  variants: {
80
- id?: string | undefined;
139
+ id: string;
81
140
  hidden?: boolean | undefined;
82
141
  }[];
83
- }[] | undefined;
142
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
143
+ } | {
144
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
145
+ baseline: {
146
+ value?: unknown;
147
+ };
148
+ variants: {
149
+ value?: unknown;
150
+ }[];
151
+ key: string;
152
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
153
+ })[] | undefined;
84
154
  sticky?: boolean | undefined;
85
155
  }>>;
86
156
  /**
@@ -121,15 +191,27 @@ export declare const ExperienceSchema: z.ZodObject<{
121
191
  config: {
122
192
  distribution: number[];
123
193
  traffic: number;
124
- components: {
194
+ components: ({
125
195
  baseline: {
126
196
  id: string;
197
+ hidden: boolean;
127
198
  };
128
199
  variants: {
129
200
  id: string;
130
201
  hidden: boolean;
131
202
  }[];
132
- }[];
203
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
204
+ } | {
205
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
206
+ baseline: {
207
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
208
+ };
209
+ variants: {
210
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
211
+ }[];
212
+ key: string;
213
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
214
+ })[];
133
215
  sticky: boolean;
134
216
  };
135
217
  description?: string | undefined;
@@ -147,15 +229,27 @@ export declare const ExperienceSchema: z.ZodObject<{
147
229
  config?: {
148
230
  distribution?: number[] | undefined;
149
231
  traffic?: number | undefined;
150
- components?: {
232
+ components?: ({
151
233
  baseline: {
152
- id?: string | undefined;
234
+ id: string;
235
+ hidden?: boolean | undefined;
153
236
  };
154
237
  variants: {
155
- id?: string | undefined;
238
+ id: string;
156
239
  hidden?: boolean | undefined;
157
240
  }[];
158
- }[] | undefined;
241
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
242
+ } | {
243
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
244
+ baseline: {
245
+ value?: unknown;
246
+ };
247
+ variants: {
248
+ value?: unknown;
249
+ }[];
250
+ key: string;
251
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
252
+ })[] | undefined;
159
253
  sticky?: boolean | undefined;
160
254
  } | undefined;
161
255
  audience?: {
@@ -183,15 +277,27 @@ export declare const Experience: {
183
277
  config?: {
184
278
  distribution?: number[] | undefined;
185
279
  traffic?: number | undefined;
186
- components?: {
280
+ components?: ({
187
281
  baseline: {
188
- id?: string | undefined;
282
+ id: string;
283
+ hidden?: boolean | undefined;
189
284
  };
190
285
  variants: {
191
- id?: string | undefined;
286
+ id: string;
192
287
  hidden?: boolean | undefined;
193
288
  }[];
194
- }[] | undefined;
289
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
290
+ } | {
291
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
292
+ baseline: {
293
+ value?: unknown;
294
+ };
295
+ variants: {
296
+ value?: unknown;
297
+ }[];
298
+ key: string;
299
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
300
+ })[] | undefined;
195
301
  sticky?: boolean | undefined;
196
302
  } | undefined;
197
303
  audience?: {
@@ -208,15 +314,27 @@ export declare const Experience: {
208
314
  config: {
209
315
  distribution: number[];
210
316
  traffic: number;
211
- components: {
317
+ components: ({
212
318
  baseline: {
213
319
  id: string;
320
+ hidden: boolean;
214
321
  };
215
322
  variants: {
216
323
  id: string;
217
324
  hidden: boolean;
218
325
  }[];
219
- }[];
326
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
327
+ } | {
328
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
329
+ baseline: {
330
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
331
+ };
332
+ variants: {
333
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
334
+ }[];
335
+ key: string;
336
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
337
+ })[];
220
338
  sticky: boolean;
221
339
  };
222
340
  description?: string | undefined;
@@ -249,67 +367,137 @@ export declare const Experience: {
249
367
  config: z.ZodDefault<z.ZodObject<{
250
368
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
251
369
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
252
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
370
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
371
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
253
372
  baseline: z.ZodObject<{
254
- id: z.ZodDefault<z.ZodString>;
373
+ id: z.ZodString;
374
+ hidden: z.ZodDefault<z.ZodBoolean>;
255
375
  }, "strip", z.ZodTypeAny, {
256
376
  id: string;
377
+ hidden: boolean;
257
378
  }, {
258
- id?: string | undefined;
379
+ id: string;
380
+ hidden?: boolean | undefined;
259
381
  }>;
260
382
  variants: z.ZodArray<z.ZodObject<{
261
- id: z.ZodDefault<z.ZodString>;
383
+ id: z.ZodString;
262
384
  hidden: z.ZodDefault<z.ZodBoolean>;
263
385
  }, "strip", z.ZodTypeAny, {
264
386
  id: string;
265
387
  hidden: boolean;
266
388
  }, {
267
- id?: string | undefined;
389
+ id: string;
268
390
  hidden?: boolean | undefined;
269
391
  }>, "many">;
270
392
  }, "strip", z.ZodTypeAny, {
271
393
  baseline: {
272
394
  id: string;
395
+ hidden: boolean;
273
396
  };
274
397
  variants: {
275
398
  id: string;
276
399
  hidden: boolean;
277
400
  }[];
401
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
278
402
  }, {
279
403
  baseline: {
280
- id?: string | undefined;
404
+ id: string;
405
+ hidden?: boolean | undefined;
281
406
  };
282
407
  variants: {
283
- id?: string | undefined;
408
+ id: string;
284
409
  hidden?: boolean | undefined;
285
410
  }[];
286
- }>, "many">>>;
411
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
412
+ }>, z.ZodObject<{
413
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
414
+ key: z.ZodString;
415
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
416
+ baseline: z.ZodObject<{
417
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
420
+ }, {
421
+ value?: unknown;
422
+ }>;
423
+ variants: z.ZodArray<z.ZodObject<{
424
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
427
+ }, {
428
+ value?: unknown;
429
+ }>, "many">;
430
+ }, "strip", z.ZodTypeAny, {
431
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
432
+ baseline: {
433
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
434
+ };
435
+ variants: {
436
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
437
+ }[];
438
+ key: string;
439
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
440
+ }, {
441
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
442
+ baseline: {
443
+ value?: unknown;
444
+ };
445
+ variants: {
446
+ value?: unknown;
447
+ }[];
448
+ key: string;
449
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
450
+ }>]>, "many">>>;
287
451
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
288
452
  }, "strip", z.ZodTypeAny, {
289
453
  distribution: number[];
290
454
  traffic: number;
291
- components: {
455
+ components: ({
292
456
  baseline: {
293
457
  id: string;
458
+ hidden: boolean;
294
459
  };
295
460
  variants: {
296
461
  id: string;
297
462
  hidden: boolean;
298
463
  }[];
299
- }[];
464
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
465
+ } | {
466
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
467
+ baseline: {
468
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
469
+ };
470
+ variants: {
471
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
472
+ }[];
473
+ key: string;
474
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
475
+ })[];
300
476
  sticky: boolean;
301
477
  }, {
302
478
  distribution?: number[] | undefined;
303
479
  traffic?: number | undefined;
304
- components?: {
480
+ components?: ({
305
481
  baseline: {
306
- id?: string | undefined;
482
+ id: string;
483
+ hidden?: boolean | undefined;
307
484
  };
308
485
  variants: {
309
- id?: string | undefined;
486
+ id: string;
310
487
  hidden?: boolean | undefined;
311
488
  }[];
312
- }[] | undefined;
489
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
490
+ } | {
491
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
492
+ baseline: {
493
+ value?: unknown;
494
+ };
495
+ variants: {
496
+ value?: unknown;
497
+ }[];
498
+ key: string;
499
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
500
+ })[] | undefined;
313
501
  sticky?: boolean | undefined;
314
502
  }>>;
315
503
  /**
@@ -360,67 +548,137 @@ export declare const Experience: {
360
548
  config: z.ZodDefault<z.ZodObject<{
361
549
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
362
550
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
363
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
551
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
552
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
364
553
  baseline: z.ZodObject<{
365
- id: z.ZodDefault<z.ZodString>;
554
+ id: z.ZodString;
555
+ hidden: z.ZodDefault<z.ZodBoolean>;
366
556
  }, "strip", z.ZodTypeAny, {
367
557
  id: string;
558
+ hidden: boolean;
368
559
  }, {
369
- id?: string | undefined;
560
+ id: string;
561
+ hidden?: boolean | undefined;
370
562
  }>;
371
563
  variants: z.ZodArray<z.ZodObject<{
372
- id: z.ZodDefault<z.ZodString>;
564
+ id: z.ZodString;
373
565
  hidden: z.ZodDefault<z.ZodBoolean>;
374
566
  }, "strip", z.ZodTypeAny, {
375
567
  id: string;
376
568
  hidden: boolean;
377
569
  }, {
378
- id?: string | undefined;
570
+ id: string;
379
571
  hidden?: boolean | undefined;
380
572
  }>, "many">;
381
573
  }, "strip", z.ZodTypeAny, {
382
574
  baseline: {
383
575
  id: string;
576
+ hidden: boolean;
384
577
  };
385
578
  variants: {
386
579
  id: string;
387
580
  hidden: boolean;
388
581
  }[];
582
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
389
583
  }, {
390
584
  baseline: {
391
- id?: string | undefined;
585
+ id: string;
586
+ hidden?: boolean | undefined;
392
587
  };
393
588
  variants: {
394
- id?: string | undefined;
589
+ id: string;
395
590
  hidden?: boolean | undefined;
396
591
  }[];
397
- }>, "many">>>;
592
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
593
+ }>, z.ZodObject<{
594
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
595
+ key: z.ZodString;
596
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
597
+ baseline: z.ZodObject<{
598
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
601
+ }, {
602
+ value?: unknown;
603
+ }>;
604
+ variants: z.ZodArray<z.ZodObject<{
605
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
608
+ }, {
609
+ value?: unknown;
610
+ }>, "many">;
611
+ }, "strip", z.ZodTypeAny, {
612
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
613
+ baseline: {
614
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
615
+ };
616
+ variants: {
617
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
618
+ }[];
619
+ key: string;
620
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
621
+ }, {
622
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
623
+ baseline: {
624
+ value?: unknown;
625
+ };
626
+ variants: {
627
+ value?: unknown;
628
+ }[];
629
+ key: string;
630
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
631
+ }>]>, "many">>>;
398
632
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
399
633
  }, "strip", z.ZodTypeAny, {
400
634
  distribution: number[];
401
635
  traffic: number;
402
- components: {
636
+ components: ({
403
637
  baseline: {
404
638
  id: string;
639
+ hidden: boolean;
405
640
  };
406
641
  variants: {
407
642
  id: string;
408
643
  hidden: boolean;
409
644
  }[];
410
- }[];
645
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
646
+ } | {
647
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
648
+ baseline: {
649
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
650
+ };
651
+ variants: {
652
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
653
+ }[];
654
+ key: string;
655
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
656
+ })[];
411
657
  sticky: boolean;
412
658
  }, {
413
659
  distribution?: number[] | undefined;
414
660
  traffic?: number | undefined;
415
- components?: {
661
+ components?: ({
416
662
  baseline: {
417
- id?: string | undefined;
663
+ id: string;
664
+ hidden?: boolean | undefined;
418
665
  };
419
666
  variants: {
420
- id?: string | undefined;
667
+ id: string;
421
668
  hidden?: boolean | undefined;
422
669
  }[];
423
- }[] | undefined;
670
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
671
+ } | {
672
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
673
+ baseline: {
674
+ value?: unknown;
675
+ };
676
+ variants: {
677
+ value?: unknown;
678
+ }[];
679
+ key: string;
680
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
681
+ })[] | undefined;
424
682
  sticky?: boolean | undefined;
425
683
  }>>;
426
684
  /**
@@ -471,67 +729,137 @@ export declare const Experience: {
471
729
  config: z.ZodDefault<z.ZodObject<{
472
730
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
473
731
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
474
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
732
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
733
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
475
734
  baseline: z.ZodObject<{
476
- id: z.ZodDefault<z.ZodString>;
735
+ id: z.ZodString;
736
+ hidden: z.ZodDefault<z.ZodBoolean>;
477
737
  }, "strip", z.ZodTypeAny, {
478
738
  id: string;
739
+ hidden: boolean;
479
740
  }, {
480
- id?: string | undefined;
741
+ id: string;
742
+ hidden?: boolean | undefined;
481
743
  }>;
482
744
  variants: z.ZodArray<z.ZodObject<{
483
- id: z.ZodDefault<z.ZodString>;
745
+ id: z.ZodString;
484
746
  hidden: z.ZodDefault<z.ZodBoolean>;
485
747
  }, "strip", z.ZodTypeAny, {
486
748
  id: string;
487
749
  hidden: boolean;
488
750
  }, {
489
- id?: string | undefined;
751
+ id: string;
490
752
  hidden?: boolean | undefined;
491
753
  }>, "many">;
492
754
  }, "strip", z.ZodTypeAny, {
493
755
  baseline: {
494
756
  id: string;
757
+ hidden: boolean;
495
758
  };
496
759
  variants: {
497
760
  id: string;
498
761
  hidden: boolean;
499
762
  }[];
763
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
500
764
  }, {
501
765
  baseline: {
502
- id?: string | undefined;
766
+ id: string;
767
+ hidden?: boolean | undefined;
503
768
  };
504
769
  variants: {
505
- id?: string | undefined;
770
+ id: string;
506
771
  hidden?: boolean | undefined;
507
772
  }[];
508
- }>, "many">>>;
773
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
774
+ }>, z.ZodObject<{
775
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
776
+ key: z.ZodString;
777
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
778
+ baseline: z.ZodObject<{
779
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
782
+ }, {
783
+ value?: unknown;
784
+ }>;
785
+ variants: z.ZodArray<z.ZodObject<{
786
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
787
+ }, "strip", z.ZodTypeAny, {
788
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
789
+ }, {
790
+ value?: unknown;
791
+ }>, "many">;
792
+ }, "strip", z.ZodTypeAny, {
793
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
794
+ baseline: {
795
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
796
+ };
797
+ variants: {
798
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
799
+ }[];
800
+ key: string;
801
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
802
+ }, {
803
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
804
+ baseline: {
805
+ value?: unknown;
806
+ };
807
+ variants: {
808
+ value?: unknown;
809
+ }[];
810
+ key: string;
811
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
812
+ }>]>, "many">>>;
509
813
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
510
814
  }, "strip", z.ZodTypeAny, {
511
815
  distribution: number[];
512
816
  traffic: number;
513
- components: {
817
+ components: ({
514
818
  baseline: {
515
819
  id: string;
820
+ hidden: boolean;
516
821
  };
517
822
  variants: {
518
823
  id: string;
519
824
  hidden: boolean;
520
825
  }[];
521
- }[];
826
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
827
+ } | {
828
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
829
+ baseline: {
830
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
831
+ };
832
+ variants: {
833
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
834
+ }[];
835
+ key: string;
836
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
837
+ })[];
522
838
  sticky: boolean;
523
839
  }, {
524
840
  distribution?: number[] | undefined;
525
841
  traffic?: number | undefined;
526
- components?: {
842
+ components?: ({
527
843
  baseline: {
528
- id?: string | undefined;
844
+ id: string;
845
+ hidden?: boolean | undefined;
529
846
  };
530
847
  variants: {
531
- id?: string | undefined;
848
+ id: string;
532
849
  hidden?: boolean | undefined;
533
850
  }[];
534
- }[] | undefined;
851
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
852
+ } | {
853
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
854
+ baseline: {
855
+ value?: unknown;
856
+ };
857
+ variants: {
858
+ value?: unknown;
859
+ }[];
860
+ key: string;
861
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
862
+ })[] | undefined;
535
863
  sticky?: boolean | undefined;
536
864
  }>>;
537
865
  /**
@@ -583,67 +911,137 @@ export declare const Experience: {
583
911
  config: z.ZodDefault<z.ZodObject<{
584
912
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
585
913
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
586
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
914
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
915
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
587
916
  baseline: z.ZodObject<{
588
- id: z.ZodDefault<z.ZodString>;
917
+ id: z.ZodString;
918
+ hidden: z.ZodDefault<z.ZodBoolean>;
589
919
  }, "strip", z.ZodTypeAny, {
590
920
  id: string;
921
+ hidden: boolean;
591
922
  }, {
592
- id?: string | undefined;
923
+ id: string;
924
+ hidden?: boolean | undefined;
593
925
  }>;
594
926
  variants: z.ZodArray<z.ZodObject<{
595
- id: z.ZodDefault<z.ZodString>;
927
+ id: z.ZodString;
596
928
  hidden: z.ZodDefault<z.ZodBoolean>;
597
929
  }, "strip", z.ZodTypeAny, {
598
930
  id: string;
599
931
  hidden: boolean;
600
932
  }, {
601
- id?: string | undefined;
933
+ id: string;
602
934
  hidden?: boolean | undefined;
603
935
  }>, "many">;
604
936
  }, "strip", z.ZodTypeAny, {
605
937
  baseline: {
606
938
  id: string;
939
+ hidden: boolean;
607
940
  };
608
941
  variants: {
609
942
  id: string;
610
943
  hidden: boolean;
611
944
  }[];
945
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
612
946
  }, {
613
947
  baseline: {
614
- id?: string | undefined;
948
+ id: string;
949
+ hidden?: boolean | undefined;
615
950
  };
616
951
  variants: {
617
- id?: string | undefined;
952
+ id: string;
618
953
  hidden?: boolean | undefined;
619
954
  }[];
620
- }>, "many">>>;
955
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
956
+ }>, z.ZodObject<{
957
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
958
+ key: z.ZodString;
959
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
960
+ baseline: z.ZodObject<{
961
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
964
+ }, {
965
+ value?: unknown;
966
+ }>;
967
+ variants: z.ZodArray<z.ZodObject<{
968
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
971
+ }, {
972
+ value?: unknown;
973
+ }>, "many">;
974
+ }, "strip", z.ZodTypeAny, {
975
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
976
+ baseline: {
977
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
978
+ };
979
+ variants: {
980
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
981
+ }[];
982
+ key: string;
983
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
984
+ }, {
985
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
986
+ baseline: {
987
+ value?: unknown;
988
+ };
989
+ variants: {
990
+ value?: unknown;
991
+ }[];
992
+ key: string;
993
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
994
+ }>]>, "many">>>;
621
995
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
622
996
  }, "strip", z.ZodTypeAny, {
623
997
  distribution: number[];
624
998
  traffic: number;
625
- components: {
999
+ components: ({
626
1000
  baseline: {
627
1001
  id: string;
1002
+ hidden: boolean;
628
1003
  };
629
1004
  variants: {
630
1005
  id: string;
631
1006
  hidden: boolean;
632
1007
  }[];
633
- }[];
1008
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1009
+ } | {
1010
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1011
+ baseline: {
1012
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1013
+ };
1014
+ variants: {
1015
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1016
+ }[];
1017
+ key: string;
1018
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1019
+ })[];
634
1020
  sticky: boolean;
635
1021
  }, {
636
1022
  distribution?: number[] | undefined;
637
1023
  traffic?: number | undefined;
638
- components?: {
1024
+ components?: ({
639
1025
  baseline: {
640
- id?: string | undefined;
1026
+ id: string;
1027
+ hidden?: boolean | undefined;
641
1028
  };
642
1029
  variants: {
643
- id?: string | undefined;
1030
+ id: string;
644
1031
  hidden?: boolean | undefined;
645
1032
  }[];
646
- }[] | undefined;
1033
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1034
+ } | {
1035
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1036
+ baseline: {
1037
+ value?: unknown;
1038
+ };
1039
+ variants: {
1040
+ value?: unknown;
1041
+ }[];
1042
+ key: string;
1043
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1044
+ })[] | undefined;
647
1045
  sticky?: boolean | undefined;
648
1046
  }>>;
649
1047
  /**
@@ -694,67 +1092,137 @@ export declare const Experience: {
694
1092
  config: z.ZodDefault<z.ZodObject<{
695
1093
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
696
1094
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
697
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1095
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1096
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
698
1097
  baseline: z.ZodObject<{
699
- id: z.ZodDefault<z.ZodString>;
1098
+ id: z.ZodString;
1099
+ hidden: z.ZodDefault<z.ZodBoolean>;
700
1100
  }, "strip", z.ZodTypeAny, {
701
1101
  id: string;
1102
+ hidden: boolean;
702
1103
  }, {
703
- id?: string | undefined;
1104
+ id: string;
1105
+ hidden?: boolean | undefined;
704
1106
  }>;
705
1107
  variants: z.ZodArray<z.ZodObject<{
706
- id: z.ZodDefault<z.ZodString>;
1108
+ id: z.ZodString;
707
1109
  hidden: z.ZodDefault<z.ZodBoolean>;
708
1110
  }, "strip", z.ZodTypeAny, {
709
1111
  id: string;
710
1112
  hidden: boolean;
711
1113
  }, {
712
- id?: string | undefined;
1114
+ id: string;
713
1115
  hidden?: boolean | undefined;
714
1116
  }>, "many">;
715
1117
  }, "strip", z.ZodTypeAny, {
716
1118
  baseline: {
717
1119
  id: string;
1120
+ hidden: boolean;
718
1121
  };
719
1122
  variants: {
720
1123
  id: string;
721
1124
  hidden: boolean;
722
1125
  }[];
1126
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
723
1127
  }, {
724
1128
  baseline: {
725
- id?: string | undefined;
1129
+ id: string;
1130
+ hidden?: boolean | undefined;
726
1131
  };
727
1132
  variants: {
728
- id?: string | undefined;
1133
+ id: string;
729
1134
  hidden?: boolean | undefined;
730
1135
  }[];
731
- }>, "many">>>;
1136
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1137
+ }>, z.ZodObject<{
1138
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
1139
+ key: z.ZodString;
1140
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
1141
+ baseline: z.ZodObject<{
1142
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1145
+ }, {
1146
+ value?: unknown;
1147
+ }>;
1148
+ variants: z.ZodArray<z.ZodObject<{
1149
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1150
+ }, "strip", z.ZodTypeAny, {
1151
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1152
+ }, {
1153
+ value?: unknown;
1154
+ }>, "many">;
1155
+ }, "strip", z.ZodTypeAny, {
1156
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1157
+ baseline: {
1158
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1159
+ };
1160
+ variants: {
1161
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1162
+ }[];
1163
+ key: string;
1164
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1165
+ }, {
1166
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1167
+ baseline: {
1168
+ value?: unknown;
1169
+ };
1170
+ variants: {
1171
+ value?: unknown;
1172
+ }[];
1173
+ key: string;
1174
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1175
+ }>]>, "many">>>;
732
1176
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
733
1177
  }, "strip", z.ZodTypeAny, {
734
1178
  distribution: number[];
735
1179
  traffic: number;
736
- components: {
1180
+ components: ({
737
1181
  baseline: {
738
1182
  id: string;
1183
+ hidden: boolean;
739
1184
  };
740
1185
  variants: {
741
1186
  id: string;
742
1187
  hidden: boolean;
743
1188
  }[];
744
- }[];
1189
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1190
+ } | {
1191
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1192
+ baseline: {
1193
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1194
+ };
1195
+ variants: {
1196
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1197
+ }[];
1198
+ key: string;
1199
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1200
+ })[];
745
1201
  sticky: boolean;
746
1202
  }, {
747
1203
  distribution?: number[] | undefined;
748
1204
  traffic?: number | undefined;
749
- components?: {
1205
+ components?: ({
750
1206
  baseline: {
751
- id?: string | undefined;
1207
+ id: string;
1208
+ hidden?: boolean | undefined;
752
1209
  };
753
1210
  variants: {
754
- id?: string | undefined;
1211
+ id: string;
755
1212
  hidden?: boolean | undefined;
756
1213
  }[];
757
- }[] | undefined;
1214
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1215
+ } | {
1216
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1217
+ baseline: {
1218
+ value?: unknown;
1219
+ };
1220
+ variants: {
1221
+ value?: unknown;
1222
+ }[];
1223
+ key: string;
1224
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1225
+ })[] | undefined;
758
1226
  sticky?: boolean | undefined;
759
1227
  }>>;
760
1228
  /**
@@ -805,67 +1273,137 @@ export declare const Experience: {
805
1273
  config: z.ZodDefault<z.ZodObject<{
806
1274
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
807
1275
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
808
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1276
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1277
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
809
1278
  baseline: z.ZodObject<{
810
- id: z.ZodDefault<z.ZodString>;
1279
+ id: z.ZodString;
1280
+ hidden: z.ZodDefault<z.ZodBoolean>;
811
1281
  }, "strip", z.ZodTypeAny, {
812
1282
  id: string;
1283
+ hidden: boolean;
813
1284
  }, {
814
- id?: string | undefined;
1285
+ id: string;
1286
+ hidden?: boolean | undefined;
815
1287
  }>;
816
1288
  variants: z.ZodArray<z.ZodObject<{
817
- id: z.ZodDefault<z.ZodString>;
1289
+ id: z.ZodString;
818
1290
  hidden: z.ZodDefault<z.ZodBoolean>;
819
1291
  }, "strip", z.ZodTypeAny, {
820
1292
  id: string;
821
1293
  hidden: boolean;
822
1294
  }, {
823
- id?: string | undefined;
1295
+ id: string;
824
1296
  hidden?: boolean | undefined;
825
1297
  }>, "many">;
826
1298
  }, "strip", z.ZodTypeAny, {
827
1299
  baseline: {
828
1300
  id: string;
1301
+ hidden: boolean;
829
1302
  };
830
1303
  variants: {
831
1304
  id: string;
832
1305
  hidden: boolean;
833
1306
  }[];
1307
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
834
1308
  }, {
835
1309
  baseline: {
836
- id?: string | undefined;
1310
+ id: string;
1311
+ hidden?: boolean | undefined;
837
1312
  };
838
1313
  variants: {
839
- id?: string | undefined;
1314
+ id: string;
840
1315
  hidden?: boolean | undefined;
841
1316
  }[];
842
- }>, "many">>>;
1317
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1318
+ }>, z.ZodObject<{
1319
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
1320
+ key: z.ZodString;
1321
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
1322
+ baseline: z.ZodObject<{
1323
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1326
+ }, {
1327
+ value?: unknown;
1328
+ }>;
1329
+ variants: z.ZodArray<z.ZodObject<{
1330
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1333
+ }, {
1334
+ value?: unknown;
1335
+ }>, "many">;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1338
+ baseline: {
1339
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1340
+ };
1341
+ variants: {
1342
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1343
+ }[];
1344
+ key: string;
1345
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1346
+ }, {
1347
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1348
+ baseline: {
1349
+ value?: unknown;
1350
+ };
1351
+ variants: {
1352
+ value?: unknown;
1353
+ }[];
1354
+ key: string;
1355
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1356
+ }>]>, "many">>>;
843
1357
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
844
1358
  }, "strip", z.ZodTypeAny, {
845
1359
  distribution: number[];
846
1360
  traffic: number;
847
- components: {
1361
+ components: ({
848
1362
  baseline: {
849
1363
  id: string;
1364
+ hidden: boolean;
850
1365
  };
851
1366
  variants: {
852
1367
  id: string;
853
1368
  hidden: boolean;
854
1369
  }[];
855
- }[];
1370
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1371
+ } | {
1372
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1373
+ baseline: {
1374
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1375
+ };
1376
+ variants: {
1377
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1378
+ }[];
1379
+ key: string;
1380
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1381
+ })[];
856
1382
  sticky: boolean;
857
1383
  }, {
858
1384
  distribution?: number[] | undefined;
859
1385
  traffic?: number | undefined;
860
- components?: {
1386
+ components?: ({
861
1387
  baseline: {
862
- id?: string | undefined;
1388
+ id: string;
1389
+ hidden?: boolean | undefined;
863
1390
  };
864
1391
  variants: {
865
- id?: string | undefined;
1392
+ id: string;
866
1393
  hidden?: boolean | undefined;
867
1394
  }[];
868
- }[] | undefined;
1395
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1396
+ } | {
1397
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1398
+ baseline: {
1399
+ value?: unknown;
1400
+ };
1401
+ variants: {
1402
+ value?: unknown;
1403
+ }[];
1404
+ key: string;
1405
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1406
+ })[] | undefined;
869
1407
  sticky?: boolean | undefined;
870
1408
  }>>;
871
1409
  /**
@@ -916,67 +1454,137 @@ export declare const Experience: {
916
1454
  config: z.ZodDefault<z.ZodObject<{
917
1455
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
918
1456
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
919
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1457
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1458
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
920
1459
  baseline: z.ZodObject<{
921
- id: z.ZodDefault<z.ZodString>;
1460
+ id: z.ZodString;
1461
+ hidden: z.ZodDefault<z.ZodBoolean>;
922
1462
  }, "strip", z.ZodTypeAny, {
923
1463
  id: string;
1464
+ hidden: boolean;
924
1465
  }, {
925
- id?: string | undefined;
1466
+ id: string;
1467
+ hidden?: boolean | undefined;
926
1468
  }>;
927
1469
  variants: z.ZodArray<z.ZodObject<{
928
- id: z.ZodDefault<z.ZodString>;
1470
+ id: z.ZodString;
929
1471
  hidden: z.ZodDefault<z.ZodBoolean>;
930
1472
  }, "strip", z.ZodTypeAny, {
931
1473
  id: string;
932
1474
  hidden: boolean;
933
1475
  }, {
934
- id?: string | undefined;
1476
+ id: string;
935
1477
  hidden?: boolean | undefined;
936
1478
  }>, "many">;
937
1479
  }, "strip", z.ZodTypeAny, {
938
1480
  baseline: {
939
1481
  id: string;
1482
+ hidden: boolean;
940
1483
  };
941
1484
  variants: {
942
1485
  id: string;
943
1486
  hidden: boolean;
944
1487
  }[];
1488
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
945
1489
  }, {
946
1490
  baseline: {
947
- id?: string | undefined;
1491
+ id: string;
1492
+ hidden?: boolean | undefined;
948
1493
  };
949
1494
  variants: {
950
- id?: string | undefined;
1495
+ id: string;
951
1496
  hidden?: boolean | undefined;
952
1497
  }[];
953
- }>, "many">>>;
1498
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1499
+ }>, z.ZodObject<{
1500
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
1501
+ key: z.ZodString;
1502
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
1503
+ baseline: z.ZodObject<{
1504
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1507
+ }, {
1508
+ value?: unknown;
1509
+ }>;
1510
+ variants: z.ZodArray<z.ZodObject<{
1511
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1514
+ }, {
1515
+ value?: unknown;
1516
+ }>, "many">;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1519
+ baseline: {
1520
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1521
+ };
1522
+ variants: {
1523
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1524
+ }[];
1525
+ key: string;
1526
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1527
+ }, {
1528
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1529
+ baseline: {
1530
+ value?: unknown;
1531
+ };
1532
+ variants: {
1533
+ value?: unknown;
1534
+ }[];
1535
+ key: string;
1536
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1537
+ }>]>, "many">>>;
954
1538
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
955
1539
  }, "strip", z.ZodTypeAny, {
956
1540
  distribution: number[];
957
1541
  traffic: number;
958
- components: {
1542
+ components: ({
959
1543
  baseline: {
960
1544
  id: string;
1545
+ hidden: boolean;
961
1546
  };
962
1547
  variants: {
963
1548
  id: string;
964
1549
  hidden: boolean;
965
1550
  }[];
966
- }[];
1551
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1552
+ } | {
1553
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1554
+ baseline: {
1555
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1556
+ };
1557
+ variants: {
1558
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1559
+ }[];
1560
+ key: string;
1561
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1562
+ })[];
967
1563
  sticky: boolean;
968
1564
  }, {
969
1565
  distribution?: number[] | undefined;
970
1566
  traffic?: number | undefined;
971
- components?: {
1567
+ components?: ({
972
1568
  baseline: {
973
- id?: string | undefined;
1569
+ id: string;
1570
+ hidden?: boolean | undefined;
974
1571
  };
975
1572
  variants: {
976
- id?: string | undefined;
1573
+ id: string;
977
1574
  hidden?: boolean | undefined;
978
1575
  }[];
979
- }[] | undefined;
1576
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1577
+ } | {
1578
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1579
+ baseline: {
1580
+ value?: unknown;
1581
+ };
1582
+ variants: {
1583
+ value?: unknown;
1584
+ }[];
1585
+ key: string;
1586
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1587
+ })[] | undefined;
980
1588
  sticky?: boolean | undefined;
981
1589
  }>>;
982
1590
  /**
@@ -1027,67 +1635,137 @@ export declare const Experience: {
1027
1635
  config: z.ZodDefault<z.ZodObject<{
1028
1636
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1029
1637
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1030
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1638
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1639
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
1031
1640
  baseline: z.ZodObject<{
1032
- id: z.ZodDefault<z.ZodString>;
1641
+ id: z.ZodString;
1642
+ hidden: z.ZodDefault<z.ZodBoolean>;
1033
1643
  }, "strip", z.ZodTypeAny, {
1034
1644
  id: string;
1645
+ hidden: boolean;
1035
1646
  }, {
1036
- id?: string | undefined;
1647
+ id: string;
1648
+ hidden?: boolean | undefined;
1037
1649
  }>;
1038
1650
  variants: z.ZodArray<z.ZodObject<{
1039
- id: z.ZodDefault<z.ZodString>;
1651
+ id: z.ZodString;
1040
1652
  hidden: z.ZodDefault<z.ZodBoolean>;
1041
1653
  }, "strip", z.ZodTypeAny, {
1042
1654
  id: string;
1043
1655
  hidden: boolean;
1044
1656
  }, {
1045
- id?: string | undefined;
1657
+ id: string;
1046
1658
  hidden?: boolean | undefined;
1047
1659
  }>, "many">;
1048
1660
  }, "strip", z.ZodTypeAny, {
1049
1661
  baseline: {
1050
1662
  id: string;
1663
+ hidden: boolean;
1051
1664
  };
1052
1665
  variants: {
1053
1666
  id: string;
1054
1667
  hidden: boolean;
1055
1668
  }[];
1669
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1056
1670
  }, {
1057
1671
  baseline: {
1058
- id?: string | undefined;
1672
+ id: string;
1673
+ hidden?: boolean | undefined;
1059
1674
  };
1060
1675
  variants: {
1061
- id?: string | undefined;
1676
+ id: string;
1062
1677
  hidden?: boolean | undefined;
1063
1678
  }[];
1064
- }>, "many">>>;
1679
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1680
+ }>, z.ZodObject<{
1681
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
1682
+ key: z.ZodString;
1683
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
1684
+ baseline: z.ZodObject<{
1685
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1688
+ }, {
1689
+ value?: unknown;
1690
+ }>;
1691
+ variants: z.ZodArray<z.ZodObject<{
1692
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1695
+ }, {
1696
+ value?: unknown;
1697
+ }>, "many">;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1700
+ baseline: {
1701
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1702
+ };
1703
+ variants: {
1704
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1705
+ }[];
1706
+ key: string;
1707
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1708
+ }, {
1709
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1710
+ baseline: {
1711
+ value?: unknown;
1712
+ };
1713
+ variants: {
1714
+ value?: unknown;
1715
+ }[];
1716
+ key: string;
1717
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1718
+ }>]>, "many">>>;
1065
1719
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1066
1720
  }, "strip", z.ZodTypeAny, {
1067
1721
  distribution: number[];
1068
1722
  traffic: number;
1069
- components: {
1723
+ components: ({
1070
1724
  baseline: {
1071
1725
  id: string;
1726
+ hidden: boolean;
1072
1727
  };
1073
1728
  variants: {
1074
1729
  id: string;
1075
1730
  hidden: boolean;
1076
1731
  }[];
1077
- }[];
1732
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1733
+ } | {
1734
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1735
+ baseline: {
1736
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1737
+ };
1738
+ variants: {
1739
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1740
+ }[];
1741
+ key: string;
1742
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1743
+ })[];
1078
1744
  sticky: boolean;
1079
1745
  }, {
1080
1746
  distribution?: number[] | undefined;
1081
1747
  traffic?: number | undefined;
1082
- components?: {
1748
+ components?: ({
1083
1749
  baseline: {
1084
- id?: string | undefined;
1750
+ id: string;
1751
+ hidden?: boolean | undefined;
1085
1752
  };
1086
1753
  variants: {
1087
- id?: string | undefined;
1754
+ id: string;
1088
1755
  hidden?: boolean | undefined;
1089
1756
  }[];
1090
- }[] | undefined;
1757
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1758
+ } | {
1759
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1760
+ baseline: {
1761
+ value?: unknown;
1762
+ };
1763
+ variants: {
1764
+ value?: unknown;
1765
+ }[];
1766
+ key: string;
1767
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1768
+ })[] | undefined;
1091
1769
  sticky?: boolean | undefined;
1092
1770
  }>>;
1093
1771
  /**
@@ -1129,15 +1807,27 @@ export declare const Experience: {
1129
1807
  config: {
1130
1808
  distribution: number[];
1131
1809
  traffic: number;
1132
- components: {
1810
+ components: ({
1133
1811
  baseline: {
1134
1812
  id: string;
1813
+ hidden: boolean;
1135
1814
  };
1136
1815
  variants: {
1137
1816
  id: string;
1138
1817
  hidden: boolean;
1139
1818
  }[];
1140
- }[];
1819
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1820
+ } | {
1821
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1822
+ baseline: {
1823
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1824
+ };
1825
+ variants: {
1826
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1827
+ }[];
1828
+ key: string;
1829
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1830
+ })[];
1141
1831
  sticky: boolean;
1142
1832
  };
1143
1833
  description?: string | undefined;
@@ -1157,15 +1847,27 @@ export declare const Experience: {
1157
1847
  config: {
1158
1848
  distribution: number[];
1159
1849
  traffic: number;
1160
- components: {
1850
+ components: ({
1161
1851
  baseline: {
1162
1852
  id: string;
1853
+ hidden: boolean;
1163
1854
  };
1164
1855
  variants: {
1165
1856
  id: string;
1166
1857
  hidden: boolean;
1167
1858
  }[];
1168
- }[];
1859
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1860
+ } | {
1861
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1862
+ baseline: {
1863
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1864
+ };
1865
+ variants: {
1866
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1867
+ }[];
1868
+ key: string;
1869
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1870
+ })[];
1169
1871
  sticky: boolean;
1170
1872
  };
1171
1873
  description?: string | undefined;
@@ -1184,15 +1886,27 @@ export declare const Experience: {
1184
1886
  config?: {
1185
1887
  distribution?: number[] | undefined;
1186
1888
  traffic?: number | undefined;
1187
- components?: {
1889
+ components?: ({
1188
1890
  baseline: {
1189
- id?: string | undefined;
1891
+ id: string;
1892
+ hidden?: boolean | undefined;
1190
1893
  };
1191
1894
  variants: {
1192
- id?: string | undefined;
1895
+ id: string;
1193
1896
  hidden?: boolean | undefined;
1194
1897
  }[];
1195
- }[] | undefined;
1898
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1899
+ } | {
1900
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
1901
+ baseline: {
1902
+ value?: unknown;
1903
+ };
1904
+ variants: {
1905
+ value?: unknown;
1906
+ }[];
1907
+ key: string;
1908
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
1909
+ })[] | undefined;
1196
1910
  sticky?: boolean | undefined;
1197
1911
  } | undefined;
1198
1912
  audience?: {
@@ -1221,67 +1935,137 @@ export declare const Experience: {
1221
1935
  config: z.ZodDefault<z.ZodObject<{
1222
1936
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1223
1937
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1224
- components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1938
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1939
+ type: z.ZodOptional<z.ZodLiteral<import("./Config").ComponentTypeEnum.EntryReplacement>>;
1225
1940
  baseline: z.ZodObject<{
1226
- id: z.ZodDefault<z.ZodString>;
1941
+ id: z.ZodString;
1942
+ hidden: z.ZodDefault<z.ZodBoolean>;
1227
1943
  }, "strip", z.ZodTypeAny, {
1228
1944
  id: string;
1945
+ hidden: boolean;
1229
1946
  }, {
1230
- id?: string | undefined;
1947
+ id: string;
1948
+ hidden?: boolean | undefined;
1231
1949
  }>;
1232
1950
  variants: z.ZodArray<z.ZodObject<{
1233
- id: z.ZodDefault<z.ZodString>;
1951
+ id: z.ZodString;
1234
1952
  hidden: z.ZodDefault<z.ZodBoolean>;
1235
1953
  }, "strip", z.ZodTypeAny, {
1236
1954
  id: string;
1237
1955
  hidden: boolean;
1238
1956
  }, {
1239
- id?: string | undefined;
1957
+ id: string;
1240
1958
  hidden?: boolean | undefined;
1241
1959
  }>, "many">;
1242
1960
  }, "strip", z.ZodTypeAny, {
1243
1961
  baseline: {
1244
1962
  id: string;
1963
+ hidden: boolean;
1245
1964
  };
1246
1965
  variants: {
1247
1966
  id: string;
1248
1967
  hidden: boolean;
1249
1968
  }[];
1969
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1250
1970
  }, {
1251
1971
  baseline: {
1252
- id?: string | undefined;
1972
+ id: string;
1973
+ hidden?: boolean | undefined;
1253
1974
  };
1254
1975
  variants: {
1255
- id?: string | undefined;
1976
+ id: string;
1256
1977
  hidden?: boolean | undefined;
1257
1978
  }[];
1258
- }>, "many">>>;
1979
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
1980
+ }>, z.ZodObject<{
1981
+ type: z.ZodLiteral<import("./Config").ComponentTypeEnum.InlineVariable>;
1982
+ key: z.ZodString;
1983
+ valueType: z.ZodNativeEnum<typeof import("./Config").InlineVariableComponentValueTypeEnum>;
1984
+ baseline: z.ZodObject<{
1985
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1988
+ }, {
1989
+ value?: unknown;
1990
+ }>;
1991
+ variants: z.ZodArray<z.ZodObject<{
1992
+ value: z.ZodUnion<[z.ZodString, z.ZodType<import("dist/packages/sdks/shared/src").SerializableObject, z.ZodTypeDef, unknown>]>;
1993
+ }, "strip", z.ZodTypeAny, {
1994
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
1995
+ }, {
1996
+ value?: unknown;
1997
+ }>, "many">;
1998
+ }, "strip", z.ZodTypeAny, {
1999
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
2000
+ baseline: {
2001
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
2002
+ };
2003
+ variants: {
2004
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
2005
+ }[];
2006
+ key: string;
2007
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
2008
+ }, {
2009
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
2010
+ baseline: {
2011
+ value?: unknown;
2012
+ };
2013
+ variants: {
2014
+ value?: unknown;
2015
+ }[];
2016
+ key: string;
2017
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
2018
+ }>]>, "many">>>;
1259
2019
  sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1260
2020
  }, "strip", z.ZodTypeAny, {
1261
2021
  distribution: number[];
1262
2022
  traffic: number;
1263
- components: {
2023
+ components: ({
1264
2024
  baseline: {
1265
2025
  id: string;
2026
+ hidden: boolean;
1266
2027
  };
1267
2028
  variants: {
1268
2029
  id: string;
1269
2030
  hidden: boolean;
1270
2031
  }[];
1271
- }[];
2032
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
2033
+ } | {
2034
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
2035
+ baseline: {
2036
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
2037
+ };
2038
+ variants: {
2039
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
2040
+ }[];
2041
+ key: string;
2042
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
2043
+ })[];
1272
2044
  sticky: boolean;
1273
2045
  }, {
1274
2046
  distribution?: number[] | undefined;
1275
2047
  traffic?: number | undefined;
1276
- components?: {
2048
+ components?: ({
1277
2049
  baseline: {
1278
- id?: string | undefined;
2050
+ id: string;
2051
+ hidden?: boolean | undefined;
1279
2052
  };
1280
2053
  variants: {
1281
- id?: string | undefined;
2054
+ id: string;
1282
2055
  hidden?: boolean | undefined;
1283
2056
  }[];
1284
- }[] | undefined;
2057
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
2058
+ } | {
2059
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
2060
+ baseline: {
2061
+ value?: unknown;
2062
+ };
2063
+ variants: {
2064
+ value?: unknown;
2065
+ }[];
2066
+ key: string;
2067
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
2068
+ })[] | undefined;
1285
2069
  sticky?: boolean | undefined;
1286
2070
  }>>;
1287
2071
  /**
@@ -1322,15 +2106,27 @@ export declare const Experience: {
1322
2106
  config?: {
1323
2107
  distribution?: number[] | undefined;
1324
2108
  traffic?: number | undefined;
1325
- components?: {
2109
+ components?: ({
1326
2110
  baseline: {
1327
- id?: string | undefined;
2111
+ id: string;
2112
+ hidden?: boolean | undefined;
1328
2113
  };
1329
2114
  variants: {
1330
- id?: string | undefined;
2115
+ id: string;
1331
2116
  hidden?: boolean | undefined;
1332
2117
  }[];
1333
- }[] | undefined;
2118
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
2119
+ } | {
2120
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
2121
+ baseline: {
2122
+ value?: unknown;
2123
+ };
2124
+ variants: {
2125
+ value?: unknown;
2126
+ }[];
2127
+ key: string;
2128
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
2129
+ })[] | undefined;
1334
2130
  sticky?: boolean | undefined;
1335
2131
  } | undefined;
1336
2132
  audience?: {
@@ -1348,15 +2144,27 @@ export declare const Experience: {
1348
2144
  config: {
1349
2145
  distribution: number[];
1350
2146
  traffic: number;
1351
- components: {
2147
+ components: ({
1352
2148
  baseline: {
1353
2149
  id: string;
2150
+ hidden: boolean;
1354
2151
  };
1355
2152
  variants: {
1356
2153
  id: string;
1357
2154
  hidden: boolean;
1358
2155
  }[];
1359
- }[];
2156
+ type?: import("./Config").ComponentTypeEnum.EntryReplacement | undefined;
2157
+ } | {
2158
+ type: import("./Config").ComponentTypeEnum.InlineVariable;
2159
+ baseline: {
2160
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
2161
+ };
2162
+ variants: {
2163
+ value: string | import("dist/packages/sdks/shared/src").SerializableObject;
2164
+ }[];
2165
+ key: string;
2166
+ valueType: import("./Config").InlineVariableComponentValueTypeEnum;
2167
+ })[];
1360
2168
  sticky: boolean;
1361
2169
  };
1362
2170
  description?: string | undefined;