@prismicio/types-internal 3.0.0 → 3.1.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 (53) hide show
  1. package/lib/_internal/utils.d.ts +3 -2
  2. package/lib/content/Document.d.ts +1561 -361
  3. package/lib/content/Document.js +11 -0
  4. package/lib/content/LegacyContentCtx.d.ts +2 -2
  5. package/lib/content/LegacyContentCtx.js +4 -1
  6. package/lib/content/fields/GroupContent.js +13 -0
  7. package/lib/content/fields/RepeatableContent.d.ts +34 -40
  8. package/lib/content/fields/WidgetContent.d.ts +1558 -358
  9. package/lib/content/fields/index.d.ts +1 -0
  10. package/lib/content/fields/index.js +1 -0
  11. package/lib/content/fields/nestable/LinkContent.d.ts +122 -146
  12. package/lib/content/fields/nestable/LinkContent.js +19 -39
  13. package/lib/content/fields/nestable/NestableContent.d.ts +254 -54
  14. package/lib/content/fields/nestable/NestableContent.js +8 -1
  15. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +66 -66
  16. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +510 -110
  17. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +86 -18
  18. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +512 -112
  19. package/lib/content/fields/slices/Slice/SharedSliceContent.js +20 -4
  20. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +255 -55
  21. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +255 -55
  22. package/lib/content/fields/slices/Slice/index.d.ts +855 -185
  23. package/lib/content/fields/slices/SliceItem.d.ts +854 -184
  24. package/lib/content/fields/slices/SlicesContent.d.ts +1278 -278
  25. package/lib/customtypes/CustomType.d.ts +18 -0
  26. package/lib/customtypes/Section.d.ts +18 -0
  27. package/lib/customtypes/diff/SharedSlice.d.ts +8 -0
  28. package/lib/customtypes/diff/Variation.d.ts +8 -0
  29. package/lib/customtypes/widgets/Group.d.ts +6 -0
  30. package/lib/customtypes/widgets/Widget.d.ts +21 -0
  31. package/lib/customtypes/widgets/nestable/Link.d.ts +10 -0
  32. package/lib/customtypes/widgets/nestable/Link.js +5 -0
  33. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
  34. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  35. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
  36. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
  37. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -0
  38. package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
  39. package/package.json +2 -1
  40. package/src/_internal/utils.ts +3 -1
  41. package/src/content/Document.ts +12 -0
  42. package/src/content/LegacyContentCtx.ts +4 -1
  43. package/src/content/fields/GroupContent.ts +13 -0
  44. package/src/content/fields/RepeatableContent.ts +147 -0
  45. package/src/content/fields/index.ts +1 -0
  46. package/src/content/fields/nestable/LinkContent.ts +19 -39
  47. package/src/content/fields/nestable/NestableContent.ts +12 -1
  48. package/src/content/fields/slices/Slice/SharedSliceContent.ts +18 -0
  49. package/src/customtypes/widgets/nestable/Link.ts +6 -0
  50. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
  51. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  52. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
  53. package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
@@ -126,7 +126,7 @@ export declare const SliceItemContent: t.TypeC<{
126
126
  __TYPE__: t.LiteralC<"LinkContent">;
127
127
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
128
128
  __TYPE__: t.LiteralC<"ImageLink">;
129
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
129
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
130
130
  kind: t.Type<"image", "image", unknown>;
131
131
  id: t.StringC;
132
132
  url: t.StringC;
@@ -136,14 +136,13 @@ export declare const SliceItemContent: t.TypeC<{
136
136
  name: t.StringC;
137
137
  }>>, t.ExactC<t.PartialC<{
138
138
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
139
- }>>]>, t.ExactC<t.PartialC<{
140
- text: t.StringC;
141
139
  }>>]>, t.ExactC<t.TypeC<{
142
140
  kind: t.LiteralC<"image">;
141
+ }>>]>, t.ExactC<t.PartialC<{
143
142
  text: t.StringC;
144
143
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
145
144
  __TYPE__: t.LiteralC<"FileLink">;
146
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
145
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
147
146
  kind: t.Type<"file", "file", unknown>;
148
147
  id: t.StringC;
149
148
  url: t.StringC;
@@ -151,23 +150,21 @@ export declare const SliceItemContent: t.TypeC<{
151
150
  size: t.StringC;
152
151
  }>, t.PartialC<{
153
152
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
154
- }>]>>, t.ExactC<t.PartialC<{
155
- text: t.StringC;
156
- }>>]>, t.ExactC<t.TypeC<{
153
+ }>]>>, t.ExactC<t.TypeC<{
157
154
  kind: t.LiteralC<"file">;
155
+ }>>]>, t.ExactC<t.PartialC<{
158
156
  text: t.StringC;
159
157
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
160
158
  __TYPE__: t.LiteralC<"DocumentLink">;
161
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
159
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
162
160
  id: t.Type<string, string, unknown>;
163
- }>>, t.ExactC<t.PartialC<{
164
- text: t.StringC;
165
- }>>]>, t.ExactC<t.TypeC<{
161
+ }>>, t.ExactC<t.TypeC<{
166
162
  kind: t.LiteralC<"document">;
163
+ }>>]>, t.ExactC<t.PartialC<{
167
164
  text: t.StringC;
168
165
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
169
166
  __TYPE__: t.LiteralC<"ExternalLink">;
170
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
167
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
171
168
  url: t.StringC;
172
169
  }>, t.PartialC<{
173
170
  kind: t.LiteralC<"web">;
@@ -177,19 +174,19 @@ export declare const SliceItemContent: t.TypeC<{
177
174
  }, {
178
175
  title?: string;
179
176
  }, unknown>, t.NullC, t.UndefinedC]>;
180
- }>]>>, t.ExactC<t.PartialC<{
181
- text: t.StringC;
182
- }>>]>, t.ExactC<t.TypeC<{
177
+ }>]>>, t.ExactC<t.TypeC<{
183
178
  kind: t.LiteralC<"web">;
179
+ }>>]>, t.ExactC<t.PartialC<{
184
180
  text: t.StringC;
185
181
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
186
182
  __TYPE__: t.LiteralC<"MediaLink">;
187
- }>>, t.ExactC<t.TypeC<{
183
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
188
184
  kind: t.LiteralC<"media">;
185
+ }>>, t.ExactC<t.PartialC<{
189
186
  text: t.StringC;
190
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
187
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
191
188
  __TYPE__: t.LiteralC<"AnyLink">;
192
- }>>, t.ExactC<t.TypeC<{
189
+ }>>, t.ExactC<t.PartialC<{
193
190
  text: t.StringC;
194
191
  }>>]>]>;
195
192
  }>>, t.ExactC<t.TypeC<{
@@ -433,6 +430,77 @@ export declare const SliceItemContent: t.TypeC<{
433
430
  }>]>>]>>;
434
431
  }>>, t.ExactC<t.TypeC<{
435
432
  __TYPE__: t.LiteralC<"SeparatorContent">;
433
+ }>>, t.ExactC<t.TypeC<{
434
+ __TYPE__: t.LiteralC<"RepeatableContent">;
435
+ type: t.LiteralC<"Link">;
436
+ value: t.ArrayC<t.ExactC<t.TypeC<{
437
+ __TYPE__: t.LiteralC<"LinkContent">;
438
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
439
+ __TYPE__: t.LiteralC<"ImageLink">;
440
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
441
+ kind: t.Type<"image", "image", unknown>;
442
+ id: t.StringC;
443
+ url: t.StringC;
444
+ height: t.StringC;
445
+ width: t.StringC;
446
+ size: t.StringC;
447
+ name: t.StringC;
448
+ }>>, t.ExactC<t.PartialC<{
449
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
450
+ }>>]>, t.ExactC<t.TypeC<{
451
+ kind: t.LiteralC<"image">;
452
+ }>>]>, t.ExactC<t.PartialC<{
453
+ text: t.StringC;
454
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
455
+ __TYPE__: t.LiteralC<"FileLink">;
456
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
457
+ kind: t.Type<"file", "file", unknown>;
458
+ id: t.StringC;
459
+ url: t.StringC;
460
+ name: t.StringC;
461
+ size: t.StringC;
462
+ }>, t.PartialC<{
463
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
464
+ }>]>>, t.ExactC<t.TypeC<{
465
+ kind: t.LiteralC<"file">;
466
+ }>>]>, t.ExactC<t.PartialC<{
467
+ text: t.StringC;
468
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
469
+ __TYPE__: t.LiteralC<"DocumentLink">;
470
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
471
+ id: t.Type<string, string, unknown>;
472
+ }>>, t.ExactC<t.TypeC<{
473
+ kind: t.LiteralC<"document">;
474
+ }>>]>, t.ExactC<t.PartialC<{
475
+ text: t.StringC;
476
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
477
+ __TYPE__: t.LiteralC<"ExternalLink">;
478
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
479
+ url: t.StringC;
480
+ }>, t.PartialC<{
481
+ kind: t.LiteralC<"web">;
482
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
483
+ preview: t.UnionC<[t.Type<{
484
+ title?: string;
485
+ }, {
486
+ title?: string;
487
+ }, unknown>, t.NullC, t.UndefinedC]>;
488
+ }>]>>, t.ExactC<t.TypeC<{
489
+ kind: t.LiteralC<"web">;
490
+ }>>]>, t.ExactC<t.PartialC<{
491
+ text: t.StringC;
492
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
493
+ __TYPE__: t.LiteralC<"MediaLink">;
494
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
495
+ kind: t.LiteralC<"media">;
496
+ }>>, t.ExactC<t.PartialC<{
497
+ text: t.StringC;
498
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
499
+ __TYPE__: t.LiteralC<"AnyLink">;
500
+ }>>, t.ExactC<t.PartialC<{
501
+ text: t.StringC;
502
+ }>>]>]>;
503
+ }>>>;
436
504
  }>>]>>;
437
505
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
438
506
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -550,7 +618,7 @@ export declare const SliceItemContent: t.TypeC<{
550
618
  __TYPE__: t.LiteralC<"LinkContent">;
551
619
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
552
620
  __TYPE__: t.LiteralC<"ImageLink">;
553
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
621
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
554
622
  kind: t.Type<"image", "image", unknown>;
555
623
  id: t.StringC;
556
624
  url: t.StringC;
@@ -560,14 +628,13 @@ export declare const SliceItemContent: t.TypeC<{
560
628
  name: t.StringC;
561
629
  }>>, t.ExactC<t.PartialC<{
562
630
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
563
- }>>]>, t.ExactC<t.PartialC<{
564
- text: t.StringC;
565
631
  }>>]>, t.ExactC<t.TypeC<{
566
632
  kind: t.LiteralC<"image">;
633
+ }>>]>, t.ExactC<t.PartialC<{
567
634
  text: t.StringC;
568
635
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
569
636
  __TYPE__: t.LiteralC<"FileLink">;
570
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
637
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
571
638
  kind: t.Type<"file", "file", unknown>;
572
639
  id: t.StringC;
573
640
  url: t.StringC;
@@ -575,23 +642,21 @@ export declare const SliceItemContent: t.TypeC<{
575
642
  size: t.StringC;
576
643
  }>, t.PartialC<{
577
644
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
578
- }>]>>, t.ExactC<t.PartialC<{
579
- text: t.StringC;
580
- }>>]>, t.ExactC<t.TypeC<{
645
+ }>]>>, t.ExactC<t.TypeC<{
581
646
  kind: t.LiteralC<"file">;
647
+ }>>]>, t.ExactC<t.PartialC<{
582
648
  text: t.StringC;
583
649
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
584
650
  __TYPE__: t.LiteralC<"DocumentLink">;
585
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
651
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
586
652
  id: t.Type<string, string, unknown>;
587
- }>>, t.ExactC<t.PartialC<{
588
- text: t.StringC;
589
- }>>]>, t.ExactC<t.TypeC<{
653
+ }>>, t.ExactC<t.TypeC<{
590
654
  kind: t.LiteralC<"document">;
655
+ }>>]>, t.ExactC<t.PartialC<{
591
656
  text: t.StringC;
592
657
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
593
658
  __TYPE__: t.LiteralC<"ExternalLink">;
594
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
659
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
595
660
  url: t.StringC;
596
661
  }>, t.PartialC<{
597
662
  kind: t.LiteralC<"web">;
@@ -601,19 +666,19 @@ export declare const SliceItemContent: t.TypeC<{
601
666
  }, {
602
667
  title?: string;
603
668
  }, unknown>, t.NullC, t.UndefinedC]>;
604
- }>]>>, t.ExactC<t.PartialC<{
605
- text: t.StringC;
606
- }>>]>, t.ExactC<t.TypeC<{
669
+ }>]>>, t.ExactC<t.TypeC<{
607
670
  kind: t.LiteralC<"web">;
671
+ }>>]>, t.ExactC<t.PartialC<{
608
672
  text: t.StringC;
609
673
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
610
674
  __TYPE__: t.LiteralC<"MediaLink">;
611
- }>>, t.ExactC<t.TypeC<{
675
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
612
676
  kind: t.LiteralC<"media">;
677
+ }>>, t.ExactC<t.PartialC<{
613
678
  text: t.StringC;
614
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
679
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
615
680
  __TYPE__: t.LiteralC<"AnyLink">;
616
- }>>, t.ExactC<t.TypeC<{
681
+ }>>, t.ExactC<t.PartialC<{
617
682
  text: t.StringC;
618
683
  }>>]>]>;
619
684
  }>>, t.ExactC<t.TypeC<{
@@ -857,6 +922,77 @@ export declare const SliceItemContent: t.TypeC<{
857
922
  }>]>>]>>;
858
923
  }>>, t.ExactC<t.TypeC<{
859
924
  __TYPE__: t.LiteralC<"SeparatorContent">;
925
+ }>>, t.ExactC<t.TypeC<{
926
+ __TYPE__: t.LiteralC<"RepeatableContent">;
927
+ type: t.LiteralC<"Link">;
928
+ value: t.ArrayC<t.ExactC<t.TypeC<{
929
+ __TYPE__: t.LiteralC<"LinkContent">;
930
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
931
+ __TYPE__: t.LiteralC<"ImageLink">;
932
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
933
+ kind: t.Type<"image", "image", unknown>;
934
+ id: t.StringC;
935
+ url: t.StringC;
936
+ height: t.StringC;
937
+ width: t.StringC;
938
+ size: t.StringC;
939
+ name: t.StringC;
940
+ }>>, t.ExactC<t.PartialC<{
941
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
942
+ }>>]>, t.ExactC<t.TypeC<{
943
+ kind: t.LiteralC<"image">;
944
+ }>>]>, t.ExactC<t.PartialC<{
945
+ text: t.StringC;
946
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
947
+ __TYPE__: t.LiteralC<"FileLink">;
948
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
949
+ kind: t.Type<"file", "file", unknown>;
950
+ id: t.StringC;
951
+ url: t.StringC;
952
+ name: t.StringC;
953
+ size: t.StringC;
954
+ }>, t.PartialC<{
955
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
956
+ }>]>>, t.ExactC<t.TypeC<{
957
+ kind: t.LiteralC<"file">;
958
+ }>>]>, t.ExactC<t.PartialC<{
959
+ text: t.StringC;
960
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
961
+ __TYPE__: t.LiteralC<"DocumentLink">;
962
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
963
+ id: t.Type<string, string, unknown>;
964
+ }>>, t.ExactC<t.TypeC<{
965
+ kind: t.LiteralC<"document">;
966
+ }>>]>, t.ExactC<t.PartialC<{
967
+ text: t.StringC;
968
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
969
+ __TYPE__: t.LiteralC<"ExternalLink">;
970
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
971
+ url: t.StringC;
972
+ }>, t.PartialC<{
973
+ kind: t.LiteralC<"web">;
974
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
975
+ preview: t.UnionC<[t.Type<{
976
+ title?: string;
977
+ }, {
978
+ title?: string;
979
+ }, unknown>, t.NullC, t.UndefinedC]>;
980
+ }>]>>, t.ExactC<t.TypeC<{
981
+ kind: t.LiteralC<"web">;
982
+ }>>]>, t.ExactC<t.PartialC<{
983
+ text: t.StringC;
984
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
985
+ __TYPE__: t.LiteralC<"MediaLink">;
986
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
987
+ kind: t.LiteralC<"media">;
988
+ }>>, t.ExactC<t.PartialC<{
989
+ text: t.StringC;
990
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
991
+ __TYPE__: t.LiteralC<"AnyLink">;
992
+ }>>, t.ExactC<t.PartialC<{
993
+ text: t.StringC;
994
+ }>>]>]>;
995
+ }>>>;
860
996
  }>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>]>>;
861
997
  }>>>;
862
998
  }>>, t.ExactC<t.TypeC<{
@@ -976,7 +1112,7 @@ export declare const SliceItemContent: t.TypeC<{
976
1112
  __TYPE__: t.LiteralC<"LinkContent">;
977
1113
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
978
1114
  __TYPE__: t.LiteralC<"ImageLink">;
979
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1115
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
980
1116
  kind: t.Type<"image", "image", unknown>;
981
1117
  id: t.StringC;
982
1118
  url: t.StringC;
@@ -986,14 +1122,13 @@ export declare const SliceItemContent: t.TypeC<{
986
1122
  name: t.StringC;
987
1123
  }>>, t.ExactC<t.PartialC<{
988
1124
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
989
- }>>]>, t.ExactC<t.PartialC<{
990
- text: t.StringC;
991
1125
  }>>]>, t.ExactC<t.TypeC<{
992
1126
  kind: t.LiteralC<"image">;
1127
+ }>>]>, t.ExactC<t.PartialC<{
993
1128
  text: t.StringC;
994
1129
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
995
1130
  __TYPE__: t.LiteralC<"FileLink">;
996
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1131
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
997
1132
  kind: t.Type<"file", "file", unknown>;
998
1133
  id: t.StringC;
999
1134
  url: t.StringC;
@@ -1001,23 +1136,21 @@ export declare const SliceItemContent: t.TypeC<{
1001
1136
  size: t.StringC;
1002
1137
  }>, t.PartialC<{
1003
1138
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1004
- }>]>>, t.ExactC<t.PartialC<{
1005
- text: t.StringC;
1006
- }>>]>, t.ExactC<t.TypeC<{
1139
+ }>]>>, t.ExactC<t.TypeC<{
1007
1140
  kind: t.LiteralC<"file">;
1141
+ }>>]>, t.ExactC<t.PartialC<{
1008
1142
  text: t.StringC;
1009
1143
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1010
1144
  __TYPE__: t.LiteralC<"DocumentLink">;
1011
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1145
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1012
1146
  id: t.Type<string, string, unknown>;
1013
- }>>, t.ExactC<t.PartialC<{
1014
- text: t.StringC;
1015
- }>>]>, t.ExactC<t.TypeC<{
1147
+ }>>, t.ExactC<t.TypeC<{
1016
1148
  kind: t.LiteralC<"document">;
1149
+ }>>]>, t.ExactC<t.PartialC<{
1017
1150
  text: t.StringC;
1018
1151
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1019
1152
  __TYPE__: t.LiteralC<"ExternalLink">;
1020
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1153
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1021
1154
  url: t.StringC;
1022
1155
  }>, t.PartialC<{
1023
1156
  kind: t.LiteralC<"web">;
@@ -1027,19 +1160,19 @@ export declare const SliceItemContent: t.TypeC<{
1027
1160
  }, {
1028
1161
  title?: string;
1029
1162
  }, unknown>, t.NullC, t.UndefinedC]>;
1030
- }>]>>, t.ExactC<t.PartialC<{
1031
- text: t.StringC;
1032
- }>>]>, t.ExactC<t.TypeC<{
1163
+ }>]>>, t.ExactC<t.TypeC<{
1033
1164
  kind: t.LiteralC<"web">;
1165
+ }>>]>, t.ExactC<t.PartialC<{
1034
1166
  text: t.StringC;
1035
1167
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1036
1168
  __TYPE__: t.LiteralC<"MediaLink">;
1037
- }>>, t.ExactC<t.TypeC<{
1169
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1038
1170
  kind: t.LiteralC<"media">;
1171
+ }>>, t.ExactC<t.PartialC<{
1039
1172
  text: t.StringC;
1040
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1173
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1041
1174
  __TYPE__: t.LiteralC<"AnyLink">;
1042
- }>>, t.ExactC<t.TypeC<{
1175
+ }>>, t.ExactC<t.PartialC<{
1043
1176
  text: t.StringC;
1044
1177
  }>>]>]>;
1045
1178
  }>>, t.ExactC<t.TypeC<{
@@ -1283,6 +1416,77 @@ export declare const SliceItemContent: t.TypeC<{
1283
1416
  }>]>>]>>;
1284
1417
  }>>, t.ExactC<t.TypeC<{
1285
1418
  __TYPE__: t.LiteralC<"SeparatorContent">;
1419
+ }>>, t.ExactC<t.TypeC<{
1420
+ __TYPE__: t.LiteralC<"RepeatableContent">;
1421
+ type: t.LiteralC<"Link">;
1422
+ value: t.ArrayC<t.ExactC<t.TypeC<{
1423
+ __TYPE__: t.LiteralC<"LinkContent">;
1424
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1425
+ __TYPE__: t.LiteralC<"ImageLink">;
1426
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1427
+ kind: t.Type<"image", "image", unknown>;
1428
+ id: t.StringC;
1429
+ url: t.StringC;
1430
+ height: t.StringC;
1431
+ width: t.StringC;
1432
+ size: t.StringC;
1433
+ name: t.StringC;
1434
+ }>>, t.ExactC<t.PartialC<{
1435
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1436
+ }>>]>, t.ExactC<t.TypeC<{
1437
+ kind: t.LiteralC<"image">;
1438
+ }>>]>, t.ExactC<t.PartialC<{
1439
+ text: t.StringC;
1440
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1441
+ __TYPE__: t.LiteralC<"FileLink">;
1442
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1443
+ kind: t.Type<"file", "file", unknown>;
1444
+ id: t.StringC;
1445
+ url: t.StringC;
1446
+ name: t.StringC;
1447
+ size: t.StringC;
1448
+ }>, t.PartialC<{
1449
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1450
+ }>]>>, t.ExactC<t.TypeC<{
1451
+ kind: t.LiteralC<"file">;
1452
+ }>>]>, t.ExactC<t.PartialC<{
1453
+ text: t.StringC;
1454
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1455
+ __TYPE__: t.LiteralC<"DocumentLink">;
1456
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1457
+ id: t.Type<string, string, unknown>;
1458
+ }>>, t.ExactC<t.TypeC<{
1459
+ kind: t.LiteralC<"document">;
1460
+ }>>]>, t.ExactC<t.PartialC<{
1461
+ text: t.StringC;
1462
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1463
+ __TYPE__: t.LiteralC<"ExternalLink">;
1464
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1465
+ url: t.StringC;
1466
+ }>, t.PartialC<{
1467
+ kind: t.LiteralC<"web">;
1468
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1469
+ preview: t.UnionC<[t.Type<{
1470
+ title?: string;
1471
+ }, {
1472
+ title?: string;
1473
+ }, unknown>, t.NullC, t.UndefinedC]>;
1474
+ }>]>>, t.ExactC<t.TypeC<{
1475
+ kind: t.LiteralC<"web">;
1476
+ }>>]>, t.ExactC<t.PartialC<{
1477
+ text: t.StringC;
1478
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1479
+ __TYPE__: t.LiteralC<"MediaLink">;
1480
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1481
+ kind: t.LiteralC<"media">;
1482
+ }>>, t.ExactC<t.PartialC<{
1483
+ text: t.StringC;
1484
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1485
+ __TYPE__: t.LiteralC<"AnyLink">;
1486
+ }>>, t.ExactC<t.PartialC<{
1487
+ text: t.StringC;
1488
+ }>>]>]>;
1489
+ }>>>;
1286
1490
  }>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>>;
1287
1491
  items: t.ArrayC<t.ExactC<t.TypeC<{
1288
1492
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -1400,7 +1604,7 @@ export declare const SliceItemContent: t.TypeC<{
1400
1604
  __TYPE__: t.LiteralC<"LinkContent">;
1401
1605
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1402
1606
  __TYPE__: t.LiteralC<"ImageLink">;
1403
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1607
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1404
1608
  kind: t.Type<"image", "image", unknown>;
1405
1609
  id: t.StringC;
1406
1610
  url: t.StringC;
@@ -1410,14 +1614,13 @@ export declare const SliceItemContent: t.TypeC<{
1410
1614
  name: t.StringC;
1411
1615
  }>>, t.ExactC<t.PartialC<{
1412
1616
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1413
- }>>]>, t.ExactC<t.PartialC<{
1414
- text: t.StringC;
1415
1617
  }>>]>, t.ExactC<t.TypeC<{
1416
1618
  kind: t.LiteralC<"image">;
1619
+ }>>]>, t.ExactC<t.PartialC<{
1417
1620
  text: t.StringC;
1418
1621
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1419
1622
  __TYPE__: t.LiteralC<"FileLink">;
1420
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1623
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1421
1624
  kind: t.Type<"file", "file", unknown>;
1422
1625
  id: t.StringC;
1423
1626
  url: t.StringC;
@@ -1425,23 +1628,21 @@ export declare const SliceItemContent: t.TypeC<{
1425
1628
  size: t.StringC;
1426
1629
  }>, t.PartialC<{
1427
1630
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1428
- }>]>>, t.ExactC<t.PartialC<{
1429
- text: t.StringC;
1430
- }>>]>, t.ExactC<t.TypeC<{
1631
+ }>]>>, t.ExactC<t.TypeC<{
1431
1632
  kind: t.LiteralC<"file">;
1633
+ }>>]>, t.ExactC<t.PartialC<{
1432
1634
  text: t.StringC;
1433
1635
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1434
1636
  __TYPE__: t.LiteralC<"DocumentLink">;
1435
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1637
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1436
1638
  id: t.Type<string, string, unknown>;
1437
- }>>, t.ExactC<t.PartialC<{
1438
- text: t.StringC;
1439
- }>>]>, t.ExactC<t.TypeC<{
1639
+ }>>, t.ExactC<t.TypeC<{
1440
1640
  kind: t.LiteralC<"document">;
1641
+ }>>]>, t.ExactC<t.PartialC<{
1441
1642
  text: t.StringC;
1442
1643
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1443
1644
  __TYPE__: t.LiteralC<"ExternalLink">;
1444
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1645
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1445
1646
  url: t.StringC;
1446
1647
  }>, t.PartialC<{
1447
1648
  kind: t.LiteralC<"web">;
@@ -1451,19 +1652,19 @@ export declare const SliceItemContent: t.TypeC<{
1451
1652
  }, {
1452
1653
  title?: string;
1453
1654
  }, unknown>, t.NullC, t.UndefinedC]>;
1454
- }>]>>, t.ExactC<t.PartialC<{
1455
- text: t.StringC;
1456
- }>>]>, t.ExactC<t.TypeC<{
1655
+ }>]>>, t.ExactC<t.TypeC<{
1457
1656
  kind: t.LiteralC<"web">;
1657
+ }>>]>, t.ExactC<t.PartialC<{
1458
1658
  text: t.StringC;
1459
1659
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1460
1660
  __TYPE__: t.LiteralC<"MediaLink">;
1461
- }>>, t.ExactC<t.TypeC<{
1661
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1462
1662
  kind: t.LiteralC<"media">;
1663
+ }>>, t.ExactC<t.PartialC<{
1463
1664
  text: t.StringC;
1464
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1665
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1465
1666
  __TYPE__: t.LiteralC<"AnyLink">;
1466
- }>>, t.ExactC<t.TypeC<{
1667
+ }>>, t.ExactC<t.PartialC<{
1467
1668
  text: t.StringC;
1468
1669
  }>>]>]>;
1469
1670
  }>>, t.ExactC<t.TypeC<{
@@ -1707,6 +1908,77 @@ export declare const SliceItemContent: t.TypeC<{
1707
1908
  }>]>>]>>;
1708
1909
  }>>, t.ExactC<t.TypeC<{
1709
1910
  __TYPE__: t.LiteralC<"SeparatorContent">;
1911
+ }>>, t.ExactC<t.TypeC<{
1912
+ __TYPE__: t.LiteralC<"RepeatableContent">;
1913
+ type: t.LiteralC<"Link">;
1914
+ value: t.ArrayC<t.ExactC<t.TypeC<{
1915
+ __TYPE__: t.LiteralC<"LinkContent">;
1916
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1917
+ __TYPE__: t.LiteralC<"ImageLink">;
1918
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1919
+ kind: t.Type<"image", "image", unknown>;
1920
+ id: t.StringC;
1921
+ url: t.StringC;
1922
+ height: t.StringC;
1923
+ width: t.StringC;
1924
+ size: t.StringC;
1925
+ name: t.StringC;
1926
+ }>>, t.ExactC<t.PartialC<{
1927
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1928
+ }>>]>, t.ExactC<t.TypeC<{
1929
+ kind: t.LiteralC<"image">;
1930
+ }>>]>, t.ExactC<t.PartialC<{
1931
+ text: t.StringC;
1932
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1933
+ __TYPE__: t.LiteralC<"FileLink">;
1934
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1935
+ kind: t.Type<"file", "file", unknown>;
1936
+ id: t.StringC;
1937
+ url: t.StringC;
1938
+ name: t.StringC;
1939
+ size: t.StringC;
1940
+ }>, t.PartialC<{
1941
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1942
+ }>]>>, t.ExactC<t.TypeC<{
1943
+ kind: t.LiteralC<"file">;
1944
+ }>>]>, t.ExactC<t.PartialC<{
1945
+ text: t.StringC;
1946
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1947
+ __TYPE__: t.LiteralC<"DocumentLink">;
1948
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1949
+ id: t.Type<string, string, unknown>;
1950
+ }>>, t.ExactC<t.TypeC<{
1951
+ kind: t.LiteralC<"document">;
1952
+ }>>]>, t.ExactC<t.PartialC<{
1953
+ text: t.StringC;
1954
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1955
+ __TYPE__: t.LiteralC<"ExternalLink">;
1956
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1957
+ url: t.StringC;
1958
+ }>, t.PartialC<{
1959
+ kind: t.LiteralC<"web">;
1960
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1961
+ preview: t.UnionC<[t.Type<{
1962
+ title?: string;
1963
+ }, {
1964
+ title?: string;
1965
+ }, unknown>, t.NullC, t.UndefinedC]>;
1966
+ }>]>>, t.ExactC<t.TypeC<{
1967
+ kind: t.LiteralC<"web">;
1968
+ }>>]>, t.ExactC<t.PartialC<{
1969
+ text: t.StringC;
1970
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1971
+ __TYPE__: t.LiteralC<"MediaLink">;
1972
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1973
+ kind: t.LiteralC<"media">;
1974
+ }>>, t.ExactC<t.PartialC<{
1975
+ text: t.StringC;
1976
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1977
+ __TYPE__: t.LiteralC<"AnyLink">;
1978
+ }>>, t.ExactC<t.PartialC<{
1979
+ text: t.StringC;
1980
+ }>>]>]>;
1981
+ }>>>;
1710
1982
  }>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>]>>;
1711
1983
  }>>>;
1712
1984
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -1823,7 +2095,7 @@ export declare const SliceItemContent: t.TypeC<{
1823
2095
  __TYPE__: t.LiteralC<"LinkContent">;
1824
2096
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1825
2097
  __TYPE__: t.LiteralC<"ImageLink">;
1826
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2098
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1827
2099
  kind: t.Type<"image", "image", unknown>;
1828
2100
  id: t.StringC;
1829
2101
  url: t.StringC;
@@ -1833,14 +2105,13 @@ export declare const SliceItemContent: t.TypeC<{
1833
2105
  name: t.StringC;
1834
2106
  }>>, t.ExactC<t.PartialC<{
1835
2107
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1836
- }>>]>, t.ExactC<t.PartialC<{
1837
- text: t.StringC;
1838
2108
  }>>]>, t.ExactC<t.TypeC<{
1839
2109
  kind: t.LiteralC<"image">;
2110
+ }>>]>, t.ExactC<t.PartialC<{
1840
2111
  text: t.StringC;
1841
2112
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1842
2113
  __TYPE__: t.LiteralC<"FileLink">;
1843
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2114
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1844
2115
  kind: t.Type<"file", "file", unknown>;
1845
2116
  id: t.StringC;
1846
2117
  url: t.StringC;
@@ -1848,23 +2119,21 @@ export declare const SliceItemContent: t.TypeC<{
1848
2119
  size: t.StringC;
1849
2120
  }>, t.PartialC<{
1850
2121
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1851
- }>]>>, t.ExactC<t.PartialC<{
1852
- text: t.StringC;
1853
- }>>]>, t.ExactC<t.TypeC<{
2122
+ }>]>>, t.ExactC<t.TypeC<{
1854
2123
  kind: t.LiteralC<"file">;
2124
+ }>>]>, t.ExactC<t.PartialC<{
1855
2125
  text: t.StringC;
1856
2126
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1857
2127
  __TYPE__: t.LiteralC<"DocumentLink">;
1858
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2128
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1859
2129
  id: t.Type<string, string, unknown>;
1860
- }>>, t.ExactC<t.PartialC<{
1861
- text: t.StringC;
1862
- }>>]>, t.ExactC<t.TypeC<{
2130
+ }>>, t.ExactC<t.TypeC<{
1863
2131
  kind: t.LiteralC<"document">;
2132
+ }>>]>, t.ExactC<t.PartialC<{
1864
2133
  text: t.StringC;
1865
2134
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1866
2135
  __TYPE__: t.LiteralC<"ExternalLink">;
1867
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2136
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1868
2137
  url: t.StringC;
1869
2138
  }>, t.PartialC<{
1870
2139
  kind: t.LiteralC<"web">;
@@ -1874,19 +2143,19 @@ export declare const SliceItemContent: t.TypeC<{
1874
2143
  }, {
1875
2144
  title?: string;
1876
2145
  }, unknown>, t.NullC, t.UndefinedC]>;
1877
- }>]>>, t.ExactC<t.PartialC<{
1878
- text: t.StringC;
1879
- }>>]>, t.ExactC<t.TypeC<{
2146
+ }>]>>, t.ExactC<t.TypeC<{
1880
2147
  kind: t.LiteralC<"web">;
2148
+ }>>]>, t.ExactC<t.PartialC<{
1881
2149
  text: t.StringC;
1882
2150
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1883
2151
  __TYPE__: t.LiteralC<"MediaLink">;
1884
- }>>, t.ExactC<t.TypeC<{
2152
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1885
2153
  kind: t.LiteralC<"media">;
2154
+ }>>, t.ExactC<t.PartialC<{
1886
2155
  text: t.StringC;
1887
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2156
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1888
2157
  __TYPE__: t.LiteralC<"AnyLink">;
1889
- }>>, t.ExactC<t.TypeC<{
2158
+ }>>, t.ExactC<t.PartialC<{
1890
2159
  text: t.StringC;
1891
2160
  }>>]>]>;
1892
2161
  }>>, t.ExactC<t.TypeC<{
@@ -2130,6 +2399,77 @@ export declare const SliceItemContent: t.TypeC<{
2130
2399
  }>]>>]>>;
2131
2400
  }>>, t.ExactC<t.TypeC<{
2132
2401
  __TYPE__: t.LiteralC<"SeparatorContent">;
2402
+ }>>, t.ExactC<t.TypeC<{
2403
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2404
+ type: t.LiteralC<"Link">;
2405
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2406
+ __TYPE__: t.LiteralC<"LinkContent">;
2407
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2408
+ __TYPE__: t.LiteralC<"ImageLink">;
2409
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2410
+ kind: t.Type<"image", "image", unknown>;
2411
+ id: t.StringC;
2412
+ url: t.StringC;
2413
+ height: t.StringC;
2414
+ width: t.StringC;
2415
+ size: t.StringC;
2416
+ name: t.StringC;
2417
+ }>>, t.ExactC<t.PartialC<{
2418
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2419
+ }>>]>, t.ExactC<t.TypeC<{
2420
+ kind: t.LiteralC<"image">;
2421
+ }>>]>, t.ExactC<t.PartialC<{
2422
+ text: t.StringC;
2423
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2424
+ __TYPE__: t.LiteralC<"FileLink">;
2425
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2426
+ kind: t.Type<"file", "file", unknown>;
2427
+ id: t.StringC;
2428
+ url: t.StringC;
2429
+ name: t.StringC;
2430
+ size: t.StringC;
2431
+ }>, t.PartialC<{
2432
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2433
+ }>]>>, t.ExactC<t.TypeC<{
2434
+ kind: t.LiteralC<"file">;
2435
+ }>>]>, t.ExactC<t.PartialC<{
2436
+ text: t.StringC;
2437
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2438
+ __TYPE__: t.LiteralC<"DocumentLink">;
2439
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
2440
+ id: t.Type<string, string, unknown>;
2441
+ }>>, t.ExactC<t.TypeC<{
2442
+ kind: t.LiteralC<"document">;
2443
+ }>>]>, t.ExactC<t.PartialC<{
2444
+ text: t.StringC;
2445
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2446
+ __TYPE__: t.LiteralC<"ExternalLink">;
2447
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2448
+ url: t.StringC;
2449
+ }>, t.PartialC<{
2450
+ kind: t.LiteralC<"web">;
2451
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2452
+ preview: t.UnionC<[t.Type<{
2453
+ title?: string;
2454
+ }, {
2455
+ title?: string;
2456
+ }, unknown>, t.NullC, t.UndefinedC]>;
2457
+ }>]>>, t.ExactC<t.TypeC<{
2458
+ kind: t.LiteralC<"web">;
2459
+ }>>]>, t.ExactC<t.PartialC<{
2460
+ text: t.StringC;
2461
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2462
+ __TYPE__: t.LiteralC<"MediaLink">;
2463
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2464
+ kind: t.LiteralC<"media">;
2465
+ }>>, t.ExactC<t.PartialC<{
2466
+ text: t.StringC;
2467
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2468
+ __TYPE__: t.LiteralC<"AnyLink">;
2469
+ }>>, t.ExactC<t.PartialC<{
2470
+ text: t.StringC;
2471
+ }>>]>]>;
2472
+ }>>>;
2133
2473
  }>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>]>;
2134
2474
  }>;
2135
2475
  export declare type SliceItemContent = t.TypeOf<typeof SliceItemContent>;
@@ -2266,7 +2606,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2266
2606
  __TYPE__: "LinkContent";
2267
2607
  value: ({
2268
2608
  __TYPE__: "ImageLink";
2269
- } & (({
2609
+ } & ((({
2270
2610
  kind: "image";
2271
2611
  id: string;
2272
2612
  url: string;
@@ -2276,14 +2616,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2276
2616
  name: string;
2277
2617
  } & {
2278
2618
  date?: string | null | undefined;
2279
- } & {
2280
- text?: string;
2281
2619
  }) | {
2282
2620
  kind: "image";
2283
- text: string;
2621
+ }) & {
2622
+ text?: string;
2284
2623
  })) | ({
2285
2624
  __TYPE__: "FileLink";
2286
- } & (({
2625
+ } & ((({
2287
2626
  kind: "file";
2288
2627
  id: string;
2289
2628
  url: string;
@@ -2291,28 +2630,27 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2291
2630
  size: string;
2292
2631
  } & {
2293
2632
  date?: string | null | undefined;
2294
- } & {
2295
- text?: string;
2296
2633
  }) | {
2297
2634
  kind: "file";
2298
- text: string;
2635
+ }) & {
2636
+ text?: string;
2299
2637
  })) | ({
2300
2638
  __TYPE__: "MediaLink";
2301
2639
  } & {
2302
2640
  kind: "media";
2303
- text: string;
2641
+ } & {
2642
+ text?: string;
2304
2643
  }) | ({
2305
2644
  __TYPE__: "DocumentLink";
2306
2645
  } & (({
2307
2646
  id: string;
2308
- } & {
2309
- text?: string;
2310
- }) | {
2647
+ } | {
2311
2648
  kind: "document";
2312
- text: string;
2649
+ }) & {
2650
+ text?: string;
2313
2651
  })) | ({
2314
2652
  __TYPE__: "ExternalLink";
2315
- } & (({
2653
+ } & ((({
2316
2654
  url: string;
2317
2655
  } & {
2318
2656
  kind?: "web";
@@ -2320,17 +2658,85 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2320
2658
  preview?: {
2321
2659
  title?: string;
2322
2660
  } | null | undefined;
2323
- } & {
2324
- text?: string;
2325
2661
  }) | {
2326
2662
  kind: "web";
2327
- text: string;
2663
+ }) & {
2664
+ text?: string;
2328
2665
  })) | ({
2329
2666
  __TYPE__: "AnyLink";
2330
2667
  } & {
2331
- text: string;
2668
+ text?: string;
2332
2669
  });
2333
2670
  } | {
2671
+ __TYPE__: "RepeatableContent";
2672
+ type: "Link";
2673
+ value: {
2674
+ __TYPE__: "LinkContent";
2675
+ value: ({
2676
+ __TYPE__: "ImageLink";
2677
+ } & ((({
2678
+ kind: "image";
2679
+ id: string;
2680
+ url: string;
2681
+ height: string;
2682
+ width: string;
2683
+ size: string;
2684
+ name: string;
2685
+ } & {
2686
+ date?: string | null | undefined;
2687
+ }) | {
2688
+ kind: "image";
2689
+ }) & {
2690
+ text?: string;
2691
+ })) | ({
2692
+ __TYPE__: "FileLink";
2693
+ } & ((({
2694
+ kind: "file";
2695
+ id: string;
2696
+ url: string;
2697
+ name: string;
2698
+ size: string;
2699
+ } & {
2700
+ date?: string | null | undefined;
2701
+ }) | {
2702
+ kind: "file";
2703
+ }) & {
2704
+ text?: string;
2705
+ })) | ({
2706
+ __TYPE__: "MediaLink";
2707
+ } & {
2708
+ kind: "media";
2709
+ } & {
2710
+ text?: string;
2711
+ }) | ({
2712
+ __TYPE__: "DocumentLink";
2713
+ } & (({
2714
+ id: string;
2715
+ } | {
2716
+ kind: "document";
2717
+ }) & {
2718
+ text?: string;
2719
+ })) | ({
2720
+ __TYPE__: "ExternalLink";
2721
+ } & ((({
2722
+ url: string;
2723
+ } & {
2724
+ kind?: "web";
2725
+ target?: string | null | undefined;
2726
+ preview?: {
2727
+ title?: string;
2728
+ } | null | undefined;
2729
+ }) | {
2730
+ kind: "web";
2731
+ }) & {
2732
+ text?: string;
2733
+ })) | ({
2734
+ __TYPE__: "AnyLink";
2735
+ } & {
2736
+ text?: string;
2737
+ });
2738
+ }[];
2739
+ } | import("../GroupContent").GroupContent | {
2334
2740
  __TYPE__: "StructuredTextContent";
2335
2741
  value: (({
2336
2742
  type: "image";
@@ -2485,7 +2891,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2485
2891
  }))[];
2486
2892
  } | {
2487
2893
  __TYPE__: "SeparatorContent";
2488
- } | import("../GroupContent").GroupContent | {
2894
+ } | {
2489
2895
  __TYPE__: "CompositeSliceContent";
2490
2896
  nonRepeat: {
2491
2897
  [x: string]: {
@@ -2604,7 +3010,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2604
3010
  __TYPE__: "LinkContent";
2605
3011
  value: ({
2606
3012
  __TYPE__: "ImageLink";
2607
- } & (({
3013
+ } & ((({
2608
3014
  kind: "image";
2609
3015
  id: string;
2610
3016
  url: string;
@@ -2614,14 +3020,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2614
3020
  name: string;
2615
3021
  } & {
2616
3022
  date?: string | null | undefined;
2617
- } & {
2618
- text?: string;
2619
3023
  }) | {
2620
3024
  kind: "image";
2621
- text: string;
3025
+ }) & {
3026
+ text?: string;
2622
3027
  })) | ({
2623
3028
  __TYPE__: "FileLink";
2624
- } & (({
3029
+ } & ((({
2625
3030
  kind: "file";
2626
3031
  id: string;
2627
3032
  url: string;
@@ -2629,28 +3034,27 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2629
3034
  size: string;
2630
3035
  } & {
2631
3036
  date?: string | null | undefined;
2632
- } & {
2633
- text?: string;
2634
3037
  }) | {
2635
3038
  kind: "file";
2636
- text: string;
3039
+ }) & {
3040
+ text?: string;
2637
3041
  })) | ({
2638
3042
  __TYPE__: "MediaLink";
2639
3043
  } & {
2640
3044
  kind: "media";
2641
- text: string;
3045
+ } & {
3046
+ text?: string;
2642
3047
  }) | ({
2643
3048
  __TYPE__: "DocumentLink";
2644
3049
  } & (({
2645
3050
  id: string;
2646
- } & {
2647
- text?: string;
2648
- }) | {
3051
+ } | {
2649
3052
  kind: "document";
2650
- text: string;
3053
+ }) & {
3054
+ text?: string;
2651
3055
  })) | ({
2652
3056
  __TYPE__: "ExternalLink";
2653
- } & (({
3057
+ } & ((({
2654
3058
  url: string;
2655
3059
  } & {
2656
3060
  kind?: "web";
@@ -2658,16 +3062,84 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2658
3062
  preview?: {
2659
3063
  title?: string;
2660
3064
  } | null | undefined;
2661
- } & {
2662
- text?: string;
2663
3065
  }) | {
2664
3066
  kind: "web";
2665
- text: string;
3067
+ }) & {
3068
+ text?: string;
2666
3069
  })) | ({
2667
3070
  __TYPE__: "AnyLink";
2668
3071
  } & {
2669
- text: string;
3072
+ text?: string;
2670
3073
  });
3074
+ } | {
3075
+ __TYPE__: "RepeatableContent";
3076
+ type: "Link";
3077
+ value: {
3078
+ __TYPE__: "LinkContent";
3079
+ value: ({
3080
+ __TYPE__: "ImageLink";
3081
+ } & ((({
3082
+ kind: "image";
3083
+ id: string;
3084
+ url: string;
3085
+ height: string;
3086
+ width: string;
3087
+ size: string;
3088
+ name: string;
3089
+ } & {
3090
+ date?: string | null | undefined;
3091
+ }) | {
3092
+ kind: "image";
3093
+ }) & {
3094
+ text?: string;
3095
+ })) | ({
3096
+ __TYPE__: "FileLink";
3097
+ } & ((({
3098
+ kind: "file";
3099
+ id: string;
3100
+ url: string;
3101
+ name: string;
3102
+ size: string;
3103
+ } & {
3104
+ date?: string | null | undefined;
3105
+ }) | {
3106
+ kind: "file";
3107
+ }) & {
3108
+ text?: string;
3109
+ })) | ({
3110
+ __TYPE__: "MediaLink";
3111
+ } & {
3112
+ kind: "media";
3113
+ } & {
3114
+ text?: string;
3115
+ }) | ({
3116
+ __TYPE__: "DocumentLink";
3117
+ } & (({
3118
+ id: string;
3119
+ } | {
3120
+ kind: "document";
3121
+ }) & {
3122
+ text?: string;
3123
+ })) | ({
3124
+ __TYPE__: "ExternalLink";
3125
+ } & ((({
3126
+ url: string;
3127
+ } & {
3128
+ kind?: "web";
3129
+ target?: string | null | undefined;
3130
+ preview?: {
3131
+ title?: string;
3132
+ } | null | undefined;
3133
+ }) | {
3134
+ kind: "web";
3135
+ }) & {
3136
+ text?: string;
3137
+ })) | ({
3138
+ __TYPE__: "AnyLink";
3139
+ } & {
3140
+ text?: string;
3141
+ });
3142
+ }[];
2671
3143
  } | {
2672
3144
  __TYPE__: "StructuredTextContent";
2673
3145
  value: (({
@@ -2943,7 +3415,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2943
3415
  __TYPE__: "LinkContent";
2944
3416
  value: ({
2945
3417
  __TYPE__: "ImageLink";
2946
- } & (({
3418
+ } & ((({
2947
3419
  kind: "image";
2948
3420
  id: string;
2949
3421
  url: string;
@@ -2953,14 +3425,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2953
3425
  name: string;
2954
3426
  } & {
2955
3427
  date?: string | null | undefined;
2956
- } & {
2957
- text?: string;
2958
3428
  }) | {
2959
3429
  kind: "image";
2960
- text: string;
3430
+ }) & {
3431
+ text?: string;
2961
3432
  })) | ({
2962
3433
  __TYPE__: "FileLink";
2963
- } & (({
3434
+ } & ((({
2964
3435
  kind: "file";
2965
3436
  id: string;
2966
3437
  url: string;
@@ -2968,28 +3439,27 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2968
3439
  size: string;
2969
3440
  } & {
2970
3441
  date?: string | null | undefined;
2971
- } & {
2972
- text?: string;
2973
3442
  }) | {
2974
3443
  kind: "file";
2975
- text: string;
3444
+ }) & {
3445
+ text?: string;
2976
3446
  })) | ({
2977
3447
  __TYPE__: "MediaLink";
2978
3448
  } & {
2979
3449
  kind: "media";
2980
- text: string;
3450
+ } & {
3451
+ text?: string;
2981
3452
  }) | ({
2982
3453
  __TYPE__: "DocumentLink";
2983
3454
  } & (({
2984
3455
  id: string;
2985
- } & {
2986
- text?: string;
2987
- }) | {
3456
+ } | {
2988
3457
  kind: "document";
2989
- text: string;
3458
+ }) & {
3459
+ text?: string;
2990
3460
  })) | ({
2991
3461
  __TYPE__: "ExternalLink";
2992
- } & (({
3462
+ } & ((({
2993
3463
  url: string;
2994
3464
  } & {
2995
3465
  kind?: "web";
@@ -2997,17 +3467,85 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2997
3467
  preview?: {
2998
3468
  title?: string;
2999
3469
  } | null | undefined;
3000
- } & {
3001
- text?: string;
3002
3470
  }) | {
3003
3471
  kind: "web";
3004
- text: string;
3472
+ }) & {
3473
+ text?: string;
3005
3474
  })) | ({
3006
3475
  __TYPE__: "AnyLink";
3007
3476
  } & {
3008
- text: string;
3477
+ text?: string;
3009
3478
  });
3010
3479
  } | {
3480
+ __TYPE__: "RepeatableContent";
3481
+ type: "Link";
3482
+ value: {
3483
+ __TYPE__: "LinkContent";
3484
+ value: ({
3485
+ __TYPE__: "ImageLink";
3486
+ } & ((({
3487
+ kind: "image";
3488
+ id: string;
3489
+ url: string;
3490
+ height: string;
3491
+ width: string;
3492
+ size: string;
3493
+ name: string;
3494
+ } & {
3495
+ date?: string | null | undefined;
3496
+ }) | {
3497
+ kind: "image";
3498
+ }) & {
3499
+ text?: string;
3500
+ })) | ({
3501
+ __TYPE__: "FileLink";
3502
+ } & ((({
3503
+ kind: "file";
3504
+ id: string;
3505
+ url: string;
3506
+ name: string;
3507
+ size: string;
3508
+ } & {
3509
+ date?: string | null | undefined;
3510
+ }) | {
3511
+ kind: "file";
3512
+ }) & {
3513
+ text?: string;
3514
+ })) | ({
3515
+ __TYPE__: "MediaLink";
3516
+ } & {
3517
+ kind: "media";
3518
+ } & {
3519
+ text?: string;
3520
+ }) | ({
3521
+ __TYPE__: "DocumentLink";
3522
+ } & (({
3523
+ id: string;
3524
+ } | {
3525
+ kind: "document";
3526
+ }) & {
3527
+ text?: string;
3528
+ })) | ({
3529
+ __TYPE__: "ExternalLink";
3530
+ } & ((({
3531
+ url: string;
3532
+ } & {
3533
+ kind?: "web";
3534
+ target?: string | null | undefined;
3535
+ preview?: {
3536
+ title?: string;
3537
+ } | null | undefined;
3538
+ }) | {
3539
+ kind: "web";
3540
+ }) & {
3541
+ text?: string;
3542
+ })) | ({
3543
+ __TYPE__: "AnyLink";
3544
+ } & {
3545
+ text?: string;
3546
+ });
3547
+ }[];
3548
+ } | import("../GroupContent").GroupContent | {
3011
3549
  __TYPE__: "StructuredTextContent";
3012
3550
  value: (({
3013
3551
  type: "image";
@@ -3162,7 +3700,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3162
3700
  }))[];
3163
3701
  } | {
3164
3702
  __TYPE__: "SeparatorContent";
3165
- } | import("../GroupContent").GroupContent][];
3703
+ }][];
3166
3704
  }[];
3167
3705
  } | {
3168
3706
  __TYPE__: "SharedSliceContent";
@@ -3284,7 +3822,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3284
3822
  __TYPE__: "LinkContent";
3285
3823
  value: ({
3286
3824
  __TYPE__: "ImageLink";
3287
- } & (({
3825
+ } & ((({
3288
3826
  kind: "image";
3289
3827
  id: string;
3290
3828
  url: string;
@@ -3294,14 +3832,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3294
3832
  name: string;
3295
3833
  } & {
3296
3834
  date?: string | null | undefined;
3297
- } & {
3298
- text?: string;
3299
3835
  }) | {
3300
3836
  kind: "image";
3301
- text: string;
3837
+ }) & {
3838
+ text?: string;
3302
3839
  })) | ({
3303
3840
  __TYPE__: "FileLink";
3304
- } & (({
3841
+ } & ((({
3305
3842
  kind: "file";
3306
3843
  id: string;
3307
3844
  url: string;
@@ -3309,28 +3846,27 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3309
3846
  size: string;
3310
3847
  } & {
3311
3848
  date?: string | null | undefined;
3312
- } & {
3313
- text?: string;
3314
3849
  }) | {
3315
3850
  kind: "file";
3316
- text: string;
3851
+ }) & {
3852
+ text?: string;
3317
3853
  })) | ({
3318
3854
  __TYPE__: "MediaLink";
3319
3855
  } & {
3320
3856
  kind: "media";
3321
- text: string;
3857
+ } & {
3858
+ text?: string;
3322
3859
  }) | ({
3323
3860
  __TYPE__: "DocumentLink";
3324
3861
  } & (({
3325
3862
  id: string;
3326
- } & {
3327
- text?: string;
3328
- }) | {
3863
+ } | {
3329
3864
  kind: "document";
3330
- text: string;
3865
+ }) & {
3866
+ text?: string;
3331
3867
  })) | ({
3332
3868
  __TYPE__: "ExternalLink";
3333
- } & (({
3869
+ } & ((({
3334
3870
  url: string;
3335
3871
  } & {
3336
3872
  kind?: "web";
@@ -3338,17 +3874,85 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3338
3874
  preview?: {
3339
3875
  title?: string;
3340
3876
  } | null | undefined;
3341
- } & {
3342
- text?: string;
3343
3877
  }) | {
3344
3878
  kind: "web";
3345
- text: string;
3879
+ }) & {
3880
+ text?: string;
3346
3881
  })) | ({
3347
3882
  __TYPE__: "AnyLink";
3348
3883
  } & {
3349
- text: string;
3884
+ text?: string;
3350
3885
  });
3351
3886
  } | {
3887
+ __TYPE__: "RepeatableContent";
3888
+ type: "Link";
3889
+ value: {
3890
+ __TYPE__: "LinkContent";
3891
+ value: ({
3892
+ __TYPE__: "ImageLink";
3893
+ } & ((({
3894
+ kind: "image";
3895
+ id: string;
3896
+ url: string;
3897
+ height: string;
3898
+ width: string;
3899
+ size: string;
3900
+ name: string;
3901
+ } & {
3902
+ date?: string | null | undefined;
3903
+ }) | {
3904
+ kind: "image";
3905
+ }) & {
3906
+ text?: string;
3907
+ })) | ({
3908
+ __TYPE__: "FileLink";
3909
+ } & ((({
3910
+ kind: "file";
3911
+ id: string;
3912
+ url: string;
3913
+ name: string;
3914
+ size: string;
3915
+ } & {
3916
+ date?: string | null | undefined;
3917
+ }) | {
3918
+ kind: "file";
3919
+ }) & {
3920
+ text?: string;
3921
+ })) | ({
3922
+ __TYPE__: "MediaLink";
3923
+ } & {
3924
+ kind: "media";
3925
+ } & {
3926
+ text?: string;
3927
+ }) | ({
3928
+ __TYPE__: "DocumentLink";
3929
+ } & (({
3930
+ id: string;
3931
+ } | {
3932
+ kind: "document";
3933
+ }) & {
3934
+ text?: string;
3935
+ })) | ({
3936
+ __TYPE__: "ExternalLink";
3937
+ } & ((({
3938
+ url: string;
3939
+ } & {
3940
+ kind?: "web";
3941
+ target?: string | null | undefined;
3942
+ preview?: {
3943
+ title?: string;
3944
+ } | null | undefined;
3945
+ }) | {
3946
+ kind: "web";
3947
+ }) & {
3948
+ text?: string;
3949
+ })) | ({
3950
+ __TYPE__: "AnyLink";
3951
+ } & {
3952
+ text?: string;
3953
+ });
3954
+ }[];
3955
+ } | import("../GroupContent").GroupContent | {
3352
3956
  __TYPE__: "StructuredTextContent";
3353
3957
  value: (({
3354
3958
  type: "image";
@@ -3503,7 +4107,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3503
4107
  }))[];
3504
4108
  } | {
3505
4109
  __TYPE__: "SeparatorContent";
3506
- } | import("../GroupContent").GroupContent;
4110
+ };
3507
4111
  };
3508
4112
  items: {
3509
4113
  __TYPE__: "GroupItemContent";
@@ -3623,7 +4227,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3623
4227
  __TYPE__: "LinkContent";
3624
4228
  value: ({
3625
4229
  __TYPE__: "ImageLink";
3626
- } & (({
4230
+ } & ((({
3627
4231
  kind: "image";
3628
4232
  id: string;
3629
4233
  url: string;
@@ -3633,14 +4237,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3633
4237
  name: string;
3634
4238
  } & {
3635
4239
  date?: string | null | undefined;
3636
- } & {
3637
- text?: string;
3638
4240
  }) | {
3639
4241
  kind: "image";
3640
- text: string;
4242
+ }) & {
4243
+ text?: string;
3641
4244
  })) | ({
3642
4245
  __TYPE__: "FileLink";
3643
- } & (({
4246
+ } & ((({
3644
4247
  kind: "file";
3645
4248
  id: string;
3646
4249
  url: string;
@@ -3648,28 +4251,27 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3648
4251
  size: string;
3649
4252
  } & {
3650
4253
  date?: string | null | undefined;
3651
- } & {
3652
- text?: string;
3653
4254
  }) | {
3654
4255
  kind: "file";
3655
- text: string;
4256
+ }) & {
4257
+ text?: string;
3656
4258
  })) | ({
3657
4259
  __TYPE__: "MediaLink";
3658
4260
  } & {
3659
4261
  kind: "media";
3660
- text: string;
4262
+ } & {
4263
+ text?: string;
3661
4264
  }) | ({
3662
4265
  __TYPE__: "DocumentLink";
3663
4266
  } & (({
3664
4267
  id: string;
3665
- } & {
3666
- text?: string;
3667
- }) | {
4268
+ } | {
3668
4269
  kind: "document";
3669
- text: string;
4270
+ }) & {
4271
+ text?: string;
3670
4272
  })) | ({
3671
4273
  __TYPE__: "ExternalLink";
3672
- } & (({
4274
+ } & ((({
3673
4275
  url: string;
3674
4276
  } & {
3675
4277
  kind?: "web";
@@ -3677,17 +4279,85 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3677
4279
  preview?: {
3678
4280
  title?: string;
3679
4281
  } | null | undefined;
3680
- } & {
3681
- text?: string;
3682
4282
  }) | {
3683
4283
  kind: "web";
3684
- text: string;
4284
+ }) & {
4285
+ text?: string;
3685
4286
  })) | ({
3686
4287
  __TYPE__: "AnyLink";
3687
4288
  } & {
3688
- text: string;
4289
+ text?: string;
3689
4290
  });
3690
4291
  } | {
4292
+ __TYPE__: "RepeatableContent";
4293
+ type: "Link";
4294
+ value: {
4295
+ __TYPE__: "LinkContent";
4296
+ value: ({
4297
+ __TYPE__: "ImageLink";
4298
+ } & ((({
4299
+ kind: "image";
4300
+ id: string;
4301
+ url: string;
4302
+ height: string;
4303
+ width: string;
4304
+ size: string;
4305
+ name: string;
4306
+ } & {
4307
+ date?: string | null | undefined;
4308
+ }) | {
4309
+ kind: "image";
4310
+ }) & {
4311
+ text?: string;
4312
+ })) | ({
4313
+ __TYPE__: "FileLink";
4314
+ } & ((({
4315
+ kind: "file";
4316
+ id: string;
4317
+ url: string;
4318
+ name: string;
4319
+ size: string;
4320
+ } & {
4321
+ date?: string | null | undefined;
4322
+ }) | {
4323
+ kind: "file";
4324
+ }) & {
4325
+ text?: string;
4326
+ })) | ({
4327
+ __TYPE__: "MediaLink";
4328
+ } & {
4329
+ kind: "media";
4330
+ } & {
4331
+ text?: string;
4332
+ }) | ({
4333
+ __TYPE__: "DocumentLink";
4334
+ } & (({
4335
+ id: string;
4336
+ } | {
4337
+ kind: "document";
4338
+ }) & {
4339
+ text?: string;
4340
+ })) | ({
4341
+ __TYPE__: "ExternalLink";
4342
+ } & ((({
4343
+ url: string;
4344
+ } & {
4345
+ kind?: "web";
4346
+ target?: string | null | undefined;
4347
+ preview?: {
4348
+ title?: string;
4349
+ } | null | undefined;
4350
+ }) | {
4351
+ kind: "web";
4352
+ }) & {
4353
+ text?: string;
4354
+ })) | ({
4355
+ __TYPE__: "AnyLink";
4356
+ } & {
4357
+ text?: string;
4358
+ });
4359
+ }[];
4360
+ } | import("../GroupContent").GroupContent | {
3691
4361
  __TYPE__: "StructuredTextContent";
3692
4362
  value: (({
3693
4363
  type: "image";
@@ -3842,7 +4512,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3842
4512
  }))[];
3843
4513
  } | {
3844
4514
  __TYPE__: "SeparatorContent";
3845
- } | import("../GroupContent").GroupContent][];
4515
+ }][];
3846
4516
  }[];
3847
4517
  };
3848
4518
  }, WithTypes<{