@prismicio/types-internal 3.4.0-alpha.9 → 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 +507 -3393
  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 +503 -3389
  8. package/lib/content/fields/nestable/NestableContent.d.ts +70 -551
  9. package/lib/content/fields/nestable/NestableContent.js +7 -8
  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 +192 -1154
  19. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +25 -252
  20. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +192 -1154
  21. package/lib/content/fields/slices/Slice/SharedSliceContent.js +12 -0
  22. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +70 -551
  23. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +70 -551
  24. package/lib/content/fields/slices/Slice/index.d.ts +268 -2038
  25. package/lib/content/fields/slices/SliceItem.d.ts +259 -2029
  26. package/lib/content/fields/slices/SlicesContent.d.ts +405 -2810
  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 +13 -9
  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">;
@@ -745,240 +751,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
745
751
  variant: t.StringC;
746
752
  }>]>>]>]>;
747
753
  }>>]>>;
748
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
749
- content: t.ArrayC<t.ExactC<t.TypeC<{
750
- type: t.LiteralC<"tableRow">;
751
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
752
- type: t.LiteralC<"tableHeader">;
753
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
754
- 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>;
755
- content: t.IntersectionC<[t.TypeC<{
756
- text: t.StringC;
757
- }>, t.PartialC<{
758
- spans: t.Type<({
759
- data: ({
760
- __TYPE__: "ImageLink";
761
- } & {
762
- kind: "image";
763
- id: string;
764
- url: string;
765
- height: string;
766
- width: string;
767
- size: string;
768
- name: string;
769
- } & {
770
- date?: string | null | undefined;
771
- }) | ({
772
- __TYPE__: "FileLink";
773
- } & {
774
- kind: "file";
775
- id: string;
776
- url: string;
777
- name: string;
778
- size: string;
779
- } & {
780
- date?: string | null | undefined;
781
- }) | ({
782
- __TYPE__: "DocumentLink";
783
- } & {
784
- id: string;
785
- }) | ({
786
- __TYPE__: "ExternalLink";
787
- } & {
788
- url: string;
789
- } & {
790
- kind?: "web";
791
- target?: string | null | undefined;
792
- preview?: {
793
- title?: string;
794
- } | null | undefined;
795
- });
796
- start: number;
797
- end: number;
798
- type: "hyperlink";
799
- } | {
800
- data: string;
801
- start: number;
802
- end: number;
803
- type: "label";
804
- } | {
805
- start: number;
806
- end: number;
807
- type: "strong" | "em" | "list-item";
808
- })[], ({
809
- data: ({
810
- __TYPE__: "ImageLink";
811
- } & {
812
- kind: "image";
813
- id: string;
814
- url: string;
815
- height: string;
816
- width: string;
817
- size: string;
818
- name: string;
819
- } & {
820
- date?: string | null | undefined;
821
- }) | ({
822
- __TYPE__: "FileLink";
823
- } & {
824
- kind: "file";
825
- id: string;
826
- url: string;
827
- name: string;
828
- size: string;
829
- } & {
830
- date?: string | null | undefined;
831
- }) | ({
832
- __TYPE__: "DocumentLink";
833
- } & {
834
- id: string;
835
- }) | ({
836
- __TYPE__: "ExternalLink";
837
- } & {
838
- url: string;
839
- } & {
840
- kind?: "web";
841
- target?: string | null | undefined;
842
- preview?: {
843
- title?: string;
844
- } | null | undefined;
845
- });
846
- start: number;
847
- end: number;
848
- type: "hyperlink";
849
- } | {
850
- data: string;
851
- start: number;
852
- end: number;
853
- type: "label";
854
- } | {
855
- start: number;
856
- end: number;
857
- type: "strong" | "em" | "list-item";
858
- })[], unknown>;
859
- }>]>;
860
- }>, t.PartialC<{
861
- label: t.StringC;
862
- direction: t.StringC;
863
- }>]>>>;
864
- }>>, t.ExactC<t.TypeC<{
865
- type: t.LiteralC<"tableCell">;
866
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
867
- 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>;
868
- content: t.IntersectionC<[t.TypeC<{
869
- text: t.StringC;
870
- }>, t.PartialC<{
871
- spans: t.Type<({
872
- data: ({
873
- __TYPE__: "ImageLink";
874
- } & {
875
- kind: "image";
876
- id: string;
877
- url: string;
878
- height: string;
879
- width: string;
880
- size: string;
881
- name: string;
882
- } & {
883
- date?: string | null | undefined;
884
- }) | ({
885
- __TYPE__: "FileLink";
886
- } & {
887
- kind: "file";
888
- id: string;
889
- url: string;
890
- name: string;
891
- size: string;
892
- } & {
893
- date?: string | null | undefined;
894
- }) | ({
895
- __TYPE__: "DocumentLink";
896
- } & {
897
- id: string;
898
- }) | ({
899
- __TYPE__: "ExternalLink";
900
- } & {
901
- url: string;
902
- } & {
903
- kind?: "web";
904
- target?: string | null | undefined;
905
- preview?: {
906
- title?: string;
907
- } | null | undefined;
908
- });
909
- start: number;
910
- end: number;
911
- type: "hyperlink";
912
- } | {
913
- data: string;
914
- start: number;
915
- end: number;
916
- type: "label";
917
- } | {
918
- start: number;
919
- end: number;
920
- type: "strong" | "em" | "list-item";
921
- })[], ({
922
- data: ({
923
- __TYPE__: "ImageLink";
924
- } & {
925
- kind: "image";
926
- id: string;
927
- url: string;
928
- height: string;
929
- width: string;
930
- size: string;
931
- name: string;
932
- } & {
933
- date?: string | null | undefined;
934
- }) | ({
935
- __TYPE__: "FileLink";
936
- } & {
937
- kind: "file";
938
- id: string;
939
- url: string;
940
- name: string;
941
- size: string;
942
- } & {
943
- date?: string | null | undefined;
944
- }) | ({
945
- __TYPE__: "DocumentLink";
946
- } & {
947
- id: string;
948
- }) | ({
949
- __TYPE__: "ExternalLink";
950
- } & {
951
- url: string;
952
- } & {
953
- kind?: "web";
954
- target?: string | null | undefined;
955
- preview?: {
956
- title?: string;
957
- } | null | undefined;
958
- });
959
- start: number;
960
- end: number;
961
- type: "hyperlink";
962
- } | {
963
- data: string;
964
- start: number;
965
- end: number;
966
- type: "label";
967
- } | {
968
- start: number;
969
- end: number;
970
- type: "strong" | "em" | "list-item";
971
- })[], unknown>;
972
- }>]>;
973
- }>, t.PartialC<{
974
- label: t.StringC;
975
- direction: t.StringC;
976
- }>]>>>;
977
- }>>]>>;
978
- }>>>;
979
- }>>, t.ExactC<t.TypeC<{
980
- __TYPE__: t.LiteralC<"TableContent">;
981
- }>>]>]>, t.TypeC<{
754
+ }>>]>, t.TypeC<{
982
755
  __TYPE__: t.LiteralC<"UIDContent">;
983
756
  value: t.StringC;
984
757
  }>, t.TypeC<{
@@ -1305,7 +1078,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1305
1078
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1306
1079
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1307
1080
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1308
- 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>;
1309
1082
  content: t.IntersectionC<[t.TypeC<{
1310
1083
  text: t.StringC;
1311
1084
  }>, t.PartialC<{
@@ -1414,14 +1187,19 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1414
1187
  }>, t.PartialC<{
1415
1188
  label: t.StringC;
1416
1189
  direction: t.StringC;
1417
- }>]>>, t.ExactC<t.TypeC<{
1418
- type: t.LiteralC<"table">;
1419
- content: t.ArrayC<t.ExactC<t.TypeC<{
1420
- type: t.LiteralC<"tableRow">;
1421
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1422
- type: t.LiteralC<"tableHeader">;
1423
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1424
- 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>;
1425
1203
  content: t.IntersectionC<[t.TypeC<{
1426
1204
  text: t.StringC;
1427
1205
  }>, t.PartialC<{
@@ -1531,10 +1309,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1531
1309
  label: t.StringC;
1532
1310
  direction: t.StringC;
1533
1311
  }>]>>>;
1534
- }>>, t.ExactC<t.TypeC<{
1535
- type: t.LiteralC<"tableCell">;
1536
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1537
- 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>;
1538
1319
  content: t.IntersectionC<[t.TypeC<{
1539
1320
  text: t.StringC;
1540
1321
  }>, t.PartialC<{
@@ -1644,11 +1425,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1644
1425
  label: t.StringC;
1645
1426
  direction: t.StringC;
1646
1427
  }>]>>>;
1647
- }>>]>>;
1648
- }>>>;
1649
- }>>]>>;
1650
- }>>, t.ExactC<t.TypeC<{
1651
- __TYPE__: t.LiteralC<"SeparatorContent">;
1428
+ }>>;
1429
+ }>>]>>;
1430
+ }>>>;
1652
1431
  }>>, t.ExactC<t.TypeC<{
1653
1432
  __TYPE__: t.LiteralC<"RepeatableContent">;
1654
1433
  type: t.LiteralC<"Link">;
@@ -1730,240 +1509,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1730
1509
  variant: t.StringC;
1731
1510
  }>]>>]>]>;
1732
1511
  }>>]>>;
1733
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1734
- content: t.ArrayC<t.ExactC<t.TypeC<{
1735
- type: t.LiteralC<"tableRow">;
1736
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
1737
- type: t.LiteralC<"tableHeader">;
1738
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1739
- 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>;
1740
- content: t.IntersectionC<[t.TypeC<{
1741
- text: t.StringC;
1742
- }>, t.PartialC<{
1743
- spans: t.Type<({
1744
- data: ({
1745
- __TYPE__: "ImageLink";
1746
- } & {
1747
- kind: "image";
1748
- id: string;
1749
- url: string;
1750
- height: string;
1751
- width: string;
1752
- size: string;
1753
- name: string;
1754
- } & {
1755
- date?: string | null | undefined;
1756
- }) | ({
1757
- __TYPE__: "FileLink";
1758
- } & {
1759
- kind: "file";
1760
- id: string;
1761
- url: string;
1762
- name: string;
1763
- size: string;
1764
- } & {
1765
- date?: string | null | undefined;
1766
- }) | ({
1767
- __TYPE__: "DocumentLink";
1768
- } & {
1769
- id: string;
1770
- }) | ({
1771
- __TYPE__: "ExternalLink";
1772
- } & {
1773
- url: string;
1774
- } & {
1775
- kind?: "web";
1776
- target?: string | null | undefined;
1777
- preview?: {
1778
- title?: string;
1779
- } | null | undefined;
1780
- });
1781
- start: number;
1782
- end: number;
1783
- type: "hyperlink";
1784
- } | {
1785
- data: string;
1786
- start: number;
1787
- end: number;
1788
- type: "label";
1789
- } | {
1790
- start: number;
1791
- end: number;
1792
- type: "strong" | "em" | "list-item";
1793
- })[], ({
1794
- data: ({
1795
- __TYPE__: "ImageLink";
1796
- } & {
1797
- kind: "image";
1798
- id: string;
1799
- url: string;
1800
- height: string;
1801
- width: string;
1802
- size: string;
1803
- name: string;
1804
- } & {
1805
- date?: string | null | undefined;
1806
- }) | ({
1807
- __TYPE__: "FileLink";
1808
- } & {
1809
- kind: "file";
1810
- id: string;
1811
- url: string;
1812
- name: string;
1813
- size: string;
1814
- } & {
1815
- date?: string | null | undefined;
1816
- }) | ({
1817
- __TYPE__: "DocumentLink";
1818
- } & {
1819
- id: string;
1820
- }) | ({
1821
- __TYPE__: "ExternalLink";
1822
- } & {
1823
- url: string;
1824
- } & {
1825
- kind?: "web";
1826
- target?: string | null | undefined;
1827
- preview?: {
1828
- title?: string;
1829
- } | null | undefined;
1830
- });
1831
- start: number;
1832
- end: number;
1833
- type: "hyperlink";
1834
- } | {
1835
- data: string;
1836
- start: number;
1837
- end: number;
1838
- type: "label";
1839
- } | {
1840
- start: number;
1841
- end: number;
1842
- type: "strong" | "em" | "list-item";
1843
- })[], unknown>;
1844
- }>]>;
1845
- }>, t.PartialC<{
1846
- label: t.StringC;
1847
- direction: t.StringC;
1848
- }>]>>>;
1849
- }>>, t.ExactC<t.TypeC<{
1850
- type: t.LiteralC<"tableCell">;
1851
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1852
- 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>;
1853
- content: t.IntersectionC<[t.TypeC<{
1854
- text: t.StringC;
1855
- }>, t.PartialC<{
1856
- spans: t.Type<({
1857
- data: ({
1858
- __TYPE__: "ImageLink";
1859
- } & {
1860
- kind: "image";
1861
- id: string;
1862
- url: string;
1863
- height: string;
1864
- width: string;
1865
- size: string;
1866
- name: string;
1867
- } & {
1868
- date?: string | null | undefined;
1869
- }) | ({
1870
- __TYPE__: "FileLink";
1871
- } & {
1872
- kind: "file";
1873
- id: string;
1874
- url: string;
1875
- name: string;
1876
- size: string;
1877
- } & {
1878
- date?: string | null | undefined;
1879
- }) | ({
1880
- __TYPE__: "DocumentLink";
1881
- } & {
1882
- id: string;
1883
- }) | ({
1884
- __TYPE__: "ExternalLink";
1885
- } & {
1886
- url: string;
1887
- } & {
1888
- kind?: "web";
1889
- target?: string | null | undefined;
1890
- preview?: {
1891
- title?: string;
1892
- } | null | undefined;
1893
- });
1894
- start: number;
1895
- end: number;
1896
- type: "hyperlink";
1897
- } | {
1898
- data: string;
1899
- start: number;
1900
- end: number;
1901
- type: "label";
1902
- } | {
1903
- start: number;
1904
- end: number;
1905
- type: "strong" | "em" | "list-item";
1906
- })[], ({
1907
- data: ({
1908
- __TYPE__: "ImageLink";
1909
- } & {
1910
- kind: "image";
1911
- id: string;
1912
- url: string;
1913
- height: string;
1914
- width: string;
1915
- size: string;
1916
- name: string;
1917
- } & {
1918
- date?: string | null | undefined;
1919
- }) | ({
1920
- __TYPE__: "FileLink";
1921
- } & {
1922
- kind: "file";
1923
- id: string;
1924
- url: string;
1925
- name: string;
1926
- size: string;
1927
- } & {
1928
- date?: string | null | undefined;
1929
- }) | ({
1930
- __TYPE__: "DocumentLink";
1931
- } & {
1932
- id: string;
1933
- }) | ({
1934
- __TYPE__: "ExternalLink";
1935
- } & {
1936
- url: string;
1937
- } & {
1938
- kind?: "web";
1939
- target?: string | null | undefined;
1940
- preview?: {
1941
- title?: string;
1942
- } | null | undefined;
1943
- });
1944
- start: number;
1945
- end: number;
1946
- type: "hyperlink";
1947
- } | {
1948
- data: string;
1949
- start: number;
1950
- end: number;
1951
- type: "label";
1952
- } | {
1953
- start: number;
1954
- end: number;
1955
- type: "strong" | "em" | "list-item";
1956
- })[], unknown>;
1957
- }>]>;
1958
- }>, t.PartialC<{
1959
- label: t.StringC;
1960
- direction: t.StringC;
1961
- }>]>>>;
1962
- }>>]>>;
1963
- }>>>;
1964
- }>>, t.ExactC<t.TypeC<{
1965
- __TYPE__: t.LiteralC<"TableContent">;
1966
- }>>]>]>>;
1512
+ }>>]>>;
1967
1513
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
1968
1514
  __TYPE__: t.LiteralC<"GroupItemContent">;
1969
1515
  value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -2282,7 +1828,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2282
1828
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2283
1829
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2284
1830
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2285
- 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>;
2286
1832
  content: t.IntersectionC<[t.TypeC<{
2287
1833
  text: t.StringC;
2288
1834
  }>, t.PartialC<{
@@ -2391,18 +1937,23 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2391
1937
  }>, t.PartialC<{
2392
1938
  label: t.StringC;
2393
1939
  direction: t.StringC;
2394
- }>]>>, t.ExactC<t.TypeC<{
2395
- type: t.LiteralC<"table">;
2396
- content: t.ArrayC<t.ExactC<t.TypeC<{
2397
- type: t.LiteralC<"tableRow">;
2398
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2399
- type: t.LiteralC<"tableHeader">;
2400
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2401
- 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>;
2402
- content: t.IntersectionC<[t.TypeC<{
2403
- text: t.StringC;
2404
- }>, t.PartialC<{
2405
- spans: t.Type<({
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>;
1953
+ content: t.IntersectionC<[t.TypeC<{
1954
+ text: t.StringC;
1955
+ }>, t.PartialC<{
1956
+ spans: t.Type<({
2406
1957
  data: ({
2407
1958
  __TYPE__: "ImageLink";
2408
1959
  } & {
@@ -2508,10 +2059,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2508
2059
  label: t.StringC;
2509
2060
  direction: t.StringC;
2510
2061
  }>]>>>;
2511
- }>>, t.ExactC<t.TypeC<{
2512
- type: t.LiteralC<"tableCell">;
2513
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2514
- 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>;
2515
2069
  content: t.IntersectionC<[t.TypeC<{
2516
2070
  text: t.StringC;
2517
2071
  }>, t.PartialC<{
@@ -2621,11 +2175,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2621
2175
  label: t.StringC;
2622
2176
  direction: t.StringC;
2623
2177
  }>]>>>;
2624
- }>>]>>;
2625
- }>>>;
2626
- }>>]>>;
2627
- }>>, t.ExactC<t.TypeC<{
2628
- __TYPE__: t.LiteralC<"SeparatorContent">;
2178
+ }>>;
2179
+ }>>]>>;
2180
+ }>>>;
2629
2181
  }>>, t.ExactC<t.TypeC<{
2630
2182
  __TYPE__: t.LiteralC<"RepeatableContent">;
2631
2183
  type: t.LiteralC<"Link">;
@@ -2707,240 +2259,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2707
2259
  variant: t.StringC;
2708
2260
  }>]>>]>]>;
2709
2261
  }>>]>>;
2710
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2711
- content: t.ArrayC<t.ExactC<t.TypeC<{
2712
- type: t.LiteralC<"tableRow">;
2713
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2714
- type: t.LiteralC<"tableHeader">;
2715
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2716
- 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>;
2717
- content: t.IntersectionC<[t.TypeC<{
2718
- text: t.StringC;
2719
- }>, t.PartialC<{
2720
- spans: t.Type<({
2721
- data: ({
2722
- __TYPE__: "ImageLink";
2723
- } & {
2724
- kind: "image";
2725
- id: string;
2726
- url: string;
2727
- height: string;
2728
- width: string;
2729
- size: string;
2730
- name: string;
2731
- } & {
2732
- date?: string | null | undefined;
2733
- }) | ({
2734
- __TYPE__: "FileLink";
2735
- } & {
2736
- kind: "file";
2737
- id: string;
2738
- url: string;
2739
- name: string;
2740
- size: string;
2741
- } & {
2742
- date?: string | null | undefined;
2743
- }) | ({
2744
- __TYPE__: "DocumentLink";
2745
- } & {
2746
- id: string;
2747
- }) | ({
2748
- __TYPE__: "ExternalLink";
2749
- } & {
2750
- url: string;
2751
- } & {
2752
- kind?: "web";
2753
- target?: string | null | undefined;
2754
- preview?: {
2755
- title?: string;
2756
- } | null | undefined;
2757
- });
2758
- start: number;
2759
- end: number;
2760
- type: "hyperlink";
2761
- } | {
2762
- data: string;
2763
- start: number;
2764
- end: number;
2765
- type: "label";
2766
- } | {
2767
- start: number;
2768
- end: number;
2769
- type: "strong" | "em" | "list-item";
2770
- })[], ({
2771
- data: ({
2772
- __TYPE__: "ImageLink";
2773
- } & {
2774
- kind: "image";
2775
- id: string;
2776
- url: string;
2777
- height: string;
2778
- width: string;
2779
- size: string;
2780
- name: string;
2781
- } & {
2782
- date?: string | null | undefined;
2783
- }) | ({
2784
- __TYPE__: "FileLink";
2785
- } & {
2786
- kind: "file";
2787
- id: string;
2788
- url: string;
2789
- name: string;
2790
- size: string;
2791
- } & {
2792
- date?: string | null | undefined;
2793
- }) | ({
2794
- __TYPE__: "DocumentLink";
2795
- } & {
2796
- id: string;
2797
- }) | ({
2798
- __TYPE__: "ExternalLink";
2799
- } & {
2800
- url: string;
2801
- } & {
2802
- kind?: "web";
2803
- target?: string | null | undefined;
2804
- preview?: {
2805
- title?: string;
2806
- } | null | undefined;
2807
- });
2808
- start: number;
2809
- end: number;
2810
- type: "hyperlink";
2811
- } | {
2812
- data: string;
2813
- start: number;
2814
- end: number;
2815
- type: "label";
2816
- } | {
2817
- start: number;
2818
- end: number;
2819
- type: "strong" | "em" | "list-item";
2820
- })[], unknown>;
2821
- }>]>;
2822
- }>, t.PartialC<{
2823
- label: t.StringC;
2824
- direction: t.StringC;
2825
- }>]>>>;
2826
- }>>, t.ExactC<t.TypeC<{
2827
- type: t.LiteralC<"tableCell">;
2828
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2829
- 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>;
2830
- content: t.IntersectionC<[t.TypeC<{
2831
- text: t.StringC;
2832
- }>, t.PartialC<{
2833
- spans: t.Type<({
2834
- data: ({
2835
- __TYPE__: "ImageLink";
2836
- } & {
2837
- kind: "image";
2838
- id: string;
2839
- url: string;
2840
- height: string;
2841
- width: string;
2842
- size: string;
2843
- name: string;
2844
- } & {
2845
- date?: string | null | undefined;
2846
- }) | ({
2847
- __TYPE__: "FileLink";
2848
- } & {
2849
- kind: "file";
2850
- id: string;
2851
- url: string;
2852
- name: string;
2853
- size: string;
2854
- } & {
2855
- date?: string | null | undefined;
2856
- }) | ({
2857
- __TYPE__: "DocumentLink";
2858
- } & {
2859
- id: string;
2860
- }) | ({
2861
- __TYPE__: "ExternalLink";
2862
- } & {
2863
- url: string;
2864
- } & {
2865
- kind?: "web";
2866
- target?: string | null | undefined;
2867
- preview?: {
2868
- title?: string;
2869
- } | null | undefined;
2870
- });
2871
- start: number;
2872
- end: number;
2873
- type: "hyperlink";
2874
- } | {
2875
- data: string;
2876
- start: number;
2877
- end: number;
2878
- type: "label";
2879
- } | {
2880
- start: number;
2881
- end: number;
2882
- type: "strong" | "em" | "list-item";
2883
- })[], ({
2884
- data: ({
2885
- __TYPE__: "ImageLink";
2886
- } & {
2887
- kind: "image";
2888
- id: string;
2889
- url: string;
2890
- height: string;
2891
- width: string;
2892
- size: string;
2893
- name: string;
2894
- } & {
2895
- date?: string | null | undefined;
2896
- }) | ({
2897
- __TYPE__: "FileLink";
2898
- } & {
2899
- kind: "file";
2900
- id: string;
2901
- url: string;
2902
- name: string;
2903
- size: string;
2904
- } & {
2905
- date?: string | null | undefined;
2906
- }) | ({
2907
- __TYPE__: "DocumentLink";
2908
- } & {
2909
- id: string;
2910
- }) | ({
2911
- __TYPE__: "ExternalLink";
2912
- } & {
2913
- url: string;
2914
- } & {
2915
- kind?: "web";
2916
- target?: string | null | undefined;
2917
- preview?: {
2918
- title?: string;
2919
- } | null | undefined;
2920
- });
2921
- start: number;
2922
- end: number;
2923
- type: "hyperlink";
2924
- } | {
2925
- data: string;
2926
- start: number;
2927
- end: number;
2928
- type: "label";
2929
- } | {
2930
- start: number;
2931
- end: number;
2932
- type: "strong" | "em" | "list-item";
2933
- })[], unknown>;
2934
- }>]>;
2935
- }>, t.PartialC<{
2936
- label: t.StringC;
2937
- direction: t.StringC;
2938
- }>]>>>;
2939
- }>>]>>;
2940
- }>>>;
2941
- }>>, t.ExactC<t.TypeC<{
2942
- __TYPE__: t.LiteralC<"TableContent">;
2943
- }>>]>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
2262
+ }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
2944
2263
  }>>>;
2945
2264
  }>>, t.ExactC<t.TypeC<{
2946
2265
  __TYPE__: t.LiteralC<"SharedSliceContent">;
@@ -3261,7 +2580,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3261
2580
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3262
2581
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3263
2582
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3264
- 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>;
3265
2584
  content: t.IntersectionC<[t.TypeC<{
3266
2585
  text: t.StringC;
3267
2586
  }>, t.PartialC<{
@@ -3370,15 +2689,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3370
2689
  }>, t.PartialC<{
3371
2690
  label: t.StringC;
3372
2691
  direction: t.StringC;
3373
- }>]>>, t.ExactC<t.TypeC<{
3374
- type: t.LiteralC<"table">;
3375
- content: t.ArrayC<t.ExactC<t.TypeC<{
3376
- type: t.LiteralC<"tableRow">;
3377
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3378
- type: t.LiteralC<"tableHeader">;
3379
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3380
- 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>;
3381
- content: t.IntersectionC<[t.TypeC<{
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>;
2705
+ content: t.IntersectionC<[t.TypeC<{
3382
2706
  text: t.StringC;
3383
2707
  }>, t.PartialC<{
3384
2708
  spans: t.Type<({
@@ -3487,10 +2811,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3487
2811
  label: t.StringC;
3488
2812
  direction: t.StringC;
3489
2813
  }>]>>>;
3490
- }>>, t.ExactC<t.TypeC<{
3491
- type: t.LiteralC<"tableCell">;
3492
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3493
- 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>;
3494
2821
  content: t.IntersectionC<[t.TypeC<{
3495
2822
  text: t.StringC;
3496
2823
  }>, t.PartialC<{
@@ -3600,11 +2927,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3600
2927
  label: t.StringC;
3601
2928
  direction: t.StringC;
3602
2929
  }>]>>>;
3603
- }>>]>>;
3604
- }>>>;
3605
- }>>]>>;
3606
- }>>, t.ExactC<t.TypeC<{
3607
- __TYPE__: t.LiteralC<"SeparatorContent">;
2930
+ }>>;
2931
+ }>>]>>;
2932
+ }>>>;
3608
2933
  }>>, t.ExactC<t.TypeC<{
3609
2934
  __TYPE__: t.LiteralC<"RepeatableContent">;
3610
2935
  type: t.LiteralC<"Link">;
@@ -3686,240 +3011,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3686
3011
  variant: t.StringC;
3687
3012
  }>]>>]>]>;
3688
3013
  }>>]>>;
3689
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3690
- content: t.ArrayC<t.ExactC<t.TypeC<{
3691
- type: t.LiteralC<"tableRow">;
3692
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3693
- type: t.LiteralC<"tableHeader">;
3694
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3695
- 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>;
3696
- content: t.IntersectionC<[t.TypeC<{
3697
- text: t.StringC;
3698
- }>, t.PartialC<{
3699
- spans: t.Type<({
3700
- data: ({
3701
- __TYPE__: "ImageLink";
3702
- } & {
3703
- kind: "image";
3704
- id: string;
3705
- url: string;
3706
- height: string;
3707
- width: string;
3708
- size: string;
3709
- name: string;
3710
- } & {
3711
- date?: string | null | undefined;
3712
- }) | ({
3713
- __TYPE__: "FileLink";
3714
- } & {
3715
- kind: "file";
3716
- id: string;
3717
- url: string;
3718
- name: string;
3719
- size: string;
3720
- } & {
3721
- date?: string | null | undefined;
3722
- }) | ({
3723
- __TYPE__: "DocumentLink";
3724
- } & {
3725
- id: string;
3726
- }) | ({
3727
- __TYPE__: "ExternalLink";
3728
- } & {
3729
- url: string;
3730
- } & {
3731
- kind?: "web";
3732
- target?: string | null | undefined;
3733
- preview?: {
3734
- title?: string;
3735
- } | null | undefined;
3736
- });
3737
- start: number;
3738
- end: number;
3739
- type: "hyperlink";
3740
- } | {
3741
- data: string;
3742
- start: number;
3743
- end: number;
3744
- type: "label";
3745
- } | {
3746
- start: number;
3747
- end: number;
3748
- type: "strong" | "em" | "list-item";
3749
- })[], ({
3750
- data: ({
3751
- __TYPE__: "ImageLink";
3752
- } & {
3753
- kind: "image";
3754
- id: string;
3755
- url: string;
3756
- height: string;
3757
- width: string;
3758
- size: string;
3759
- name: string;
3760
- } & {
3761
- date?: string | null | undefined;
3762
- }) | ({
3763
- __TYPE__: "FileLink";
3764
- } & {
3765
- kind: "file";
3766
- id: string;
3767
- url: string;
3768
- name: string;
3769
- size: string;
3770
- } & {
3771
- date?: string | null | undefined;
3772
- }) | ({
3773
- __TYPE__: "DocumentLink";
3774
- } & {
3775
- id: string;
3776
- }) | ({
3777
- __TYPE__: "ExternalLink";
3778
- } & {
3779
- url: string;
3780
- } & {
3781
- kind?: "web";
3782
- target?: string | null | undefined;
3783
- preview?: {
3784
- title?: string;
3785
- } | null | undefined;
3786
- });
3787
- start: number;
3788
- end: number;
3789
- type: "hyperlink";
3790
- } | {
3791
- data: string;
3792
- start: number;
3793
- end: number;
3794
- type: "label";
3795
- } | {
3796
- start: number;
3797
- end: number;
3798
- type: "strong" | "em" | "list-item";
3799
- })[], unknown>;
3800
- }>]>;
3801
- }>, t.PartialC<{
3802
- label: t.StringC;
3803
- direction: t.StringC;
3804
- }>]>>>;
3805
- }>>, t.ExactC<t.TypeC<{
3806
- type: t.LiteralC<"tableCell">;
3807
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3808
- 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>;
3809
- content: t.IntersectionC<[t.TypeC<{
3810
- text: t.StringC;
3811
- }>, t.PartialC<{
3812
- spans: t.Type<({
3813
- data: ({
3814
- __TYPE__: "ImageLink";
3815
- } & {
3816
- kind: "image";
3817
- id: string;
3818
- url: string;
3819
- height: string;
3820
- width: string;
3821
- size: string;
3822
- name: string;
3823
- } & {
3824
- date?: string | null | undefined;
3825
- }) | ({
3826
- __TYPE__: "FileLink";
3827
- } & {
3828
- kind: "file";
3829
- id: string;
3830
- url: string;
3831
- name: string;
3832
- size: string;
3833
- } & {
3834
- date?: string | null | undefined;
3835
- }) | ({
3836
- __TYPE__: "DocumentLink";
3837
- } & {
3838
- id: string;
3839
- }) | ({
3840
- __TYPE__: "ExternalLink";
3841
- } & {
3842
- url: string;
3843
- } & {
3844
- kind?: "web";
3845
- target?: string | null | undefined;
3846
- preview?: {
3847
- title?: string;
3848
- } | null | undefined;
3849
- });
3850
- start: number;
3851
- end: number;
3852
- type: "hyperlink";
3853
- } | {
3854
- data: string;
3855
- start: number;
3856
- end: number;
3857
- type: "label";
3858
- } | {
3859
- start: number;
3860
- end: number;
3861
- type: "strong" | "em" | "list-item";
3862
- })[], ({
3863
- data: ({
3864
- __TYPE__: "ImageLink";
3865
- } & {
3866
- kind: "image";
3867
- id: string;
3868
- url: string;
3869
- height: string;
3870
- width: string;
3871
- size: string;
3872
- name: string;
3873
- } & {
3874
- date?: string | null | undefined;
3875
- }) | ({
3876
- __TYPE__: "FileLink";
3877
- } & {
3878
- kind: "file";
3879
- id: string;
3880
- url: string;
3881
- name: string;
3882
- size: string;
3883
- } & {
3884
- date?: string | null | undefined;
3885
- }) | ({
3886
- __TYPE__: "DocumentLink";
3887
- } & {
3888
- id: string;
3889
- }) | ({
3890
- __TYPE__: "ExternalLink";
3891
- } & {
3892
- url: string;
3893
- } & {
3894
- kind?: "web";
3895
- target?: string | null | undefined;
3896
- preview?: {
3897
- title?: string;
3898
- } | null | undefined;
3899
- });
3900
- start: number;
3901
- end: number;
3902
- type: "hyperlink";
3903
- } | {
3904
- data: string;
3905
- start: number;
3906
- end: number;
3907
- type: "label";
3908
- } | {
3909
- start: number;
3910
- end: number;
3911
- type: "strong" | "em" | "list-item";
3912
- })[], unknown>;
3913
- }>]>;
3914
- }>, t.PartialC<{
3915
- label: t.StringC;
3916
- direction: t.StringC;
3917
- }>]>>>;
3918
- }>>]>>;
3919
- }>>>;
3920
- }>>, t.ExactC<t.TypeC<{
3921
- __TYPE__: t.LiteralC<"TableContent">;
3922
- }>>]>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>>;
3014
+ }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>>;
3923
3015
  items: t.ArrayC<t.ExactC<t.TypeC<{
3924
3016
  __TYPE__: t.LiteralC<"GroupItemContent">;
3925
3017
  value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -4238,7 +3330,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4238
3330
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4239
3331
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4240
3332
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4241
- 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>;
4242
3334
  content: t.IntersectionC<[t.TypeC<{
4243
3335
  text: t.StringC;
4244
3336
  }>, t.PartialC<{
@@ -4347,18 +3439,23 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4347
3439
  }>, t.PartialC<{
4348
3440
  label: t.StringC;
4349
3441
  direction: t.StringC;
4350
- }>]>>, t.ExactC<t.TypeC<{
4351
- type: t.LiteralC<"table">;
4352
- content: t.ArrayC<t.ExactC<t.TypeC<{
4353
- type: t.LiteralC<"tableRow">;
4354
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4355
- type: t.LiteralC<"tableHeader">;
4356
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4357
- 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>;
4358
- content: t.IntersectionC<[t.TypeC<{
4359
- text: t.StringC;
4360
- }>, t.PartialC<{
4361
- spans: t.Type<({
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>;
3455
+ content: t.IntersectionC<[t.TypeC<{
3456
+ text: t.StringC;
3457
+ }>, t.PartialC<{
3458
+ spans: t.Type<({
4362
3459
  data: ({
4363
3460
  __TYPE__: "ImageLink";
4364
3461
  } & {
@@ -4464,10 +3561,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4464
3561
  label: t.StringC;
4465
3562
  direction: t.StringC;
4466
3563
  }>]>>>;
4467
- }>>, t.ExactC<t.TypeC<{
4468
- type: t.LiteralC<"tableCell">;
4469
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4470
- 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>;
4471
3571
  content: t.IntersectionC<[t.TypeC<{
4472
3572
  text: t.StringC;
4473
3573
  }>, t.PartialC<{
@@ -4577,11 +3677,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4577
3677
  label: t.StringC;
4578
3678
  direction: t.StringC;
4579
3679
  }>]>>>;
4580
- }>>]>>;
4581
- }>>>;
4582
- }>>]>>;
4583
- }>>, t.ExactC<t.TypeC<{
4584
- __TYPE__: t.LiteralC<"SeparatorContent">;
3680
+ }>>;
3681
+ }>>]>>;
3682
+ }>>>;
4585
3683
  }>>, t.ExactC<t.TypeC<{
4586
3684
  __TYPE__: t.LiteralC<"RepeatableContent">;
4587
3685
  type: t.LiteralC<"Link">;
@@ -4663,240 +3761,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4663
3761
  variant: t.StringC;
4664
3762
  }>]>>]>]>;
4665
3763
  }>>]>>;
4666
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4667
- content: t.ArrayC<t.ExactC<t.TypeC<{
4668
- type: t.LiteralC<"tableRow">;
4669
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4670
- type: t.LiteralC<"tableHeader">;
4671
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4672
- 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>;
4673
- content: t.IntersectionC<[t.TypeC<{
4674
- text: t.StringC;
4675
- }>, t.PartialC<{
4676
- spans: t.Type<({
4677
- data: ({
4678
- __TYPE__: "ImageLink";
4679
- } & {
4680
- kind: "image";
4681
- id: string;
4682
- url: string;
4683
- height: string;
4684
- width: string;
4685
- size: string;
4686
- name: string;
4687
- } & {
4688
- date?: string | null | undefined;
4689
- }) | ({
4690
- __TYPE__: "FileLink";
4691
- } & {
4692
- kind: "file";
4693
- id: string;
4694
- url: string;
4695
- name: string;
4696
- size: string;
4697
- } & {
4698
- date?: string | null | undefined;
4699
- }) | ({
4700
- __TYPE__: "DocumentLink";
4701
- } & {
4702
- id: string;
4703
- }) | ({
4704
- __TYPE__: "ExternalLink";
4705
- } & {
4706
- url: string;
4707
- } & {
4708
- kind?: "web";
4709
- target?: string | null | undefined;
4710
- preview?: {
4711
- title?: string;
4712
- } | null | undefined;
4713
- });
4714
- start: number;
4715
- end: number;
4716
- type: "hyperlink";
4717
- } | {
4718
- data: string;
4719
- start: number;
4720
- end: number;
4721
- type: "label";
4722
- } | {
4723
- start: number;
4724
- end: number;
4725
- type: "strong" | "em" | "list-item";
4726
- })[], ({
4727
- data: ({
4728
- __TYPE__: "ImageLink";
4729
- } & {
4730
- kind: "image";
4731
- id: string;
4732
- url: string;
4733
- height: string;
4734
- width: string;
4735
- size: string;
4736
- name: string;
4737
- } & {
4738
- date?: string | null | undefined;
4739
- }) | ({
4740
- __TYPE__: "FileLink";
4741
- } & {
4742
- kind: "file";
4743
- id: string;
4744
- url: string;
4745
- name: string;
4746
- size: string;
4747
- } & {
4748
- date?: string | null | undefined;
4749
- }) | ({
4750
- __TYPE__: "DocumentLink";
4751
- } & {
4752
- id: string;
4753
- }) | ({
4754
- __TYPE__: "ExternalLink";
4755
- } & {
4756
- url: string;
4757
- } & {
4758
- kind?: "web";
4759
- target?: string | null | undefined;
4760
- preview?: {
4761
- title?: string;
4762
- } | null | undefined;
4763
- });
4764
- start: number;
4765
- end: number;
4766
- type: "hyperlink";
4767
- } | {
4768
- data: string;
4769
- start: number;
4770
- end: number;
4771
- type: "label";
4772
- } | {
4773
- start: number;
4774
- end: number;
4775
- type: "strong" | "em" | "list-item";
4776
- })[], unknown>;
4777
- }>]>;
4778
- }>, t.PartialC<{
4779
- label: t.StringC;
4780
- direction: t.StringC;
4781
- }>]>>>;
4782
- }>>, t.ExactC<t.TypeC<{
4783
- type: t.LiteralC<"tableCell">;
4784
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4785
- 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>;
4786
- content: t.IntersectionC<[t.TypeC<{
4787
- text: t.StringC;
4788
- }>, t.PartialC<{
4789
- spans: t.Type<({
4790
- data: ({
4791
- __TYPE__: "ImageLink";
4792
- } & {
4793
- kind: "image";
4794
- id: string;
4795
- url: string;
4796
- height: string;
4797
- width: string;
4798
- size: string;
4799
- name: string;
4800
- } & {
4801
- date?: string | null | undefined;
4802
- }) | ({
4803
- __TYPE__: "FileLink";
4804
- } & {
4805
- kind: "file";
4806
- id: string;
4807
- url: string;
4808
- name: string;
4809
- size: string;
4810
- } & {
4811
- date?: string | null | undefined;
4812
- }) | ({
4813
- __TYPE__: "DocumentLink";
4814
- } & {
4815
- id: string;
4816
- }) | ({
4817
- __TYPE__: "ExternalLink";
4818
- } & {
4819
- url: string;
4820
- } & {
4821
- kind?: "web";
4822
- target?: string | null | undefined;
4823
- preview?: {
4824
- title?: string;
4825
- } | null | undefined;
4826
- });
4827
- start: number;
4828
- end: number;
4829
- type: "hyperlink";
4830
- } | {
4831
- data: string;
4832
- start: number;
4833
- end: number;
4834
- type: "label";
4835
- } | {
4836
- start: number;
4837
- end: number;
4838
- type: "strong" | "em" | "list-item";
4839
- })[], ({
4840
- data: ({
4841
- __TYPE__: "ImageLink";
4842
- } & {
4843
- kind: "image";
4844
- id: string;
4845
- url: string;
4846
- height: string;
4847
- width: string;
4848
- size: string;
4849
- name: string;
4850
- } & {
4851
- date?: string | null | undefined;
4852
- }) | ({
4853
- __TYPE__: "FileLink";
4854
- } & {
4855
- kind: "file";
4856
- id: string;
4857
- url: string;
4858
- name: string;
4859
- size: string;
4860
- } & {
4861
- date?: string | null | undefined;
4862
- }) | ({
4863
- __TYPE__: "DocumentLink";
4864
- } & {
4865
- id: string;
4866
- }) | ({
4867
- __TYPE__: "ExternalLink";
4868
- } & {
4869
- url: string;
4870
- } & {
4871
- kind?: "web";
4872
- target?: string | null | undefined;
4873
- preview?: {
4874
- title?: string;
4875
- } | null | undefined;
4876
- });
4877
- start: number;
4878
- end: number;
4879
- type: "hyperlink";
4880
- } | {
4881
- data: string;
4882
- start: number;
4883
- end: number;
4884
- type: "label";
4885
- } | {
4886
- start: number;
4887
- end: number;
4888
- type: "strong" | "em" | "list-item";
4889
- })[], unknown>;
4890
- }>]>;
4891
- }>, t.PartialC<{
4892
- label: t.StringC;
4893
- direction: t.StringC;
4894
- }>]>>>;
4895
- }>>]>>;
4896
- }>>>;
4897
- }>>, t.ExactC<t.TypeC<{
4898
- __TYPE__: t.LiteralC<"TableContent">;
4899
- }>>]>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
3764
+ }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
4900
3765
  }>>>;
4901
3766
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
4902
3767
  type: t.StringC;
@@ -5214,7 +4079,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
5214
4079
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5215
4080
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5216
4081
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5217
- 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>;
5218
4083
  content: t.IntersectionC<[t.TypeC<{
5219
4084
  text: t.StringC;
5220
4085
  }>, t.PartialC<{
@@ -5323,15 +4188,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
5323
4188
  }>, t.PartialC<{
5324
4189
  label: t.StringC;
5325
4190
  direction: t.StringC;
5326
- }>]>>, t.ExactC<t.TypeC<{
5327
- type: t.LiteralC<"table">;
5328
- content: t.ArrayC<t.ExactC<t.TypeC<{
5329
- type: t.LiteralC<"tableRow">;
5330
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
5331
- type: t.LiteralC<"tableHeader">;
5332
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5333
- 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>;
5334
- content: t.IntersectionC<[t.TypeC<{
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>;
4204
+ content: t.IntersectionC<[t.TypeC<{
5335
4205
  text: t.StringC;
5336
4206
  }>, t.PartialC<{
5337
4207
  spans: t.Type<({
@@ -5440,10 +4310,13 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
5440
4310
  label: t.StringC;
5441
4311
  direction: t.StringC;
5442
4312
  }>]>>>;
5443
- }>>, t.ExactC<t.TypeC<{
5444
- type: t.LiteralC<"tableCell">;
5445
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5446
- 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>;
5447
4320
  content: t.IntersectionC<[t.TypeC<{
5448
4321
  text: t.StringC;
5449
4322
  }>, t.PartialC<{
@@ -5553,11 +4426,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
5553
4426
  label: t.StringC;
5554
4427
  direction: t.StringC;
5555
4428
  }>]>>>;
5556
- }>>]>>;
5557
- }>>>;
5558
- }>>]>>;
5559
- }>>, t.ExactC<t.TypeC<{
5560
- __TYPE__: t.LiteralC<"SeparatorContent">;
4429
+ }>>;
4430
+ }>>]>>;
4431
+ }>>>;
5561
4432
  }>>, t.ExactC<t.TypeC<{
5562
4433
  __TYPE__: t.LiteralC<"RepeatableContent">;
5563
4434
  type: t.LiteralC<"Link">;
@@ -5639,240 +4510,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
5639
4510
  variant: t.StringC;
5640
4511
  }>]>>]>]>;
5641
4512
  }>>]>>;
5642
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
5643
- content: t.ArrayC<t.ExactC<t.TypeC<{
5644
- type: t.LiteralC<"tableRow">;
5645
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
5646
- type: t.LiteralC<"tableHeader">;
5647
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5648
- 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>;
5649
- content: t.IntersectionC<[t.TypeC<{
5650
- text: t.StringC;
5651
- }>, t.PartialC<{
5652
- spans: t.Type<({
5653
- data: ({
5654
- __TYPE__: "ImageLink";
5655
- } & {
5656
- kind: "image";
5657
- id: string;
5658
- url: string;
5659
- height: string;
5660
- width: string;
5661
- size: string;
5662
- name: string;
5663
- } & {
5664
- date?: string | null | undefined;
5665
- }) | ({
5666
- __TYPE__: "FileLink";
5667
- } & {
5668
- kind: "file";
5669
- id: string;
5670
- url: string;
5671
- name: string;
5672
- size: string;
5673
- } & {
5674
- date?: string | null | undefined;
5675
- }) | ({
5676
- __TYPE__: "DocumentLink";
5677
- } & {
5678
- id: string;
5679
- }) | ({
5680
- __TYPE__: "ExternalLink";
5681
- } & {
5682
- url: string;
5683
- } & {
5684
- kind?: "web";
5685
- target?: string | null | undefined;
5686
- preview?: {
5687
- title?: string;
5688
- } | null | undefined;
5689
- });
5690
- start: number;
5691
- end: number;
5692
- type: "hyperlink";
5693
- } | {
5694
- data: string;
5695
- start: number;
5696
- end: number;
5697
- type: "label";
5698
- } | {
5699
- start: number;
5700
- end: number;
5701
- type: "strong" | "em" | "list-item";
5702
- })[], ({
5703
- data: ({
5704
- __TYPE__: "ImageLink";
5705
- } & {
5706
- kind: "image";
5707
- id: string;
5708
- url: string;
5709
- height: string;
5710
- width: string;
5711
- size: string;
5712
- name: string;
5713
- } & {
5714
- date?: string | null | undefined;
5715
- }) | ({
5716
- __TYPE__: "FileLink";
5717
- } & {
5718
- kind: "file";
5719
- id: string;
5720
- url: string;
5721
- name: string;
5722
- size: string;
5723
- } & {
5724
- date?: string | null | undefined;
5725
- }) | ({
5726
- __TYPE__: "DocumentLink";
5727
- } & {
5728
- id: string;
5729
- }) | ({
5730
- __TYPE__: "ExternalLink";
5731
- } & {
5732
- url: string;
5733
- } & {
5734
- kind?: "web";
5735
- target?: string | null | undefined;
5736
- preview?: {
5737
- title?: string;
5738
- } | null | undefined;
5739
- });
5740
- start: number;
5741
- end: number;
5742
- type: "hyperlink";
5743
- } | {
5744
- data: string;
5745
- start: number;
5746
- end: number;
5747
- type: "label";
5748
- } | {
5749
- start: number;
5750
- end: number;
5751
- type: "strong" | "em" | "list-item";
5752
- })[], unknown>;
5753
- }>]>;
5754
- }>, t.PartialC<{
5755
- label: t.StringC;
5756
- direction: t.StringC;
5757
- }>]>>>;
5758
- }>>, t.ExactC<t.TypeC<{
5759
- type: t.LiteralC<"tableCell">;
5760
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5761
- 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>;
5762
- content: t.IntersectionC<[t.TypeC<{
5763
- text: t.StringC;
5764
- }>, t.PartialC<{
5765
- spans: t.Type<({
5766
- data: ({
5767
- __TYPE__: "ImageLink";
5768
- } & {
5769
- kind: "image";
5770
- id: string;
5771
- url: string;
5772
- height: string;
5773
- width: string;
5774
- size: string;
5775
- name: string;
5776
- } & {
5777
- date?: string | null | undefined;
5778
- }) | ({
5779
- __TYPE__: "FileLink";
5780
- } & {
5781
- kind: "file";
5782
- id: string;
5783
- url: string;
5784
- name: string;
5785
- size: string;
5786
- } & {
5787
- date?: string | null | undefined;
5788
- }) | ({
5789
- __TYPE__: "DocumentLink";
5790
- } & {
5791
- id: string;
5792
- }) | ({
5793
- __TYPE__: "ExternalLink";
5794
- } & {
5795
- url: string;
5796
- } & {
5797
- kind?: "web";
5798
- target?: string | null | undefined;
5799
- preview?: {
5800
- title?: string;
5801
- } | null | undefined;
5802
- });
5803
- start: number;
5804
- end: number;
5805
- type: "hyperlink";
5806
- } | {
5807
- data: string;
5808
- start: number;
5809
- end: number;
5810
- type: "label";
5811
- } | {
5812
- start: number;
5813
- end: number;
5814
- type: "strong" | "em" | "list-item";
5815
- })[], ({
5816
- data: ({
5817
- __TYPE__: "ImageLink";
5818
- } & {
5819
- kind: "image";
5820
- id: string;
5821
- url: string;
5822
- height: string;
5823
- width: string;
5824
- size: string;
5825
- name: string;
5826
- } & {
5827
- date?: string | null | undefined;
5828
- }) | ({
5829
- __TYPE__: "FileLink";
5830
- } & {
5831
- kind: "file";
5832
- id: string;
5833
- url: string;
5834
- name: string;
5835
- size: string;
5836
- } & {
5837
- date?: string | null | undefined;
5838
- }) | ({
5839
- __TYPE__: "DocumentLink";
5840
- } & {
5841
- id: string;
5842
- }) | ({
5843
- __TYPE__: "ExternalLink";
5844
- } & {
5845
- url: string;
5846
- } & {
5847
- kind?: "web";
5848
- target?: string | null | undefined;
5849
- preview?: {
5850
- title?: string;
5851
- } | null | undefined;
5852
- });
5853
- start: number;
5854
- end: number;
5855
- type: "hyperlink";
5856
- } | {
5857
- data: string;
5858
- start: number;
5859
- end: number;
5860
- type: "label";
5861
- } | {
5862
- start: number;
5863
- end: number;
5864
- type: "strong" | "em" | "list-item";
5865
- })[], unknown>;
5866
- }>]>;
5867
- }>, t.PartialC<{
5868
- label: t.StringC;
5869
- direction: t.StringC;
5870
- }>]>>>;
5871
- }>>]>>;
5872
- }>>>;
5873
- }>>, t.ExactC<t.TypeC<{
5874
- __TYPE__: t.LiteralC<"TableContent">;
5875
- }>>]>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>;
4513
+ }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>;
5876
4514
  }>>;
5877
4515
  }>]>>;
5878
4516
  export declare type Document = t.TypeOf<typeof Document>;
@@ -5892,7 +4530,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
5892
4530
  }): Document | undefined;
5893
4531
  declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
5894
4532
  export declare const DocumentLegacy: {
5895
- _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<{
5896
4534
  [x: string]: {
5897
4535
  type: string;
5898
4536
  __TYPE__: "EmptyContent";
@@ -6252,7 +4890,7 @@ export declare const DocumentLegacy: {
6252
4890
  label?: string | null | undefined;
6253
4891
  direction?: string | null | undefined;
6254
4892
  }) | ({
6255
- 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";
6256
4894
  content: {
6257
4895
  text: string;
6258
4896
  } & {
@@ -6311,14 +4949,19 @@ export declare const DocumentLegacy: {
6311
4949
  } & {
6312
4950
  label?: string;
6313
4951
  direction?: string;
6314
- }) | {
6315
- type: "table";
6316
- content: {
6317
- type: "tableRow";
6318
- content: ({
6319
- type: "tableHeader";
6320
- content: ({
6321
- 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";
6322
4965
  content: {
6323
4966
  text: string;
6324
4967
  } & {
@@ -6378,10 +5021,13 @@ export declare const DocumentLegacy: {
6378
5021
  label?: string;
6379
5022
  direction?: string;
6380
5023
  })[];
6381
- } | {
6382
- type: "tableCell";
6383
- content: ({
6384
- 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";
6385
5031
  content: {
6386
5032
  text: string;
6387
5033
  } & {
@@ -6441,145 +5087,10 @@ export declare const DocumentLegacy: {
6441
5087
  label?: string;
6442
5088
  direction?: string;
6443
5089
  })[];
6444
- })[];
6445
- }[];
6446
- })[];
6447
- } | {
6448
- __TYPE__: "SeparatorContent";
6449
- } | ({
6450
- content: {
6451
- type: "tableRow";
6452
- content: ({
6453
- type: "tableHeader";
6454
- content: ({
6455
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6456
- content: {
6457
- text: string;
6458
- } & {
6459
- spans?: ({
6460
- data: ({
6461
- __TYPE__: "ImageLink";
6462
- } & {
6463
- kind: "image";
6464
- id: string;
6465
- url: string;
6466
- height: string;
6467
- width: string;
6468
- size: string;
6469
- name: string;
6470
- } & {
6471
- date?: string | null | undefined;
6472
- }) | ({
6473
- __TYPE__: "FileLink";
6474
- } & {
6475
- kind: "file";
6476
- id: string;
6477
- url: string;
6478
- name: string;
6479
- size: string;
6480
- } & {
6481
- date?: string | null | undefined;
6482
- }) | ({
6483
- __TYPE__: "DocumentLink";
6484
- } & {
6485
- id: string;
6486
- }) | ({
6487
- __TYPE__: "ExternalLink";
6488
- } & {
6489
- url: string;
6490
- } & {
6491
- kind?: "web";
6492
- target?: string | null | undefined;
6493
- preview?: {
6494
- title?: string;
6495
- } | null | undefined;
6496
- });
6497
- start: number;
6498
- end: number;
6499
- type: "hyperlink";
6500
- } | {
6501
- data: string;
6502
- start: number;
6503
- end: number;
6504
- type: "label";
6505
- } | {
6506
- start: number;
6507
- end: number;
6508
- type: "strong" | "em" | "list-item";
6509
- })[];
6510
- };
6511
- } & {
6512
- label?: string;
6513
- direction?: string;
6514
- })[];
6515
- } | {
6516
- type: "tableCell";
6517
- content: ({
6518
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
6519
- content: {
6520
- text: string;
6521
- } & {
6522
- spans?: ({
6523
- data: ({
6524
- __TYPE__: "ImageLink";
6525
- } & {
6526
- kind: "image";
6527
- id: string;
6528
- url: string;
6529
- height: string;
6530
- width: string;
6531
- size: string;
6532
- name: string;
6533
- } & {
6534
- date?: string | null | undefined;
6535
- }) | ({
6536
- __TYPE__: "FileLink";
6537
- } & {
6538
- kind: "file";
6539
- id: string;
6540
- url: string;
6541
- name: string;
6542
- size: string;
6543
- } & {
6544
- date?: string | null | undefined;
6545
- }) | ({
6546
- __TYPE__: "DocumentLink";
6547
- } & {
6548
- id: string;
6549
- }) | ({
6550
- __TYPE__: "ExternalLink";
6551
- } & {
6552
- url: string;
6553
- } & {
6554
- kind?: "web";
6555
- target?: string | null | undefined;
6556
- preview?: {
6557
- title?: string;
6558
- } | null | undefined;
6559
- });
6560
- start: number;
6561
- end: number;
6562
- type: "hyperlink";
6563
- } | {
6564
- data: string;
6565
- start: number;
6566
- end: number;
6567
- type: "label";
6568
- } | {
6569
- start: number;
6570
- end: number;
6571
- type: "strong" | "em" | "list-item";
6572
- })[];
6573
- };
6574
- } & {
6575
- label?: string;
6576
- direction?: string;
6577
- })[];
5090
+ };
6578
5091
  })[];
6579
5092
  }[];
6580
- } & {
6581
- __TYPE__: "TableContent";
6582
- }) | {
5093
+ } | {
6583
5094
  __TYPE__: "UIDContent";
6584
5095
  value: string;
6585
5096
  } | {
@@ -6947,7 +5458,7 @@ export declare const DocumentLegacy: {
6947
5458
  label?: string | null | undefined;
6948
5459
  direction?: string | null | undefined;
6949
5460
  }) | ({
6950
- 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";
6951
5462
  content: {
6952
5463
  text: string;
6953
5464
  } & {
@@ -7006,14 +5517,19 @@ export declare const DocumentLegacy: {
7006
5517
  } & {
7007
5518
  label?: string;
7008
5519
  direction?: string;
7009
- }) | {
7010
- type: "table";
7011
- content: {
7012
- type: "tableRow";
7013
- content: ({
7014
- type: "tableHeader";
7015
- content: ({
7016
- 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";
7017
5533
  content: {
7018
5534
  text: string;
7019
5535
  } & {
@@ -7073,10 +5589,13 @@ export declare const DocumentLegacy: {
7073
5589
  label?: string;
7074
5590
  direction?: string;
7075
5591
  })[];
7076
- } | {
7077
- type: "tableCell";
7078
- content: ({
7079
- 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";
7080
5599
  content: {
7081
5600
  text: string;
7082
5601
  } & {
@@ -7136,145 +5655,10 @@ export declare const DocumentLegacy: {
7136
5655
  label?: string;
7137
5656
  direction?: string;
7138
5657
  })[];
7139
- })[];
7140
- }[];
7141
- })[];
5658
+ };
5659
+ })[];
5660
+ }[];
7142
5661
  } | {
7143
- __TYPE__: "SeparatorContent";
7144
- } | ({
7145
- content: {
7146
- type: "tableRow";
7147
- content: ({
7148
- type: "tableHeader";
7149
- content: ({
7150
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7151
- content: {
7152
- text: string;
7153
- } & {
7154
- spans?: ({
7155
- data: ({
7156
- __TYPE__: "ImageLink";
7157
- } & {
7158
- kind: "image";
7159
- id: string;
7160
- url: string;
7161
- height: string;
7162
- width: string;
7163
- size: string;
7164
- name: string;
7165
- } & {
7166
- date?: string | null | undefined;
7167
- }) | ({
7168
- __TYPE__: "FileLink";
7169
- } & {
7170
- kind: "file";
7171
- id: string;
7172
- url: string;
7173
- name: string;
7174
- size: string;
7175
- } & {
7176
- date?: string | null | undefined;
7177
- }) | ({
7178
- __TYPE__: "DocumentLink";
7179
- } & {
7180
- id: string;
7181
- }) | ({
7182
- __TYPE__: "ExternalLink";
7183
- } & {
7184
- url: string;
7185
- } & {
7186
- kind?: "web";
7187
- target?: string | null | undefined;
7188
- preview?: {
7189
- title?: string;
7190
- } | null | undefined;
7191
- });
7192
- start: number;
7193
- end: number;
7194
- type: "hyperlink";
7195
- } | {
7196
- data: string;
7197
- start: number;
7198
- end: number;
7199
- type: "label";
7200
- } | {
7201
- start: number;
7202
- end: number;
7203
- type: "strong" | "em" | "list-item";
7204
- })[];
7205
- };
7206
- } & {
7207
- label?: string;
7208
- direction?: string;
7209
- })[];
7210
- } | {
7211
- type: "tableCell";
7212
- content: ({
7213
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7214
- content: {
7215
- text: string;
7216
- } & {
7217
- spans?: ({
7218
- data: ({
7219
- __TYPE__: "ImageLink";
7220
- } & {
7221
- kind: "image";
7222
- id: string;
7223
- url: string;
7224
- height: string;
7225
- width: string;
7226
- size: string;
7227
- name: string;
7228
- } & {
7229
- date?: string | null | undefined;
7230
- }) | ({
7231
- __TYPE__: "FileLink";
7232
- } & {
7233
- kind: "file";
7234
- id: string;
7235
- url: string;
7236
- name: string;
7237
- size: string;
7238
- } & {
7239
- date?: string | null | undefined;
7240
- }) | ({
7241
- __TYPE__: "DocumentLink";
7242
- } & {
7243
- id: string;
7244
- }) | ({
7245
- __TYPE__: "ExternalLink";
7246
- } & {
7247
- url: string;
7248
- } & {
7249
- kind?: "web";
7250
- target?: string | null | undefined;
7251
- preview?: {
7252
- title?: string;
7253
- } | null | undefined;
7254
- });
7255
- start: number;
7256
- end: number;
7257
- type: "hyperlink";
7258
- } | {
7259
- data: string;
7260
- start: number;
7261
- end: number;
7262
- type: "label";
7263
- } | {
7264
- start: number;
7265
- end: number;
7266
- type: "strong" | "em" | "list-item";
7267
- })[];
7268
- };
7269
- } & {
7270
- label?: string;
7271
- direction?: string;
7272
- })[];
7273
- })[];
7274
- }[];
7275
- } & {
7276
- __TYPE__: "TableContent";
7277
- }) | {
7278
5662
  __TYPE__: "CompositeSliceContent";
7279
5663
  nonRepeat: {
7280
5664
  [x: string]: {
@@ -7636,7 +6020,7 @@ export declare const DocumentLegacy: {
7636
6020
  label?: string | null | undefined;
7637
6021
  direction?: string | null | undefined;
7638
6022
  }) | ({
7639
- 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";
7640
6024
  content: {
7641
6025
  text: string;
7642
6026
  } & {
@@ -7695,14 +6079,19 @@ export declare const DocumentLegacy: {
7695
6079
  } & {
7696
6080
  label?: string;
7697
6081
  direction?: string;
7698
- }) | {
7699
- type: "table";
7700
- content: {
7701
- type: "tableRow";
7702
- content: ({
7703
- type: "tableHeader";
7704
- content: ({
7705
- 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";
7706
6095
  content: {
7707
6096
  text: string;
7708
6097
  } & {
@@ -7762,10 +6151,13 @@ export declare const DocumentLegacy: {
7762
6151
  label?: string;
7763
6152
  direction?: string;
7764
6153
  })[];
7765
- } | {
7766
- type: "tableCell";
7767
- content: ({
7768
- 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";
7769
6161
  content: {
7770
6162
  text: string;
7771
6163
  } & {
@@ -7825,145 +6217,10 @@ export declare const DocumentLegacy: {
7825
6217
  label?: string;
7826
6218
  direction?: string;
7827
6219
  })[];
7828
- })[];
7829
- }[];
7830
- })[];
7831
- } | {
7832
- __TYPE__: "SeparatorContent";
7833
- } | ({
7834
- content: {
7835
- type: "tableRow";
7836
- content: ({
7837
- type: "tableHeader";
7838
- content: ({
7839
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7840
- content: {
7841
- text: string;
7842
- } & {
7843
- spans?: ({
7844
- data: ({
7845
- __TYPE__: "ImageLink";
7846
- } & {
7847
- kind: "image";
7848
- id: string;
7849
- url: string;
7850
- height: string;
7851
- width: string;
7852
- size: string;
7853
- name: string;
7854
- } & {
7855
- date?: string | null | undefined;
7856
- }) | ({
7857
- __TYPE__: "FileLink";
7858
- } & {
7859
- kind: "file";
7860
- id: string;
7861
- url: string;
7862
- name: string;
7863
- size: string;
7864
- } & {
7865
- date?: string | null | undefined;
7866
- }) | ({
7867
- __TYPE__: "DocumentLink";
7868
- } & {
7869
- id: string;
7870
- }) | ({
7871
- __TYPE__: "ExternalLink";
7872
- } & {
7873
- url: string;
7874
- } & {
7875
- kind?: "web";
7876
- target?: string | null | undefined;
7877
- preview?: {
7878
- title?: string;
7879
- } | null | undefined;
7880
- });
7881
- start: number;
7882
- end: number;
7883
- type: "hyperlink";
7884
- } | {
7885
- data: string;
7886
- start: number;
7887
- end: number;
7888
- type: "label";
7889
- } | {
7890
- start: number;
7891
- end: number;
7892
- type: "strong" | "em" | "list-item";
7893
- })[];
7894
- };
7895
- } & {
7896
- label?: string;
7897
- direction?: string;
7898
- })[];
7899
- } | {
7900
- type: "tableCell";
7901
- content: ({
7902
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
7903
- content: {
7904
- text: string;
7905
- } & {
7906
- spans?: ({
7907
- data: ({
7908
- __TYPE__: "ImageLink";
7909
- } & {
7910
- kind: "image";
7911
- id: string;
7912
- url: string;
7913
- height: string;
7914
- width: string;
7915
- size: string;
7916
- name: string;
7917
- } & {
7918
- date?: string | null | undefined;
7919
- }) | ({
7920
- __TYPE__: "FileLink";
7921
- } & {
7922
- kind: "file";
7923
- id: string;
7924
- url: string;
7925
- name: string;
7926
- size: string;
7927
- } & {
7928
- date?: string | null | undefined;
7929
- }) | ({
7930
- __TYPE__: "DocumentLink";
7931
- } & {
7932
- id: string;
7933
- }) | ({
7934
- __TYPE__: "ExternalLink";
7935
- } & {
7936
- url: string;
7937
- } & {
7938
- kind?: "web";
7939
- target?: string | null | undefined;
7940
- preview?: {
7941
- title?: string;
7942
- } | null | undefined;
7943
- });
7944
- start: number;
7945
- end: number;
7946
- type: "hyperlink";
7947
- } | {
7948
- data: string;
7949
- start: number;
7950
- end: number;
7951
- type: "label";
7952
- } | {
7953
- start: number;
7954
- end: number;
7955
- type: "strong" | "em" | "list-item";
7956
- })[];
7957
- };
7958
- } & {
7959
- label?: string;
7960
- direction?: string;
7961
- })[];
6220
+ };
7962
6221
  })[];
7963
6222
  }[];
7964
- } & {
7965
- __TYPE__: "TableContent";
7966
- });
6223
+ };
7967
6224
  };
7968
6225
  repeat: {
7969
6226
  __TYPE__: "GroupItemContent";
@@ -8326,7 +6583,7 @@ export declare const DocumentLegacy: {
8326
6583
  label?: string | null | undefined;
8327
6584
  direction?: string | null | undefined;
8328
6585
  }) | ({
8329
- 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";
8330
6587
  content: {
8331
6588
  text: string;
8332
6589
  } & {
@@ -8385,14 +6642,19 @@ export declare const DocumentLegacy: {
8385
6642
  } & {
8386
6643
  label?: string;
8387
6644
  direction?: string;
8388
- }) | {
8389
- type: "table";
8390
- content: {
8391
- type: "tableRow";
8392
- content: ({
8393
- type: "tableHeader";
8394
- content: ({
8395
- 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";
8396
6658
  content: {
8397
6659
  text: string;
8398
6660
  } & {
@@ -8452,10 +6714,13 @@ export declare const DocumentLegacy: {
8452
6714
  label?: string;
8453
6715
  direction?: string;
8454
6716
  })[];
8455
- } | {
8456
- type: "tableCell";
8457
- content: ({
8458
- 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";
8459
6724
  content: {
8460
6725
  text: string;
8461
6726
  } & {
@@ -8515,156 +6780,21 @@ export declare const DocumentLegacy: {
8515
6780
  label?: string;
8516
6781
  direction?: string;
8517
6782
  })[];
8518
- })[];
8519
- }[];
8520
- })[];
6783
+ };
6784
+ })[];
6785
+ }[];
6786
+ }][];
6787
+ }[];
6788
+ } | {
6789
+ __TYPE__: "SharedSliceContent";
6790
+ variation: string;
6791
+ primary: {
6792
+ [x: string]: {
6793
+ type: string;
6794
+ __TYPE__: "EmptyContent";
8521
6795
  } | {
8522
- __TYPE__: "SeparatorContent";
8523
- } | ({
8524
- content: {
8525
- type: "tableRow";
8526
- content: ({
8527
- type: "tableHeader";
8528
- content: ({
8529
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8530
- content: {
8531
- text: string;
8532
- } & {
8533
- spans?: ({
8534
- data: ({
8535
- __TYPE__: "ImageLink";
8536
- } & {
8537
- kind: "image";
8538
- id: string;
8539
- url: string;
8540
- height: string;
8541
- width: string;
8542
- size: string;
8543
- name: string;
8544
- } & {
8545
- date?: string | null | undefined;
8546
- }) | ({
8547
- __TYPE__: "FileLink";
8548
- } & {
8549
- kind: "file";
8550
- id: string;
8551
- url: string;
8552
- name: string;
8553
- size: string;
8554
- } & {
8555
- date?: string | null | undefined;
8556
- }) | ({
8557
- __TYPE__: "DocumentLink";
8558
- } & {
8559
- id: string;
8560
- }) | ({
8561
- __TYPE__: "ExternalLink";
8562
- } & {
8563
- url: string;
8564
- } & {
8565
- kind?: "web";
8566
- target?: string | null | undefined;
8567
- preview?: {
8568
- title?: string;
8569
- } | null | undefined;
8570
- });
8571
- start: number;
8572
- end: number;
8573
- type: "hyperlink";
8574
- } | {
8575
- data: string;
8576
- start: number;
8577
- end: number;
8578
- type: "label";
8579
- } | {
8580
- start: number;
8581
- end: number;
8582
- type: "strong" | "em" | "list-item";
8583
- })[];
8584
- };
8585
- } & {
8586
- label?: string;
8587
- direction?: string;
8588
- })[];
8589
- } | {
8590
- type: "tableCell";
8591
- content: ({
8592
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
8593
- content: {
8594
- text: string;
8595
- } & {
8596
- spans?: ({
8597
- data: ({
8598
- __TYPE__: "ImageLink";
8599
- } & {
8600
- kind: "image";
8601
- id: string;
8602
- url: string;
8603
- height: string;
8604
- width: string;
8605
- size: string;
8606
- name: string;
8607
- } & {
8608
- date?: string | null | undefined;
8609
- }) | ({
8610
- __TYPE__: "FileLink";
8611
- } & {
8612
- kind: "file";
8613
- id: string;
8614
- url: string;
8615
- name: string;
8616
- size: string;
8617
- } & {
8618
- date?: string | null | undefined;
8619
- }) | ({
8620
- __TYPE__: "DocumentLink";
8621
- } & {
8622
- id: string;
8623
- }) | ({
8624
- __TYPE__: "ExternalLink";
8625
- } & {
8626
- url: string;
8627
- } & {
8628
- kind?: "web";
8629
- target?: string | null | undefined;
8630
- preview?: {
8631
- title?: string;
8632
- } | null | undefined;
8633
- });
8634
- start: number;
8635
- end: number;
8636
- type: "hyperlink";
8637
- } | {
8638
- data: string;
8639
- start: number;
8640
- end: number;
8641
- type: "label";
8642
- } | {
8643
- start: number;
8644
- end: number;
8645
- type: "strong" | "em" | "list-item";
8646
- })[];
8647
- };
8648
- } & {
8649
- label?: string;
8650
- direction?: string;
8651
- })[];
8652
- })[];
8653
- }[];
8654
- } & {
8655
- __TYPE__: "TableContent";
8656
- })][];
8657
- }[];
8658
- } | {
8659
- __TYPE__: "SharedSliceContent";
8660
- variation: string;
8661
- primary: {
8662
- [x: string]: {
8663
- type: string;
8664
- __TYPE__: "EmptyContent";
8665
- } | {
8666
- __TYPE__: "BooleanContent";
8667
- value: boolean;
6796
+ __TYPE__: "BooleanContent";
6797
+ value: boolean;
8668
6798
  } | ({
8669
6799
  embed_url: string;
8670
6800
  type: string;
@@ -9018,7 +7148,7 @@ export declare const DocumentLegacy: {
9018
7148
  label?: string | null | undefined;
9019
7149
  direction?: string | null | undefined;
9020
7150
  }) | ({
9021
- 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";
9022
7152
  content: {
9023
7153
  text: string;
9024
7154
  } & {
@@ -9077,14 +7207,19 @@ export declare const DocumentLegacy: {
9077
7207
  } & {
9078
7208
  label?: string;
9079
7209
  direction?: string;
9080
- }) | {
9081
- type: "table";
9082
- content: {
9083
- type: "tableRow";
9084
- content: ({
9085
- type: "tableHeader";
9086
- content: ({
9087
- 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";
9088
7223
  content: {
9089
7224
  text: string;
9090
7225
  } & {
@@ -9144,10 +7279,13 @@ export declare const DocumentLegacy: {
9144
7279
  label?: string;
9145
7280
  direction?: string;
9146
7281
  })[];
9147
- } | {
9148
- type: "tableCell";
9149
- content: ({
9150
- 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";
9151
7289
  content: {
9152
7290
  text: string;
9153
7291
  } & {
@@ -9207,154 +7345,19 @@ export declare const DocumentLegacy: {
9207
7345
  label?: string;
9208
7346
  direction?: string;
9209
7347
  })[];
9210
- })[];
9211
- }[];
9212
- })[];
7348
+ };
7349
+ })[];
7350
+ }[];
7351
+ };
7352
+ };
7353
+ items: {
7354
+ __TYPE__: "GroupItemContent";
7355
+ value: [string, {
7356
+ type: string;
7357
+ __TYPE__: "EmptyContent";
9213
7358
  } | {
9214
- __TYPE__: "SeparatorContent";
9215
- } | ({
9216
- content: {
9217
- type: "tableRow";
9218
- content: ({
9219
- type: "tableHeader";
9220
- content: ({
9221
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9222
- content: {
9223
- text: string;
9224
- } & {
9225
- spans?: ({
9226
- data: ({
9227
- __TYPE__: "ImageLink";
9228
- } & {
9229
- kind: "image";
9230
- id: string;
9231
- url: string;
9232
- height: string;
9233
- width: string;
9234
- size: string;
9235
- name: string;
9236
- } & {
9237
- date?: string | null | undefined;
9238
- }) | ({
9239
- __TYPE__: "FileLink";
9240
- } & {
9241
- kind: "file";
9242
- id: string;
9243
- url: string;
9244
- name: string;
9245
- size: string;
9246
- } & {
9247
- date?: string | null | undefined;
9248
- }) | ({
9249
- __TYPE__: "DocumentLink";
9250
- } & {
9251
- id: string;
9252
- }) | ({
9253
- __TYPE__: "ExternalLink";
9254
- } & {
9255
- url: string;
9256
- } & {
9257
- kind?: "web";
9258
- target?: string | null | undefined;
9259
- preview?: {
9260
- title?: string;
9261
- } | null | undefined;
9262
- });
9263
- start: number;
9264
- end: number;
9265
- type: "hyperlink";
9266
- } | {
9267
- data: string;
9268
- start: number;
9269
- end: number;
9270
- type: "label";
9271
- } | {
9272
- start: number;
9273
- end: number;
9274
- type: "strong" | "em" | "list-item";
9275
- })[];
9276
- };
9277
- } & {
9278
- label?: string;
9279
- direction?: string;
9280
- })[];
9281
- } | {
9282
- type: "tableCell";
9283
- content: ({
9284
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9285
- content: {
9286
- text: string;
9287
- } & {
9288
- spans?: ({
9289
- data: ({
9290
- __TYPE__: "ImageLink";
9291
- } & {
9292
- kind: "image";
9293
- id: string;
9294
- url: string;
9295
- height: string;
9296
- width: string;
9297
- size: string;
9298
- name: string;
9299
- } & {
9300
- date?: string | null | undefined;
9301
- }) | ({
9302
- __TYPE__: "FileLink";
9303
- } & {
9304
- kind: "file";
9305
- id: string;
9306
- url: string;
9307
- name: string;
9308
- size: string;
9309
- } & {
9310
- date?: string | null | undefined;
9311
- }) | ({
9312
- __TYPE__: "DocumentLink";
9313
- } & {
9314
- id: string;
9315
- }) | ({
9316
- __TYPE__: "ExternalLink";
9317
- } & {
9318
- url: string;
9319
- } & {
9320
- kind?: "web";
9321
- target?: string | null | undefined;
9322
- preview?: {
9323
- title?: string;
9324
- } | null | undefined;
9325
- });
9326
- start: number;
9327
- end: number;
9328
- type: "hyperlink";
9329
- } | {
9330
- data: string;
9331
- start: number;
9332
- end: number;
9333
- type: "label";
9334
- } | {
9335
- start: number;
9336
- end: number;
9337
- type: "strong" | "em" | "list-item";
9338
- })[];
9339
- };
9340
- } & {
9341
- label?: string;
9342
- direction?: string;
9343
- })[];
9344
- })[];
9345
- }[];
9346
- } & {
9347
- __TYPE__: "TableContent";
9348
- });
9349
- };
9350
- items: {
9351
- __TYPE__: "GroupItemContent";
9352
- value: [string, {
9353
- type: string;
9354
- __TYPE__: "EmptyContent";
9355
- } | {
9356
- __TYPE__: "BooleanContent";
9357
- value: boolean;
7359
+ __TYPE__: "BooleanContent";
7360
+ value: boolean;
9358
7361
  } | ({
9359
7362
  embed_url: string;
9360
7363
  type: string;
@@ -9708,7 +7711,7 @@ export declare const DocumentLegacy: {
9708
7711
  label?: string | null | undefined;
9709
7712
  direction?: string | null | undefined;
9710
7713
  }) | ({
9711
- 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";
9712
7715
  content: {
9713
7716
  text: string;
9714
7717
  } & {
@@ -9767,14 +7770,19 @@ export declare const DocumentLegacy: {
9767
7770
  } & {
9768
7771
  label?: string;
9769
7772
  direction?: string;
9770
- }) | {
9771
- type: "table";
9772
- content: {
9773
- type: "tableRow";
9774
- content: ({
9775
- type: "tableHeader";
9776
- content: ({
9777
- 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";
9778
7786
  content: {
9779
7787
  text: string;
9780
7788
  } & {
@@ -9834,10 +7842,13 @@ export declare const DocumentLegacy: {
9834
7842
  label?: string;
9835
7843
  direction?: string;
9836
7844
  })[];
9837
- } | {
9838
- type: "tableCell";
9839
- content: ({
9840
- 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";
9841
7852
  content: {
9842
7853
  text: string;
9843
7854
  } & {
@@ -9897,145 +7908,10 @@ export declare const DocumentLegacy: {
9897
7908
  label?: string;
9898
7909
  direction?: string;
9899
7910
  })[];
9900
- })[];
9901
- }[];
9902
- })[];
9903
- } | {
9904
- __TYPE__: "SeparatorContent";
9905
- } | ({
9906
- content: {
9907
- type: "tableRow";
9908
- content: ({
9909
- type: "tableHeader";
9910
- content: ({
9911
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9912
- content: {
9913
- text: string;
9914
- } & {
9915
- spans?: ({
9916
- data: ({
9917
- __TYPE__: "ImageLink";
9918
- } & {
9919
- kind: "image";
9920
- id: string;
9921
- url: string;
9922
- height: string;
9923
- width: string;
9924
- size: string;
9925
- name: string;
9926
- } & {
9927
- date?: string | null | undefined;
9928
- }) | ({
9929
- __TYPE__: "FileLink";
9930
- } & {
9931
- kind: "file";
9932
- id: string;
9933
- url: string;
9934
- name: string;
9935
- size: string;
9936
- } & {
9937
- date?: string | null | undefined;
9938
- }) | ({
9939
- __TYPE__: "DocumentLink";
9940
- } & {
9941
- id: string;
9942
- }) | ({
9943
- __TYPE__: "ExternalLink";
9944
- } & {
9945
- url: string;
9946
- } & {
9947
- kind?: "web";
9948
- target?: string | null | undefined;
9949
- preview?: {
9950
- title?: string;
9951
- } | null | undefined;
9952
- });
9953
- start: number;
9954
- end: number;
9955
- type: "hyperlink";
9956
- } | {
9957
- data: string;
9958
- start: number;
9959
- end: number;
9960
- type: "label";
9961
- } | {
9962
- start: number;
9963
- end: number;
9964
- type: "strong" | "em" | "list-item";
9965
- })[];
9966
- };
9967
- } & {
9968
- label?: string;
9969
- direction?: string;
9970
- })[];
9971
- } | {
9972
- type: "tableCell";
9973
- content: ({
9974
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
9975
- content: {
9976
- text: string;
9977
- } & {
9978
- spans?: ({
9979
- data: ({
9980
- __TYPE__: "ImageLink";
9981
- } & {
9982
- kind: "image";
9983
- id: string;
9984
- url: string;
9985
- height: string;
9986
- width: string;
9987
- size: string;
9988
- name: string;
9989
- } & {
9990
- date?: string | null | undefined;
9991
- }) | ({
9992
- __TYPE__: "FileLink";
9993
- } & {
9994
- kind: "file";
9995
- id: string;
9996
- url: string;
9997
- name: string;
9998
- size: string;
9999
- } & {
10000
- date?: string | null | undefined;
10001
- }) | ({
10002
- __TYPE__: "DocumentLink";
10003
- } & {
10004
- id: string;
10005
- }) | ({
10006
- __TYPE__: "ExternalLink";
10007
- } & {
10008
- url: string;
10009
- } & {
10010
- kind?: "web";
10011
- target?: string | null | undefined;
10012
- preview?: {
10013
- title?: string;
10014
- } | null | undefined;
10015
- });
10016
- start: number;
10017
- end: number;
10018
- type: "hyperlink";
10019
- } | {
10020
- data: string;
10021
- start: number;
10022
- end: number;
10023
- type: "label";
10024
- } | {
10025
- start: number;
10026
- end: number;
10027
- type: "strong" | "em" | "list-item";
10028
- })[];
10029
- };
10030
- } & {
10031
- label?: string;
10032
- direction?: string;
10033
- })[];
7911
+ };
10034
7912
  })[];
10035
7913
  }[];
10036
- } & {
10037
- __TYPE__: "TableContent";
10038
- })][];
7914
+ }][];
10039
7915
  }[];
10040
7916
  };
10041
7917
  }[];
@@ -10434,7 +8310,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10434
8310
  label?: string | null | undefined;
10435
8311
  direction?: string | null | undefined;
10436
8312
  }) | ({
10437
- 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";
10438
8314
  content: {
10439
8315
  text: string;
10440
8316
  } & {
@@ -10493,14 +8369,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10493
8369
  } & {
10494
8370
  label?: string;
10495
8371
  direction?: string;
10496
- }) | {
10497
- type: "table";
10498
- content: {
10499
- type: "tableRow";
10500
- content: ({
10501
- type: "tableHeader";
10502
- content: ({
10503
- 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";
10504
8385
  content: {
10505
8386
  text: string;
10506
8387
  } & {
@@ -10560,10 +8441,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10560
8441
  label?: string;
10561
8442
  direction?: string;
10562
8443
  })[];
10563
- } | {
10564
- type: "tableCell";
10565
- content: ({
10566
- 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";
10567
8451
  content: {
10568
8452
  text: string;
10569
8453
  } & {
@@ -10623,145 +8507,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10623
8507
  label?: string;
10624
8508
  direction?: string;
10625
8509
  })[];
10626
- })[];
10627
- }[];
10628
- })[];
8510
+ };
8511
+ })[];
8512
+ }[];
10629
8513
  } | {
10630
- __TYPE__: "SeparatorContent";
10631
- } | ({
10632
- content: {
10633
- type: "tableRow";
10634
- content: ({
10635
- type: "tableHeader";
10636
- content: ({
10637
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10638
- content: {
10639
- text: string;
10640
- } & {
10641
- spans?: ({
10642
- data: ({
10643
- __TYPE__: "ImageLink";
10644
- } & {
10645
- kind: "image";
10646
- id: string;
10647
- url: string;
10648
- height: string;
10649
- width: string;
10650
- size: string;
10651
- name: string;
10652
- } & {
10653
- date?: string | null | undefined;
10654
- }) | ({
10655
- __TYPE__: "FileLink";
10656
- } & {
10657
- kind: "file";
10658
- id: string;
10659
- url: string;
10660
- name: string;
10661
- size: string;
10662
- } & {
10663
- date?: string | null | undefined;
10664
- }) | ({
10665
- __TYPE__: "DocumentLink";
10666
- } & {
10667
- id: string;
10668
- }) | ({
10669
- __TYPE__: "ExternalLink";
10670
- } & {
10671
- url: string;
10672
- } & {
10673
- kind?: "web";
10674
- target?: string | null | undefined;
10675
- preview?: {
10676
- title?: string;
10677
- } | null | undefined;
10678
- });
10679
- start: number;
10680
- end: number;
10681
- type: "hyperlink";
10682
- } | {
10683
- data: string;
10684
- start: number;
10685
- end: number;
10686
- type: "label";
10687
- } | {
10688
- start: number;
10689
- end: number;
10690
- type: "strong" | "em" | "list-item";
10691
- })[];
10692
- };
10693
- } & {
10694
- label?: string;
10695
- direction?: string;
10696
- })[];
10697
- } | {
10698
- type: "tableCell";
10699
- content: ({
10700
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
10701
- content: {
10702
- text: string;
10703
- } & {
10704
- spans?: ({
10705
- data: ({
10706
- __TYPE__: "ImageLink";
10707
- } & {
10708
- kind: "image";
10709
- id: string;
10710
- url: string;
10711
- height: string;
10712
- width: string;
10713
- size: string;
10714
- name: string;
10715
- } & {
10716
- date?: string | null | undefined;
10717
- }) | ({
10718
- __TYPE__: "FileLink";
10719
- } & {
10720
- kind: "file";
10721
- id: string;
10722
- url: string;
10723
- name: string;
10724
- size: string;
10725
- } & {
10726
- date?: string | null | undefined;
10727
- }) | ({
10728
- __TYPE__: "DocumentLink";
10729
- } & {
10730
- id: string;
10731
- }) | ({
10732
- __TYPE__: "ExternalLink";
10733
- } & {
10734
- url: string;
10735
- } & {
10736
- kind?: "web";
10737
- target?: string | null | undefined;
10738
- preview?: {
10739
- title?: string;
10740
- } | null | undefined;
10741
- });
10742
- start: number;
10743
- end: number;
10744
- type: "hyperlink";
10745
- } | {
10746
- data: string;
10747
- start: number;
10748
- end: number;
10749
- type: "label";
10750
- } | {
10751
- start: number;
10752
- end: number;
10753
- type: "strong" | "em" | "list-item";
10754
- })[];
10755
- };
10756
- } & {
10757
- label?: string;
10758
- direction?: string;
10759
- })[];
10760
- })[];
10761
- }[];
10762
- } & {
10763
- __TYPE__: "TableContent";
10764
- }) | {
10765
8514
  __TYPE__: "UIDContent";
10766
8515
  value: string;
10767
8516
  } | {
@@ -11129,7 +8878,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11129
8878
  label?: string | null | undefined;
11130
8879
  direction?: string | null | undefined;
11131
8880
  }) | ({
11132
- 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";
11133
8882
  content: {
11134
8883
  text: string;
11135
8884
  } & {
@@ -11188,14 +8937,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11188
8937
  } & {
11189
8938
  label?: string;
11190
8939
  direction?: string;
11191
- }) | {
11192
- type: "table";
11193
- content: {
11194
- type: "tableRow";
11195
- content: ({
11196
- type: "tableHeader";
11197
- content: ({
11198
- 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";
11199
8953
  content: {
11200
8954
  text: string;
11201
8955
  } & {
@@ -11255,10 +9009,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11255
9009
  label?: string;
11256
9010
  direction?: string;
11257
9011
  })[];
11258
- } | {
11259
- type: "tableCell";
11260
- content: ({
11261
- 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";
11262
9019
  content: {
11263
9020
  text: string;
11264
9021
  } & {
@@ -11318,150 +9075,15 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11318
9075
  label?: string;
11319
9076
  direction?: string;
11320
9077
  })[];
11321
- })[];
11322
- }[];
11323
- })[];
9078
+ };
9079
+ })[];
9080
+ }[];
11324
9081
  } | {
11325
- __TYPE__: "SeparatorContent";
11326
- } | ({
11327
- content: {
11328
- type: "tableRow";
11329
- content: ({
11330
- type: "tableHeader";
11331
- content: ({
11332
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
11333
- content: {
11334
- text: string;
11335
- } & {
11336
- spans?: ({
11337
- data: ({
11338
- __TYPE__: "ImageLink";
11339
- } & {
11340
- kind: "image";
11341
- id: string;
11342
- url: string;
11343
- height: string;
11344
- width: string;
11345
- size: string;
11346
- name: string;
11347
- } & {
11348
- date?: string | null | undefined;
11349
- }) | ({
11350
- __TYPE__: "FileLink";
11351
- } & {
11352
- kind: "file";
11353
- id: string;
11354
- url: string;
11355
- name: string;
11356
- size: string;
11357
- } & {
11358
- date?: string | null | undefined;
11359
- }) | ({
11360
- __TYPE__: "DocumentLink";
11361
- } & {
11362
- id: string;
11363
- }) | ({
11364
- __TYPE__: "ExternalLink";
11365
- } & {
11366
- url: string;
11367
- } & {
11368
- kind?: "web";
11369
- target?: string | null | undefined;
11370
- preview?: {
11371
- title?: string;
11372
- } | null | undefined;
11373
- });
11374
- start: number;
11375
- end: number;
11376
- type: "hyperlink";
11377
- } | {
11378
- data: string;
11379
- start: number;
11380
- end: number;
11381
- type: "label";
11382
- } | {
11383
- start: number;
11384
- end: number;
11385
- type: "strong" | "em" | "list-item";
11386
- })[];
11387
- };
11388
- } & {
11389
- label?: string;
11390
- direction?: string;
11391
- })[];
11392
- } | {
11393
- type: "tableCell";
11394
- content: ({
11395
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
11396
- content: {
11397
- text: string;
11398
- } & {
11399
- spans?: ({
11400
- data: ({
11401
- __TYPE__: "ImageLink";
11402
- } & {
11403
- kind: "image";
11404
- id: string;
11405
- url: string;
11406
- height: string;
11407
- width: string;
11408
- size: string;
11409
- name: string;
11410
- } & {
11411
- date?: string | null | undefined;
11412
- }) | ({
11413
- __TYPE__: "FileLink";
11414
- } & {
11415
- kind: "file";
11416
- id: string;
11417
- url: string;
11418
- name: string;
11419
- size: string;
11420
- } & {
11421
- date?: string | null | undefined;
11422
- }) | ({
11423
- __TYPE__: "DocumentLink";
11424
- } & {
11425
- id: string;
11426
- }) | ({
11427
- __TYPE__: "ExternalLink";
11428
- } & {
11429
- url: string;
11430
- } & {
11431
- kind?: "web";
11432
- target?: string | null | undefined;
11433
- preview?: {
11434
- title?: string;
11435
- } | null | undefined;
11436
- });
11437
- start: number;
11438
- end: number;
11439
- type: "hyperlink";
11440
- } | {
11441
- data: string;
11442
- start: number;
11443
- end: number;
11444
- type: "label";
11445
- } | {
11446
- start: number;
11447
- end: number;
11448
- type: "strong" | "em" | "list-item";
11449
- })[];
11450
- };
11451
- } & {
11452
- label?: string;
11453
- direction?: string;
11454
- })[];
11455
- })[];
11456
- }[];
11457
- } & {
11458
- __TYPE__: "TableContent";
11459
- }) | {
11460
- __TYPE__: "CompositeSliceContent";
11461
- nonRepeat: {
11462
- [x: string]: {
11463
- type: string;
11464
- __TYPE__: "EmptyContent";
9082
+ __TYPE__: "CompositeSliceContent";
9083
+ nonRepeat: {
9084
+ [x: string]: {
9085
+ type: string;
9086
+ __TYPE__: "EmptyContent";
11465
9087
  } | {
11466
9088
  __TYPE__: "BooleanContent";
11467
9089
  value: boolean;
@@ -11818,7 +9440,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11818
9440
  label?: string | null | undefined;
11819
9441
  direction?: string | null | undefined;
11820
9442
  }) | ({
11821
- 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";
11822
9444
  content: {
11823
9445
  text: string;
11824
9446
  } & {
@@ -11877,14 +9499,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11877
9499
  } & {
11878
9500
  label?: string;
11879
9501
  direction?: string;
11880
- }) | {
11881
- type: "table";
11882
- content: {
11883
- type: "tableRow";
11884
- content: ({
11885
- type: "tableHeader";
11886
- content: ({
11887
- 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";
11888
9515
  content: {
11889
9516
  text: string;
11890
9517
  } & {
@@ -11944,10 +9571,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11944
9571
  label?: string;
11945
9572
  direction?: string;
11946
9573
  })[];
11947
- } | {
11948
- type: "tableCell";
11949
- content: ({
11950
- 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";
11951
9581
  content: {
11952
9582
  text: string;
11953
9583
  } & {
@@ -12007,145 +9637,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
12007
9637
  label?: string;
12008
9638
  direction?: string;
12009
9639
  })[];
12010
- })[];
12011
- }[];
12012
- })[];
12013
- } | {
12014
- __TYPE__: "SeparatorContent";
12015
- } | ({
12016
- content: {
12017
- type: "tableRow";
12018
- content: ({
12019
- type: "tableHeader";
12020
- content: ({
12021
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
12022
- content: {
12023
- text: string;
12024
- } & {
12025
- spans?: ({
12026
- data: ({
12027
- __TYPE__: "ImageLink";
12028
- } & {
12029
- kind: "image";
12030
- id: string;
12031
- url: string;
12032
- height: string;
12033
- width: string;
12034
- size: string;
12035
- name: string;
12036
- } & {
12037
- date?: string | null | undefined;
12038
- }) | ({
12039
- __TYPE__: "FileLink";
12040
- } & {
12041
- kind: "file";
12042
- id: string;
12043
- url: string;
12044
- name: string;
12045
- size: string;
12046
- } & {
12047
- date?: string | null | undefined;
12048
- }) | ({
12049
- __TYPE__: "DocumentLink";
12050
- } & {
12051
- id: string;
12052
- }) | ({
12053
- __TYPE__: "ExternalLink";
12054
- } & {
12055
- url: string;
12056
- } & {
12057
- kind?: "web";
12058
- target?: string | null | undefined;
12059
- preview?: {
12060
- title?: string;
12061
- } | null | undefined;
12062
- });
12063
- start: number;
12064
- end: number;
12065
- type: "hyperlink";
12066
- } | {
12067
- data: string;
12068
- start: number;
12069
- end: number;
12070
- type: "label";
12071
- } | {
12072
- start: number;
12073
- end: number;
12074
- type: "strong" | "em" | "list-item";
12075
- })[];
12076
- };
12077
- } & {
12078
- label?: string;
12079
- direction?: string;
12080
- })[];
12081
- } | {
12082
- type: "tableCell";
12083
- content: ({
12084
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
12085
- content: {
12086
- text: string;
12087
- } & {
12088
- spans?: ({
12089
- data: ({
12090
- __TYPE__: "ImageLink";
12091
- } & {
12092
- kind: "image";
12093
- id: string;
12094
- url: string;
12095
- height: string;
12096
- width: string;
12097
- size: string;
12098
- name: string;
12099
- } & {
12100
- date?: string | null | undefined;
12101
- }) | ({
12102
- __TYPE__: "FileLink";
12103
- } & {
12104
- kind: "file";
12105
- id: string;
12106
- url: string;
12107
- name: string;
12108
- size: string;
12109
- } & {
12110
- date?: string | null | undefined;
12111
- }) | ({
12112
- __TYPE__: "DocumentLink";
12113
- } & {
12114
- id: string;
12115
- }) | ({
12116
- __TYPE__: "ExternalLink";
12117
- } & {
12118
- url: string;
12119
- } & {
12120
- kind?: "web";
12121
- target?: string | null | undefined;
12122
- preview?: {
12123
- title?: string;
12124
- } | null | undefined;
12125
- });
12126
- start: number;
12127
- end: number;
12128
- type: "hyperlink";
12129
- } | {
12130
- data: string;
12131
- start: number;
12132
- end: number;
12133
- type: "label";
12134
- } | {
12135
- start: number;
12136
- end: number;
12137
- type: "strong" | "em" | "list-item";
12138
- })[];
12139
- };
12140
- } & {
12141
- label?: string;
12142
- direction?: string;
12143
- })[];
9640
+ };
12144
9641
  })[];
12145
9642
  }[];
12146
- } & {
12147
- __TYPE__: "TableContent";
12148
- });
9643
+ };
12149
9644
  };
12150
9645
  repeat: {
12151
9646
  __TYPE__: "GroupItemContent";
@@ -12508,7 +10003,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
12508
10003
  label?: string | null | undefined;
12509
10004
  direction?: string | null | undefined;
12510
10005
  }) | ({
12511
- 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";
12512
10007
  content: {
12513
10008
  text: string;
12514
10009
  } & {
@@ -12567,14 +10062,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
12567
10062
  } & {
12568
10063
  label?: string;
12569
10064
  direction?: string;
12570
- }) | {
12571
- type: "table";
12572
- content: {
12573
- type: "tableRow";
12574
- content: ({
12575
- type: "tableHeader";
12576
- content: ({
12577
- 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";
12578
10078
  content: {
12579
10079
  text: string;
12580
10080
  } & {
@@ -12634,10 +10134,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
12634
10134
  label?: string;
12635
10135
  direction?: string;
12636
10136
  })[];
12637
- } | {
12638
- type: "tableCell";
12639
- content: ({
12640
- 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";
12641
10144
  content: {
12642
10145
  text: string;
12643
10146
  } & {
@@ -12697,145 +10200,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
12697
10200
  label?: string;
12698
10201
  direction?: string;
12699
10202
  })[];
12700
- })[];
12701
- }[];
12702
- })[];
12703
- } | {
12704
- __TYPE__: "SeparatorContent";
12705
- } | ({
12706
- content: {
12707
- type: "tableRow";
12708
- content: ({
12709
- type: "tableHeader";
12710
- content: ({
12711
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
12712
- content: {
12713
- text: string;
12714
- } & {
12715
- spans?: ({
12716
- data: ({
12717
- __TYPE__: "ImageLink";
12718
- } & {
12719
- kind: "image";
12720
- id: string;
12721
- url: string;
12722
- height: string;
12723
- width: string;
12724
- size: string;
12725
- name: string;
12726
- } & {
12727
- date?: string | null | undefined;
12728
- }) | ({
12729
- __TYPE__: "FileLink";
12730
- } & {
12731
- kind: "file";
12732
- id: string;
12733
- url: string;
12734
- name: string;
12735
- size: string;
12736
- } & {
12737
- date?: string | null | undefined;
12738
- }) | ({
12739
- __TYPE__: "DocumentLink";
12740
- } & {
12741
- id: string;
12742
- }) | ({
12743
- __TYPE__: "ExternalLink";
12744
- } & {
12745
- url: string;
12746
- } & {
12747
- kind?: "web";
12748
- target?: string | null | undefined;
12749
- preview?: {
12750
- title?: string;
12751
- } | null | undefined;
12752
- });
12753
- start: number;
12754
- end: number;
12755
- type: "hyperlink";
12756
- } | {
12757
- data: string;
12758
- start: number;
12759
- end: number;
12760
- type: "label";
12761
- } | {
12762
- start: number;
12763
- end: number;
12764
- type: "strong" | "em" | "list-item";
12765
- })[];
12766
- };
12767
- } & {
12768
- label?: string;
12769
- direction?: string;
12770
- })[];
12771
- } | {
12772
- type: "tableCell";
12773
- content: ({
12774
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
12775
- content: {
12776
- text: string;
12777
- } & {
12778
- spans?: ({
12779
- data: ({
12780
- __TYPE__: "ImageLink";
12781
- } & {
12782
- kind: "image";
12783
- id: string;
12784
- url: string;
12785
- height: string;
12786
- width: string;
12787
- size: string;
12788
- name: string;
12789
- } & {
12790
- date?: string | null | undefined;
12791
- }) | ({
12792
- __TYPE__: "FileLink";
12793
- } & {
12794
- kind: "file";
12795
- id: string;
12796
- url: string;
12797
- name: string;
12798
- size: string;
12799
- } & {
12800
- date?: string | null | undefined;
12801
- }) | ({
12802
- __TYPE__: "DocumentLink";
12803
- } & {
12804
- id: string;
12805
- }) | ({
12806
- __TYPE__: "ExternalLink";
12807
- } & {
12808
- url: string;
12809
- } & {
12810
- kind?: "web";
12811
- target?: string | null | undefined;
12812
- preview?: {
12813
- title?: string;
12814
- } | null | undefined;
12815
- });
12816
- start: number;
12817
- end: number;
12818
- type: "hyperlink";
12819
- } | {
12820
- data: string;
12821
- start: number;
12822
- end: number;
12823
- type: "label";
12824
- } | {
12825
- start: number;
12826
- end: number;
12827
- type: "strong" | "em" | "list-item";
12828
- })[];
12829
- };
12830
- } & {
12831
- label?: string;
12832
- direction?: string;
12833
- })[];
10203
+ };
12834
10204
  })[];
12835
10205
  }[];
12836
- } & {
12837
- __TYPE__: "TableContent";
12838
- })][];
10206
+ }][];
12839
10207
  }[];
12840
10208
  } | {
12841
10209
  __TYPE__: "SharedSliceContent";
@@ -13200,7 +10568,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
13200
10568
  label?: string | null | undefined;
13201
10569
  direction?: string | null | undefined;
13202
10570
  }) | ({
13203
- 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";
13204
10572
  content: {
13205
10573
  text: string;
13206
10574
  } & {
@@ -13259,14 +10627,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
13259
10627
  } & {
13260
10628
  label?: string;
13261
10629
  direction?: string;
13262
- }) | {
13263
- type: "table";
13264
- content: {
13265
- type: "tableRow";
13266
- content: ({
13267
- type: "tableHeader";
13268
- content: ({
13269
- 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";
13270
10643
  content: {
13271
10644
  text: string;
13272
10645
  } & {
@@ -13326,10 +10699,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
13326
10699
  label?: string;
13327
10700
  direction?: string;
13328
10701
  })[];
13329
- } | {
13330
- type: "tableCell";
13331
- content: ({
13332
- 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";
13333
10709
  content: {
13334
10710
  text: string;
13335
10711
  } & {
@@ -13348,186 +10724,51 @@ export declare function migrateDocument(document: Document, customType: StaticCu
13348
10724
  date?: string | null | undefined;
13349
10725
  }) | ({
13350
10726
  __TYPE__: "FileLink";
13351
- } & {
13352
- kind: "file";
13353
- id: string;
13354
- url: string;
13355
- name: string;
13356
- size: string;
13357
- } & {
13358
- date?: string | null | undefined;
13359
- }) | ({
13360
- __TYPE__: "DocumentLink";
13361
- } & {
13362
- id: string;
13363
- }) | ({
13364
- __TYPE__: "ExternalLink";
13365
- } & {
13366
- url: string;
13367
- } & {
13368
- kind?: "web";
13369
- target?: string | null | undefined;
13370
- preview?: {
13371
- title?: string;
13372
- } | null | undefined;
13373
- });
13374
- start: number;
13375
- end: number;
13376
- type: "hyperlink";
13377
- } | {
13378
- data: string;
13379
- start: number;
13380
- end: number;
13381
- type: "label";
13382
- } | {
13383
- start: number;
13384
- end: number;
13385
- type: "strong" | "em" | "list-item";
13386
- })[];
13387
- };
13388
- } & {
13389
- label?: string;
13390
- direction?: string;
13391
- })[];
13392
- })[];
13393
- }[];
13394
- })[];
13395
- } | {
13396
- __TYPE__: "SeparatorContent";
13397
- } | ({
13398
- content: {
13399
- type: "tableRow";
13400
- content: ({
13401
- type: "tableHeader";
13402
- content: ({
13403
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
13404
- content: {
13405
- text: string;
13406
- } & {
13407
- spans?: ({
13408
- data: ({
13409
- __TYPE__: "ImageLink";
13410
- } & {
13411
- kind: "image";
13412
- id: string;
13413
- url: string;
13414
- height: string;
13415
- width: string;
13416
- size: string;
13417
- name: string;
13418
- } & {
13419
- date?: string | null | undefined;
13420
- }) | ({
13421
- __TYPE__: "FileLink";
13422
- } & {
13423
- kind: "file";
13424
- id: string;
13425
- url: string;
13426
- name: string;
13427
- size: string;
13428
- } & {
13429
- date?: string | null | undefined;
13430
- }) | ({
13431
- __TYPE__: "DocumentLink";
13432
- } & {
13433
- id: string;
13434
- }) | ({
13435
- __TYPE__: "ExternalLink";
13436
- } & {
13437
- url: string;
13438
- } & {
13439
- kind?: "web";
13440
- target?: string | null | undefined;
13441
- preview?: {
13442
- title?: string;
13443
- } | null | undefined;
13444
- });
13445
- start: number;
13446
- end: number;
13447
- type: "hyperlink";
13448
- } | {
13449
- data: string;
13450
- start: number;
13451
- end: number;
13452
- type: "label";
13453
- } | {
13454
- start: number;
13455
- end: number;
13456
- type: "strong" | "em" | "list-item";
13457
- })[];
13458
- };
13459
- } & {
13460
- label?: string;
13461
- direction?: string;
13462
- })[];
13463
- } | {
13464
- type: "tableCell";
13465
- content: ({
13466
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
13467
- content: {
13468
- text: string;
10727
+ } & {
10728
+ kind: "file";
10729
+ id: string;
10730
+ url: string;
10731
+ name: string;
10732
+ size: string;
10733
+ } & {
10734
+ date?: string | null | undefined;
10735
+ }) | ({
10736
+ __TYPE__: "DocumentLink";
10737
+ } & {
10738
+ id: string;
10739
+ }) | ({
10740
+ __TYPE__: "ExternalLink";
10741
+ } & {
10742
+ url: string;
10743
+ } & {
10744
+ kind?: "web";
10745
+ target?: string | null | undefined;
10746
+ preview?: {
10747
+ title?: string;
10748
+ } | null | undefined;
10749
+ });
10750
+ start: number;
10751
+ end: number;
10752
+ type: "hyperlink";
10753
+ } | {
10754
+ data: string;
10755
+ start: number;
10756
+ end: number;
10757
+ type: "label";
10758
+ } | {
10759
+ start: number;
10760
+ end: number;
10761
+ type: "strong" | "em" | "list-item";
10762
+ })[];
10763
+ };
13469
10764
  } & {
13470
- spans?: ({
13471
- data: ({
13472
- __TYPE__: "ImageLink";
13473
- } & {
13474
- kind: "image";
13475
- id: string;
13476
- url: string;
13477
- height: string;
13478
- width: string;
13479
- size: string;
13480
- name: string;
13481
- } & {
13482
- date?: string | null | undefined;
13483
- }) | ({
13484
- __TYPE__: "FileLink";
13485
- } & {
13486
- kind: "file";
13487
- id: string;
13488
- url: string;
13489
- name: string;
13490
- size: string;
13491
- } & {
13492
- date?: string | null | undefined;
13493
- }) | ({
13494
- __TYPE__: "DocumentLink";
13495
- } & {
13496
- id: string;
13497
- }) | ({
13498
- __TYPE__: "ExternalLink";
13499
- } & {
13500
- url: string;
13501
- } & {
13502
- kind?: "web";
13503
- target?: string | null | undefined;
13504
- preview?: {
13505
- title?: string;
13506
- } | null | undefined;
13507
- });
13508
- start: number;
13509
- end: number;
13510
- type: "hyperlink";
13511
- } | {
13512
- data: string;
13513
- start: number;
13514
- end: number;
13515
- type: "label";
13516
- } | {
13517
- start: number;
13518
- end: number;
13519
- type: "strong" | "em" | "list-item";
13520
- })[];
13521
- };
13522
- } & {
13523
- label?: string;
13524
- direction?: string;
13525
- })[];
10765
+ label?: string;
10766
+ direction?: string;
10767
+ })[];
10768
+ };
13526
10769
  })[];
13527
10770
  }[];
13528
- } & {
13529
- __TYPE__: "TableContent";
13530
- });
10771
+ };
13531
10772
  };
13532
10773
  items: {
13533
10774
  __TYPE__: "GroupItemContent";
@@ -13890,7 +11131,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
13890
11131
  label?: string | null | undefined;
13891
11132
  direction?: string | null | undefined;
13892
11133
  }) | ({
13893
- 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";
13894
11135
  content: {
13895
11136
  text: string;
13896
11137
  } & {
@@ -13949,14 +11190,19 @@ export declare function migrateDocument(document: Document, customType: StaticCu
13949
11190
  } & {
13950
11191
  label?: string;
13951
11192
  direction?: string;
13952
- }) | {
13953
- type: "table";
13954
- content: {
13955
- type: "tableRow";
13956
- content: ({
13957
- type: "tableHeader";
13958
- content: ({
13959
- 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";
13960
11206
  content: {
13961
11207
  text: string;
13962
11208
  } & {
@@ -14016,10 +11262,13 @@ export declare function migrateDocument(document: Document, customType: StaticCu
14016
11262
  label?: string;
14017
11263
  direction?: string;
14018
11264
  })[];
14019
- } | {
14020
- type: "tableCell";
14021
- content: ({
14022
- 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";
14023
11272
  content: {
14024
11273
  text: string;
14025
11274
  } & {
@@ -14079,145 +11328,10 @@ export declare function migrateDocument(document: Document, customType: StaticCu
14079
11328
  label?: string;
14080
11329
  direction?: string;
14081
11330
  })[];
14082
- })[];
14083
- }[];
14084
- })[];
14085
- } | {
14086
- __TYPE__: "SeparatorContent";
14087
- } | ({
14088
- content: {
14089
- type: "tableRow";
14090
- content: ({
14091
- type: "tableHeader";
14092
- content: ({
14093
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
14094
- content: {
14095
- text: string;
14096
- } & {
14097
- spans?: ({
14098
- data: ({
14099
- __TYPE__: "ImageLink";
14100
- } & {
14101
- kind: "image";
14102
- id: string;
14103
- url: string;
14104
- height: string;
14105
- width: string;
14106
- size: string;
14107
- name: string;
14108
- } & {
14109
- date?: string | null | undefined;
14110
- }) | ({
14111
- __TYPE__: "FileLink";
14112
- } & {
14113
- kind: "file";
14114
- id: string;
14115
- url: string;
14116
- name: string;
14117
- size: string;
14118
- } & {
14119
- date?: string | null | undefined;
14120
- }) | ({
14121
- __TYPE__: "DocumentLink";
14122
- } & {
14123
- id: string;
14124
- }) | ({
14125
- __TYPE__: "ExternalLink";
14126
- } & {
14127
- url: string;
14128
- } & {
14129
- kind?: "web";
14130
- target?: string | null | undefined;
14131
- preview?: {
14132
- title?: string;
14133
- } | null | undefined;
14134
- });
14135
- start: number;
14136
- end: number;
14137
- type: "hyperlink";
14138
- } | {
14139
- data: string;
14140
- start: number;
14141
- end: number;
14142
- type: "label";
14143
- } | {
14144
- start: number;
14145
- end: number;
14146
- type: "strong" | "em" | "list-item";
14147
- })[];
14148
- };
14149
- } & {
14150
- label?: string;
14151
- direction?: string;
14152
- })[];
14153
- } | {
14154
- type: "tableCell";
14155
- content: ({
14156
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
14157
- content: {
14158
- text: string;
14159
- } & {
14160
- spans?: ({
14161
- data: ({
14162
- __TYPE__: "ImageLink";
14163
- } & {
14164
- kind: "image";
14165
- id: string;
14166
- url: string;
14167
- height: string;
14168
- width: string;
14169
- size: string;
14170
- name: string;
14171
- } & {
14172
- date?: string | null | undefined;
14173
- }) | ({
14174
- __TYPE__: "FileLink";
14175
- } & {
14176
- kind: "file";
14177
- id: string;
14178
- url: string;
14179
- name: string;
14180
- size: string;
14181
- } & {
14182
- date?: string | null | undefined;
14183
- }) | ({
14184
- __TYPE__: "DocumentLink";
14185
- } & {
14186
- id: string;
14187
- }) | ({
14188
- __TYPE__: "ExternalLink";
14189
- } & {
14190
- url: string;
14191
- } & {
14192
- kind?: "web";
14193
- target?: string | null | undefined;
14194
- preview?: {
14195
- title?: string;
14196
- } | null | undefined;
14197
- });
14198
- start: number;
14199
- end: number;
14200
- type: "hyperlink";
14201
- } | {
14202
- data: string;
14203
- start: number;
14204
- end: number;
14205
- type: "label";
14206
- } | {
14207
- start: number;
14208
- end: number;
14209
- type: "strong" | "em" | "list-item";
14210
- })[];
14211
- };
14212
- } & {
14213
- label?: string;
14214
- direction?: string;
14215
- })[];
11331
+ };
14216
11332
  })[];
14217
11333
  }[];
14218
- } & {
14219
- __TYPE__: "TableContent";
14220
- })][];
11334
+ }][];
14221
11335
  }[];
14222
11336
  };
14223
11337
  }[];