@prismicio/types-internal 3.4.0-alpha.8 → 3.5.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 (70) hide show
  1. package/lib/content/Document.d.ts +433 -325
  2. package/lib/content/Document.js +8 -0
  3. package/lib/content/fields/GroupContent.d.ts +1 -1
  4. package/lib/content/fields/GroupContent.js +12 -1
  5. package/lib/content/fields/RepeatableContent.d.ts +123 -51
  6. package/lib/content/fields/RepeatableContent.js +14 -10
  7. package/lib/content/fields/WidgetContent.d.ts +432 -324
  8. package/lib/content/fields/nestable/NestableContent.d.ts +72 -54
  9. package/lib/content/fields/nestable/NestableContent.js +7 -0
  10. package/lib/content/fields/nestable/RepeatableContent.d.ts +2 -2
  11. package/lib/content/fields/nestable/RepeatableContent.js +5 -2
  12. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +112 -0
  13. package/lib/content/fields/nestable/RichTextContent/Blocks.js +5 -5
  14. package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -641
  15. package/lib/content/fields/nestable/RichTextContent/index.js +4 -8
  16. package/lib/content/fields/nestable/TableContent.d.ts +536 -618
  17. package/lib/content/fields/nestable/TableContent.js +101 -15
  18. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +144 -108
  19. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +24 -18
  20. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +144 -108
  21. package/lib/content/fields/slices/Slice/SharedSliceContent.js +12 -0
  22. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +72 -54
  23. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +72 -54
  24. package/lib/content/fields/slices/Slice/index.d.ts +240 -180
  25. package/lib/content/fields/slices/SliceItem.d.ts +240 -180
  26. package/lib/content/fields/slices/SlicesContent.d.ts +360 -270
  27. package/lib/customtypes/CustomType.d.ts +108 -0
  28. package/lib/customtypes/Section.d.ts +108 -0
  29. package/lib/customtypes/diff/SharedSlice.d.ts +48 -0
  30. package/lib/customtypes/diff/Variation.d.ts +48 -0
  31. package/lib/customtypes/widgets/Group.d.ts +36 -0
  32. package/lib/customtypes/widgets/Widget.d.ts +126 -0
  33. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +6 -0
  34. package/lib/customtypes/widgets/nestable/NestableWidget.js +2 -0
  35. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -2
  36. package/lib/customtypes/widgets/nestable/RichText.js +0 -2
  37. package/lib/customtypes/widgets/nestable/Table.d.ts +6 -0
  38. package/lib/customtypes/widgets/nestable/Table.js +13 -1
  39. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +12 -0
  40. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +12 -0
  41. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +48 -0
  42. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +36 -0
  43. package/lib/customtypes/widgets/slices/Slices.d.ts +168 -0
  44. package/package.json +1 -1
  45. package/src/content/Document.ts +9 -0
  46. package/src/content/fields/GroupContent.ts +15 -1
  47. package/src/content/fields/nestable/NestableContent.ts +12 -0
  48. package/src/content/fields/nestable/RepeatableContent.ts +6 -2
  49. package/src/content/fields/nestable/RichTextContent/Blocks.ts +238 -0
  50. package/src/content/fields/nestable/RichTextContent/index.ts +3 -7
  51. package/src/content/fields/nestable/TableContent.ts +131 -14
  52. package/src/content/fields/slices/Slice/SharedSliceContent.ts +13 -0
  53. package/src/customtypes/widgets/nestable/NestableWidget.ts +2 -0
  54. package/src/customtypes/widgets/nestable/RichText.ts +0 -2
  55. package/src/customtypes/widgets/nestable/Table.ts +13 -0
  56. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +0 -1036
  57. package/lib/content/fields/nestable/RichTextContent/Block.js +0 -31
  58. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +0 -60
  59. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +0 -53
  60. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +0 -203
  61. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +0 -36
  62. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +0 -500
  63. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +0 -21
  64. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -590
  65. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  66. package/src/content/fields/nestable/RichTextContent/Block.ts +0 -35
  67. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +0 -81
  68. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +0 -42
  69. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +0 -36
  70. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +0 -108
@@ -320,7 +320,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
320
320
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
321
321
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
322
322
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
323
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
323
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
324
324
  content: t.IntersectionC<[t.TypeC<{
325
325
  text: t.StringC;
326
326
  }>, t.PartialC<{
@@ -429,14 +429,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
429
429
  }>, t.PartialC<{
430
430
  label: t.StringC;
431
431
  direction: t.StringC;
432
- }>]>>, t.ExactC<t.TypeC<{
433
- type: t.LiteralC<"table">;
434
- content: t.ArrayC<t.ExactC<t.TypeC<{
435
- type: t.LiteralC<"tableRow">;
436
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
437
- type: t.LiteralC<"tableHeader">;
438
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
439
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
432
+ }>]>>]>>;
433
+ }>>, t.ExactC<t.TypeC<{
434
+ __TYPE__: t.LiteralC<"SeparatorContent">;
435
+ }>>, t.ExactC<t.TypeC<{
436
+ __TYPE__: t.LiteralC<"TableContent">;
437
+ content: t.ArrayC<t.ExactC<t.TypeC<{
438
+ type: t.LiteralC<"tableRow">;
439
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
440
+ type: t.LiteralC<"tableHeader">;
441
+ content: t.ExactC<t.TypeC<{
442
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
443
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
444
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
440
445
  content: t.IntersectionC<[t.TypeC<{
441
446
  text: t.StringC;
442
447
  }>, t.PartialC<{
@@ -546,10 +551,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
546
551
  label: t.StringC;
547
552
  direction: t.StringC;
548
553
  }>]>>>;
549
- }>>, t.ExactC<t.TypeC<{
550
- type: t.LiteralC<"tableCell">;
551
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
552
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
554
+ }>>;
555
+ }>>, t.ExactC<t.TypeC<{
556
+ type: t.LiteralC<"tableCell">;
557
+ content: t.ExactC<t.TypeC<{
558
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
559
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
560
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
553
561
  content: t.IntersectionC<[t.TypeC<{
554
562
  text: t.StringC;
555
563
  }>, t.PartialC<{
@@ -659,11 +667,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
659
667
  label: t.StringC;
660
668
  direction: t.StringC;
661
669
  }>]>>>;
662
- }>>]>>;
663
- }>>>;
664
- }>>]>>;
665
- }>>, t.ExactC<t.TypeC<{
666
- __TYPE__: t.LiteralC<"SeparatorContent">;
670
+ }>>;
671
+ }>>]>>;
672
+ }>>>;
667
673
  }>>, t.ExactC<t.TypeC<{
668
674
  __TYPE__: t.LiteralC<"RepeatableContent">;
669
675
  type: t.LiteralC<"Link">;
@@ -1072,7 +1078,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1072
1078
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1073
1079
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1074
1080
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1075
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
1081
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1076
1082
  content: t.IntersectionC<[t.TypeC<{
1077
1083
  text: t.StringC;
1078
1084
  }>, t.PartialC<{
@@ -1181,14 +1187,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1181
1187
  }>, t.PartialC<{
1182
1188
  label: t.StringC;
1183
1189
  direction: t.StringC;
1184
- }>]>>, t.ExactC<t.TypeC<{
1185
- type: t.LiteralC<"table">;
1186
- content: t.ArrayC<t.ExactC<t.TypeC<{
1187
- type: t.LiteralC<"tableRow">;
1188
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1189
- type: t.LiteralC<"tableHeader">;
1190
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1191
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
1190
+ }>]>>]>>;
1191
+ }>>, t.ExactC<t.TypeC<{
1192
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1193
+ }>>, t.ExactC<t.TypeC<{
1194
+ __TYPE__: t.LiteralC<"TableContent">;
1195
+ content: t.ArrayC<t.ExactC<t.TypeC<{
1196
+ type: t.LiteralC<"tableRow">;
1197
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1198
+ type: t.LiteralC<"tableHeader">;
1199
+ content: t.ExactC<t.TypeC<{
1200
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1201
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1202
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1192
1203
  content: t.IntersectionC<[t.TypeC<{
1193
1204
  text: t.StringC;
1194
1205
  }>, t.PartialC<{
@@ -1298,10 +1309,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1298
1309
  label: t.StringC;
1299
1310
  direction: t.StringC;
1300
1311
  }>]>>>;
1301
- }>>, t.ExactC<t.TypeC<{
1302
- type: t.LiteralC<"tableCell">;
1303
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1304
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
1312
+ }>>;
1313
+ }>>, t.ExactC<t.TypeC<{
1314
+ type: t.LiteralC<"tableCell">;
1315
+ content: t.ExactC<t.TypeC<{
1316
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1317
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1318
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1305
1319
  content: t.IntersectionC<[t.TypeC<{
1306
1320
  text: t.StringC;
1307
1321
  }>, t.PartialC<{
@@ -1411,11 +1425,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1411
1425
  label: t.StringC;
1412
1426
  direction: t.StringC;
1413
1427
  }>]>>>;
1414
- }>>]>>;
1415
- }>>>;
1416
- }>>]>>;
1417
- }>>, t.ExactC<t.TypeC<{
1418
- __TYPE__: t.LiteralC<"SeparatorContent">;
1428
+ }>>;
1429
+ }>>]>>;
1430
+ }>>>;
1419
1431
  }>>, t.ExactC<t.TypeC<{
1420
1432
  __TYPE__: t.LiteralC<"RepeatableContent">;
1421
1433
  type: t.LiteralC<"Link">;
@@ -1816,7 +1828,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1816
1828
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1817
1829
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1818
1830
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1819
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
1831
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1820
1832
  content: t.IntersectionC<[t.TypeC<{
1821
1833
  text: t.StringC;
1822
1834
  }>, t.PartialC<{
@@ -1925,14 +1937,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1925
1937
  }>, t.PartialC<{
1926
1938
  label: t.StringC;
1927
1939
  direction: t.StringC;
1928
- }>]>>, t.ExactC<t.TypeC<{
1929
- type: t.LiteralC<"table">;
1930
- content: t.ArrayC<t.ExactC<t.TypeC<{
1931
- type: t.LiteralC<"tableRow">;
1932
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1933
- type: t.LiteralC<"tableHeader">;
1934
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1935
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
1940
+ }>]>>]>>;
1941
+ }>>, t.ExactC<t.TypeC<{
1942
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1943
+ }>>, t.ExactC<t.TypeC<{
1944
+ __TYPE__: t.LiteralC<"TableContent">;
1945
+ content: t.ArrayC<t.ExactC<t.TypeC<{
1946
+ type: t.LiteralC<"tableRow">;
1947
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1948
+ type: t.LiteralC<"tableHeader">;
1949
+ content: t.ExactC<t.TypeC<{
1950
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1951
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1952
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1936
1953
  content: t.IntersectionC<[t.TypeC<{
1937
1954
  text: t.StringC;
1938
1955
  }>, t.PartialC<{
@@ -2042,10 +2059,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2042
2059
  label: t.StringC;
2043
2060
  direction: t.StringC;
2044
2061
  }>]>>>;
2045
- }>>, t.ExactC<t.TypeC<{
2046
- type: t.LiteralC<"tableCell">;
2047
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2048
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2062
+ }>>;
2063
+ }>>, t.ExactC<t.TypeC<{
2064
+ type: t.LiteralC<"tableCell">;
2065
+ content: t.ExactC<t.TypeC<{
2066
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2067
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2068
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2049
2069
  content: t.IntersectionC<[t.TypeC<{
2050
2070
  text: t.StringC;
2051
2071
  }>, t.PartialC<{
@@ -2155,11 +2175,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2155
2175
  label: t.StringC;
2156
2176
  direction: t.StringC;
2157
2177
  }>]>>>;
2158
- }>>]>>;
2159
- }>>>;
2160
- }>>]>>;
2161
- }>>, t.ExactC<t.TypeC<{
2162
- __TYPE__: t.LiteralC<"SeparatorContent">;
2178
+ }>>;
2179
+ }>>]>>;
2180
+ }>>>;
2163
2181
  }>>, t.ExactC<t.TypeC<{
2164
2182
  __TYPE__: t.LiteralC<"RepeatableContent">;
2165
2183
  type: t.LiteralC<"Link">;
@@ -2562,7 +2580,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2562
2580
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2563
2581
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2564
2582
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2565
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2583
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2566
2584
  content: t.IntersectionC<[t.TypeC<{
2567
2585
  text: t.StringC;
2568
2586
  }>, t.PartialC<{
@@ -2671,14 +2689,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2671
2689
  }>, t.PartialC<{
2672
2690
  label: t.StringC;
2673
2691
  direction: t.StringC;
2674
- }>]>>, t.ExactC<t.TypeC<{
2675
- type: t.LiteralC<"table">;
2676
- content: t.ArrayC<t.ExactC<t.TypeC<{
2677
- type: t.LiteralC<"tableRow">;
2678
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2679
- type: t.LiteralC<"tableHeader">;
2680
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2681
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2692
+ }>]>>]>>;
2693
+ }>>, t.ExactC<t.TypeC<{
2694
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2695
+ }>>, t.ExactC<t.TypeC<{
2696
+ __TYPE__: t.LiteralC<"TableContent">;
2697
+ content: t.ArrayC<t.ExactC<t.TypeC<{
2698
+ type: t.LiteralC<"tableRow">;
2699
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2700
+ type: t.LiteralC<"tableHeader">;
2701
+ content: t.ExactC<t.TypeC<{
2702
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2703
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2704
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2682
2705
  content: t.IntersectionC<[t.TypeC<{
2683
2706
  text: t.StringC;
2684
2707
  }>, t.PartialC<{
@@ -2788,10 +2811,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2788
2811
  label: t.StringC;
2789
2812
  direction: t.StringC;
2790
2813
  }>]>>>;
2791
- }>>, t.ExactC<t.TypeC<{
2792
- type: t.LiteralC<"tableCell">;
2793
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2794
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2814
+ }>>;
2815
+ }>>, t.ExactC<t.TypeC<{
2816
+ type: t.LiteralC<"tableCell">;
2817
+ content: t.ExactC<t.TypeC<{
2818
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2819
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2820
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2795
2821
  content: t.IntersectionC<[t.TypeC<{
2796
2822
  text: t.StringC;
2797
2823
  }>, t.PartialC<{
@@ -2901,11 +2927,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2901
2927
  label: t.StringC;
2902
2928
  direction: t.StringC;
2903
2929
  }>]>>>;
2904
- }>>]>>;
2905
- }>>>;
2906
- }>>]>>;
2907
- }>>, t.ExactC<t.TypeC<{
2908
- __TYPE__: t.LiteralC<"SeparatorContent">;
2930
+ }>>;
2931
+ }>>]>>;
2932
+ }>>>;
2909
2933
  }>>, t.ExactC<t.TypeC<{
2910
2934
  __TYPE__: t.LiteralC<"RepeatableContent">;
2911
2935
  type: t.LiteralC<"Link">;
@@ -3306,7 +3330,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3306
3330
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3307
3331
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3308
3332
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3309
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3333
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3310
3334
  content: t.IntersectionC<[t.TypeC<{
3311
3335
  text: t.StringC;
3312
3336
  }>, t.PartialC<{
@@ -3415,14 +3439,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3415
3439
  }>, t.PartialC<{
3416
3440
  label: t.StringC;
3417
3441
  direction: t.StringC;
3418
- }>]>>, t.ExactC<t.TypeC<{
3419
- type: t.LiteralC<"table">;
3420
- content: t.ArrayC<t.ExactC<t.TypeC<{
3421
- type: t.LiteralC<"tableRow">;
3422
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3423
- type: t.LiteralC<"tableHeader">;
3424
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3425
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3442
+ }>]>>]>>;
3443
+ }>>, t.ExactC<t.TypeC<{
3444
+ __TYPE__: t.LiteralC<"SeparatorContent">;
3445
+ }>>, t.ExactC<t.TypeC<{
3446
+ __TYPE__: t.LiteralC<"TableContent">;
3447
+ content: t.ArrayC<t.ExactC<t.TypeC<{
3448
+ type: t.LiteralC<"tableRow">;
3449
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3450
+ type: t.LiteralC<"tableHeader">;
3451
+ content: t.ExactC<t.TypeC<{
3452
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3453
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3454
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3426
3455
  content: t.IntersectionC<[t.TypeC<{
3427
3456
  text: t.StringC;
3428
3457
  }>, t.PartialC<{
@@ -3532,10 +3561,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3532
3561
  label: t.StringC;
3533
3562
  direction: t.StringC;
3534
3563
  }>]>>>;
3535
- }>>, t.ExactC<t.TypeC<{
3536
- type: t.LiteralC<"tableCell">;
3537
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3538
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3564
+ }>>;
3565
+ }>>, t.ExactC<t.TypeC<{
3566
+ type: t.LiteralC<"tableCell">;
3567
+ content: t.ExactC<t.TypeC<{
3568
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3569
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3570
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3539
3571
  content: t.IntersectionC<[t.TypeC<{
3540
3572
  text: t.StringC;
3541
3573
  }>, t.PartialC<{
@@ -3645,11 +3677,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3645
3677
  label: t.StringC;
3646
3678
  direction: t.StringC;
3647
3679
  }>]>>>;
3648
- }>>]>>;
3649
- }>>>;
3650
- }>>]>>;
3651
- }>>, t.ExactC<t.TypeC<{
3652
- __TYPE__: t.LiteralC<"SeparatorContent">;
3680
+ }>>;
3681
+ }>>]>>;
3682
+ }>>>;
3653
3683
  }>>, t.ExactC<t.TypeC<{
3654
3684
  __TYPE__: t.LiteralC<"RepeatableContent">;
3655
3685
  type: t.LiteralC<"Link">;
@@ -4049,7 +4079,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4049
4079
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4050
4080
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4051
4081
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4052
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4082
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4053
4083
  content: t.IntersectionC<[t.TypeC<{
4054
4084
  text: t.StringC;
4055
4085
  }>, t.PartialC<{
@@ -4158,14 +4188,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4158
4188
  }>, t.PartialC<{
4159
4189
  label: t.StringC;
4160
4190
  direction: t.StringC;
4161
- }>]>>, t.ExactC<t.TypeC<{
4162
- type: t.LiteralC<"table">;
4163
- content: t.ArrayC<t.ExactC<t.TypeC<{
4164
- type: t.LiteralC<"tableRow">;
4165
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4166
- type: t.LiteralC<"tableHeader">;
4167
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4168
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4191
+ }>]>>]>>;
4192
+ }>>, t.ExactC<t.TypeC<{
4193
+ __TYPE__: t.LiteralC<"SeparatorContent">;
4194
+ }>>, t.ExactC<t.TypeC<{
4195
+ __TYPE__: t.LiteralC<"TableContent">;
4196
+ content: t.ArrayC<t.ExactC<t.TypeC<{
4197
+ type: t.LiteralC<"tableRow">;
4198
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4199
+ type: t.LiteralC<"tableHeader">;
4200
+ content: t.ExactC<t.TypeC<{
4201
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
4202
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4203
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4169
4204
  content: t.IntersectionC<[t.TypeC<{
4170
4205
  text: t.StringC;
4171
4206
  }>, t.PartialC<{
@@ -4275,10 +4310,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4275
4310
  label: t.StringC;
4276
4311
  direction: t.StringC;
4277
4312
  }>]>>>;
4278
- }>>, t.ExactC<t.TypeC<{
4279
- type: t.LiteralC<"tableCell">;
4280
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4281
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4313
+ }>>;
4314
+ }>>, t.ExactC<t.TypeC<{
4315
+ type: t.LiteralC<"tableCell">;
4316
+ content: t.ExactC<t.TypeC<{
4317
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
4318
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4319
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4282
4320
  content: t.IntersectionC<[t.TypeC<{
4283
4321
  text: t.StringC;
4284
4322
  }>, t.PartialC<{
@@ -4388,11 +4426,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4388
4426
  label: t.StringC;
4389
4427
  direction: t.StringC;
4390
4428
  }>]>>>;
4391
- }>>]>>;
4392
- }>>>;
4393
- }>>]>>;
4394
- }>>, t.ExactC<t.TypeC<{
4395
- __TYPE__: t.LiteralC<"SeparatorContent">;
4429
+ }>>;
4430
+ }>>]>>;
4431
+ }>>>;
4396
4432
  }>>, t.ExactC<t.TypeC<{
4397
4433
  __TYPE__: t.LiteralC<"RepeatableContent">;
4398
4434
  type: t.LiteralC<"Link">;
@@ -4494,7 +4530,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
4494
4530
  }): Document | undefined;
4495
4531
  declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
4496
4532
  export declare const DocumentLegacy: {
4497
- _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Table" | "Choice" | "Slices" | "UID" | "Repeatable.Link"> | undefined) => t.Type<{
4533
+ _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Table" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID" | "Repeatable.Link"> | undefined) => t.Type<{
4498
4534
  [x: string]: {
4499
4535
  type: string;
4500
4536
  __TYPE__: "EmptyContent";
@@ -4854,7 +4890,7 @@ export declare const DocumentLegacy: {
4854
4890
  label?: string | null | undefined;
4855
4891
  direction?: string | null | undefined;
4856
4892
  }) | ({
4857
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
4893
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4858
4894
  content: {
4859
4895
  text: string;
4860
4896
  } & {
@@ -4913,14 +4949,19 @@ export declare const DocumentLegacy: {
4913
4949
  } & {
4914
4950
  label?: string;
4915
4951
  direction?: string;
4916
- }) | {
4917
- type: "table";
4918
- content: {
4919
- type: "tableRow";
4920
- content: ({
4921
- type: "tableHeader";
4922
- content: ({
4923
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
4952
+ }))[];
4953
+ } | {
4954
+ __TYPE__: "SeparatorContent";
4955
+ } | {
4956
+ __TYPE__: "TableContent";
4957
+ content: {
4958
+ type: "tableRow";
4959
+ content: ({
4960
+ type: "tableHeader";
4961
+ content: {
4962
+ __TYPE__: "StructuredTextContent";
4963
+ value: ({
4964
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4924
4965
  content: {
4925
4966
  text: string;
4926
4967
  } & {
@@ -4980,10 +5021,13 @@ export declare const DocumentLegacy: {
4980
5021
  label?: string;
4981
5022
  direction?: string;
4982
5023
  })[];
4983
- } | {
4984
- type: "tableCell";
4985
- content: ({
4986
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
5024
+ };
5025
+ } | {
5026
+ type: "tableCell";
5027
+ content: {
5028
+ __TYPE__: "StructuredTextContent";
5029
+ value: ({
5030
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4987
5031
  content: {
4988
5032
  text: string;
4989
5033
  } & {
@@ -5043,11 +5087,9 @@ export declare const DocumentLegacy: {
5043
5087
  label?: string;
5044
5088
  direction?: string;
5045
5089
  })[];
5046
- })[];
5047
- }[];
5048
- })[];
5049
- } | {
5050
- __TYPE__: "SeparatorContent";
5090
+ };
5091
+ })[];
5092
+ }[];
5051
5093
  } | {
5052
5094
  __TYPE__: "UIDContent";
5053
5095
  value: string;
@@ -5416,7 +5458,7 @@ export declare const DocumentLegacy: {
5416
5458
  label?: string | null | undefined;
5417
5459
  direction?: string | null | undefined;
5418
5460
  }) | ({
5419
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
5461
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5420
5462
  content: {
5421
5463
  text: string;
5422
5464
  } & {
@@ -5475,14 +5517,19 @@ export declare const DocumentLegacy: {
5475
5517
  } & {
5476
5518
  label?: string;
5477
5519
  direction?: string;
5478
- }) | {
5479
- type: "table";
5480
- content: {
5481
- type: "tableRow";
5482
- content: ({
5483
- type: "tableHeader";
5484
- content: ({
5485
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
5520
+ }))[];
5521
+ } | {
5522
+ __TYPE__: "SeparatorContent";
5523
+ } | {
5524
+ __TYPE__: "TableContent";
5525
+ content: {
5526
+ type: "tableRow";
5527
+ content: ({
5528
+ type: "tableHeader";
5529
+ content: {
5530
+ __TYPE__: "StructuredTextContent";
5531
+ value: ({
5532
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5486
5533
  content: {
5487
5534
  text: string;
5488
5535
  } & {
@@ -5542,10 +5589,13 @@ export declare const DocumentLegacy: {
5542
5589
  label?: string;
5543
5590
  direction?: string;
5544
5591
  })[];
5545
- } | {
5546
- type: "tableCell";
5547
- content: ({
5548
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
5592
+ };
5593
+ } | {
5594
+ type: "tableCell";
5595
+ content: {
5596
+ __TYPE__: "StructuredTextContent";
5597
+ value: ({
5598
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5549
5599
  content: {
5550
5600
  text: string;
5551
5601
  } & {
@@ -5605,11 +5655,9 @@ export declare const DocumentLegacy: {
5605
5655
  label?: string;
5606
5656
  direction?: string;
5607
5657
  })[];
5608
- })[];
5609
- }[];
5610
- })[];
5611
- } | {
5612
- __TYPE__: "SeparatorContent";
5658
+ };
5659
+ })[];
5660
+ }[];
5613
5661
  } | {
5614
5662
  __TYPE__: "CompositeSliceContent";
5615
5663
  nonRepeat: {
@@ -5972,7 +6020,7 @@ export declare const DocumentLegacy: {
5972
6020
  label?: string | null | undefined;
5973
6021
  direction?: string | null | undefined;
5974
6022
  }) | ({
5975
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6023
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5976
6024
  content: {
5977
6025
  text: string;
5978
6026
  } & {
@@ -6031,14 +6079,19 @@ export declare const DocumentLegacy: {
6031
6079
  } & {
6032
6080
  label?: string;
6033
6081
  direction?: string;
6034
- }) | {
6035
- type: "table";
6036
- content: {
6037
- type: "tableRow";
6038
- content: ({
6039
- type: "tableHeader";
6040
- content: ({
6041
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6082
+ }))[];
6083
+ } | {
6084
+ __TYPE__: "SeparatorContent";
6085
+ } | {
6086
+ __TYPE__: "TableContent";
6087
+ content: {
6088
+ type: "tableRow";
6089
+ content: ({
6090
+ type: "tableHeader";
6091
+ content: {
6092
+ __TYPE__: "StructuredTextContent";
6093
+ value: ({
6094
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6042
6095
  content: {
6043
6096
  text: string;
6044
6097
  } & {
@@ -6098,10 +6151,13 @@ export declare const DocumentLegacy: {
6098
6151
  label?: string;
6099
6152
  direction?: string;
6100
6153
  })[];
6101
- } | {
6102
- type: "tableCell";
6103
- content: ({
6104
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6154
+ };
6155
+ } | {
6156
+ type: "tableCell";
6157
+ content: {
6158
+ __TYPE__: "StructuredTextContent";
6159
+ value: ({
6160
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6105
6161
  content: {
6106
6162
  text: string;
6107
6163
  } & {
@@ -6161,11 +6217,9 @@ export declare const DocumentLegacy: {
6161
6217
  label?: string;
6162
6218
  direction?: string;
6163
6219
  })[];
6164
- })[];
6165
- }[];
6166
- })[];
6167
- } | {
6168
- __TYPE__: "SeparatorContent";
6220
+ };
6221
+ })[];
6222
+ }[];
6169
6223
  };
6170
6224
  };
6171
6225
  repeat: {
@@ -6529,7 +6583,7 @@ export declare const DocumentLegacy: {
6529
6583
  label?: string | null | undefined;
6530
6584
  direction?: string | null | undefined;
6531
6585
  }) | ({
6532
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6586
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6533
6587
  content: {
6534
6588
  text: string;
6535
6589
  } & {
@@ -6588,14 +6642,19 @@ export declare const DocumentLegacy: {
6588
6642
  } & {
6589
6643
  label?: string;
6590
6644
  direction?: string;
6591
- }) | {
6592
- type: "table";
6593
- content: {
6594
- type: "tableRow";
6595
- content: ({
6596
- type: "tableHeader";
6597
- content: ({
6598
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6645
+ }))[];
6646
+ } | {
6647
+ __TYPE__: "SeparatorContent";
6648
+ } | {
6649
+ __TYPE__: "TableContent";
6650
+ content: {
6651
+ type: "tableRow";
6652
+ content: ({
6653
+ type: "tableHeader";
6654
+ content: {
6655
+ __TYPE__: "StructuredTextContent";
6656
+ value: ({
6657
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6599
6658
  content: {
6600
6659
  text: string;
6601
6660
  } & {
@@ -6655,10 +6714,13 @@ export declare const DocumentLegacy: {
6655
6714
  label?: string;
6656
6715
  direction?: string;
6657
6716
  })[];
6658
- } | {
6659
- type: "tableCell";
6660
- content: ({
6661
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6717
+ };
6718
+ } | {
6719
+ type: "tableCell";
6720
+ content: {
6721
+ __TYPE__: "StructuredTextContent";
6722
+ value: ({
6723
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6662
6724
  content: {
6663
6725
  text: string;
6664
6726
  } & {
@@ -6718,11 +6780,9 @@ export declare const DocumentLegacy: {
6718
6780
  label?: string;
6719
6781
  direction?: string;
6720
6782
  })[];
6721
- })[];
6722
- }[];
6723
- })[];
6724
- } | {
6725
- __TYPE__: "SeparatorContent";
6783
+ };
6784
+ })[];
6785
+ }[];
6726
6786
  }][];
6727
6787
  }[];
6728
6788
  } | {
@@ -7088,7 +7148,7 @@ export declare const DocumentLegacy: {
7088
7148
  label?: string | null | undefined;
7089
7149
  direction?: string | null | undefined;
7090
7150
  }) | ({
7091
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7151
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7092
7152
  content: {
7093
7153
  text: string;
7094
7154
  } & {
@@ -7147,14 +7207,19 @@ export declare const DocumentLegacy: {
7147
7207
  } & {
7148
7208
  label?: string;
7149
7209
  direction?: string;
7150
- }) | {
7151
- type: "table";
7152
- content: {
7153
- type: "tableRow";
7154
- content: ({
7155
- type: "tableHeader";
7156
- content: ({
7157
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7210
+ }))[];
7211
+ } | {
7212
+ __TYPE__: "SeparatorContent";
7213
+ } | {
7214
+ __TYPE__: "TableContent";
7215
+ content: {
7216
+ type: "tableRow";
7217
+ content: ({
7218
+ type: "tableHeader";
7219
+ content: {
7220
+ __TYPE__: "StructuredTextContent";
7221
+ value: ({
7222
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7158
7223
  content: {
7159
7224
  text: string;
7160
7225
  } & {
@@ -7214,10 +7279,13 @@ export declare const DocumentLegacy: {
7214
7279
  label?: string;
7215
7280
  direction?: string;
7216
7281
  })[];
7217
- } | {
7218
- type: "tableCell";
7219
- content: ({
7220
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7282
+ };
7283
+ } | {
7284
+ type: "tableCell";
7285
+ content: {
7286
+ __TYPE__: "StructuredTextContent";
7287
+ value: ({
7288
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7221
7289
  content: {
7222
7290
  text: string;
7223
7291
  } & {
@@ -7277,11 +7345,9 @@ export declare const DocumentLegacy: {
7277
7345
  label?: string;
7278
7346
  direction?: string;
7279
7347
  })[];
7280
- })[];
7281
- }[];
7282
- })[];
7283
- } | {
7284
- __TYPE__: "SeparatorContent";
7348
+ };
7349
+ })[];
7350
+ }[];
7285
7351
  };
7286
7352
  };
7287
7353
  items: {
@@ -7645,7 +7711,7 @@ export declare const DocumentLegacy: {
7645
7711
  label?: string | null | undefined;
7646
7712
  direction?: string | null | undefined;
7647
7713
  }) | ({
7648
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7714
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7649
7715
  content: {
7650
7716
  text: string;
7651
7717
  } & {
@@ -7704,14 +7770,19 @@ export declare const DocumentLegacy: {
7704
7770
  } & {
7705
7771
  label?: string;
7706
7772
  direction?: string;
7707
- }) | {
7708
- type: "table";
7709
- content: {
7710
- type: "tableRow";
7711
- content: ({
7712
- type: "tableHeader";
7713
- content: ({
7714
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7773
+ }))[];
7774
+ } | {
7775
+ __TYPE__: "SeparatorContent";
7776
+ } | {
7777
+ __TYPE__: "TableContent";
7778
+ content: {
7779
+ type: "tableRow";
7780
+ content: ({
7781
+ type: "tableHeader";
7782
+ content: {
7783
+ __TYPE__: "StructuredTextContent";
7784
+ value: ({
7785
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7715
7786
  content: {
7716
7787
  text: string;
7717
7788
  } & {
@@ -7771,10 +7842,13 @@ export declare const DocumentLegacy: {
7771
7842
  label?: string;
7772
7843
  direction?: string;
7773
7844
  })[];
7774
- } | {
7775
- type: "tableCell";
7776
- content: ({
7777
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7845
+ };
7846
+ } | {
7847
+ type: "tableCell";
7848
+ content: {
7849
+ __TYPE__: "StructuredTextContent";
7850
+ value: ({
7851
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
7778
7852
  content: {
7779
7853
  text: string;
7780
7854
  } & {
@@ -7834,11 +7908,9 @@ export declare const DocumentLegacy: {
7834
7908
  label?: string;
7835
7909
  direction?: string;
7836
7910
  })[];
7837
- })[];
7838
- }[];
7839
- })[];
7840
- } | {
7841
- __TYPE__: "SeparatorContent";
7911
+ };
7912
+ })[];
7913
+ }[];
7842
7914
  }][];
7843
7915
  }[];
7844
7916
  };
@@ -8238,7 +8310,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8238
8310
  label?: string | null | undefined;
8239
8311
  direction?: string | null | undefined;
8240
8312
  }) | ({
8241
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8313
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8242
8314
  content: {
8243
8315
  text: string;
8244
8316
  } & {
@@ -8297,14 +8369,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8297
8369
  } & {
8298
8370
  label?: string;
8299
8371
  direction?: string;
8300
- }) | {
8301
- type: "table";
8302
- content: {
8303
- type: "tableRow";
8304
- content: ({
8305
- type: "tableHeader";
8306
- content: ({
8307
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8372
+ }))[];
8373
+ } | {
8374
+ __TYPE__: "SeparatorContent";
8375
+ } | {
8376
+ __TYPE__: "TableContent";
8377
+ content: {
8378
+ type: "tableRow";
8379
+ content: ({
8380
+ type: "tableHeader";
8381
+ content: {
8382
+ __TYPE__: "StructuredTextContent";
8383
+ value: ({
8384
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8308
8385
  content: {
8309
8386
  text: string;
8310
8387
  } & {
@@ -8364,10 +8441,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8364
8441
  label?: string;
8365
8442
  direction?: string;
8366
8443
  })[];
8367
- } | {
8368
- type: "tableCell";
8369
- content: ({
8370
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8444
+ };
8445
+ } | {
8446
+ type: "tableCell";
8447
+ content: {
8448
+ __TYPE__: "StructuredTextContent";
8449
+ value: ({
8450
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8371
8451
  content: {
8372
8452
  text: string;
8373
8453
  } & {
@@ -8427,11 +8507,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8427
8507
  label?: string;
8428
8508
  direction?: string;
8429
8509
  })[];
8430
- })[];
8431
- }[];
8432
- })[];
8433
- } | {
8434
- __TYPE__: "SeparatorContent";
8510
+ };
8511
+ })[];
8512
+ }[];
8435
8513
  } | {
8436
8514
  __TYPE__: "UIDContent";
8437
8515
  value: string;
@@ -8800,7 +8878,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8800
8878
  label?: string | null | undefined;
8801
8879
  direction?: string | null | undefined;
8802
8880
  }) | ({
8803
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8881
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8804
8882
  content: {
8805
8883
  text: string;
8806
8884
  } & {
@@ -8859,14 +8937,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8859
8937
  } & {
8860
8938
  label?: string;
8861
8939
  direction?: string;
8862
- }) | {
8863
- type: "table";
8864
- content: {
8865
- type: "tableRow";
8866
- content: ({
8867
- type: "tableHeader";
8868
- content: ({
8869
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8940
+ }))[];
8941
+ } | {
8942
+ __TYPE__: "SeparatorContent";
8943
+ } | {
8944
+ __TYPE__: "TableContent";
8945
+ content: {
8946
+ type: "tableRow";
8947
+ content: ({
8948
+ type: "tableHeader";
8949
+ content: {
8950
+ __TYPE__: "StructuredTextContent";
8951
+ value: ({
8952
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8870
8953
  content: {
8871
8954
  text: string;
8872
8955
  } & {
@@ -8926,10 +9009,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8926
9009
  label?: string;
8927
9010
  direction?: string;
8928
9011
  })[];
8929
- } | {
8930
- type: "tableCell";
8931
- content: ({
8932
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9012
+ };
9013
+ } | {
9014
+ type: "tableCell";
9015
+ content: {
9016
+ __TYPE__: "StructuredTextContent";
9017
+ value: ({
9018
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
8933
9019
  content: {
8934
9020
  text: string;
8935
9021
  } & {
@@ -8989,11 +9075,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8989
9075
  label?: string;
8990
9076
  direction?: string;
8991
9077
  })[];
8992
- })[];
8993
- }[];
8994
- })[];
8995
- } | {
8996
- __TYPE__: "SeparatorContent";
9078
+ };
9079
+ })[];
9080
+ }[];
8997
9081
  } | {
8998
9082
  __TYPE__: "CompositeSliceContent";
8999
9083
  nonRepeat: {
@@ -9356,7 +9440,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9356
9440
  label?: string | null | undefined;
9357
9441
  direction?: string | null | undefined;
9358
9442
  }) | ({
9359
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9443
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9360
9444
  content: {
9361
9445
  text: string;
9362
9446
  } & {
@@ -9415,14 +9499,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9415
9499
  } & {
9416
9500
  label?: string;
9417
9501
  direction?: string;
9418
- }) | {
9419
- type: "table";
9420
- content: {
9421
- type: "tableRow";
9422
- content: ({
9423
- type: "tableHeader";
9424
- content: ({
9425
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9502
+ }))[];
9503
+ } | {
9504
+ __TYPE__: "SeparatorContent";
9505
+ } | {
9506
+ __TYPE__: "TableContent";
9507
+ content: {
9508
+ type: "tableRow";
9509
+ content: ({
9510
+ type: "tableHeader";
9511
+ content: {
9512
+ __TYPE__: "StructuredTextContent";
9513
+ value: ({
9514
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9426
9515
  content: {
9427
9516
  text: string;
9428
9517
  } & {
@@ -9482,10 +9571,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9482
9571
  label?: string;
9483
9572
  direction?: string;
9484
9573
  })[];
9485
- } | {
9486
- type: "tableCell";
9487
- content: ({
9488
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9574
+ };
9575
+ } | {
9576
+ type: "tableCell";
9577
+ content: {
9578
+ __TYPE__: "StructuredTextContent";
9579
+ value: ({
9580
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9489
9581
  content: {
9490
9582
  text: string;
9491
9583
  } & {
@@ -9545,11 +9637,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9545
9637
  label?: string;
9546
9638
  direction?: string;
9547
9639
  })[];
9548
- })[];
9549
- }[];
9550
- })[];
9551
- } | {
9552
- __TYPE__: "SeparatorContent";
9640
+ };
9641
+ })[];
9642
+ }[];
9553
9643
  };
9554
9644
  };
9555
9645
  repeat: {
@@ -9913,7 +10003,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9913
10003
  label?: string | null | undefined;
9914
10004
  direction?: string | null | undefined;
9915
10005
  }) | ({
9916
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10006
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9917
10007
  content: {
9918
10008
  text: string;
9919
10009
  } & {
@@ -9972,14 +10062,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9972
10062
  } & {
9973
10063
  label?: string;
9974
10064
  direction?: string;
9975
- }) | {
9976
- type: "table";
9977
- content: {
9978
- type: "tableRow";
9979
- content: ({
9980
- type: "tableHeader";
9981
- content: ({
9982
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10065
+ }))[];
10066
+ } | {
10067
+ __TYPE__: "SeparatorContent";
10068
+ } | {
10069
+ __TYPE__: "TableContent";
10070
+ content: {
10071
+ type: "tableRow";
10072
+ content: ({
10073
+ type: "tableHeader";
10074
+ content: {
10075
+ __TYPE__: "StructuredTextContent";
10076
+ value: ({
10077
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
9983
10078
  content: {
9984
10079
  text: string;
9985
10080
  } & {
@@ -10039,10 +10134,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10039
10134
  label?: string;
10040
10135
  direction?: string;
10041
10136
  })[];
10042
- } | {
10043
- type: "tableCell";
10044
- content: ({
10045
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10137
+ };
10138
+ } | {
10139
+ type: "tableCell";
10140
+ content: {
10141
+ __TYPE__: "StructuredTextContent";
10142
+ value: ({
10143
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10046
10144
  content: {
10047
10145
  text: string;
10048
10146
  } & {
@@ -10102,11 +10200,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10102
10200
  label?: string;
10103
10201
  direction?: string;
10104
10202
  })[];
10105
- })[];
10106
- }[];
10107
- })[];
10108
- } | {
10109
- __TYPE__: "SeparatorContent";
10203
+ };
10204
+ })[];
10205
+ }[];
10110
10206
  }][];
10111
10207
  }[];
10112
10208
  } | {
@@ -10472,7 +10568,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10472
10568
  label?: string | null | undefined;
10473
10569
  direction?: string | null | undefined;
10474
10570
  }) | ({
10475
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10571
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10476
10572
  content: {
10477
10573
  text: string;
10478
10574
  } & {
@@ -10531,14 +10627,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10531
10627
  } & {
10532
10628
  label?: string;
10533
10629
  direction?: string;
10534
- }) | {
10535
- type: "table";
10536
- content: {
10537
- type: "tableRow";
10538
- content: ({
10539
- type: "tableHeader";
10540
- content: ({
10541
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10630
+ }))[];
10631
+ } | {
10632
+ __TYPE__: "SeparatorContent";
10633
+ } | {
10634
+ __TYPE__: "TableContent";
10635
+ content: {
10636
+ type: "tableRow";
10637
+ content: ({
10638
+ type: "tableHeader";
10639
+ content: {
10640
+ __TYPE__: "StructuredTextContent";
10641
+ value: ({
10642
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10542
10643
  content: {
10543
10644
  text: string;
10544
10645
  } & {
@@ -10598,10 +10699,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10598
10699
  label?: string;
10599
10700
  direction?: string;
10600
10701
  })[];
10601
- } | {
10602
- type: "tableCell";
10603
- content: ({
10604
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10702
+ };
10703
+ } | {
10704
+ type: "tableCell";
10705
+ content: {
10706
+ __TYPE__: "StructuredTextContent";
10707
+ value: ({
10708
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
10605
10709
  content: {
10606
10710
  text: string;
10607
10711
  } & {
@@ -10661,11 +10765,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10661
10765
  label?: string;
10662
10766
  direction?: string;
10663
10767
  })[];
10664
- })[];
10665
- }[];
10666
- })[];
10667
- } | {
10668
- __TYPE__: "SeparatorContent";
10768
+ };
10769
+ })[];
10770
+ }[];
10669
10771
  };
10670
10772
  };
10671
10773
  items: {
@@ -11029,7 +11131,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11029
11131
  label?: string | null | undefined;
11030
11132
  direction?: string | null | undefined;
11031
11133
  }) | ({
11032
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
11134
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
11033
11135
  content: {
11034
11136
  text: string;
11035
11137
  } & {
@@ -11088,14 +11190,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11088
11190
  } & {
11089
11191
  label?: string;
11090
11192
  direction?: string;
11091
- }) | {
11092
- type: "table";
11093
- content: {
11094
- type: "tableRow";
11095
- content: ({
11096
- type: "tableHeader";
11097
- content: ({
11098
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
11193
+ }))[];
11194
+ } | {
11195
+ __TYPE__: "SeparatorContent";
11196
+ } | {
11197
+ __TYPE__: "TableContent";
11198
+ content: {
11199
+ type: "tableRow";
11200
+ content: ({
11201
+ type: "tableHeader";
11202
+ content: {
11203
+ __TYPE__: "StructuredTextContent";
11204
+ value: ({
11205
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
11099
11206
  content: {
11100
11207
  text: string;
11101
11208
  } & {
@@ -11155,10 +11262,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11155
11262
  label?: string;
11156
11263
  direction?: string;
11157
11264
  })[];
11158
- } | {
11159
- type: "tableCell";
11160
- content: ({
11161
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
11265
+ };
11266
+ } | {
11267
+ type: "tableCell";
11268
+ content: {
11269
+ __TYPE__: "StructuredTextContent";
11270
+ value: ({
11271
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
11162
11272
  content: {
11163
11273
  text: string;
11164
11274
  } & {
@@ -11218,11 +11328,9 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11218
11328
  label?: string;
11219
11329
  direction?: string;
11220
11330
  })[];
11221
- })[];
11222
- }[];
11223
- })[];
11224
- } | {
11225
- __TYPE__: "SeparatorContent";
11331
+ };
11332
+ })[];
11333
+ }[];
11226
11334
  }][];
11227
11335
  }[];
11228
11336
  };