@prismicio/types-internal 3.2.0-alpha.3 → 3.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/lib/content/Document.d.ts +216 -0
  2. package/lib/content/fields/WidgetContent.d.ts +216 -0
  3. package/lib/content/fields/nestable/LinkContent.d.ts +48 -0
  4. package/lib/content/fields/nestable/LinkContent.js +6 -0
  5. package/lib/content/fields/nestable/NestableContent.d.ts +36 -0
  6. package/lib/content/fields/nestable/RepeatableContent.d.ts +12 -0
  7. package/lib/content/fields/nestable/RepeatableContent.js +1 -8
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +72 -0
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +12 -0
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +72 -0
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +36 -0
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +36 -0
  13. package/lib/content/fields/slices/Slice/index.d.ts +120 -0
  14. package/lib/content/fields/slices/SliceItem.d.ts +120 -0
  15. package/lib/content/fields/slices/SlicesContent.d.ts +180 -0
  16. package/lib/customtypes/CustomType.d.ts +72 -0
  17. package/lib/customtypes/Section.d.ts +72 -0
  18. package/lib/customtypes/diff/SharedSlice.d.ts +32 -0
  19. package/lib/customtypes/diff/Variation.d.ts +32 -0
  20. package/lib/customtypes/widgets/Group.d.ts +24 -0
  21. package/lib/customtypes/widgets/Widget.d.ts +84 -0
  22. package/lib/customtypes/widgets/nestable/Link.d.ts +8 -0
  23. package/lib/customtypes/widgets/nestable/Link.js +4 -0
  24. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +4 -0
  25. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +8 -0
  26. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +8 -0
  27. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +32 -0
  28. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +24 -0
  29. package/lib/customtypes/widgets/slices/Slices.d.ts +112 -0
  30. package/package.json +1 -1
  31. package/src/content/fields/nestable/LinkContent.ts +6 -0
  32. package/src/content/fields/nestable/RepeatableContent.ts +1 -10
  33. package/src/customtypes/widgets/nestable/Link.ts +5 -0
@@ -136,6 +136,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
136
136
  kind: t.LiteralC<"image">;
137
137
  }>>]>, t.ExactC<t.PartialC<{
138
138
  text: t.StringC;
139
+ variant: t.StringC;
139
140
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
140
141
  __TYPE__: t.LiteralC<"FileLink">;
141
142
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -150,6 +151,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
150
151
  kind: t.LiteralC<"file">;
151
152
  }>>]>, t.ExactC<t.PartialC<{
152
153
  text: t.StringC;
154
+ variant: t.StringC;
153
155
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
154
156
  __TYPE__: t.LiteralC<"DocumentLink">;
155
157
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -158,6 +160,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
158
160
  kind: t.LiteralC<"document">;
159
161
  }>>]>, t.ExactC<t.PartialC<{
160
162
  text: t.StringC;
163
+ variant: t.StringC;
161
164
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
162
165
  __TYPE__: t.LiteralC<"ExternalLink">;
163
166
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -174,18 +177,21 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
174
177
  kind: t.LiteralC<"web">;
175
178
  }>>]>, t.ExactC<t.PartialC<{
176
179
  text: t.StringC;
180
+ variant: t.StringC;
177
181
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
178
182
  __TYPE__: t.LiteralC<"MediaLink">;
179
183
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
180
184
  kind: t.LiteralC<"media">;
181
185
  }>>, t.ExactC<t.PartialC<{
182
186
  text: t.StringC;
187
+ variant: t.StringC;
183
188
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
184
189
  __TYPE__: t.LiteralC<"AnyLink">;
185
190
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
186
191
  kind: t.LiteralC<"any">;
187
192
  }>, t.PartialC<{
188
193
  text: t.StringC;
194
+ variant: t.StringC;
189
195
  }>]>>]>]>;
190
196
  }>>]>, t.ExactC<t.TypeC<{
191
197
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -451,6 +457,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
451
457
  kind: t.LiteralC<"image">;
452
458
  }>>]>, t.ExactC<t.PartialC<{
453
459
  text: t.StringC;
460
+ variant: t.StringC;
454
461
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
455
462
  __TYPE__: t.LiteralC<"FileLink">;
456
463
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -465,6 +472,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
465
472
  kind: t.LiteralC<"file">;
466
473
  }>>]>, t.ExactC<t.PartialC<{
467
474
  text: t.StringC;
475
+ variant: t.StringC;
468
476
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
469
477
  __TYPE__: t.LiteralC<"DocumentLink">;
470
478
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -473,6 +481,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
473
481
  kind: t.LiteralC<"document">;
474
482
  }>>]>, t.ExactC<t.PartialC<{
475
483
  text: t.StringC;
484
+ variant: t.StringC;
476
485
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
477
486
  __TYPE__: t.LiteralC<"ExternalLink">;
478
487
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -489,18 +498,21 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
489
498
  kind: t.LiteralC<"web">;
490
499
  }>>]>, t.ExactC<t.PartialC<{
491
500
  text: t.StringC;
501
+ variant: t.StringC;
492
502
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
493
503
  __TYPE__: t.LiteralC<"MediaLink">;
494
504
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
495
505
  kind: t.LiteralC<"media">;
496
506
  }>>, t.ExactC<t.PartialC<{
497
507
  text: t.StringC;
508
+ variant: t.StringC;
498
509
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
499
510
  __TYPE__: t.LiteralC<"AnyLink">;
500
511
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
501
512
  kind: t.LiteralC<"any">;
502
513
  }>, t.PartialC<{
503
514
  text: t.StringC;
515
+ variant: t.StringC;
504
516
  }>]>>]>]>;
505
517
  }>>]>>;
506
518
  }>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>>;
@@ -140,6 +140,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
140
140
  kind: "image";
141
141
  }) & {
142
142
  text?: string;
143
+ variant?: string;
143
144
  })) | ({
144
145
  __TYPE__: "FileLink";
145
146
  } & ((({
@@ -154,12 +155,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
154
155
  kind: "file";
155
156
  }) & {
156
157
  text?: string;
158
+ variant?: string;
157
159
  })) | ({
158
160
  __TYPE__: "MediaLink";
159
161
  } & {
160
162
  kind: "media";
161
163
  } & {
162
164
  text?: string;
165
+ variant?: string;
163
166
  }) | ({
164
167
  __TYPE__: "DocumentLink";
165
168
  } & (({
@@ -168,6 +171,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
168
171
  kind: "document";
169
172
  }) & {
170
173
  text?: string;
174
+ variant?: string;
171
175
  })) | ({
172
176
  __TYPE__: "ExternalLink";
173
177
  } & ((({
@@ -182,12 +186,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
182
186
  kind: "web";
183
187
  }) & {
184
188
  text?: string;
189
+ variant?: string;
185
190
  })) | ({
186
191
  __TYPE__: "AnyLink";
187
192
  } & {
188
193
  kind: "any";
189
194
  } & {
190
195
  text?: string;
196
+ variant?: string;
191
197
  });
192
198
  }) | {
193
199
  __TYPE__: "RepeatableContent";
@@ -212,6 +218,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
212
218
  kind: "image";
213
219
  }) & {
214
220
  text?: string;
221
+ variant?: string;
215
222
  })) | ({
216
223
  __TYPE__: "FileLink";
217
224
  } & ((({
@@ -226,12 +233,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
226
233
  kind: "file";
227
234
  }) & {
228
235
  text?: string;
236
+ variant?: string;
229
237
  })) | ({
230
238
  __TYPE__: "MediaLink";
231
239
  } & {
232
240
  kind: "media";
233
241
  } & {
234
242
  text?: string;
243
+ variant?: string;
235
244
  }) | ({
236
245
  __TYPE__: "DocumentLink";
237
246
  } & (({
@@ -240,6 +249,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
240
249
  kind: "document";
241
250
  }) & {
242
251
  text?: string;
252
+ variant?: string;
243
253
  })) | ({
244
254
  __TYPE__: "ExternalLink";
245
255
  } & ((({
@@ -254,12 +264,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
254
264
  kind: "web";
255
265
  }) & {
256
266
  text?: string;
267
+ variant?: string;
257
268
  })) | ({
258
269
  __TYPE__: "AnyLink";
259
270
  } & {
260
271
  kind: "any";
261
272
  } & {
262
273
  text?: string;
274
+ variant?: string;
263
275
  });
264
276
  })[];
265
277
  } | import("../../GroupContent").GroupContent | {
@@ -553,6 +565,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
553
565
  kind: "image";
554
566
  }) & {
555
567
  text?: string;
568
+ variant?: string;
556
569
  })) | ({
557
570
  __TYPE__: "FileLink";
558
571
  } & ((({
@@ -567,12 +580,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
567
580
  kind: "file";
568
581
  }) & {
569
582
  text?: string;
583
+ variant?: string;
570
584
  })) | ({
571
585
  __TYPE__: "MediaLink";
572
586
  } & {
573
587
  kind: "media";
574
588
  } & {
575
589
  text?: string;
590
+ variant?: string;
576
591
  }) | ({
577
592
  __TYPE__: "DocumentLink";
578
593
  } & (({
@@ -581,6 +596,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
581
596
  kind: "document";
582
597
  }) & {
583
598
  text?: string;
599
+ variant?: string;
584
600
  })) | ({
585
601
  __TYPE__: "ExternalLink";
586
602
  } & ((({
@@ -595,12 +611,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
595
611
  kind: "web";
596
612
  }) & {
597
613
  text?: string;
614
+ variant?: string;
598
615
  })) | ({
599
616
  __TYPE__: "AnyLink";
600
617
  } & {
601
618
  kind: "any";
602
619
  } & {
603
620
  text?: string;
621
+ variant?: string;
604
622
  });
605
623
  }) | {
606
624
  __TYPE__: "RepeatableContent";
@@ -625,6 +643,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
625
643
  kind: "image";
626
644
  }) & {
627
645
  text?: string;
646
+ variant?: string;
628
647
  })) | ({
629
648
  __TYPE__: "FileLink";
630
649
  } & ((({
@@ -639,12 +658,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
639
658
  kind: "file";
640
659
  }) & {
641
660
  text?: string;
661
+ variant?: string;
642
662
  })) | ({
643
663
  __TYPE__: "MediaLink";
644
664
  } & {
645
665
  kind: "media";
646
666
  } & {
647
667
  text?: string;
668
+ variant?: string;
648
669
  }) | ({
649
670
  __TYPE__: "DocumentLink";
650
671
  } & (({
@@ -653,6 +674,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
653
674
  kind: "document";
654
675
  }) & {
655
676
  text?: string;
677
+ variant?: string;
656
678
  })) | ({
657
679
  __TYPE__: "ExternalLink";
658
680
  } & ((({
@@ -667,12 +689,14 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
667
689
  kind: "web";
668
690
  }) & {
669
691
  text?: string;
692
+ variant?: string;
670
693
  })) | ({
671
694
  __TYPE__: "AnyLink";
672
695
  } & {
673
696
  kind: "any";
674
697
  } & {
675
698
  text?: string;
699
+ variant?: string;
676
700
  });
677
701
  })[];
678
702
  } | import("../../GroupContent").GroupContent | {
@@ -969,6 +993,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
969
993
  kind: "image";
970
994
  }) & {
971
995
  text?: string;
996
+ variant?: string;
972
997
  })) | ({
973
998
  __TYPE__: "FileLink";
974
999
  } & ((({
@@ -983,12 +1008,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
983
1008
  kind: "file";
984
1009
  }) & {
985
1010
  text?: string;
1011
+ variant?: string;
986
1012
  })) | ({
987
1013
  __TYPE__: "MediaLink";
988
1014
  } & {
989
1015
  kind: "media";
990
1016
  } & {
991
1017
  text?: string;
1018
+ variant?: string;
992
1019
  }) | ({
993
1020
  __TYPE__: "DocumentLink";
994
1021
  } & (({
@@ -997,6 +1024,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
997
1024
  kind: "document";
998
1025
  }) & {
999
1026
  text?: string;
1027
+ variant?: string;
1000
1028
  })) | ({
1001
1029
  __TYPE__: "ExternalLink";
1002
1030
  } & ((({
@@ -1011,12 +1039,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1011
1039
  kind: "web";
1012
1040
  }) & {
1013
1041
  text?: string;
1042
+ variant?: string;
1014
1043
  })) | ({
1015
1044
  __TYPE__: "AnyLink";
1016
1045
  } & {
1017
1046
  kind: "any";
1018
1047
  } & {
1019
1048
  text?: string;
1049
+ variant?: string;
1020
1050
  });
1021
1051
  }) | {
1022
1052
  __TYPE__: "RepeatableContent";
@@ -1041,6 +1071,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1041
1071
  kind: "image";
1042
1072
  }) & {
1043
1073
  text?: string;
1074
+ variant?: string;
1044
1075
  })) | ({
1045
1076
  __TYPE__: "FileLink";
1046
1077
  } & ((({
@@ -1055,12 +1086,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1055
1086
  kind: "file";
1056
1087
  }) & {
1057
1088
  text?: string;
1089
+ variant?: string;
1058
1090
  })) | ({
1059
1091
  __TYPE__: "MediaLink";
1060
1092
  } & {
1061
1093
  kind: "media";
1062
1094
  } & {
1063
1095
  text?: string;
1096
+ variant?: string;
1064
1097
  }) | ({
1065
1098
  __TYPE__: "DocumentLink";
1066
1099
  } & (({
@@ -1069,6 +1102,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1069
1102
  kind: "document";
1070
1103
  }) & {
1071
1104
  text?: string;
1105
+ variant?: string;
1072
1106
  })) | ({
1073
1107
  __TYPE__: "ExternalLink";
1074
1108
  } & ((({
@@ -1083,12 +1117,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1083
1117
  kind: "web";
1084
1118
  }) & {
1085
1119
  text?: string;
1120
+ variant?: string;
1086
1121
  })) | ({
1087
1122
  __TYPE__: "AnyLink";
1088
1123
  } & {
1089
1124
  kind: "any";
1090
1125
  } & {
1091
1126
  text?: string;
1127
+ variant?: string;
1092
1128
  });
1093
1129
  })[];
1094
1130
  } | import("../../GroupContent").GroupContent | {
@@ -1382,6 +1418,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1382
1418
  kind: "image";
1383
1419
  }) & {
1384
1420
  text?: string;
1421
+ variant?: string;
1385
1422
  })) | ({
1386
1423
  __TYPE__: "FileLink";
1387
1424
  } & ((({
@@ -1396,12 +1433,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1396
1433
  kind: "file";
1397
1434
  }) & {
1398
1435
  text?: string;
1436
+ variant?: string;
1399
1437
  })) | ({
1400
1438
  __TYPE__: "MediaLink";
1401
1439
  } & {
1402
1440
  kind: "media";
1403
1441
  } & {
1404
1442
  text?: string;
1443
+ variant?: string;
1405
1444
  }) | ({
1406
1445
  __TYPE__: "DocumentLink";
1407
1446
  } & (({
@@ -1410,6 +1449,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1410
1449
  kind: "document";
1411
1450
  }) & {
1412
1451
  text?: string;
1452
+ variant?: string;
1413
1453
  })) | ({
1414
1454
  __TYPE__: "ExternalLink";
1415
1455
  } & ((({
@@ -1424,12 +1464,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1424
1464
  kind: "web";
1425
1465
  }) & {
1426
1466
  text?: string;
1467
+ variant?: string;
1427
1468
  })) | ({
1428
1469
  __TYPE__: "AnyLink";
1429
1470
  } & {
1430
1471
  kind: "any";
1431
1472
  } & {
1432
1473
  text?: string;
1474
+ variant?: string;
1433
1475
  });
1434
1476
  }) | {
1435
1477
  __TYPE__: "RepeatableContent";
@@ -1454,6 +1496,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1454
1496
  kind: "image";
1455
1497
  }) & {
1456
1498
  text?: string;
1499
+ variant?: string;
1457
1500
  })) | ({
1458
1501
  __TYPE__: "FileLink";
1459
1502
  } & ((({
@@ -1468,12 +1511,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1468
1511
  kind: "file";
1469
1512
  }) & {
1470
1513
  text?: string;
1514
+ variant?: string;
1471
1515
  })) | ({
1472
1516
  __TYPE__: "MediaLink";
1473
1517
  } & {
1474
1518
  kind: "media";
1475
1519
  } & {
1476
1520
  text?: string;
1521
+ variant?: string;
1477
1522
  }) | ({
1478
1523
  __TYPE__: "DocumentLink";
1479
1524
  } & (({
@@ -1482,6 +1527,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1482
1527
  kind: "document";
1483
1528
  }) & {
1484
1529
  text?: string;
1530
+ variant?: string;
1485
1531
  })) | ({
1486
1532
  __TYPE__: "ExternalLink";
1487
1533
  } & ((({
@@ -1496,12 +1542,14 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1496
1542
  kind: "web";
1497
1543
  }) & {
1498
1544
  text?: string;
1545
+ variant?: string;
1499
1546
  })) | ({
1500
1547
  __TYPE__: "AnyLink";
1501
1548
  } & {
1502
1549
  kind: "any";
1503
1550
  } & {
1504
1551
  text?: string;
1552
+ variant?: string;
1505
1553
  });
1506
1554
  })[];
1507
1555
  } | import("../../GroupContent").GroupContent | {
@@ -1801,6 +1849,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1801
1849
  kind: t.LiteralC<"image">;
1802
1850
  }>>]>, t.ExactC<t.PartialC<{
1803
1851
  text: t.StringC;
1852
+ variant: t.StringC;
1804
1853
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1805
1854
  __TYPE__: t.LiteralC<"FileLink">;
1806
1855
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -1815,6 +1864,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1815
1864
  kind: t.LiteralC<"file">;
1816
1865
  }>>]>, t.ExactC<t.PartialC<{
1817
1866
  text: t.StringC;
1867
+ variant: t.StringC;
1818
1868
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1819
1869
  __TYPE__: t.LiteralC<"DocumentLink">;
1820
1870
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -1823,6 +1873,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1823
1873
  kind: t.LiteralC<"document">;
1824
1874
  }>>]>, t.ExactC<t.PartialC<{
1825
1875
  text: t.StringC;
1876
+ variant: t.StringC;
1826
1877
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1827
1878
  __TYPE__: t.LiteralC<"ExternalLink">;
1828
1879
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -1839,18 +1890,21 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1839
1890
  kind: t.LiteralC<"web">;
1840
1891
  }>>]>, t.ExactC<t.PartialC<{
1841
1892
  text: t.StringC;
1893
+ variant: t.StringC;
1842
1894
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1843
1895
  __TYPE__: t.LiteralC<"MediaLink">;
1844
1896
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1845
1897
  kind: t.LiteralC<"media">;
1846
1898
  }>>, t.ExactC<t.PartialC<{
1847
1899
  text: t.StringC;
1900
+ variant: t.StringC;
1848
1901
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1849
1902
  __TYPE__: t.LiteralC<"AnyLink">;
1850
1903
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1851
1904
  kind: t.LiteralC<"any">;
1852
1905
  }>, t.PartialC<{
1853
1906
  text: t.StringC;
1907
+ variant: t.StringC;
1854
1908
  }>]>>]>]>;
1855
1909
  }>>]>, t.ExactC<t.TypeC<{
1856
1910
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2116,6 +2170,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2116
2170
  kind: t.LiteralC<"image">;
2117
2171
  }>>]>, t.ExactC<t.PartialC<{
2118
2172
  text: t.StringC;
2173
+ variant: t.StringC;
2119
2174
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2120
2175
  __TYPE__: t.LiteralC<"FileLink">;
2121
2176
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2130,6 +2185,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2130
2185
  kind: t.LiteralC<"file">;
2131
2186
  }>>]>, t.ExactC<t.PartialC<{
2132
2187
  text: t.StringC;
2188
+ variant: t.StringC;
2133
2189
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2134
2190
  __TYPE__: t.LiteralC<"DocumentLink">;
2135
2191
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -2138,6 +2194,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2138
2194
  kind: t.LiteralC<"document">;
2139
2195
  }>>]>, t.ExactC<t.PartialC<{
2140
2196
  text: t.StringC;
2197
+ variant: t.StringC;
2141
2198
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2142
2199
  __TYPE__: t.LiteralC<"ExternalLink">;
2143
2200
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2154,18 +2211,21 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2154
2211
  kind: t.LiteralC<"web">;
2155
2212
  }>>]>, t.ExactC<t.PartialC<{
2156
2213
  text: t.StringC;
2214
+ variant: t.StringC;
2157
2215
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2158
2216
  __TYPE__: t.LiteralC<"MediaLink">;
2159
2217
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2160
2218
  kind: t.LiteralC<"media">;
2161
2219
  }>>, t.ExactC<t.PartialC<{
2162
2220
  text: t.StringC;
2221
+ variant: t.StringC;
2163
2222
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2164
2223
  __TYPE__: t.LiteralC<"AnyLink">;
2165
2224
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2166
2225
  kind: t.LiteralC<"any">;
2167
2226
  }>, t.PartialC<{
2168
2227
  text: t.StringC;
2228
+ variant: t.StringC;
2169
2229
  }>]>>]>]>;
2170
2230
  }>>]>>;
2171
2231
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>>;
@@ -2301,6 +2361,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2301
2361
  kind: t.LiteralC<"image">;
2302
2362
  }>>]>, t.ExactC<t.PartialC<{
2303
2363
  text: t.StringC;
2364
+ variant: t.StringC;
2304
2365
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2305
2366
  __TYPE__: t.LiteralC<"FileLink">;
2306
2367
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2315,6 +2376,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2315
2376
  kind: t.LiteralC<"file">;
2316
2377
  }>>]>, t.ExactC<t.PartialC<{
2317
2378
  text: t.StringC;
2379
+ variant: t.StringC;
2318
2380
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2319
2381
  __TYPE__: t.LiteralC<"DocumentLink">;
2320
2382
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -2323,6 +2385,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2323
2385
  kind: t.LiteralC<"document">;
2324
2386
  }>>]>, t.ExactC<t.PartialC<{
2325
2387
  text: t.StringC;
2388
+ variant: t.StringC;
2326
2389
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2327
2390
  __TYPE__: t.LiteralC<"ExternalLink">;
2328
2391
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2339,18 +2402,21 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2339
2402
  kind: t.LiteralC<"web">;
2340
2403
  }>>]>, t.ExactC<t.PartialC<{
2341
2404
  text: t.StringC;
2405
+ variant: t.StringC;
2342
2406
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2343
2407
  __TYPE__: t.LiteralC<"MediaLink">;
2344
2408
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2345
2409
  kind: t.LiteralC<"media">;
2346
2410
  }>>, t.ExactC<t.PartialC<{
2347
2411
  text: t.StringC;
2412
+ variant: t.StringC;
2348
2413
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2349
2414
  __TYPE__: t.LiteralC<"AnyLink">;
2350
2415
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2351
2416
  kind: t.LiteralC<"any">;
2352
2417
  }>, t.PartialC<{
2353
2418
  text: t.StringC;
2419
+ variant: t.StringC;
2354
2420
  }>]>>]>]>;
2355
2421
  }>>]>, t.ExactC<t.TypeC<{
2356
2422
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2616,6 +2682,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2616
2682
  kind: t.LiteralC<"image">;
2617
2683
  }>>]>, t.ExactC<t.PartialC<{
2618
2684
  text: t.StringC;
2685
+ variant: t.StringC;
2619
2686
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2620
2687
  __TYPE__: t.LiteralC<"FileLink">;
2621
2688
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2630,6 +2697,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2630
2697
  kind: t.LiteralC<"file">;
2631
2698
  }>>]>, t.ExactC<t.PartialC<{
2632
2699
  text: t.StringC;
2700
+ variant: t.StringC;
2633
2701
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2634
2702
  __TYPE__: t.LiteralC<"DocumentLink">;
2635
2703
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -2638,6 +2706,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2638
2706
  kind: t.LiteralC<"document">;
2639
2707
  }>>]>, t.ExactC<t.PartialC<{
2640
2708
  text: t.StringC;
2709
+ variant: t.StringC;
2641
2710
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2642
2711
  __TYPE__: t.LiteralC<"ExternalLink">;
2643
2712
  }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2654,18 +2723,21 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2654
2723
  kind: t.LiteralC<"web">;
2655
2724
  }>>]>, t.ExactC<t.PartialC<{
2656
2725
  text: t.StringC;
2726
+ variant: t.StringC;
2657
2727
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2658
2728
  __TYPE__: t.LiteralC<"MediaLink">;
2659
2729
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2660
2730
  kind: t.LiteralC<"media">;
2661
2731
  }>>, t.ExactC<t.PartialC<{
2662
2732
  text: t.StringC;
2733
+ variant: t.StringC;
2663
2734
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2664
2735
  __TYPE__: t.LiteralC<"AnyLink">;
2665
2736
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2666
2737
  kind: t.LiteralC<"any">;
2667
2738
  }>, t.PartialC<{
2668
2739
  text: t.StringC;
2740
+ variant: t.StringC;
2669
2741
  }>]>>]>]>;
2670
2742
  }>>]>>;
2671
2743
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;