@prismicio/types-internal 3.4.0-alpha.7 → 3.4.0-alpha.9

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.
@@ -745,7 +745,240 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
745
745
  variant: t.StringC;
746
746
  }>]>>]>]>;
747
747
  }>>]>>;
748
- }>>]>, t.TypeC<{
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<{
749
982
  __TYPE__: t.LiteralC<"UIDContent">;
750
983
  value: t.StringC;
751
984
  }>, t.TypeC<{
@@ -1497,39 +1730,272 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1497
1730
  variant: t.StringC;
1498
1731
  }>]>>]>]>;
1499
1732
  }>>]>>;
1500
- }>>]>>;
1501
- repeat: t.ArrayC<t.ExactC<t.TypeC<{
1502
- __TYPE__: t.LiteralC<"GroupItemContent">;
1503
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
1504
- type: t.StringC;
1505
- __TYPE__: t.LiteralC<"EmptyContent">;
1506
- }>>, t.ExactC<t.TypeC<{
1507
- __TYPE__: t.LiteralC<"BooleanContent">;
1508
- value: t.BooleanC;
1509
- }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1510
- embed_url: t.StringC;
1511
- type: t.StringC;
1512
- }>, t.PartialC<{
1513
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1514
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1515
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1516
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1517
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1518
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1519
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1520
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1521
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1522
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1523
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1524
- }>]>>, t.ExactC<t.TypeC<{
1525
- __TYPE__: t.LiteralC<"EmbedContent">;
1526
- all: t.UnknownC;
1527
- }>>]>, t.ExactC<t.TypeC<{
1528
- type: t.LiteralC<"Text">;
1529
- value: t.Type<string, string, unknown>;
1530
- __TYPE__: t.LiteralC<"FieldContent">;
1531
- }>>, t.ExactC<t.TypeC<{
1532
- type: t.LiteralC<"Timestamp">;
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
+ }>>]>]>>;
1967
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
1968
+ __TYPE__: t.LiteralC<"GroupItemContent">;
1969
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
1970
+ type: t.StringC;
1971
+ __TYPE__: t.LiteralC<"EmptyContent">;
1972
+ }>>, t.ExactC<t.TypeC<{
1973
+ __TYPE__: t.LiteralC<"BooleanContent">;
1974
+ value: t.BooleanC;
1975
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1976
+ embed_url: t.StringC;
1977
+ type: t.StringC;
1978
+ }>, t.PartialC<{
1979
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1980
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1981
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1982
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1983
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1984
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1985
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1986
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1987
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1988
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1989
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1990
+ }>]>>, t.ExactC<t.TypeC<{
1991
+ __TYPE__: t.LiteralC<"EmbedContent">;
1992
+ all: t.UnknownC;
1993
+ }>>]>, t.ExactC<t.TypeC<{
1994
+ type: t.LiteralC<"Text">;
1995
+ value: t.Type<string, string, unknown>;
1996
+ __TYPE__: t.LiteralC<"FieldContent">;
1997
+ }>>, t.ExactC<t.TypeC<{
1998
+ type: t.LiteralC<"Timestamp">;
1533
1999
  value: t.Type<string, string, unknown>;
1534
2000
  __TYPE__: t.LiteralC<"FieldContent">;
1535
2001
  }>>, t.ExactC<t.TypeC<{
@@ -2241,7 +2707,240 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2241
2707
  variant: t.StringC;
2242
2708
  }>]>>]>]>;
2243
2709
  }>>]>>;
2244
- }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
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>]>]>>;
2245
2944
  }>>>;
2246
2945
  }>>, t.ExactC<t.TypeC<{
2247
2946
  __TYPE__: t.LiteralC<"SharedSliceContent">;
@@ -2987,7 +3686,240 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2987
3686
  variant: t.StringC;
2988
3687
  }>]>>]>]>;
2989
3688
  }>>]>>;
2990
- }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>>;
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>]>>;
2991
3923
  items: t.ArrayC<t.ExactC<t.TypeC<{
2992
3924
  __TYPE__: t.LiteralC<"GroupItemContent">;
2993
3925
  value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -3731,7 +4663,240 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3731
4663
  variant: t.StringC;
3732
4664
  }>]>>]>]>;
3733
4665
  }>>]>>;
3734
- }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
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>]>]>>;
3735
4900
  }>>>;
3736
4901
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
3737
4902
  type: t.StringC;
@@ -4394,87 +5559,320 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4394
5559
  }>>, t.ExactC<t.TypeC<{
4395
5560
  __TYPE__: t.LiteralC<"SeparatorContent">;
4396
5561
  }>>, t.ExactC<t.TypeC<{
4397
- __TYPE__: t.LiteralC<"RepeatableContent">;
4398
- type: t.LiteralC<"Link">;
4399
- value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
4400
- key: t.Type<string, string, unknown>;
4401
- }>>, t.ExactC<t.TypeC<{
4402
- __TYPE__: t.LiteralC<"LinkContent">;
4403
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4404
- __TYPE__: t.LiteralC<"ImageLink">;
4405
- }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4406
- kind: t.Type<"image", "image", unknown>;
4407
- id: t.StringC;
4408
- url: t.StringC;
4409
- height: t.StringC;
4410
- width: t.StringC;
4411
- size: t.StringC;
4412
- name: t.StringC;
4413
- }>>, t.ExactC<t.PartialC<{
4414
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4415
- }>>]>, t.ExactC<t.TypeC<{
4416
- kind: t.LiteralC<"image">;
4417
- }>>]>, t.ExactC<t.PartialC<{
4418
- text: t.StringC;
4419
- variant: t.StringC;
4420
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4421
- __TYPE__: t.LiteralC<"FileLink">;
4422
- }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4423
- kind: t.Type<"file", "file", unknown>;
4424
- id: t.StringC;
4425
- url: t.StringC;
4426
- name: t.StringC;
4427
- size: t.StringC;
4428
- }>, t.PartialC<{
4429
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4430
- }>]>>, t.ExactC<t.TypeC<{
4431
- kind: t.LiteralC<"file">;
4432
- }>>]>, t.ExactC<t.PartialC<{
4433
- text: t.StringC;
4434
- variant: t.StringC;
4435
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4436
- __TYPE__: t.LiteralC<"DocumentLink">;
4437
- }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
4438
- id: t.Type<string, string, unknown>;
4439
- }>>, t.ExactC<t.TypeC<{
4440
- kind: t.LiteralC<"document">;
4441
- }>>]>, t.ExactC<t.PartialC<{
4442
- text: t.StringC;
4443
- variant: t.StringC;
4444
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4445
- __TYPE__: t.LiteralC<"ExternalLink">;
4446
- }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4447
- url: t.StringC;
4448
- }>, t.PartialC<{
4449
- kind: t.LiteralC<"web">;
4450
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4451
- preview: t.UnionC<[t.Type<{
4452
- title?: string;
4453
- }, {
4454
- title?: string;
4455
- }, unknown>, t.NullC, t.UndefinedC]>;
4456
- }>]>>, t.ExactC<t.TypeC<{
4457
- kind: t.LiteralC<"web">;
4458
- }>>]>, t.ExactC<t.PartialC<{
4459
- text: t.StringC;
4460
- variant: t.StringC;
4461
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4462
- __TYPE__: t.LiteralC<"MediaLink">;
4463
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4464
- kind: t.LiteralC<"media">;
4465
- }>>, t.ExactC<t.PartialC<{
4466
- text: t.StringC;
4467
- variant: t.StringC;
4468
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4469
- __TYPE__: t.LiteralC<"AnyLink">;
4470
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4471
- kind: t.LiteralC<"any">;
4472
- }>, t.PartialC<{
4473
- text: t.StringC;
4474
- variant: t.StringC;
4475
- }>]>>]>]>;
4476
- }>>]>>;
4477
- }>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>;
5562
+ __TYPE__: t.LiteralC<"RepeatableContent">;
5563
+ type: t.LiteralC<"Link">;
5564
+ value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
5565
+ key: t.Type<string, string, unknown>;
5566
+ }>>, t.ExactC<t.TypeC<{
5567
+ __TYPE__: t.LiteralC<"LinkContent">;
5568
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
5569
+ __TYPE__: t.LiteralC<"ImageLink">;
5570
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
5571
+ kind: t.Type<"image", "image", unknown>;
5572
+ id: t.StringC;
5573
+ url: t.StringC;
5574
+ height: t.StringC;
5575
+ width: t.StringC;
5576
+ size: t.StringC;
5577
+ name: t.StringC;
5578
+ }>>, t.ExactC<t.PartialC<{
5579
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5580
+ }>>]>, t.ExactC<t.TypeC<{
5581
+ kind: t.LiteralC<"image">;
5582
+ }>>]>, t.ExactC<t.PartialC<{
5583
+ text: t.StringC;
5584
+ variant: t.StringC;
5585
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5586
+ __TYPE__: t.LiteralC<"FileLink">;
5587
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5588
+ kind: t.Type<"file", "file", unknown>;
5589
+ id: t.StringC;
5590
+ url: t.StringC;
5591
+ name: t.StringC;
5592
+ size: t.StringC;
5593
+ }>, t.PartialC<{
5594
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5595
+ }>]>>, t.ExactC<t.TypeC<{
5596
+ kind: t.LiteralC<"file">;
5597
+ }>>]>, t.ExactC<t.PartialC<{
5598
+ text: t.StringC;
5599
+ variant: t.StringC;
5600
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5601
+ __TYPE__: t.LiteralC<"DocumentLink">;
5602
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
5603
+ id: t.Type<string, string, unknown>;
5604
+ }>>, t.ExactC<t.TypeC<{
5605
+ kind: t.LiteralC<"document">;
5606
+ }>>]>, t.ExactC<t.PartialC<{
5607
+ text: t.StringC;
5608
+ variant: t.StringC;
5609
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5610
+ __TYPE__: t.LiteralC<"ExternalLink">;
5611
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5612
+ url: t.StringC;
5613
+ }>, t.PartialC<{
5614
+ kind: t.LiteralC<"web">;
5615
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5616
+ preview: t.UnionC<[t.Type<{
5617
+ title?: string;
5618
+ }, {
5619
+ title?: string;
5620
+ }, unknown>, t.NullC, t.UndefinedC]>;
5621
+ }>]>>, t.ExactC<t.TypeC<{
5622
+ kind: t.LiteralC<"web">;
5623
+ }>>]>, t.ExactC<t.PartialC<{
5624
+ text: t.StringC;
5625
+ variant: t.StringC;
5626
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5627
+ __TYPE__: t.LiteralC<"MediaLink">;
5628
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
5629
+ kind: t.LiteralC<"media">;
5630
+ }>>, t.ExactC<t.PartialC<{
5631
+ text: t.StringC;
5632
+ variant: t.StringC;
5633
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5634
+ __TYPE__: t.LiteralC<"AnyLink">;
5635
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5636
+ kind: t.LiteralC<"any">;
5637
+ }>, t.PartialC<{
5638
+ text: t.StringC;
5639
+ variant: t.StringC;
5640
+ }>]>>]>]>;
5641
+ }>>]>>;
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>]>]>;
4478
5876
  }>>;
4479
5877
  }>]>>;
4480
5878
  export declare type Document = t.TypeOf<typeof Document>;
@@ -5044,11 +6442,144 @@ export declare const DocumentLegacy: {
5044
6442
  direction?: string;
5045
6443
  })[];
5046
6444
  })[];
5047
- }[];
5048
- })[];
5049
- } | {
5050
- __TYPE__: "SeparatorContent";
5051
- } | {
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
+ })[];
6578
+ })[];
6579
+ }[];
6580
+ } & {
6581
+ __TYPE__: "TableContent";
6582
+ }) | {
5052
6583
  __TYPE__: "UIDContent";
5053
6584
  value: string;
5054
6585
  } | {
@@ -5610,7 +7141,140 @@ export declare const DocumentLegacy: {
5610
7141
  })[];
5611
7142
  } | {
5612
7143
  __TYPE__: "SeparatorContent";
5613
- } | {
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
+ }) | {
5614
7278
  __TYPE__: "CompositeSliceContent";
5615
7279
  nonRepeat: {
5616
7280
  [x: string]: {
@@ -6162,11 +7826,144 @@ export declare const DocumentLegacy: {
6162
7826
  direction?: string;
6163
7827
  })[];
6164
7828
  })[];
6165
- }[];
6166
- })[];
6167
- } | {
6168
- __TYPE__: "SeparatorContent";
6169
- };
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
+ })[];
7962
+ })[];
7963
+ }[];
7964
+ } & {
7965
+ __TYPE__: "TableContent";
7966
+ });
6170
7967
  };
6171
7968
  repeat: {
6172
7969
  __TYPE__: "GroupItemContent";
@@ -6723,7 +8520,140 @@ export declare const DocumentLegacy: {
6723
8520
  })[];
6724
8521
  } | {
6725
8522
  __TYPE__: "SeparatorContent";
6726
- }][];
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
+ })][];
6727
8657
  }[];
6728
8658
  } | {
6729
8659
  __TYPE__: "SharedSliceContent";
@@ -7278,11 +9208,144 @@ export declare const DocumentLegacy: {
7278
9208
  direction?: string;
7279
9209
  })[];
7280
9210
  })[];
7281
- }[];
7282
- })[];
7283
- } | {
7284
- __TYPE__: "SeparatorContent";
7285
- };
9211
+ }[];
9212
+ })[];
9213
+ } | {
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
+ });
7286
9349
  };
7287
9350
  items: {
7288
9351
  __TYPE__: "GroupItemContent";
@@ -7839,7 +9902,140 @@ export declare const DocumentLegacy: {
7839
9902
  })[];
7840
9903
  } | {
7841
9904
  __TYPE__: "SeparatorContent";
7842
- }][];
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
+ })[];
10034
+ })[];
10035
+ }[];
10036
+ } & {
10037
+ __TYPE__: "TableContent";
10038
+ })][];
7843
10039
  }[];
7844
10040
  };
7845
10041
  }[];
@@ -8424,15 +10620,148 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8424
10620
  })[];
8425
10621
  };
8426
10622
  } & {
8427
- label?: string;
8428
- direction?: string;
8429
- })[];
10623
+ label?: string;
10624
+ direction?: string;
10625
+ })[];
10626
+ })[];
10627
+ }[];
10628
+ })[];
10629
+ } | {
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;
8430
10759
  })[];
8431
- }[];
8432
- })[];
8433
- } | {
8434
- __TYPE__: "SeparatorContent";
8435
- } | {
10760
+ })[];
10761
+ }[];
10762
+ } & {
10763
+ __TYPE__: "TableContent";
10764
+ }) | {
8436
10765
  __TYPE__: "UIDContent";
8437
10766
  value: string;
8438
10767
  } | {
@@ -8994,7 +11323,140 @@ export declare function migrateDocument(document: Document, customType: StaticCu
8994
11323
  })[];
8995
11324
  } | {
8996
11325
  __TYPE__: "SeparatorContent";
8997
- } | {
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
+ }) | {
8998
11460
  __TYPE__: "CompositeSliceContent";
8999
11461
  nonRepeat: {
9000
11462
  [x: string]: {
@@ -9542,15 +12004,148 @@ export declare function migrateDocument(document: Document, customType: StaticCu
9542
12004
  })[];
9543
12005
  };
9544
12006
  } & {
9545
- label?: string;
9546
- direction?: string;
9547
- })[];
12007
+ label?: string;
12008
+ direction?: string;
12009
+ })[];
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;
9548
12143
  })[];
9549
- }[];
9550
- })[];
9551
- } | {
9552
- __TYPE__: "SeparatorContent";
9553
- };
12144
+ })[];
12145
+ }[];
12146
+ } & {
12147
+ __TYPE__: "TableContent";
12148
+ });
9554
12149
  };
9555
12150
  repeat: {
9556
12151
  __TYPE__: "GroupItemContent";
@@ -10107,7 +12702,140 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10107
12702
  })[];
10108
12703
  } | {
10109
12704
  __TYPE__: "SeparatorContent";
10110
- }][];
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
+ })[];
12834
+ })[];
12835
+ }[];
12836
+ } & {
12837
+ __TYPE__: "TableContent";
12838
+ })][];
10111
12839
  }[];
10112
12840
  } | {
10113
12841
  __TYPE__: "SharedSliceContent";
@@ -10658,15 +13386,148 @@ export declare function migrateDocument(document: Document, customType: StaticCu
10658
13386
  })[];
10659
13387
  };
10660
13388
  } & {
10661
- label?: string;
10662
- direction?: string;
10663
- })[];
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;
13469
+ } & {
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;
10664
13525
  })[];
10665
- }[];
10666
- })[];
10667
- } | {
10668
- __TYPE__: "SeparatorContent";
10669
- };
13526
+ })[];
13527
+ }[];
13528
+ } & {
13529
+ __TYPE__: "TableContent";
13530
+ });
10670
13531
  };
10671
13532
  items: {
10672
13533
  __TYPE__: "GroupItemContent";
@@ -11223,7 +14084,140 @@ export declare function migrateDocument(document: Document, customType: StaticCu
11223
14084
  })[];
11224
14085
  } | {
11225
14086
  __TYPE__: "SeparatorContent";
11226
- }][];
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
+ })[];
14216
+ })[];
14217
+ }[];
14218
+ } & {
14219
+ __TYPE__: "TableContent";
14220
+ })][];
11227
14221
  }[];
11228
14222
  };
11229
14223
  }[];