@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
@@ -118,7 +118,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
118
118
  __TYPE__: t.LiteralC<"LinkContent">;
119
119
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
120
120
  __TYPE__: t.LiteralC<"ImageLink">;
121
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
121
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
122
122
  kind: t.Type<"image", "image", unknown>;
123
123
  id: t.StringC;
124
124
  url: t.StringC;
@@ -128,14 +128,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
128
128
  name: t.StringC;
129
129
  }>>, t.ExactC<t.PartialC<{
130
130
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
131
- }>>]>, t.ExactC<t.PartialC<{
132
- text: t.StringC;
133
131
  }>>]>, t.ExactC<t.TypeC<{
134
132
  kind: t.LiteralC<"image">;
133
+ }>>]>, t.ExactC<t.PartialC<{
135
134
  text: t.StringC;
136
135
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
137
136
  __TYPE__: t.LiteralC<"FileLink">;
138
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
137
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
139
138
  kind: t.Type<"file", "file", unknown>;
140
139
  id: t.StringC;
141
140
  url: t.StringC;
@@ -143,23 +142,21 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
143
142
  size: t.StringC;
144
143
  }>, t.PartialC<{
145
144
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
146
- }>]>>, t.ExactC<t.PartialC<{
147
- text: t.StringC;
148
- }>>]>, t.ExactC<t.TypeC<{
145
+ }>]>>, t.ExactC<t.TypeC<{
149
146
  kind: t.LiteralC<"file">;
147
+ }>>]>, t.ExactC<t.PartialC<{
150
148
  text: t.StringC;
151
149
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
152
150
  __TYPE__: t.LiteralC<"DocumentLink">;
153
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
151
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
154
152
  id: t.Type<string, string, unknown>;
155
- }>>, t.ExactC<t.PartialC<{
156
- text: t.StringC;
157
- }>>]>, t.ExactC<t.TypeC<{
153
+ }>>, t.ExactC<t.TypeC<{
158
154
  kind: t.LiteralC<"document">;
155
+ }>>]>, t.ExactC<t.PartialC<{
159
156
  text: t.StringC;
160
157
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
161
158
  __TYPE__: t.LiteralC<"ExternalLink">;
162
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
159
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
163
160
  url: t.StringC;
164
161
  }>, t.PartialC<{
165
162
  kind: t.LiteralC<"web">;
@@ -169,19 +166,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
169
166
  }, {
170
167
  title?: string;
171
168
  }, unknown>, t.NullC, t.UndefinedC]>;
172
- }>]>>, t.ExactC<t.PartialC<{
173
- text: t.StringC;
174
- }>>]>, t.ExactC<t.TypeC<{
169
+ }>]>>, t.ExactC<t.TypeC<{
175
170
  kind: t.LiteralC<"web">;
171
+ }>>]>, t.ExactC<t.PartialC<{
176
172
  text: t.StringC;
177
173
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
178
174
  __TYPE__: t.LiteralC<"MediaLink">;
179
- }>>, t.ExactC<t.TypeC<{
175
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
180
176
  kind: t.LiteralC<"media">;
177
+ }>>, t.ExactC<t.PartialC<{
181
178
  text: t.StringC;
182
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
179
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
183
180
  __TYPE__: t.LiteralC<"AnyLink">;
184
- }>>, t.ExactC<t.TypeC<{
181
+ }>>, t.ExactC<t.PartialC<{
185
182
  text: t.StringC;
186
183
  }>>]>]>;
187
184
  }>>, t.ExactC<t.TypeC<{
@@ -425,6 +422,77 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
425
422
  }>]>>]>>;
426
423
  }>>, t.ExactC<t.TypeC<{
427
424
  __TYPE__: t.LiteralC<"SeparatorContent">;
425
+ }>>, t.ExactC<t.TypeC<{
426
+ __TYPE__: t.LiteralC<"RepeatableContent">;
427
+ type: t.LiteralC<"Link">;
428
+ value: t.ArrayC<t.ExactC<t.TypeC<{
429
+ __TYPE__: t.LiteralC<"LinkContent">;
430
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
431
+ __TYPE__: t.LiteralC<"ImageLink">;
432
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
433
+ kind: t.Type<"image", "image", unknown>;
434
+ id: t.StringC;
435
+ url: t.StringC;
436
+ height: t.StringC;
437
+ width: t.StringC;
438
+ size: t.StringC;
439
+ name: t.StringC;
440
+ }>>, t.ExactC<t.PartialC<{
441
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
442
+ }>>]>, t.ExactC<t.TypeC<{
443
+ kind: t.LiteralC<"image">;
444
+ }>>]>, t.ExactC<t.PartialC<{
445
+ text: t.StringC;
446
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
447
+ __TYPE__: t.LiteralC<"FileLink">;
448
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
449
+ kind: t.Type<"file", "file", unknown>;
450
+ id: t.StringC;
451
+ url: t.StringC;
452
+ name: t.StringC;
453
+ size: t.StringC;
454
+ }>, t.PartialC<{
455
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
456
+ }>]>>, t.ExactC<t.TypeC<{
457
+ kind: t.LiteralC<"file">;
458
+ }>>]>, t.ExactC<t.PartialC<{
459
+ text: t.StringC;
460
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
461
+ __TYPE__: t.LiteralC<"DocumentLink">;
462
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
463
+ id: t.Type<string, string, unknown>;
464
+ }>>, t.ExactC<t.TypeC<{
465
+ kind: t.LiteralC<"document">;
466
+ }>>]>, t.ExactC<t.PartialC<{
467
+ text: t.StringC;
468
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
469
+ __TYPE__: t.LiteralC<"ExternalLink">;
470
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
471
+ url: t.StringC;
472
+ }>, t.PartialC<{
473
+ kind: t.LiteralC<"web">;
474
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
475
+ preview: t.UnionC<[t.Type<{
476
+ title?: string;
477
+ }, {
478
+ title?: string;
479
+ }, unknown>, t.NullC, t.UndefinedC]>;
480
+ }>]>>, t.ExactC<t.TypeC<{
481
+ kind: t.LiteralC<"web">;
482
+ }>>]>, t.ExactC<t.PartialC<{
483
+ text: t.StringC;
484
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
485
+ __TYPE__: t.LiteralC<"MediaLink">;
486
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
487
+ kind: t.LiteralC<"media">;
488
+ }>>, t.ExactC<t.PartialC<{
489
+ text: t.StringC;
490
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
491
+ __TYPE__: t.LiteralC<"AnyLink">;
492
+ }>>, t.ExactC<t.PartialC<{
493
+ text: t.StringC;
494
+ }>>]>]>;
495
+ }>>>;
428
496
  }>>]>, t.TypeC<{
429
497
  __TYPE__: t.LiteralC<"UIDContent">;
430
498
  value: t.StringC;
@@ -550,7 +618,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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
  }>>]>>;
861
997
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
862
998
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -974,7 +1110,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
974
1110
  __TYPE__: t.LiteralC<"LinkContent">;
975
1111
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
976
1112
  __TYPE__: t.LiteralC<"ImageLink">;
977
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1113
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
978
1114
  kind: t.Type<"image", "image", unknown>;
979
1115
  id: t.StringC;
980
1116
  url: t.StringC;
@@ -984,14 +1120,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
984
1120
  name: t.StringC;
985
1121
  }>>, t.ExactC<t.PartialC<{
986
1122
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
987
- }>>]>, t.ExactC<t.PartialC<{
988
- text: t.StringC;
989
1123
  }>>]>, t.ExactC<t.TypeC<{
990
1124
  kind: t.LiteralC<"image">;
1125
+ }>>]>, t.ExactC<t.PartialC<{
991
1126
  text: t.StringC;
992
1127
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
993
1128
  __TYPE__: t.LiteralC<"FileLink">;
994
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1129
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
995
1130
  kind: t.Type<"file", "file", unknown>;
996
1131
  id: t.StringC;
997
1132
  url: t.StringC;
@@ -999,23 +1134,21 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
999
1134
  size: t.StringC;
1000
1135
  }>, t.PartialC<{
1001
1136
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1002
- }>]>>, t.ExactC<t.PartialC<{
1003
- text: t.StringC;
1004
- }>>]>, t.ExactC<t.TypeC<{
1137
+ }>]>>, t.ExactC<t.TypeC<{
1005
1138
  kind: t.LiteralC<"file">;
1139
+ }>>]>, t.ExactC<t.PartialC<{
1006
1140
  text: t.StringC;
1007
1141
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1008
1142
  __TYPE__: t.LiteralC<"DocumentLink">;
1009
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1143
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1010
1144
  id: t.Type<string, string, unknown>;
1011
- }>>, t.ExactC<t.PartialC<{
1012
- text: t.StringC;
1013
- }>>]>, t.ExactC<t.TypeC<{
1145
+ }>>, t.ExactC<t.TypeC<{
1014
1146
  kind: t.LiteralC<"document">;
1147
+ }>>]>, t.ExactC<t.PartialC<{
1015
1148
  text: t.StringC;
1016
1149
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1017
1150
  __TYPE__: t.LiteralC<"ExternalLink">;
1018
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1151
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1019
1152
  url: t.StringC;
1020
1153
  }>, t.PartialC<{
1021
1154
  kind: t.LiteralC<"web">;
@@ -1025,19 +1158,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1025
1158
  }, {
1026
1159
  title?: string;
1027
1160
  }, unknown>, t.NullC, t.UndefinedC]>;
1028
- }>]>>, t.ExactC<t.PartialC<{
1029
- text: t.StringC;
1030
- }>>]>, t.ExactC<t.TypeC<{
1161
+ }>]>>, t.ExactC<t.TypeC<{
1031
1162
  kind: t.LiteralC<"web">;
1163
+ }>>]>, t.ExactC<t.PartialC<{
1032
1164
  text: t.StringC;
1033
1165
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1034
1166
  __TYPE__: t.LiteralC<"MediaLink">;
1035
- }>>, t.ExactC<t.TypeC<{
1167
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1036
1168
  kind: t.LiteralC<"media">;
1169
+ }>>, t.ExactC<t.PartialC<{
1037
1170
  text: t.StringC;
1038
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1171
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1039
1172
  __TYPE__: t.LiteralC<"AnyLink">;
1040
- }>>, t.ExactC<t.TypeC<{
1173
+ }>>, t.ExactC<t.PartialC<{
1041
1174
  text: t.StringC;
1042
1175
  }>>]>]>;
1043
1176
  }>>, t.ExactC<t.TypeC<{
@@ -1281,6 +1414,77 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1281
1414
  }>]>>]>>;
1282
1415
  }>>, t.ExactC<t.TypeC<{
1283
1416
  __TYPE__: t.LiteralC<"SeparatorContent">;
1417
+ }>>, t.ExactC<t.TypeC<{
1418
+ __TYPE__: t.LiteralC<"RepeatableContent">;
1419
+ type: t.LiteralC<"Link">;
1420
+ value: t.ArrayC<t.ExactC<t.TypeC<{
1421
+ __TYPE__: t.LiteralC<"LinkContent">;
1422
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1423
+ __TYPE__: t.LiteralC<"ImageLink">;
1424
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1425
+ kind: t.Type<"image", "image", unknown>;
1426
+ id: t.StringC;
1427
+ url: t.StringC;
1428
+ height: t.StringC;
1429
+ width: t.StringC;
1430
+ size: t.StringC;
1431
+ name: t.StringC;
1432
+ }>>, t.ExactC<t.PartialC<{
1433
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1434
+ }>>]>, t.ExactC<t.TypeC<{
1435
+ kind: t.LiteralC<"image">;
1436
+ }>>]>, t.ExactC<t.PartialC<{
1437
+ text: t.StringC;
1438
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1439
+ __TYPE__: t.LiteralC<"FileLink">;
1440
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1441
+ kind: t.Type<"file", "file", unknown>;
1442
+ id: t.StringC;
1443
+ url: t.StringC;
1444
+ name: t.StringC;
1445
+ size: t.StringC;
1446
+ }>, t.PartialC<{
1447
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1448
+ }>]>>, t.ExactC<t.TypeC<{
1449
+ kind: t.LiteralC<"file">;
1450
+ }>>]>, t.ExactC<t.PartialC<{
1451
+ text: t.StringC;
1452
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1453
+ __TYPE__: t.LiteralC<"DocumentLink">;
1454
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1455
+ id: t.Type<string, string, unknown>;
1456
+ }>>, t.ExactC<t.TypeC<{
1457
+ kind: t.LiteralC<"document">;
1458
+ }>>]>, t.ExactC<t.PartialC<{
1459
+ text: t.StringC;
1460
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1461
+ __TYPE__: t.LiteralC<"ExternalLink">;
1462
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1463
+ url: t.StringC;
1464
+ }>, t.PartialC<{
1465
+ kind: t.LiteralC<"web">;
1466
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1467
+ preview: t.UnionC<[t.Type<{
1468
+ title?: string;
1469
+ }, {
1470
+ title?: string;
1471
+ }, unknown>, t.NullC, t.UndefinedC]>;
1472
+ }>]>>, t.ExactC<t.TypeC<{
1473
+ kind: t.LiteralC<"web">;
1474
+ }>>]>, t.ExactC<t.PartialC<{
1475
+ text: t.StringC;
1476
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1477
+ __TYPE__: t.LiteralC<"MediaLink">;
1478
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1479
+ kind: t.LiteralC<"media">;
1480
+ }>>, t.ExactC<t.PartialC<{
1481
+ text: t.StringC;
1482
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1483
+ __TYPE__: t.LiteralC<"AnyLink">;
1484
+ }>>, t.ExactC<t.PartialC<{
1485
+ text: t.StringC;
1486
+ }>>]>]>;
1487
+ }>>>;
1284
1488
  }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
1285
1489
  }>>>;
1286
1490
  }>>, t.ExactC<t.TypeC<{
@@ -1400,7 +1604,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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("./fields").GroupContent, import("./fields").GroupContent, unknown>]>>;
1711
1983
  items: t.ArrayC<t.ExactC<t.TypeC<{
1712
1984
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -1824,7 +2096,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1824
2096
  __TYPE__: t.LiteralC<"LinkContent">;
1825
2097
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1826
2098
  __TYPE__: t.LiteralC<"ImageLink">;
1827
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2099
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1828
2100
  kind: t.Type<"image", "image", unknown>;
1829
2101
  id: t.StringC;
1830
2102
  url: t.StringC;
@@ -1834,14 +2106,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1834
2106
  name: t.StringC;
1835
2107
  }>>, t.ExactC<t.PartialC<{
1836
2108
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1837
- }>>]>, t.ExactC<t.PartialC<{
1838
- text: t.StringC;
1839
2109
  }>>]>, t.ExactC<t.TypeC<{
1840
2110
  kind: t.LiteralC<"image">;
2111
+ }>>]>, t.ExactC<t.PartialC<{
1841
2112
  text: t.StringC;
1842
2113
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1843
2114
  __TYPE__: t.LiteralC<"FileLink">;
1844
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2115
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1845
2116
  kind: t.Type<"file", "file", unknown>;
1846
2117
  id: t.StringC;
1847
2118
  url: t.StringC;
@@ -1849,23 +2120,21 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1849
2120
  size: t.StringC;
1850
2121
  }>, t.PartialC<{
1851
2122
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1852
- }>]>>, t.ExactC<t.PartialC<{
1853
- text: t.StringC;
1854
- }>>]>, t.ExactC<t.TypeC<{
2123
+ }>]>>, t.ExactC<t.TypeC<{
1855
2124
  kind: t.LiteralC<"file">;
2125
+ }>>]>, t.ExactC<t.PartialC<{
1856
2126
  text: t.StringC;
1857
2127
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1858
2128
  __TYPE__: t.LiteralC<"DocumentLink">;
1859
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2129
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1860
2130
  id: t.Type<string, string, unknown>;
1861
- }>>, t.ExactC<t.PartialC<{
1862
- text: t.StringC;
1863
- }>>]>, t.ExactC<t.TypeC<{
2131
+ }>>, t.ExactC<t.TypeC<{
1864
2132
  kind: t.LiteralC<"document">;
2133
+ }>>]>, t.ExactC<t.PartialC<{
1865
2134
  text: t.StringC;
1866
2135
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1867
2136
  __TYPE__: t.LiteralC<"ExternalLink">;
1868
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2137
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1869
2138
  url: t.StringC;
1870
2139
  }>, t.PartialC<{
1871
2140
  kind: t.LiteralC<"web">;
@@ -1875,19 +2144,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1875
2144
  }, {
1876
2145
  title?: string;
1877
2146
  }, unknown>, t.NullC, t.UndefinedC]>;
1878
- }>]>>, t.ExactC<t.PartialC<{
1879
- text: t.StringC;
1880
- }>>]>, t.ExactC<t.TypeC<{
2147
+ }>]>>, t.ExactC<t.TypeC<{
1881
2148
  kind: t.LiteralC<"web">;
2149
+ }>>]>, t.ExactC<t.PartialC<{
1882
2150
  text: t.StringC;
1883
2151
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1884
2152
  __TYPE__: t.LiteralC<"MediaLink">;
1885
- }>>, t.ExactC<t.TypeC<{
2153
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1886
2154
  kind: t.LiteralC<"media">;
2155
+ }>>, t.ExactC<t.PartialC<{
1887
2156
  text: t.StringC;
1888
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2157
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1889
2158
  __TYPE__: t.LiteralC<"AnyLink">;
1890
- }>>, t.ExactC<t.TypeC<{
2159
+ }>>, t.ExactC<t.PartialC<{
1891
2160
  text: t.StringC;
1892
2161
  }>>]>]>;
1893
2162
  }>>, t.ExactC<t.TypeC<{
@@ -2131,6 +2400,77 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2131
2400
  }>]>>]>>;
2132
2401
  }>>, t.ExactC<t.TypeC<{
2133
2402
  __TYPE__: t.LiteralC<"SeparatorContent">;
2403
+ }>>, t.ExactC<t.TypeC<{
2404
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2405
+ type: t.LiteralC<"Link">;
2406
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2407
+ __TYPE__: t.LiteralC<"LinkContent">;
2408
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2409
+ __TYPE__: t.LiteralC<"ImageLink">;
2410
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2411
+ kind: t.Type<"image", "image", unknown>;
2412
+ id: t.StringC;
2413
+ url: t.StringC;
2414
+ height: t.StringC;
2415
+ width: t.StringC;
2416
+ size: t.StringC;
2417
+ name: t.StringC;
2418
+ }>>, t.ExactC<t.PartialC<{
2419
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2420
+ }>>]>, t.ExactC<t.TypeC<{
2421
+ kind: t.LiteralC<"image">;
2422
+ }>>]>, t.ExactC<t.PartialC<{
2423
+ text: t.StringC;
2424
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2425
+ __TYPE__: t.LiteralC<"FileLink">;
2426
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2427
+ kind: t.Type<"file", "file", unknown>;
2428
+ id: t.StringC;
2429
+ url: t.StringC;
2430
+ name: t.StringC;
2431
+ size: t.StringC;
2432
+ }>, t.PartialC<{
2433
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2434
+ }>]>>, t.ExactC<t.TypeC<{
2435
+ kind: t.LiteralC<"file">;
2436
+ }>>]>, t.ExactC<t.PartialC<{
2437
+ text: t.StringC;
2438
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2439
+ __TYPE__: t.LiteralC<"DocumentLink">;
2440
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
2441
+ id: t.Type<string, string, unknown>;
2442
+ }>>, t.ExactC<t.TypeC<{
2443
+ kind: t.LiteralC<"document">;
2444
+ }>>]>, t.ExactC<t.PartialC<{
2445
+ text: t.StringC;
2446
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2447
+ __TYPE__: t.LiteralC<"ExternalLink">;
2448
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2449
+ url: t.StringC;
2450
+ }>, t.PartialC<{
2451
+ kind: t.LiteralC<"web">;
2452
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2453
+ preview: t.UnionC<[t.Type<{
2454
+ title?: string;
2455
+ }, {
2456
+ title?: string;
2457
+ }, unknown>, t.NullC, t.UndefinedC]>;
2458
+ }>]>>, t.ExactC<t.TypeC<{
2459
+ kind: t.LiteralC<"web">;
2460
+ }>>]>, t.ExactC<t.PartialC<{
2461
+ text: t.StringC;
2462
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2463
+ __TYPE__: t.LiteralC<"MediaLink">;
2464
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2465
+ kind: t.LiteralC<"media">;
2466
+ }>>, t.ExactC<t.PartialC<{
2467
+ text: t.StringC;
2468
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2469
+ __TYPE__: t.LiteralC<"AnyLink">;
2470
+ }>>, t.ExactC<t.PartialC<{
2471
+ text: t.StringC;
2472
+ }>>]>]>;
2473
+ }>>>;
2134
2474
  }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
2135
2475
  }>>>;
2136
2476
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -2247,7 +2587,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2247
2587
  __TYPE__: t.LiteralC<"LinkContent">;
2248
2588
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2249
2589
  __TYPE__: t.LiteralC<"ImageLink">;
2250
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2590
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2251
2591
  kind: t.Type<"image", "image", unknown>;
2252
2592
  id: t.StringC;
2253
2593
  url: t.StringC;
@@ -2257,14 +2597,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2257
2597
  name: t.StringC;
2258
2598
  }>>, t.ExactC<t.PartialC<{
2259
2599
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2260
- }>>]>, t.ExactC<t.PartialC<{
2261
- text: t.StringC;
2262
2600
  }>>]>, t.ExactC<t.TypeC<{
2263
2601
  kind: t.LiteralC<"image">;
2602
+ }>>]>, t.ExactC<t.PartialC<{
2264
2603
  text: t.StringC;
2265
2604
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2266
2605
  __TYPE__: t.LiteralC<"FileLink">;
2267
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2606
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2268
2607
  kind: t.Type<"file", "file", unknown>;
2269
2608
  id: t.StringC;
2270
2609
  url: t.StringC;
@@ -2272,23 +2611,21 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2272
2611
  size: t.StringC;
2273
2612
  }>, t.PartialC<{
2274
2613
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2275
- }>]>>, t.ExactC<t.PartialC<{
2276
- text: t.StringC;
2277
- }>>]>, t.ExactC<t.TypeC<{
2614
+ }>]>>, t.ExactC<t.TypeC<{
2278
2615
  kind: t.LiteralC<"file">;
2616
+ }>>]>, t.ExactC<t.PartialC<{
2279
2617
  text: t.StringC;
2280
2618
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2281
2619
  __TYPE__: t.LiteralC<"DocumentLink">;
2282
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2620
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
2283
2621
  id: t.Type<string, string, unknown>;
2284
- }>>, t.ExactC<t.PartialC<{
2285
- text: t.StringC;
2286
- }>>]>, t.ExactC<t.TypeC<{
2622
+ }>>, t.ExactC<t.TypeC<{
2287
2623
  kind: t.LiteralC<"document">;
2624
+ }>>]>, t.ExactC<t.PartialC<{
2288
2625
  text: t.StringC;
2289
2626
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2290
2627
  __TYPE__: t.LiteralC<"ExternalLink">;
2291
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2628
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2292
2629
  url: t.StringC;
2293
2630
  }>, t.PartialC<{
2294
2631
  kind: t.LiteralC<"web">;
@@ -2298,19 +2635,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2298
2635
  }, {
2299
2636
  title?: string;
2300
2637
  }, unknown>, t.NullC, t.UndefinedC]>;
2301
- }>]>>, t.ExactC<t.PartialC<{
2302
- text: t.StringC;
2303
- }>>]>, t.ExactC<t.TypeC<{
2638
+ }>]>>, t.ExactC<t.TypeC<{
2304
2639
  kind: t.LiteralC<"web">;
2640
+ }>>]>, t.ExactC<t.PartialC<{
2305
2641
  text: t.StringC;
2306
2642
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2307
2643
  __TYPE__: t.LiteralC<"MediaLink">;
2308
- }>>, t.ExactC<t.TypeC<{
2644
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2309
2645
  kind: t.LiteralC<"media">;
2646
+ }>>, t.ExactC<t.PartialC<{
2310
2647
  text: t.StringC;
2311
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2648
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2312
2649
  __TYPE__: t.LiteralC<"AnyLink">;
2313
- }>>, t.ExactC<t.TypeC<{
2650
+ }>>, t.ExactC<t.PartialC<{
2314
2651
  text: t.StringC;
2315
2652
  }>>]>]>;
2316
2653
  }>>, t.ExactC<t.TypeC<{
@@ -2554,6 +2891,77 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2554
2891
  }>]>>]>>;
2555
2892
  }>>, t.ExactC<t.TypeC<{
2556
2893
  __TYPE__: t.LiteralC<"SeparatorContent">;
2894
+ }>>, t.ExactC<t.TypeC<{
2895
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2896
+ type: t.LiteralC<"Link">;
2897
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2898
+ __TYPE__: t.LiteralC<"LinkContent">;
2899
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2900
+ __TYPE__: t.LiteralC<"ImageLink">;
2901
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2902
+ kind: t.Type<"image", "image", unknown>;
2903
+ id: t.StringC;
2904
+ url: t.StringC;
2905
+ height: t.StringC;
2906
+ width: t.StringC;
2907
+ size: t.StringC;
2908
+ name: t.StringC;
2909
+ }>>, t.ExactC<t.PartialC<{
2910
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2911
+ }>>]>, t.ExactC<t.TypeC<{
2912
+ kind: t.LiteralC<"image">;
2913
+ }>>]>, t.ExactC<t.PartialC<{
2914
+ text: t.StringC;
2915
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2916
+ __TYPE__: t.LiteralC<"FileLink">;
2917
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2918
+ kind: t.Type<"file", "file", unknown>;
2919
+ id: t.StringC;
2920
+ url: t.StringC;
2921
+ name: t.StringC;
2922
+ size: t.StringC;
2923
+ }>, t.PartialC<{
2924
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2925
+ }>]>>, t.ExactC<t.TypeC<{
2926
+ kind: t.LiteralC<"file">;
2927
+ }>>]>, t.ExactC<t.PartialC<{
2928
+ text: t.StringC;
2929
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2930
+ __TYPE__: t.LiteralC<"DocumentLink">;
2931
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
2932
+ id: t.Type<string, string, unknown>;
2933
+ }>>, t.ExactC<t.TypeC<{
2934
+ kind: t.LiteralC<"document">;
2935
+ }>>]>, t.ExactC<t.PartialC<{
2936
+ text: t.StringC;
2937
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2938
+ __TYPE__: t.LiteralC<"ExternalLink">;
2939
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2940
+ url: t.StringC;
2941
+ }>, t.PartialC<{
2942
+ kind: t.LiteralC<"web">;
2943
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2944
+ preview: t.UnionC<[t.Type<{
2945
+ title?: string;
2946
+ }, {
2947
+ title?: string;
2948
+ }, unknown>, t.NullC, t.UndefinedC]>;
2949
+ }>]>>, t.ExactC<t.TypeC<{
2950
+ kind: t.LiteralC<"web">;
2951
+ }>>]>, t.ExactC<t.PartialC<{
2952
+ text: t.StringC;
2953
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2954
+ __TYPE__: t.LiteralC<"MediaLink">;
2955
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2956
+ kind: t.LiteralC<"media">;
2957
+ }>>, t.ExactC<t.PartialC<{
2958
+ text: t.StringC;
2959
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2960
+ __TYPE__: t.LiteralC<"AnyLink">;
2961
+ }>>, t.ExactC<t.PartialC<{
2962
+ text: t.StringC;
2963
+ }>>]>]>;
2964
+ }>>>;
2557
2965
  }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>;
2558
2966
  }>>;
2559
2967
  }>]>>;
@@ -2574,7 +2982,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
2574
2982
  }): Document | undefined;
2575
2983
  declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
2576
2984
  export declare const DocumentLegacy: {
2577
- _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"> | undefined) => t.Type<{
2985
+ _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID" | "Repeatable.Link"> | undefined) => t.Type<{
2578
2986
  [x: string]: {
2579
2987
  type: string;
2580
2988
  __TYPE__: "EmptyContent";
@@ -2691,7 +3099,7 @@ export declare const DocumentLegacy: {
2691
3099
  __TYPE__: "LinkContent";
2692
3100
  value: ({
2693
3101
  __TYPE__: "ImageLink";
2694
- } & (({
3102
+ } & ((({
2695
3103
  kind: "image";
2696
3104
  id: string;
2697
3105
  url: string;
@@ -2701,14 +3109,13 @@ export declare const DocumentLegacy: {
2701
3109
  name: string;
2702
3110
  } & {
2703
3111
  date?: string | null | undefined;
2704
- } & {
2705
- text?: string;
2706
3112
  }) | {
2707
3113
  kind: "image";
2708
- text: string;
3114
+ }) & {
3115
+ text?: string;
2709
3116
  })) | ({
2710
3117
  __TYPE__: "FileLink";
2711
- } & (({
3118
+ } & ((({
2712
3119
  kind: "file";
2713
3120
  id: string;
2714
3121
  url: string;
@@ -2716,28 +3123,27 @@ export declare const DocumentLegacy: {
2716
3123
  size: string;
2717
3124
  } & {
2718
3125
  date?: string | null | undefined;
2719
- } & {
2720
- text?: string;
2721
3126
  }) | {
2722
3127
  kind: "file";
2723
- text: string;
3128
+ }) & {
3129
+ text?: string;
2724
3130
  })) | ({
2725
3131
  __TYPE__: "MediaLink";
2726
3132
  } & {
2727
3133
  kind: "media";
2728
- text: string;
3134
+ } & {
3135
+ text?: string;
2729
3136
  }) | ({
2730
3137
  __TYPE__: "DocumentLink";
2731
3138
  } & (({
2732
3139
  id: string;
2733
- } & {
2734
- text?: string;
2735
- }) | {
3140
+ } | {
2736
3141
  kind: "document";
2737
- text: string;
3142
+ }) & {
3143
+ text?: string;
2738
3144
  })) | ({
2739
3145
  __TYPE__: "ExternalLink";
2740
- } & (({
3146
+ } & ((({
2741
3147
  url: string;
2742
3148
  } & {
2743
3149
  kind?: "web";
@@ -2745,17 +3151,85 @@ export declare const DocumentLegacy: {
2745
3151
  preview?: {
2746
3152
  title?: string;
2747
3153
  } | null | undefined;
2748
- } & {
2749
- text?: string;
2750
3154
  }) | {
2751
3155
  kind: "web";
2752
- text: string;
3156
+ }) & {
3157
+ text?: string;
2753
3158
  })) | ({
2754
3159
  __TYPE__: "AnyLink";
2755
3160
  } & {
2756
- text: string;
3161
+ text?: string;
2757
3162
  });
2758
3163
  } | {
3164
+ __TYPE__: "RepeatableContent";
3165
+ type: "Link";
3166
+ value: {
3167
+ __TYPE__: "LinkContent";
3168
+ value: ({
3169
+ __TYPE__: "ImageLink";
3170
+ } & ((({
3171
+ kind: "image";
3172
+ id: string;
3173
+ url: string;
3174
+ height: string;
3175
+ width: string;
3176
+ size: string;
3177
+ name: string;
3178
+ } & {
3179
+ date?: string | null | undefined;
3180
+ }) | {
3181
+ kind: "image";
3182
+ }) & {
3183
+ text?: string;
3184
+ })) | ({
3185
+ __TYPE__: "FileLink";
3186
+ } & ((({
3187
+ kind: "file";
3188
+ id: string;
3189
+ url: string;
3190
+ name: string;
3191
+ size: string;
3192
+ } & {
3193
+ date?: string | null | undefined;
3194
+ }) | {
3195
+ kind: "file";
3196
+ }) & {
3197
+ text?: string;
3198
+ })) | ({
3199
+ __TYPE__: "MediaLink";
3200
+ } & {
3201
+ kind: "media";
3202
+ } & {
3203
+ text?: string;
3204
+ }) | ({
3205
+ __TYPE__: "DocumentLink";
3206
+ } & (({
3207
+ id: string;
3208
+ } | {
3209
+ kind: "document";
3210
+ }) & {
3211
+ text?: string;
3212
+ })) | ({
3213
+ __TYPE__: "ExternalLink";
3214
+ } & ((({
3215
+ url: string;
3216
+ } & {
3217
+ kind?: "web";
3218
+ target?: string | null | undefined;
3219
+ preview?: {
3220
+ title?: string;
3221
+ } | null | undefined;
3222
+ }) | {
3223
+ kind: "web";
3224
+ }) & {
3225
+ text?: string;
3226
+ })) | ({
3227
+ __TYPE__: "AnyLink";
3228
+ } & {
3229
+ text?: string;
3230
+ });
3231
+ }[];
3232
+ } | import("./fields").GroupContent | {
2759
3233
  __TYPE__: "StructuredTextContent";
2760
3234
  value: (({
2761
3235
  type: "image";
@@ -2910,7 +3384,7 @@ export declare const DocumentLegacy: {
2910
3384
  }))[];
2911
3385
  } | {
2912
3386
  __TYPE__: "SeparatorContent";
2913
- } | import("./fields").GroupContent | {
3387
+ } | {
2914
3388
  __TYPE__: "UIDContent";
2915
3389
  value: string;
2916
3390
  } | {
@@ -3035,7 +3509,7 @@ export declare const DocumentLegacy: {
3035
3509
  __TYPE__: "LinkContent";
3036
3510
  value: ({
3037
3511
  __TYPE__: "ImageLink";
3038
- } & (({
3512
+ } & ((({
3039
3513
  kind: "image";
3040
3514
  id: string;
3041
3515
  url: string;
@@ -3045,14 +3519,13 @@ export declare const DocumentLegacy: {
3045
3519
  name: string;
3046
3520
  } & {
3047
3521
  date?: string | null | undefined;
3048
- } & {
3049
- text?: string;
3050
3522
  }) | {
3051
3523
  kind: "image";
3052
- text: string;
3524
+ }) & {
3525
+ text?: string;
3053
3526
  })) | ({
3054
3527
  __TYPE__: "FileLink";
3055
- } & (({
3528
+ } & ((({
3056
3529
  kind: "file";
3057
3530
  id: string;
3058
3531
  url: string;
@@ -3060,28 +3533,27 @@ export declare const DocumentLegacy: {
3060
3533
  size: string;
3061
3534
  } & {
3062
3535
  date?: string | null | undefined;
3063
- } & {
3064
- text?: string;
3065
3536
  }) | {
3066
3537
  kind: "file";
3067
- text: string;
3538
+ }) & {
3539
+ text?: string;
3068
3540
  })) | ({
3069
3541
  __TYPE__: "MediaLink";
3070
3542
  } & {
3071
3543
  kind: "media";
3072
- text: string;
3544
+ } & {
3545
+ text?: string;
3073
3546
  }) | ({
3074
3547
  __TYPE__: "DocumentLink";
3075
3548
  } & (({
3076
3549
  id: string;
3077
- } & {
3078
- text?: string;
3079
- }) | {
3550
+ } | {
3080
3551
  kind: "document";
3081
- text: string;
3552
+ }) & {
3553
+ text?: string;
3082
3554
  })) | ({
3083
3555
  __TYPE__: "ExternalLink";
3084
- } & (({
3556
+ } & ((({
3085
3557
  url: string;
3086
3558
  } & {
3087
3559
  kind?: "web";
@@ -3089,43 +3561,111 @@ export declare const DocumentLegacy: {
3089
3561
  preview?: {
3090
3562
  title?: string;
3091
3563
  } | null | undefined;
3092
- } & {
3093
- text?: string;
3094
3564
  }) | {
3095
3565
  kind: "web";
3096
- text: string;
3566
+ }) & {
3567
+ text?: string;
3097
3568
  })) | ({
3098
3569
  __TYPE__: "AnyLink";
3099
3570
  } & {
3100
- text: string;
3571
+ text?: string;
3101
3572
  });
3102
3573
  } | {
3103
- __TYPE__: "StructuredTextContent";
3104
- value: (({
3105
- type: "image";
3106
- data: {
3107
- origin: {
3108
- id: string;
3109
- url: string;
3110
- width: number;
3111
- height: number;
3112
- };
3113
- width: number;
3114
- height: number;
3115
- edit: {
3116
- zoom: number;
3117
- crop: {
3118
- x: number;
3119
- y: number;
3120
- };
3121
- background: string;
3122
- };
3123
- } & {
3124
- url?: string;
3125
- credits?: string | null;
3126
- alt?: string | null;
3127
- provider?: string | null | undefined;
3128
- } & {
3574
+ __TYPE__: "RepeatableContent";
3575
+ type: "Link";
3576
+ value: {
3577
+ __TYPE__: "LinkContent";
3578
+ value: ({
3579
+ __TYPE__: "ImageLink";
3580
+ } & ((({
3581
+ kind: "image";
3582
+ id: string;
3583
+ url: string;
3584
+ height: string;
3585
+ width: string;
3586
+ size: string;
3587
+ name: string;
3588
+ } & {
3589
+ date?: string | null | undefined;
3590
+ }) | {
3591
+ kind: "image";
3592
+ }) & {
3593
+ text?: string;
3594
+ })) | ({
3595
+ __TYPE__: "FileLink";
3596
+ } & ((({
3597
+ kind: "file";
3598
+ id: string;
3599
+ url: string;
3600
+ name: string;
3601
+ size: string;
3602
+ } & {
3603
+ date?: string | null | undefined;
3604
+ }) | {
3605
+ kind: "file";
3606
+ }) & {
3607
+ text?: string;
3608
+ })) | ({
3609
+ __TYPE__: "MediaLink";
3610
+ } & {
3611
+ kind: "media";
3612
+ } & {
3613
+ text?: string;
3614
+ }) | ({
3615
+ __TYPE__: "DocumentLink";
3616
+ } & (({
3617
+ id: string;
3618
+ } | {
3619
+ kind: "document";
3620
+ }) & {
3621
+ text?: string;
3622
+ })) | ({
3623
+ __TYPE__: "ExternalLink";
3624
+ } & ((({
3625
+ url: string;
3626
+ } & {
3627
+ kind?: "web";
3628
+ target?: string | null | undefined;
3629
+ preview?: {
3630
+ title?: string;
3631
+ } | null | undefined;
3632
+ }) | {
3633
+ kind: "web";
3634
+ }) & {
3635
+ text?: string;
3636
+ })) | ({
3637
+ __TYPE__: "AnyLink";
3638
+ } & {
3639
+ text?: string;
3640
+ });
3641
+ }[];
3642
+ } | import("./fields").GroupContent | {
3643
+ __TYPE__: "StructuredTextContent";
3644
+ value: (({
3645
+ type: "image";
3646
+ data: {
3647
+ origin: {
3648
+ id: string;
3649
+ url: string;
3650
+ width: number;
3651
+ height: number;
3652
+ };
3653
+ width: number;
3654
+ height: number;
3655
+ edit: {
3656
+ zoom: number;
3657
+ crop: {
3658
+ x: number;
3659
+ y: number;
3660
+ };
3661
+ background: string;
3662
+ };
3663
+ } & {
3664
+ url?: string;
3665
+ credits?: string | null;
3666
+ alt?: string | null;
3667
+ provider?: string | null | undefined;
3668
+ } & {
3129
3669
  linkTo?: ({
3130
3670
  __TYPE__: "ImageLink";
3131
3671
  } & {
@@ -3254,7 +3794,7 @@ export declare const DocumentLegacy: {
3254
3794
  }))[];
3255
3795
  } | {
3256
3796
  __TYPE__: "SeparatorContent";
3257
- } | import("./fields").GroupContent | {
3797
+ } | {
3258
3798
  __TYPE__: "CompositeSliceContent";
3259
3799
  nonRepeat: {
3260
3800
  [x: string]: {
@@ -3373,7 +3913,7 @@ export declare const DocumentLegacy: {
3373
3913
  __TYPE__: "LinkContent";
3374
3914
  value: ({
3375
3915
  __TYPE__: "ImageLink";
3376
- } & (({
3916
+ } & ((({
3377
3917
  kind: "image";
3378
3918
  id: string;
3379
3919
  url: string;
@@ -3383,14 +3923,13 @@ export declare const DocumentLegacy: {
3383
3923
  name: string;
3384
3924
  } & {
3385
3925
  date?: string | null | undefined;
3386
- } & {
3387
- text?: string;
3388
3926
  }) | {
3389
3927
  kind: "image";
3390
- text: string;
3928
+ }) & {
3929
+ text?: string;
3391
3930
  })) | ({
3392
3931
  __TYPE__: "FileLink";
3393
- } & (({
3932
+ } & ((({
3394
3933
  kind: "file";
3395
3934
  id: string;
3396
3935
  url: string;
@@ -3398,28 +3937,27 @@ export declare const DocumentLegacy: {
3398
3937
  size: string;
3399
3938
  } & {
3400
3939
  date?: string | null | undefined;
3401
- } & {
3402
- text?: string;
3403
3940
  }) | {
3404
3941
  kind: "file";
3405
- text: string;
3942
+ }) & {
3943
+ text?: string;
3406
3944
  })) | ({
3407
3945
  __TYPE__: "MediaLink";
3408
3946
  } & {
3409
3947
  kind: "media";
3410
- text: string;
3948
+ } & {
3949
+ text?: string;
3411
3950
  }) | ({
3412
3951
  __TYPE__: "DocumentLink";
3413
3952
  } & (({
3414
3953
  id: string;
3415
- } & {
3416
- text?: string;
3417
- }) | {
3954
+ } | {
3418
3955
  kind: "document";
3419
- text: string;
3956
+ }) & {
3957
+ text?: string;
3420
3958
  })) | ({
3421
3959
  __TYPE__: "ExternalLink";
3422
- } & (({
3960
+ } & ((({
3423
3961
  url: string;
3424
3962
  } & {
3425
3963
  kind?: "web";
@@ -3427,16 +3965,84 @@ export declare const DocumentLegacy: {
3427
3965
  preview?: {
3428
3966
  title?: string;
3429
3967
  } | null | undefined;
3430
- } & {
3431
- text?: string;
3432
3968
  }) | {
3433
3969
  kind: "web";
3434
- text: string;
3970
+ }) & {
3971
+ text?: string;
3435
3972
  })) | ({
3436
3973
  __TYPE__: "AnyLink";
3437
3974
  } & {
3438
- text: string;
3975
+ text?: string;
3439
3976
  });
3977
+ } | {
3978
+ __TYPE__: "RepeatableContent";
3979
+ type: "Link";
3980
+ value: {
3981
+ __TYPE__: "LinkContent";
3982
+ value: ({
3983
+ __TYPE__: "ImageLink";
3984
+ } & ((({
3985
+ kind: "image";
3986
+ id: string;
3987
+ url: string;
3988
+ height: string;
3989
+ width: string;
3990
+ size: string;
3991
+ name: string;
3992
+ } & {
3993
+ date?: string | null | undefined;
3994
+ }) | {
3995
+ kind: "image";
3996
+ }) & {
3997
+ text?: string;
3998
+ })) | ({
3999
+ __TYPE__: "FileLink";
4000
+ } & ((({
4001
+ kind: "file";
4002
+ id: string;
4003
+ url: string;
4004
+ name: string;
4005
+ size: string;
4006
+ } & {
4007
+ date?: string | null | undefined;
4008
+ }) | {
4009
+ kind: "file";
4010
+ }) & {
4011
+ text?: string;
4012
+ })) | ({
4013
+ __TYPE__: "MediaLink";
4014
+ } & {
4015
+ kind: "media";
4016
+ } & {
4017
+ text?: string;
4018
+ }) | ({
4019
+ __TYPE__: "DocumentLink";
4020
+ } & (({
4021
+ id: string;
4022
+ } | {
4023
+ kind: "document";
4024
+ }) & {
4025
+ text?: string;
4026
+ })) | ({
4027
+ __TYPE__: "ExternalLink";
4028
+ } & ((({
4029
+ url: string;
4030
+ } & {
4031
+ kind?: "web";
4032
+ target?: string | null | undefined;
4033
+ preview?: {
4034
+ title?: string;
4035
+ } | null | undefined;
4036
+ }) | {
4037
+ kind: "web";
4038
+ }) & {
4039
+ text?: string;
4040
+ })) | ({
4041
+ __TYPE__: "AnyLink";
4042
+ } & {
4043
+ text?: string;
4044
+ });
4045
+ }[];
3440
4046
  } | {
3441
4047
  __TYPE__: "StructuredTextContent";
3442
4048
  value: (({
@@ -3712,7 +4318,7 @@ export declare const DocumentLegacy: {
3712
4318
  __TYPE__: "LinkContent";
3713
4319
  value: ({
3714
4320
  __TYPE__: "ImageLink";
3715
- } & (({
4321
+ } & ((({
3716
4322
  kind: "image";
3717
4323
  id: string;
3718
4324
  url: string;
@@ -3722,14 +4328,13 @@ export declare const DocumentLegacy: {
3722
4328
  name: string;
3723
4329
  } & {
3724
4330
  date?: string | null | undefined;
3725
- } & {
3726
- text?: string;
3727
4331
  }) | {
3728
4332
  kind: "image";
3729
- text: string;
4333
+ }) & {
4334
+ text?: string;
3730
4335
  })) | ({
3731
4336
  __TYPE__: "FileLink";
3732
- } & (({
4337
+ } & ((({
3733
4338
  kind: "file";
3734
4339
  id: string;
3735
4340
  url: string;
@@ -3737,28 +4342,27 @@ export declare const DocumentLegacy: {
3737
4342
  size: string;
3738
4343
  } & {
3739
4344
  date?: string | null | undefined;
3740
- } & {
3741
- text?: string;
3742
4345
  }) | {
3743
4346
  kind: "file";
3744
- text: string;
4347
+ }) & {
4348
+ text?: string;
3745
4349
  })) | ({
3746
4350
  __TYPE__: "MediaLink";
3747
4351
  } & {
3748
4352
  kind: "media";
3749
- text: string;
4353
+ } & {
4354
+ text?: string;
3750
4355
  }) | ({
3751
4356
  __TYPE__: "DocumentLink";
3752
4357
  } & (({
3753
4358
  id: string;
3754
- } & {
3755
- text?: string;
3756
- }) | {
4359
+ } | {
3757
4360
  kind: "document";
3758
- text: string;
4361
+ }) & {
4362
+ text?: string;
3759
4363
  })) | ({
3760
4364
  __TYPE__: "ExternalLink";
3761
- } & (({
4365
+ } & ((({
3762
4366
  url: string;
3763
4367
  } & {
3764
4368
  kind?: "web";
@@ -3766,17 +4370,85 @@ export declare const DocumentLegacy: {
3766
4370
  preview?: {
3767
4371
  title?: string;
3768
4372
  } | null | undefined;
3769
- } & {
3770
- text?: string;
3771
4373
  }) | {
3772
4374
  kind: "web";
3773
- text: string;
4375
+ }) & {
4376
+ text?: string;
3774
4377
  })) | ({
3775
4378
  __TYPE__: "AnyLink";
3776
4379
  } & {
3777
- text: string;
4380
+ text?: string;
3778
4381
  });
3779
4382
  } | {
4383
+ __TYPE__: "RepeatableContent";
4384
+ type: "Link";
4385
+ value: {
4386
+ __TYPE__: "LinkContent";
4387
+ value: ({
4388
+ __TYPE__: "ImageLink";
4389
+ } & ((({
4390
+ kind: "image";
4391
+ id: string;
4392
+ url: string;
4393
+ height: string;
4394
+ width: string;
4395
+ size: string;
4396
+ name: string;
4397
+ } & {
4398
+ date?: string | null | undefined;
4399
+ }) | {
4400
+ kind: "image";
4401
+ }) & {
4402
+ text?: string;
4403
+ })) | ({
4404
+ __TYPE__: "FileLink";
4405
+ } & ((({
4406
+ kind: "file";
4407
+ id: string;
4408
+ url: string;
4409
+ name: string;
4410
+ size: string;
4411
+ } & {
4412
+ date?: string | null | undefined;
4413
+ }) | {
4414
+ kind: "file";
4415
+ }) & {
4416
+ text?: string;
4417
+ })) | ({
4418
+ __TYPE__: "MediaLink";
4419
+ } & {
4420
+ kind: "media";
4421
+ } & {
4422
+ text?: string;
4423
+ }) | ({
4424
+ __TYPE__: "DocumentLink";
4425
+ } & (({
4426
+ id: string;
4427
+ } | {
4428
+ kind: "document";
4429
+ }) & {
4430
+ text?: string;
4431
+ })) | ({
4432
+ __TYPE__: "ExternalLink";
4433
+ } & ((({
4434
+ url: string;
4435
+ } & {
4436
+ kind?: "web";
4437
+ target?: string | null | undefined;
4438
+ preview?: {
4439
+ title?: string;
4440
+ } | null | undefined;
4441
+ }) | {
4442
+ kind: "web";
4443
+ }) & {
4444
+ text?: string;
4445
+ })) | ({
4446
+ __TYPE__: "AnyLink";
4447
+ } & {
4448
+ text?: string;
4449
+ });
4450
+ }[];
4451
+ } | import("./fields").GroupContent | {
3780
4452
  __TYPE__: "StructuredTextContent";
3781
4453
  value: (({
3782
4454
  type: "image";
@@ -3931,7 +4603,7 @@ export declare const DocumentLegacy: {
3931
4603
  }))[];
3932
4604
  } | {
3933
4605
  __TYPE__: "SeparatorContent";
3934
- } | import("./fields").GroupContent][];
4606
+ }][];
3935
4607
  }[];
3936
4608
  } | {
3937
4609
  __TYPE__: "SharedSliceContent";
@@ -4053,7 +4725,7 @@ export declare const DocumentLegacy: {
4053
4725
  __TYPE__: "LinkContent";
4054
4726
  value: ({
4055
4727
  __TYPE__: "ImageLink";
4056
- } & (({
4728
+ } & ((({
4057
4729
  kind: "image";
4058
4730
  id: string;
4059
4731
  url: string;
@@ -4063,14 +4735,13 @@ export declare const DocumentLegacy: {
4063
4735
  name: string;
4064
4736
  } & {
4065
4737
  date?: string | null | undefined;
4066
- } & {
4067
- text?: string;
4068
4738
  }) | {
4069
4739
  kind: "image";
4070
- text: string;
4740
+ }) & {
4741
+ text?: string;
4071
4742
  })) | ({
4072
4743
  __TYPE__: "FileLink";
4073
- } & (({
4744
+ } & ((({
4074
4745
  kind: "file";
4075
4746
  id: string;
4076
4747
  url: string;
@@ -4078,28 +4749,27 @@ export declare const DocumentLegacy: {
4078
4749
  size: string;
4079
4750
  } & {
4080
4751
  date?: string | null | undefined;
4081
- } & {
4082
- text?: string;
4083
4752
  }) | {
4084
4753
  kind: "file";
4085
- text: string;
4754
+ }) & {
4755
+ text?: string;
4086
4756
  })) | ({
4087
4757
  __TYPE__: "MediaLink";
4088
4758
  } & {
4089
4759
  kind: "media";
4090
- text: string;
4760
+ } & {
4761
+ text?: string;
4091
4762
  }) | ({
4092
4763
  __TYPE__: "DocumentLink";
4093
4764
  } & (({
4094
4765
  id: string;
4095
- } & {
4096
- text?: string;
4097
- }) | {
4766
+ } | {
4098
4767
  kind: "document";
4099
- text: string;
4768
+ }) & {
4769
+ text?: string;
4100
4770
  })) | ({
4101
4771
  __TYPE__: "ExternalLink";
4102
- } & (({
4772
+ } & ((({
4103
4773
  url: string;
4104
4774
  } & {
4105
4775
  kind?: "web";
@@ -4107,17 +4777,85 @@ export declare const DocumentLegacy: {
4107
4777
  preview?: {
4108
4778
  title?: string;
4109
4779
  } | null | undefined;
4110
- } & {
4111
- text?: string;
4112
4780
  }) | {
4113
4781
  kind: "web";
4114
- text: string;
4782
+ }) & {
4783
+ text?: string;
4115
4784
  })) | ({
4116
4785
  __TYPE__: "AnyLink";
4117
4786
  } & {
4118
- text: string;
4787
+ text?: string;
4119
4788
  });
4120
4789
  } | {
4790
+ __TYPE__: "RepeatableContent";
4791
+ type: "Link";
4792
+ value: {
4793
+ __TYPE__: "LinkContent";
4794
+ value: ({
4795
+ __TYPE__: "ImageLink";
4796
+ } & ((({
4797
+ kind: "image";
4798
+ id: string;
4799
+ url: string;
4800
+ height: string;
4801
+ width: string;
4802
+ size: string;
4803
+ name: string;
4804
+ } & {
4805
+ date?: string | null | undefined;
4806
+ }) | {
4807
+ kind: "image";
4808
+ }) & {
4809
+ text?: string;
4810
+ })) | ({
4811
+ __TYPE__: "FileLink";
4812
+ } & ((({
4813
+ kind: "file";
4814
+ id: string;
4815
+ url: string;
4816
+ name: string;
4817
+ size: string;
4818
+ } & {
4819
+ date?: string | null | undefined;
4820
+ }) | {
4821
+ kind: "file";
4822
+ }) & {
4823
+ text?: string;
4824
+ })) | ({
4825
+ __TYPE__: "MediaLink";
4826
+ } & {
4827
+ kind: "media";
4828
+ } & {
4829
+ text?: string;
4830
+ }) | ({
4831
+ __TYPE__: "DocumentLink";
4832
+ } & (({
4833
+ id: string;
4834
+ } | {
4835
+ kind: "document";
4836
+ }) & {
4837
+ text?: string;
4838
+ })) | ({
4839
+ __TYPE__: "ExternalLink";
4840
+ } & ((({
4841
+ url: string;
4842
+ } & {
4843
+ kind?: "web";
4844
+ target?: string | null | undefined;
4845
+ preview?: {
4846
+ title?: string;
4847
+ } | null | undefined;
4848
+ }) | {
4849
+ kind: "web";
4850
+ }) & {
4851
+ text?: string;
4852
+ })) | ({
4853
+ __TYPE__: "AnyLink";
4854
+ } & {
4855
+ text?: string;
4856
+ });
4857
+ }[];
4858
+ } | import("./fields").GroupContent | {
4121
4859
  __TYPE__: "StructuredTextContent";
4122
4860
  value: (({
4123
4861
  type: "image";
@@ -4272,7 +5010,7 @@ export declare const DocumentLegacy: {
4272
5010
  }))[];
4273
5011
  } | {
4274
5012
  __TYPE__: "SeparatorContent";
4275
- } | import("./fields").GroupContent;
5013
+ };
4276
5014
  };
4277
5015
  items: {
4278
5016
  __TYPE__: "GroupItemContent";
@@ -4392,7 +5130,7 @@ export declare const DocumentLegacy: {
4392
5130
  __TYPE__: "LinkContent";
4393
5131
  value: ({
4394
5132
  __TYPE__: "ImageLink";
4395
- } & (({
5133
+ } & ((({
4396
5134
  kind: "image";
4397
5135
  id: string;
4398
5136
  url: string;
@@ -4402,14 +5140,13 @@ export declare const DocumentLegacy: {
4402
5140
  name: string;
4403
5141
  } & {
4404
5142
  date?: string | null | undefined;
4405
- } & {
4406
- text?: string;
4407
5143
  }) | {
4408
5144
  kind: "image";
4409
- text: string;
5145
+ }) & {
5146
+ text?: string;
4410
5147
  })) | ({
4411
5148
  __TYPE__: "FileLink";
4412
- } & (({
5149
+ } & ((({
4413
5150
  kind: "file";
4414
5151
  id: string;
4415
5152
  url: string;
@@ -4417,28 +5154,27 @@ export declare const DocumentLegacy: {
4417
5154
  size: string;
4418
5155
  } & {
4419
5156
  date?: string | null | undefined;
4420
- } & {
4421
- text?: string;
4422
5157
  }) | {
4423
5158
  kind: "file";
4424
- text: string;
5159
+ }) & {
5160
+ text?: string;
4425
5161
  })) | ({
4426
5162
  __TYPE__: "MediaLink";
4427
5163
  } & {
4428
5164
  kind: "media";
4429
- text: string;
5165
+ } & {
5166
+ text?: string;
4430
5167
  }) | ({
4431
5168
  __TYPE__: "DocumentLink";
4432
5169
  } & (({
4433
5170
  id: string;
4434
- } & {
4435
- text?: string;
4436
- }) | {
5171
+ } | {
4437
5172
  kind: "document";
4438
- text: string;
5173
+ }) & {
5174
+ text?: string;
4439
5175
  })) | ({
4440
5176
  __TYPE__: "ExternalLink";
4441
- } & (({
5177
+ } & ((({
4442
5178
  url: string;
4443
5179
  } & {
4444
5180
  kind?: "web";
@@ -4446,17 +5182,85 @@ export declare const DocumentLegacy: {
4446
5182
  preview?: {
4447
5183
  title?: string;
4448
5184
  } | null | undefined;
4449
- } & {
4450
- text?: string;
4451
5185
  }) | {
4452
5186
  kind: "web";
4453
- text: string;
5187
+ }) & {
5188
+ text?: string;
4454
5189
  })) | ({
4455
5190
  __TYPE__: "AnyLink";
4456
5191
  } & {
4457
- text: string;
5192
+ text?: string;
4458
5193
  });
4459
5194
  } | {
5195
+ __TYPE__: "RepeatableContent";
5196
+ type: "Link";
5197
+ value: {
5198
+ __TYPE__: "LinkContent";
5199
+ value: ({
5200
+ __TYPE__: "ImageLink";
5201
+ } & ((({
5202
+ kind: "image";
5203
+ id: string;
5204
+ url: string;
5205
+ height: string;
5206
+ width: string;
5207
+ size: string;
5208
+ name: string;
5209
+ } & {
5210
+ date?: string | null | undefined;
5211
+ }) | {
5212
+ kind: "image";
5213
+ }) & {
5214
+ text?: string;
5215
+ })) | ({
5216
+ __TYPE__: "FileLink";
5217
+ } & ((({
5218
+ kind: "file";
5219
+ id: string;
5220
+ url: string;
5221
+ name: string;
5222
+ size: string;
5223
+ } & {
5224
+ date?: string | null | undefined;
5225
+ }) | {
5226
+ kind: "file";
5227
+ }) & {
5228
+ text?: string;
5229
+ })) | ({
5230
+ __TYPE__: "MediaLink";
5231
+ } & {
5232
+ kind: "media";
5233
+ } & {
5234
+ text?: string;
5235
+ }) | ({
5236
+ __TYPE__: "DocumentLink";
5237
+ } & (({
5238
+ id: string;
5239
+ } | {
5240
+ kind: "document";
5241
+ }) & {
5242
+ text?: string;
5243
+ })) | ({
5244
+ __TYPE__: "ExternalLink";
5245
+ } & ((({
5246
+ url: string;
5247
+ } & {
5248
+ kind?: "web";
5249
+ target?: string | null | undefined;
5250
+ preview?: {
5251
+ title?: string;
5252
+ } | null | undefined;
5253
+ }) | {
5254
+ kind: "web";
5255
+ }) & {
5256
+ text?: string;
5257
+ })) | ({
5258
+ __TYPE__: "AnyLink";
5259
+ } & {
5260
+ text?: string;
5261
+ });
5262
+ }[];
5263
+ } | import("./fields").GroupContent | {
4460
5264
  __TYPE__: "StructuredTextContent";
4461
5265
  value: (({
4462
5266
  type: "image";
@@ -4611,7 +5415,7 @@ export declare const DocumentLegacy: {
4611
5415
  }))[];
4612
5416
  } | {
4613
5417
  __TYPE__: "SeparatorContent";
4614
- } | import("./fields").GroupContent][];
5418
+ }][];
4615
5419
  }[];
4616
5420
  };
4617
5421
  }[];
@@ -4767,7 +5571,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4767
5571
  __TYPE__: "LinkContent";
4768
5572
  value: ({
4769
5573
  __TYPE__: "ImageLink";
4770
- } & (({
5574
+ } & ((({
4771
5575
  kind: "image";
4772
5576
  id: string;
4773
5577
  url: string;
@@ -4777,14 +5581,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4777
5581
  name: string;
4778
5582
  } & {
4779
5583
  date?: string | null | undefined;
4780
- } & {
4781
- text?: string;
4782
5584
  }) | {
4783
5585
  kind: "image";
4784
- text: string;
5586
+ }) & {
5587
+ text?: string;
4785
5588
  })) | ({
4786
5589
  __TYPE__: "FileLink";
4787
- } & (({
5590
+ } & ((({
4788
5591
  kind: "file";
4789
5592
  id: string;
4790
5593
  url: string;
@@ -4792,28 +5595,27 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4792
5595
  size: string;
4793
5596
  } & {
4794
5597
  date?: string | null | undefined;
4795
- } & {
4796
- text?: string;
4797
5598
  }) | {
4798
5599
  kind: "file";
4799
- text: string;
5600
+ }) & {
5601
+ text?: string;
4800
5602
  })) | ({
4801
5603
  __TYPE__: "MediaLink";
4802
5604
  } & {
4803
5605
  kind: "media";
4804
- text: string;
5606
+ } & {
5607
+ text?: string;
4805
5608
  }) | ({
4806
5609
  __TYPE__: "DocumentLink";
4807
5610
  } & (({
4808
5611
  id: string;
4809
- } & {
4810
- text?: string;
4811
- }) | {
5612
+ } | {
4812
5613
  kind: "document";
4813
- text: string;
5614
+ }) & {
5615
+ text?: string;
4814
5616
  })) | ({
4815
5617
  __TYPE__: "ExternalLink";
4816
- } & (({
5618
+ } & ((({
4817
5619
  url: string;
4818
5620
  } & {
4819
5621
  kind?: "web";
@@ -4821,17 +5623,85 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4821
5623
  preview?: {
4822
5624
  title?: string;
4823
5625
  } | null | undefined;
4824
- } & {
4825
- text?: string;
4826
5626
  }) | {
4827
5627
  kind: "web";
4828
- text: string;
5628
+ }) & {
5629
+ text?: string;
4829
5630
  })) | ({
4830
5631
  __TYPE__: "AnyLink";
4831
5632
  } & {
4832
- text: string;
5633
+ text?: string;
4833
5634
  });
4834
5635
  } | {
5636
+ __TYPE__: "RepeatableContent";
5637
+ type: "Link";
5638
+ value: {
5639
+ __TYPE__: "LinkContent";
5640
+ value: ({
5641
+ __TYPE__: "ImageLink";
5642
+ } & ((({
5643
+ kind: "image";
5644
+ id: string;
5645
+ url: string;
5646
+ height: string;
5647
+ width: string;
5648
+ size: string;
5649
+ name: string;
5650
+ } & {
5651
+ date?: string | null | undefined;
5652
+ }) | {
5653
+ kind: "image";
5654
+ }) & {
5655
+ text?: string;
5656
+ })) | ({
5657
+ __TYPE__: "FileLink";
5658
+ } & ((({
5659
+ kind: "file";
5660
+ id: string;
5661
+ url: string;
5662
+ name: string;
5663
+ size: string;
5664
+ } & {
5665
+ date?: string | null | undefined;
5666
+ }) | {
5667
+ kind: "file";
5668
+ }) & {
5669
+ text?: string;
5670
+ })) | ({
5671
+ __TYPE__: "MediaLink";
5672
+ } & {
5673
+ kind: "media";
5674
+ } & {
5675
+ text?: string;
5676
+ }) | ({
5677
+ __TYPE__: "DocumentLink";
5678
+ } & (({
5679
+ id: string;
5680
+ } | {
5681
+ kind: "document";
5682
+ }) & {
5683
+ text?: string;
5684
+ })) | ({
5685
+ __TYPE__: "ExternalLink";
5686
+ } & ((({
5687
+ url: string;
5688
+ } & {
5689
+ kind?: "web";
5690
+ target?: string | null | undefined;
5691
+ preview?: {
5692
+ title?: string;
5693
+ } | null | undefined;
5694
+ }) | {
5695
+ kind: "web";
5696
+ }) & {
5697
+ text?: string;
5698
+ })) | ({
5699
+ __TYPE__: "AnyLink";
5700
+ } & {
5701
+ text?: string;
5702
+ });
5703
+ }[];
5704
+ } | import("./fields").GroupContent | {
4835
5705
  __TYPE__: "StructuredTextContent";
4836
5706
  value: (({
4837
5707
  type: "image";
@@ -4986,7 +5856,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4986
5856
  }))[];
4987
5857
  } | {
4988
5858
  __TYPE__: "SeparatorContent";
4989
- } | import("./fields").GroupContent | {
5859
+ } | {
4990
5860
  __TYPE__: "UIDContent";
4991
5861
  value: string;
4992
5862
  } | {
@@ -5111,7 +5981,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5111
5981
  __TYPE__: "LinkContent";
5112
5982
  value: ({
5113
5983
  __TYPE__: "ImageLink";
5114
- } & (({
5984
+ } & ((({
5115
5985
  kind: "image";
5116
5986
  id: string;
5117
5987
  url: string;
@@ -5121,14 +5991,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5121
5991
  name: string;
5122
5992
  } & {
5123
5993
  date?: string | null | undefined;
5124
- } & {
5125
- text?: string;
5126
5994
  }) | {
5127
5995
  kind: "image";
5128
- text: string;
5996
+ }) & {
5997
+ text?: string;
5129
5998
  })) | ({
5130
5999
  __TYPE__: "FileLink";
5131
- } & (({
6000
+ } & ((({
5132
6001
  kind: "file";
5133
6002
  id: string;
5134
6003
  url: string;
@@ -5136,28 +6005,27 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5136
6005
  size: string;
5137
6006
  } & {
5138
6007
  date?: string | null | undefined;
5139
- } & {
5140
- text?: string;
5141
6008
  }) | {
5142
6009
  kind: "file";
5143
- text: string;
6010
+ }) & {
6011
+ text?: string;
5144
6012
  })) | ({
5145
6013
  __TYPE__: "MediaLink";
5146
6014
  } & {
5147
6015
  kind: "media";
5148
- text: string;
6016
+ } & {
6017
+ text?: string;
5149
6018
  }) | ({
5150
6019
  __TYPE__: "DocumentLink";
5151
6020
  } & (({
5152
6021
  id: string;
5153
- } & {
5154
- text?: string;
5155
- }) | {
6022
+ } | {
5156
6023
  kind: "document";
5157
- text: string;
6024
+ }) & {
6025
+ text?: string;
5158
6026
  })) | ({
5159
6027
  __TYPE__: "ExternalLink";
5160
- } & (({
6028
+ } & ((({
5161
6029
  url: string;
5162
6030
  } & {
5163
6031
  kind?: "web";
@@ -5165,17 +6033,85 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5165
6033
  preview?: {
5166
6034
  title?: string;
5167
6035
  } | null | undefined;
5168
- } & {
5169
- text?: string;
5170
6036
  }) | {
5171
6037
  kind: "web";
5172
- text: string;
6038
+ }) & {
6039
+ text?: string;
5173
6040
  })) | ({
5174
6041
  __TYPE__: "AnyLink";
5175
6042
  } & {
5176
- text: string;
6043
+ text?: string;
5177
6044
  });
5178
6045
  } | {
6046
+ __TYPE__: "RepeatableContent";
6047
+ type: "Link";
6048
+ value: {
6049
+ __TYPE__: "LinkContent";
6050
+ value: ({
6051
+ __TYPE__: "ImageLink";
6052
+ } & ((({
6053
+ kind: "image";
6054
+ id: string;
6055
+ url: string;
6056
+ height: string;
6057
+ width: string;
6058
+ size: string;
6059
+ name: string;
6060
+ } & {
6061
+ date?: string | null | undefined;
6062
+ }) | {
6063
+ kind: "image";
6064
+ }) & {
6065
+ text?: string;
6066
+ })) | ({
6067
+ __TYPE__: "FileLink";
6068
+ } & ((({
6069
+ kind: "file";
6070
+ id: string;
6071
+ url: string;
6072
+ name: string;
6073
+ size: string;
6074
+ } & {
6075
+ date?: string | null | undefined;
6076
+ }) | {
6077
+ kind: "file";
6078
+ }) & {
6079
+ text?: string;
6080
+ })) | ({
6081
+ __TYPE__: "MediaLink";
6082
+ } & {
6083
+ kind: "media";
6084
+ } & {
6085
+ text?: string;
6086
+ }) | ({
6087
+ __TYPE__: "DocumentLink";
6088
+ } & (({
6089
+ id: string;
6090
+ } | {
6091
+ kind: "document";
6092
+ }) & {
6093
+ text?: string;
6094
+ })) | ({
6095
+ __TYPE__: "ExternalLink";
6096
+ } & ((({
6097
+ url: string;
6098
+ } & {
6099
+ kind?: "web";
6100
+ target?: string | null | undefined;
6101
+ preview?: {
6102
+ title?: string;
6103
+ } | null | undefined;
6104
+ }) | {
6105
+ kind: "web";
6106
+ }) & {
6107
+ text?: string;
6108
+ })) | ({
6109
+ __TYPE__: "AnyLink";
6110
+ } & {
6111
+ text?: string;
6112
+ });
6113
+ }[];
6114
+ } | import("./fields").GroupContent | {
5179
6115
  __TYPE__: "StructuredTextContent";
5180
6116
  value: (({
5181
6117
  type: "image";
@@ -5330,7 +6266,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5330
6266
  }))[];
5331
6267
  } | {
5332
6268
  __TYPE__: "SeparatorContent";
5333
- } | import("./fields").GroupContent | {
6269
+ } | {
5334
6270
  __TYPE__: "CompositeSliceContent";
5335
6271
  nonRepeat: {
5336
6272
  [x: string]: {
@@ -5449,7 +6385,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5449
6385
  __TYPE__: "LinkContent";
5450
6386
  value: ({
5451
6387
  __TYPE__: "ImageLink";
5452
- } & (({
6388
+ } & ((({
5453
6389
  kind: "image";
5454
6390
  id: string;
5455
6391
  url: string;
@@ -5459,14 +6395,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5459
6395
  name: string;
5460
6396
  } & {
5461
6397
  date?: string | null | undefined;
5462
- } & {
5463
- text?: string;
5464
6398
  }) | {
5465
6399
  kind: "image";
5466
- text: string;
6400
+ }) & {
6401
+ text?: string;
5467
6402
  })) | ({
5468
6403
  __TYPE__: "FileLink";
5469
- } & (({
6404
+ } & ((({
5470
6405
  kind: "file";
5471
6406
  id: string;
5472
6407
  url: string;
@@ -5474,28 +6409,27 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5474
6409
  size: string;
5475
6410
  } & {
5476
6411
  date?: string | null | undefined;
5477
- } & {
5478
- text?: string;
5479
6412
  }) | {
5480
6413
  kind: "file";
5481
- text: string;
6414
+ }) & {
6415
+ text?: string;
5482
6416
  })) | ({
5483
6417
  __TYPE__: "MediaLink";
5484
6418
  } & {
5485
6419
  kind: "media";
5486
- text: string;
6420
+ } & {
6421
+ text?: string;
5487
6422
  }) | ({
5488
6423
  __TYPE__: "DocumentLink";
5489
6424
  } & (({
5490
6425
  id: string;
5491
- } & {
5492
- text?: string;
5493
- }) | {
6426
+ } | {
5494
6427
  kind: "document";
5495
- text: string;
6428
+ }) & {
6429
+ text?: string;
5496
6430
  })) | ({
5497
6431
  __TYPE__: "ExternalLink";
5498
- } & (({
6432
+ } & ((({
5499
6433
  url: string;
5500
6434
  } & {
5501
6435
  kind?: "web";
@@ -5503,16 +6437,84 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5503
6437
  preview?: {
5504
6438
  title?: string;
5505
6439
  } | null | undefined;
5506
- } & {
5507
- text?: string;
5508
6440
  }) | {
5509
6441
  kind: "web";
5510
- text: string;
6442
+ }) & {
6443
+ text?: string;
5511
6444
  })) | ({
5512
6445
  __TYPE__: "AnyLink";
5513
6446
  } & {
5514
- text: string;
6447
+ text?: string;
5515
6448
  });
6449
+ } | {
6450
+ __TYPE__: "RepeatableContent";
6451
+ type: "Link";
6452
+ value: {
6453
+ __TYPE__: "LinkContent";
6454
+ value: ({
6455
+ __TYPE__: "ImageLink";
6456
+ } & ((({
6457
+ kind: "image";
6458
+ id: string;
6459
+ url: string;
6460
+ height: string;
6461
+ width: string;
6462
+ size: string;
6463
+ name: string;
6464
+ } & {
6465
+ date?: string | null | undefined;
6466
+ }) | {
6467
+ kind: "image";
6468
+ }) & {
6469
+ text?: string;
6470
+ })) | ({
6471
+ __TYPE__: "FileLink";
6472
+ } & ((({
6473
+ kind: "file";
6474
+ id: string;
6475
+ url: string;
6476
+ name: string;
6477
+ size: string;
6478
+ } & {
6479
+ date?: string | null | undefined;
6480
+ }) | {
6481
+ kind: "file";
6482
+ }) & {
6483
+ text?: string;
6484
+ })) | ({
6485
+ __TYPE__: "MediaLink";
6486
+ } & {
6487
+ kind: "media";
6488
+ } & {
6489
+ text?: string;
6490
+ }) | ({
6491
+ __TYPE__: "DocumentLink";
6492
+ } & (({
6493
+ id: string;
6494
+ } | {
6495
+ kind: "document";
6496
+ }) & {
6497
+ text?: string;
6498
+ })) | ({
6499
+ __TYPE__: "ExternalLink";
6500
+ } & ((({
6501
+ url: string;
6502
+ } & {
6503
+ kind?: "web";
6504
+ target?: string | null | undefined;
6505
+ preview?: {
6506
+ title?: string;
6507
+ } | null | undefined;
6508
+ }) | {
6509
+ kind: "web";
6510
+ }) & {
6511
+ text?: string;
6512
+ })) | ({
6513
+ __TYPE__: "AnyLink";
6514
+ } & {
6515
+ text?: string;
6516
+ });
6517
+ }[];
5516
6518
  } | {
5517
6519
  __TYPE__: "StructuredTextContent";
5518
6520
  value: (({
@@ -5788,7 +6790,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5788
6790
  __TYPE__: "LinkContent";
5789
6791
  value: ({
5790
6792
  __TYPE__: "ImageLink";
5791
- } & (({
6793
+ } & ((({
5792
6794
  kind: "image";
5793
6795
  id: string;
5794
6796
  url: string;
@@ -5798,14 +6800,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5798
6800
  name: string;
5799
6801
  } & {
5800
6802
  date?: string | null | undefined;
5801
- } & {
5802
- text?: string;
5803
6803
  }) | {
5804
6804
  kind: "image";
5805
- text: string;
6805
+ }) & {
6806
+ text?: string;
5806
6807
  })) | ({
5807
6808
  __TYPE__: "FileLink";
5808
- } & (({
6809
+ } & ((({
5809
6810
  kind: "file";
5810
6811
  id: string;
5811
6812
  url: string;
@@ -5813,28 +6814,27 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5813
6814
  size: string;
5814
6815
  } & {
5815
6816
  date?: string | null | undefined;
5816
- } & {
5817
- text?: string;
5818
6817
  }) | {
5819
6818
  kind: "file";
5820
- text: string;
6819
+ }) & {
6820
+ text?: string;
5821
6821
  })) | ({
5822
6822
  __TYPE__: "MediaLink";
5823
6823
  } & {
5824
6824
  kind: "media";
5825
- text: string;
6825
+ } & {
6826
+ text?: string;
5826
6827
  }) | ({
5827
6828
  __TYPE__: "DocumentLink";
5828
6829
  } & (({
5829
6830
  id: string;
5830
- } & {
5831
- text?: string;
5832
- }) | {
6831
+ } | {
5833
6832
  kind: "document";
5834
- text: string;
6833
+ }) & {
6834
+ text?: string;
5835
6835
  })) | ({
5836
6836
  __TYPE__: "ExternalLink";
5837
- } & (({
6837
+ } & ((({
5838
6838
  url: string;
5839
6839
  } & {
5840
6840
  kind?: "web";
@@ -5842,17 +6842,85 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5842
6842
  preview?: {
5843
6843
  title?: string;
5844
6844
  } | null | undefined;
5845
- } & {
5846
- text?: string;
5847
6845
  }) | {
5848
6846
  kind: "web";
5849
- text: string;
6847
+ }) & {
6848
+ text?: string;
5850
6849
  })) | ({
5851
6850
  __TYPE__: "AnyLink";
5852
6851
  } & {
5853
- text: string;
6852
+ text?: string;
5854
6853
  });
5855
6854
  } | {
6855
+ __TYPE__: "RepeatableContent";
6856
+ type: "Link";
6857
+ value: {
6858
+ __TYPE__: "LinkContent";
6859
+ value: ({
6860
+ __TYPE__: "ImageLink";
6861
+ } & ((({
6862
+ kind: "image";
6863
+ id: string;
6864
+ url: string;
6865
+ height: string;
6866
+ width: string;
6867
+ size: string;
6868
+ name: string;
6869
+ } & {
6870
+ date?: string | null | undefined;
6871
+ }) | {
6872
+ kind: "image";
6873
+ }) & {
6874
+ text?: string;
6875
+ })) | ({
6876
+ __TYPE__: "FileLink";
6877
+ } & ((({
6878
+ kind: "file";
6879
+ id: string;
6880
+ url: string;
6881
+ name: string;
6882
+ size: string;
6883
+ } & {
6884
+ date?: string | null | undefined;
6885
+ }) | {
6886
+ kind: "file";
6887
+ }) & {
6888
+ text?: string;
6889
+ })) | ({
6890
+ __TYPE__: "MediaLink";
6891
+ } & {
6892
+ kind: "media";
6893
+ } & {
6894
+ text?: string;
6895
+ }) | ({
6896
+ __TYPE__: "DocumentLink";
6897
+ } & (({
6898
+ id: string;
6899
+ } | {
6900
+ kind: "document";
6901
+ }) & {
6902
+ text?: string;
6903
+ })) | ({
6904
+ __TYPE__: "ExternalLink";
6905
+ } & ((({
6906
+ url: string;
6907
+ } & {
6908
+ kind?: "web";
6909
+ target?: string | null | undefined;
6910
+ preview?: {
6911
+ title?: string;
6912
+ } | null | undefined;
6913
+ }) | {
6914
+ kind: "web";
6915
+ }) & {
6916
+ text?: string;
6917
+ })) | ({
6918
+ __TYPE__: "AnyLink";
6919
+ } & {
6920
+ text?: string;
6921
+ });
6922
+ }[];
6923
+ } | import("./fields").GroupContent | {
5856
6924
  __TYPE__: "StructuredTextContent";
5857
6925
  value: (({
5858
6926
  type: "image";
@@ -6007,7 +7075,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6007
7075
  }))[];
6008
7076
  } | {
6009
7077
  __TYPE__: "SeparatorContent";
6010
- } | import("./fields").GroupContent][];
7078
+ }][];
6011
7079
  }[];
6012
7080
  } | {
6013
7081
  __TYPE__: "SharedSliceContent";
@@ -6129,7 +7197,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6129
7197
  __TYPE__: "LinkContent";
6130
7198
  value: ({
6131
7199
  __TYPE__: "ImageLink";
6132
- } & (({
7200
+ } & ((({
6133
7201
  kind: "image";
6134
7202
  id: string;
6135
7203
  url: string;
@@ -6139,14 +7207,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6139
7207
  name: string;
6140
7208
  } & {
6141
7209
  date?: string | null | undefined;
6142
- } & {
6143
- text?: string;
6144
7210
  }) | {
6145
7211
  kind: "image";
6146
- text: string;
7212
+ }) & {
7213
+ text?: string;
6147
7214
  })) | ({
6148
7215
  __TYPE__: "FileLink";
6149
- } & (({
7216
+ } & ((({
6150
7217
  kind: "file";
6151
7218
  id: string;
6152
7219
  url: string;
@@ -6154,28 +7221,27 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6154
7221
  size: string;
6155
7222
  } & {
6156
7223
  date?: string | null | undefined;
6157
- } & {
6158
- text?: string;
6159
7224
  }) | {
6160
7225
  kind: "file";
6161
- text: string;
7226
+ }) & {
7227
+ text?: string;
6162
7228
  })) | ({
6163
7229
  __TYPE__: "MediaLink";
6164
7230
  } & {
6165
7231
  kind: "media";
6166
- text: string;
7232
+ } & {
7233
+ text?: string;
6167
7234
  }) | ({
6168
7235
  __TYPE__: "DocumentLink";
6169
7236
  } & (({
6170
7237
  id: string;
6171
- } & {
6172
- text?: string;
6173
- }) | {
7238
+ } | {
6174
7239
  kind: "document";
6175
- text: string;
7240
+ }) & {
7241
+ text?: string;
6176
7242
  })) | ({
6177
7243
  __TYPE__: "ExternalLink";
6178
- } & (({
7244
+ } & ((({
6179
7245
  url: string;
6180
7246
  } & {
6181
7247
  kind?: "web";
@@ -6183,17 +7249,85 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6183
7249
  preview?: {
6184
7250
  title?: string;
6185
7251
  } | null | undefined;
6186
- } & {
6187
- text?: string;
6188
7252
  }) | {
6189
7253
  kind: "web";
6190
- text: string;
7254
+ }) & {
7255
+ text?: string;
6191
7256
  })) | ({
6192
7257
  __TYPE__: "AnyLink";
6193
7258
  } & {
6194
- text: string;
7259
+ text?: string;
6195
7260
  });
6196
7261
  } | {
7262
+ __TYPE__: "RepeatableContent";
7263
+ type: "Link";
7264
+ value: {
7265
+ __TYPE__: "LinkContent";
7266
+ value: ({
7267
+ __TYPE__: "ImageLink";
7268
+ } & ((({
7269
+ kind: "image";
7270
+ id: string;
7271
+ url: string;
7272
+ height: string;
7273
+ width: string;
7274
+ size: string;
7275
+ name: string;
7276
+ } & {
7277
+ date?: string | null | undefined;
7278
+ }) | {
7279
+ kind: "image";
7280
+ }) & {
7281
+ text?: string;
7282
+ })) | ({
7283
+ __TYPE__: "FileLink";
7284
+ } & ((({
7285
+ kind: "file";
7286
+ id: string;
7287
+ url: string;
7288
+ name: string;
7289
+ size: string;
7290
+ } & {
7291
+ date?: string | null | undefined;
7292
+ }) | {
7293
+ kind: "file";
7294
+ }) & {
7295
+ text?: string;
7296
+ })) | ({
7297
+ __TYPE__: "MediaLink";
7298
+ } & {
7299
+ kind: "media";
7300
+ } & {
7301
+ text?: string;
7302
+ }) | ({
7303
+ __TYPE__: "DocumentLink";
7304
+ } & (({
7305
+ id: string;
7306
+ } | {
7307
+ kind: "document";
7308
+ }) & {
7309
+ text?: string;
7310
+ })) | ({
7311
+ __TYPE__: "ExternalLink";
7312
+ } & ((({
7313
+ url: string;
7314
+ } & {
7315
+ kind?: "web";
7316
+ target?: string | null | undefined;
7317
+ preview?: {
7318
+ title?: string;
7319
+ } | null | undefined;
7320
+ }) | {
7321
+ kind: "web";
7322
+ }) & {
7323
+ text?: string;
7324
+ })) | ({
7325
+ __TYPE__: "AnyLink";
7326
+ } & {
7327
+ text?: string;
7328
+ });
7329
+ }[];
7330
+ } | import("./fields").GroupContent | {
6197
7331
  __TYPE__: "StructuredTextContent";
6198
7332
  value: (({
6199
7333
  type: "image";
@@ -6348,7 +7482,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6348
7482
  }))[];
6349
7483
  } | {
6350
7484
  __TYPE__: "SeparatorContent";
6351
- } | import("./fields").GroupContent;
7485
+ };
6352
7486
  };
6353
7487
  items: {
6354
7488
  __TYPE__: "GroupItemContent";
@@ -6468,7 +7602,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6468
7602
  __TYPE__: "LinkContent";
6469
7603
  value: ({
6470
7604
  __TYPE__: "ImageLink";
6471
- } & (({
7605
+ } & ((({
6472
7606
  kind: "image";
6473
7607
  id: string;
6474
7608
  url: string;
@@ -6478,14 +7612,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6478
7612
  name: string;
6479
7613
  } & {
6480
7614
  date?: string | null | undefined;
6481
- } & {
6482
- text?: string;
6483
7615
  }) | {
6484
7616
  kind: "image";
6485
- text: string;
7617
+ }) & {
7618
+ text?: string;
6486
7619
  })) | ({
6487
7620
  __TYPE__: "FileLink";
6488
- } & (({
7621
+ } & ((({
6489
7622
  kind: "file";
6490
7623
  id: string;
6491
7624
  url: string;
@@ -6493,28 +7626,27 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6493
7626
  size: string;
6494
7627
  } & {
6495
7628
  date?: string | null | undefined;
6496
- } & {
6497
- text?: string;
6498
7629
  }) | {
6499
7630
  kind: "file";
6500
- text: string;
7631
+ }) & {
7632
+ text?: string;
6501
7633
  })) | ({
6502
7634
  __TYPE__: "MediaLink";
6503
7635
  } & {
6504
7636
  kind: "media";
6505
- text: string;
7637
+ } & {
7638
+ text?: string;
6506
7639
  }) | ({
6507
7640
  __TYPE__: "DocumentLink";
6508
7641
  } & (({
6509
7642
  id: string;
6510
- } & {
6511
- text?: string;
6512
- }) | {
7643
+ } | {
6513
7644
  kind: "document";
6514
- text: string;
7645
+ }) & {
7646
+ text?: string;
6515
7647
  })) | ({
6516
7648
  __TYPE__: "ExternalLink";
6517
- } & (({
7649
+ } & ((({
6518
7650
  url: string;
6519
7651
  } & {
6520
7652
  kind?: "web";
@@ -6522,17 +7654,85 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6522
7654
  preview?: {
6523
7655
  title?: string;
6524
7656
  } | null | undefined;
6525
- } & {
6526
- text?: string;
6527
7657
  }) | {
6528
7658
  kind: "web";
6529
- text: string;
7659
+ }) & {
7660
+ text?: string;
6530
7661
  })) | ({
6531
7662
  __TYPE__: "AnyLink";
6532
7663
  } & {
6533
- text: string;
7664
+ text?: string;
6534
7665
  });
6535
7666
  } | {
7667
+ __TYPE__: "RepeatableContent";
7668
+ type: "Link";
7669
+ value: {
7670
+ __TYPE__: "LinkContent";
7671
+ value: ({
7672
+ __TYPE__: "ImageLink";
7673
+ } & ((({
7674
+ kind: "image";
7675
+ id: string;
7676
+ url: string;
7677
+ height: string;
7678
+ width: string;
7679
+ size: string;
7680
+ name: string;
7681
+ } & {
7682
+ date?: string | null | undefined;
7683
+ }) | {
7684
+ kind: "image";
7685
+ }) & {
7686
+ text?: string;
7687
+ })) | ({
7688
+ __TYPE__: "FileLink";
7689
+ } & ((({
7690
+ kind: "file";
7691
+ id: string;
7692
+ url: string;
7693
+ name: string;
7694
+ size: string;
7695
+ } & {
7696
+ date?: string | null | undefined;
7697
+ }) | {
7698
+ kind: "file";
7699
+ }) & {
7700
+ text?: string;
7701
+ })) | ({
7702
+ __TYPE__: "MediaLink";
7703
+ } & {
7704
+ kind: "media";
7705
+ } & {
7706
+ text?: string;
7707
+ }) | ({
7708
+ __TYPE__: "DocumentLink";
7709
+ } & (({
7710
+ id: string;
7711
+ } | {
7712
+ kind: "document";
7713
+ }) & {
7714
+ text?: string;
7715
+ })) | ({
7716
+ __TYPE__: "ExternalLink";
7717
+ } & ((({
7718
+ url: string;
7719
+ } & {
7720
+ kind?: "web";
7721
+ target?: string | null | undefined;
7722
+ preview?: {
7723
+ title?: string;
7724
+ } | null | undefined;
7725
+ }) | {
7726
+ kind: "web";
7727
+ }) & {
7728
+ text?: string;
7729
+ })) | ({
7730
+ __TYPE__: "AnyLink";
7731
+ } & {
7732
+ text?: string;
7733
+ });
7734
+ }[];
7735
+ } | import("./fields").GroupContent | {
6536
7736
  __TYPE__: "StructuredTextContent";
6537
7737
  value: (({
6538
7738
  type: "image";
@@ -6687,7 +7887,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6687
7887
  }))[];
6688
7888
  } | {
6689
7889
  __TYPE__: "SeparatorContent";
6690
- } | import("./fields").GroupContent][];
7890
+ }][];
6691
7891
  }[];
6692
7892
  };
6693
7893
  }[];