@prismicio/types-internal 2.2.0-traverse.alpha-1 → 2.2.0-traverse.alpha-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/lib/_internal/utils.d.ts +21 -4
  2. package/lib/_internal/utils.js +11 -0
  3. package/lib/content/Document.d.ts +2185 -13
  4. package/lib/content/Document.js +130 -35
  5. package/lib/content/fields/GroupContent.d.ts +6 -4
  6. package/lib/content/fields/GroupContent.js +13 -9
  7. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +8 -6
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +31 -16
  9. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +8 -6
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.js +26 -18
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +10 -0
  12. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +60 -1
  13. package/lib/content/fields/slices/SliceItem.d.ts +15 -0
  14. package/lib/content/fields/slices/SliceItem.js +15 -1
  15. package/lib/content/fields/slices/SlicesContent.d.ts +4 -3
  16. package/lib/content/fields/slices/SlicesContent.js +125 -60
  17. package/lib/customtypes/CustomType.d.ts +4 -0
  18. package/lib/customtypes/CustomType.js +18 -1
  19. package/lib/customtypes/Section.d.ts +3 -0
  20. package/lib/customtypes/diff/SharedSlice.d.ts +6 -0
  21. package/lib/customtypes/widgets/Widget.d.ts +3 -0
  22. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +5 -0
  23. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
  24. package/lib/customtypes/widgets/slices/SharedSlice.js +3 -0
  25. package/lib/customtypes/widgets/slices/Slices.d.ts +6 -0
  26. package/lib/import/validators/fields/ImportSlices/SharedSlice/utils.d.ts +3 -0
  27. package/package.json +1 -1
  28. package/src/_internal/utils.ts +63 -7
  29. package/src/content/Document.ts +177 -42
  30. package/src/content/fields/GroupContent.ts +25 -12
  31. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +54 -21
  32. package/src/content/fields/slices/Slice/SharedSliceContent.ts +42 -26
  33. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +99 -1
  34. package/src/content/fields/slices/SliceItem.ts +39 -3
  35. package/src/content/fields/slices/SlicesContent.ts +172 -67
  36. package/src/customtypes/CustomType.ts +21 -0
  37. package/src/customtypes/widgets/slices/CompositeSlice.ts +6 -0
  38. package/src/customtypes/widgets/slices/SharedSlice.ts +12 -0
@@ -1,8 +1,8 @@
1
1
  import * as t from "io-ts";
2
- import { type TraverseContentFn, ContentPath } from "../_internal/utils";
2
+ import { ContentPath, TraverseSliceContentFn, TraverseWidgetContentFn } from "../_internal/utils";
3
3
  import { WidgetKey } from "../common";
4
- import { type StaticCustomType } from "../customtypes";
5
- import { SliceContent, WidgetContent } from "./fields";
4
+ import { StaticCustomType } from "../customtypes";
5
+ import { WidgetContent } from "./fields";
6
6
  import { FieldOrSliceType, WithTypes } from "./LegacyContentCtx";
7
7
  export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.TypeC<{
8
8
  __TYPE__: t.LiteralC<"GroupContentType">;
@@ -2454,7 +2454,7 @@ declare function extractMetadata(data: {
2454
2454
  slugs: ReadonlyArray<string>;
2455
2455
  uid: string | undefined;
2456
2456
  };
2457
- declare function parseLegacyDocument(legacyDoc: unknown): Document | undefined;
2457
+ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCustomType): Document | undefined;
2458
2458
  declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
2459
2459
  export declare const DocumentLegacy: {
2460
2460
  _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"> | undefined) => t.Type<{
@@ -4643,13 +4643,2185 @@ export declare const DocumentLegacy: {
4643
4643
  * @param transform: A user function that provides a way to transform any kind of content wherever it is in a structured Prismic object content.
4644
4644
  * @returns a transformed document with the user's transformation applied with the transform function
4645
4645
  */
4646
- export declare function traverseDocument(document: Document, model?: StaticCustomType): (transform: TraverseContentFn) => Document;
4647
- /**
4648
- * The goal is to be able to collect all widgets or slices of a given type at any level of nesting inside a prismic content
4649
- *
4650
- * @param document parsed prismic content
4651
- * @param is typeguard to match specifically the type of widget we want to collect
4652
- * @returns a record containing the path of the widget as key and the typed collected content as value
4653
- */
4654
- export declare function collectWidgets<W extends WidgetContent | SliceContent>(document: Document, is: (content: WidgetContent | SliceContent, path: ContentPath) => content is W): Record<string, W>;
4646
+ export declare function traverseDocument({ document, model, }: {
4647
+ document: Document;
4648
+ model?: StaticCustomType;
4649
+ }): ({ transformWidget, transformSlice, }: {
4650
+ transformWidget?: TraverseWidgetContentFn;
4651
+ transformSlice?: TraverseSliceContentFn;
4652
+ }) => Document;
4653
+ export declare function collectWidgets<W extends WidgetContent>(document: Document, is: (content: WidgetContent, path: ContentPath) => content is W): Record<string, W>;
4654
+ export declare function migrateDocument(document: Document, model: StaticCustomType): {
4655
+ [x: string]: {
4656
+ type: string;
4657
+ __TYPE__: "EmptyContent";
4658
+ } | {
4659
+ __TYPE__: "BooleanContent";
4660
+ value: boolean;
4661
+ } | ({
4662
+ embed_url: string;
4663
+ type: string;
4664
+ } & {
4665
+ version?: string | number | null;
4666
+ title?: string | null | undefined;
4667
+ author_name?: string | null | undefined;
4668
+ author_url?: string | null | undefined;
4669
+ provider_name?: string | null | undefined;
4670
+ provider_url?: string | null | undefined;
4671
+ cache_age?: string | number | null;
4672
+ thumbnail_url?: string | null | undefined;
4673
+ thumbnail_width?: number | null | undefined;
4674
+ thumbnail_height?: number | null | undefined;
4675
+ html?: string | null | undefined;
4676
+ } & {
4677
+ __TYPE__: "EmbedContent";
4678
+ all: unknown;
4679
+ }) | {
4680
+ type: "Color";
4681
+ value: string;
4682
+ __TYPE__: "FieldContent";
4683
+ } | {
4684
+ type: "Date";
4685
+ value: string;
4686
+ __TYPE__: "FieldContent";
4687
+ } | {
4688
+ type: "Number";
4689
+ value: string;
4690
+ __TYPE__: "FieldContent";
4691
+ } | {
4692
+ type: "Range";
4693
+ value: string;
4694
+ __TYPE__: "FieldContent";
4695
+ } | {
4696
+ type: "Select";
4697
+ value: string;
4698
+ __TYPE__: "FieldContent";
4699
+ } | {
4700
+ type: "Text";
4701
+ value: string;
4702
+ __TYPE__: "FieldContent";
4703
+ } | {
4704
+ type: "Timestamp";
4705
+ value: string;
4706
+ __TYPE__: "FieldContent";
4707
+ } | ({
4708
+ position: {
4709
+ lat: number;
4710
+ lng: number;
4711
+ };
4712
+ } & {
4713
+ __TYPE__: "GeoPointContent";
4714
+ }) | ({
4715
+ origin: {
4716
+ id: string;
4717
+ url: string;
4718
+ width: number;
4719
+ height: number;
4720
+ };
4721
+ width: number;
4722
+ height: number;
4723
+ edit: {
4724
+ zoom: number;
4725
+ crop: {
4726
+ x: number;
4727
+ y: number;
4728
+ };
4729
+ background: string;
4730
+ };
4731
+ } & {
4732
+ url?: string;
4733
+ credits?: string | null;
4734
+ alt?: string | null;
4735
+ provider?: string | null | undefined;
4736
+ } & {
4737
+ thumbnails?: {
4738
+ [x: string]: {
4739
+ origin: {
4740
+ id: string;
4741
+ url: string;
4742
+ width: number;
4743
+ height: number;
4744
+ };
4745
+ width: number;
4746
+ height: number;
4747
+ edit: {
4748
+ zoom: number;
4749
+ crop: {
4750
+ x: number;
4751
+ y: number;
4752
+ };
4753
+ background: string;
4754
+ };
4755
+ } & {
4756
+ url?: string;
4757
+ credits?: string | null;
4758
+ alt?: string | null;
4759
+ provider?: string | null | undefined;
4760
+ };
4761
+ };
4762
+ } & {
4763
+ __TYPE__: "ImageContent";
4764
+ }) | {
4765
+ __TYPE__: "IntegrationFieldsContent";
4766
+ value: string;
4767
+ } | {
4768
+ __TYPE__: "LinkContent";
4769
+ value: ({
4770
+ __TYPE__: "ImageLink";
4771
+ } & {
4772
+ id: string;
4773
+ url: string;
4774
+ height: string;
4775
+ width: string;
4776
+ size: string;
4777
+ name: string;
4778
+ kind: string;
4779
+ } & {
4780
+ date?: string | null | undefined;
4781
+ }) | ({
4782
+ id: string;
4783
+ url: string;
4784
+ name: string;
4785
+ kind: string;
4786
+ size: string;
4787
+ } & {
4788
+ date?: string | null | undefined;
4789
+ } & {
4790
+ __TYPE__: "FileLink";
4791
+ } & {
4792
+ size?: string;
4793
+ }) | ({
4794
+ __TYPE__: "DocumentLink";
4795
+ } & {
4796
+ id: string;
4797
+ }) | ({
4798
+ __TYPE__: "ExternalLink";
4799
+ } & {
4800
+ url: string;
4801
+ } & {
4802
+ kind?: "web";
4803
+ target?: string | null | undefined;
4804
+ preview?: {
4805
+ title?: string;
4806
+ } | null | undefined;
4807
+ });
4808
+ } | {
4809
+ __TYPE__: "StructuredTextContent";
4810
+ value: (({
4811
+ type: "image";
4812
+ data: {
4813
+ origin: {
4814
+ id: string;
4815
+ url: string;
4816
+ width: number;
4817
+ height: number;
4818
+ };
4819
+ width: number;
4820
+ height: number;
4821
+ edit: {
4822
+ zoom: number;
4823
+ crop: {
4824
+ x: number;
4825
+ y: number;
4826
+ };
4827
+ background: string;
4828
+ };
4829
+ } & {
4830
+ url?: string;
4831
+ credits?: string | null;
4832
+ alt?: string | null;
4833
+ provider?: string | null | undefined;
4834
+ } & {
4835
+ linkTo?: ({
4836
+ __TYPE__: "ImageLink";
4837
+ } & {
4838
+ id: string;
4839
+ url: string;
4840
+ height: string;
4841
+ width: string;
4842
+ size: string;
4843
+ name: string;
4844
+ kind: string;
4845
+ } & {
4846
+ date?: string | null | undefined;
4847
+ }) | ({
4848
+ id: string;
4849
+ url: string;
4850
+ name: string;
4851
+ kind: string;
4852
+ size: string;
4853
+ } & {
4854
+ date?: string | null | undefined;
4855
+ } & {
4856
+ __TYPE__: "FileLink";
4857
+ } & {
4858
+ size?: string;
4859
+ }) | ({
4860
+ __TYPE__: "DocumentLink";
4861
+ } & {
4862
+ id: string;
4863
+ }) | ({
4864
+ __TYPE__: "ExternalLink";
4865
+ } & {
4866
+ url: string;
4867
+ } & {
4868
+ kind?: "web";
4869
+ target?: string | null | undefined;
4870
+ preview?: {
4871
+ title?: string;
4872
+ } | null | undefined;
4873
+ }) | null | undefined;
4874
+ };
4875
+ } & {
4876
+ label?: string | null | undefined;
4877
+ direction?: string | null | undefined;
4878
+ }) | ({
4879
+ type: "embed";
4880
+ data: {
4881
+ embed_url: string;
4882
+ type: string;
4883
+ } & {
4884
+ version?: string | number | null;
4885
+ title?: string | null | undefined;
4886
+ author_name?: string | null | undefined;
4887
+ author_url?: string | null | undefined;
4888
+ provider_name?: string | null | undefined;
4889
+ provider_url?: string | null | undefined;
4890
+ cache_age?: string | number | null;
4891
+ thumbnail_url?: string | null | undefined;
4892
+ thumbnail_width?: number | null | undefined;
4893
+ thumbnail_height?: number | null | undefined;
4894
+ html?: string | null | undefined;
4895
+ } & {
4896
+ __TYPE__: "EmbedContent";
4897
+ all: unknown;
4898
+ };
4899
+ } & {
4900
+ label?: string | null | undefined;
4901
+ direction?: string | null | undefined;
4902
+ }) | ({
4903
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4904
+ content: {
4905
+ text: string;
4906
+ } & {
4907
+ spans?: ({
4908
+ data?: unknown;
4909
+ } & {
4910
+ start: number;
4911
+ end: number;
4912
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4913
+ })[];
4914
+ };
4915
+ } & {
4916
+ label?: string;
4917
+ direction?: string;
4918
+ }))[];
4919
+ } | {
4920
+ __TYPE__: "SeparatorContent";
4921
+ } | {
4922
+ __TYPE__: "GroupContentType";
4923
+ value: {
4924
+ __TYPE__: "GroupItemContent";
4925
+ value: [string, {
4926
+ type: string;
4927
+ __TYPE__: "EmptyContent";
4928
+ } | {
4929
+ __TYPE__: "BooleanContent";
4930
+ value: boolean;
4931
+ } | ({
4932
+ embed_url: string;
4933
+ type: string;
4934
+ } & {
4935
+ version?: string | number | null;
4936
+ title?: string | null | undefined;
4937
+ author_name?: string | null | undefined;
4938
+ author_url?: string | null | undefined;
4939
+ provider_name?: string | null | undefined;
4940
+ provider_url?: string | null | undefined;
4941
+ cache_age?: string | number | null;
4942
+ thumbnail_url?: string | null | undefined;
4943
+ thumbnail_width?: number | null | undefined;
4944
+ thumbnail_height?: number | null | undefined;
4945
+ html?: string | null | undefined;
4946
+ } & {
4947
+ __TYPE__: "EmbedContent";
4948
+ all: unknown;
4949
+ }) | {
4950
+ type: "Color";
4951
+ value: string;
4952
+ __TYPE__: "FieldContent";
4953
+ } | {
4954
+ type: "Date";
4955
+ value: string;
4956
+ __TYPE__: "FieldContent";
4957
+ } | {
4958
+ type: "Number";
4959
+ value: string;
4960
+ __TYPE__: "FieldContent";
4961
+ } | {
4962
+ type: "Range";
4963
+ value: string;
4964
+ __TYPE__: "FieldContent";
4965
+ } | {
4966
+ type: "Select";
4967
+ value: string;
4968
+ __TYPE__: "FieldContent";
4969
+ } | {
4970
+ type: "Text";
4971
+ value: string;
4972
+ __TYPE__: "FieldContent";
4973
+ } | {
4974
+ type: "Timestamp";
4975
+ value: string;
4976
+ __TYPE__: "FieldContent";
4977
+ } | ({
4978
+ position: {
4979
+ lat: number;
4980
+ lng: number;
4981
+ };
4982
+ } & {
4983
+ __TYPE__: "GeoPointContent";
4984
+ }) | ({
4985
+ origin: {
4986
+ id: string;
4987
+ url: string;
4988
+ width: number;
4989
+ height: number;
4990
+ };
4991
+ width: number;
4992
+ height: number;
4993
+ edit: {
4994
+ zoom: number;
4995
+ crop: {
4996
+ x: number;
4997
+ y: number;
4998
+ };
4999
+ background: string;
5000
+ };
5001
+ } & {
5002
+ url?: string;
5003
+ credits?: string | null;
5004
+ alt?: string | null;
5005
+ provider?: string | null | undefined;
5006
+ } & {
5007
+ thumbnails?: {
5008
+ [x: string]: {
5009
+ origin: {
5010
+ id: string;
5011
+ url: string;
5012
+ width: number;
5013
+ height: number;
5014
+ };
5015
+ width: number;
5016
+ height: number;
5017
+ edit: {
5018
+ zoom: number;
5019
+ crop: {
5020
+ x: number;
5021
+ y: number;
5022
+ };
5023
+ background: string;
5024
+ };
5025
+ } & {
5026
+ url?: string;
5027
+ credits?: string | null;
5028
+ alt?: string | null;
5029
+ provider?: string | null | undefined;
5030
+ };
5031
+ };
5032
+ } & {
5033
+ __TYPE__: "ImageContent";
5034
+ }) | {
5035
+ __TYPE__: "IntegrationFieldsContent";
5036
+ value: string;
5037
+ } | {
5038
+ __TYPE__: "LinkContent";
5039
+ value: ({
5040
+ __TYPE__: "ImageLink";
5041
+ } & {
5042
+ id: string;
5043
+ url: string;
5044
+ height: string;
5045
+ width: string;
5046
+ size: string;
5047
+ name: string;
5048
+ kind: string;
5049
+ } & {
5050
+ date?: string | null | undefined;
5051
+ }) | ({
5052
+ id: string;
5053
+ url: string;
5054
+ name: string;
5055
+ kind: string;
5056
+ size: string;
5057
+ } & {
5058
+ date?: string | null | undefined;
5059
+ } & {
5060
+ __TYPE__: "FileLink";
5061
+ } & {
5062
+ size?: string;
5063
+ }) | ({
5064
+ __TYPE__: "DocumentLink";
5065
+ } & {
5066
+ id: string;
5067
+ }) | ({
5068
+ __TYPE__: "ExternalLink";
5069
+ } & {
5070
+ url: string;
5071
+ } & {
5072
+ kind?: "web";
5073
+ target?: string | null | undefined;
5074
+ preview?: {
5075
+ title?: string;
5076
+ } | null | undefined;
5077
+ });
5078
+ } | {
5079
+ __TYPE__: "StructuredTextContent";
5080
+ value: (({
5081
+ type: "image";
5082
+ data: {
5083
+ origin: {
5084
+ id: string;
5085
+ url: string;
5086
+ width: number;
5087
+ height: number;
5088
+ };
5089
+ width: number;
5090
+ height: number;
5091
+ edit: {
5092
+ zoom: number;
5093
+ crop: {
5094
+ x: number;
5095
+ y: number;
5096
+ };
5097
+ background: string;
5098
+ };
5099
+ } & {
5100
+ url?: string;
5101
+ credits?: string | null;
5102
+ alt?: string | null;
5103
+ provider?: string | null | undefined;
5104
+ } & {
5105
+ linkTo?: ({
5106
+ __TYPE__: "ImageLink";
5107
+ } & {
5108
+ id: string;
5109
+ url: string;
5110
+ height: string;
5111
+ width: string;
5112
+ size: string;
5113
+ name: string;
5114
+ kind: string;
5115
+ } & {
5116
+ date?: string | null | undefined;
5117
+ }) | ({
5118
+ id: string;
5119
+ url: string;
5120
+ name: string;
5121
+ kind: string;
5122
+ size: string;
5123
+ } & {
5124
+ date?: string | null | undefined;
5125
+ } & {
5126
+ __TYPE__: "FileLink";
5127
+ } & {
5128
+ size?: string;
5129
+ }) | ({
5130
+ __TYPE__: "DocumentLink";
5131
+ } & {
5132
+ id: string;
5133
+ }) | ({
5134
+ __TYPE__: "ExternalLink";
5135
+ } & {
5136
+ url: string;
5137
+ } & {
5138
+ kind?: "web";
5139
+ target?: string | null | undefined;
5140
+ preview?: {
5141
+ title?: string;
5142
+ } | null | undefined;
5143
+ }) | null | undefined;
5144
+ };
5145
+ } & {
5146
+ label?: string | null | undefined;
5147
+ direction?: string | null | undefined;
5148
+ }) | ({
5149
+ type: "embed";
5150
+ data: {
5151
+ embed_url: string;
5152
+ type: string;
5153
+ } & {
5154
+ version?: string | number | null;
5155
+ title?: string | null | undefined;
5156
+ author_name?: string | null | undefined;
5157
+ author_url?: string | null | undefined;
5158
+ provider_name?: string | null | undefined;
5159
+ provider_url?: string | null | undefined;
5160
+ cache_age?: string | number | null;
5161
+ thumbnail_url?: string | null | undefined;
5162
+ thumbnail_width?: number | null | undefined;
5163
+ thumbnail_height?: number | null | undefined;
5164
+ html?: string | null | undefined;
5165
+ } & {
5166
+ __TYPE__: "EmbedContent";
5167
+ all: unknown;
5168
+ };
5169
+ } & {
5170
+ label?: string | null | undefined;
5171
+ direction?: string | null | undefined;
5172
+ }) | ({
5173
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5174
+ content: {
5175
+ text: string;
5176
+ } & {
5177
+ spans?: ({
5178
+ data?: unknown;
5179
+ } & {
5180
+ start: number;
5181
+ end: number;
5182
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5183
+ })[];
5184
+ };
5185
+ } & {
5186
+ label?: string;
5187
+ direction?: string;
5188
+ }))[];
5189
+ } | {
5190
+ __TYPE__: "SeparatorContent";
5191
+ }][];
5192
+ }[];
5193
+ } | {
5194
+ __TYPE__: "UIDContent";
5195
+ value: string;
5196
+ } | {
5197
+ __TYPE__: "SliceContentType";
5198
+ value: {
5199
+ key: string;
5200
+ name: string;
5201
+ maybeLabel: string | undefined;
5202
+ widget: {
5203
+ type: string;
5204
+ __TYPE__: "EmptyContent";
5205
+ } | {
5206
+ __TYPE__: "BooleanContent";
5207
+ value: boolean;
5208
+ } | ({
5209
+ embed_url: string;
5210
+ type: string;
5211
+ } & {
5212
+ version?: string | number | null;
5213
+ title?: string | null | undefined;
5214
+ author_name?: string | null | undefined;
5215
+ author_url?: string | null | undefined;
5216
+ provider_name?: string | null | undefined;
5217
+ provider_url?: string | null | undefined;
5218
+ cache_age?: string | number | null;
5219
+ thumbnail_url?: string | null | undefined;
5220
+ thumbnail_width?: number | null | undefined;
5221
+ thumbnail_height?: number | null | undefined;
5222
+ html?: string | null | undefined;
5223
+ } & {
5224
+ __TYPE__: "EmbedContent";
5225
+ all: unknown;
5226
+ }) | {
5227
+ type: "Color";
5228
+ value: string;
5229
+ __TYPE__: "FieldContent";
5230
+ } | {
5231
+ type: "Date";
5232
+ value: string;
5233
+ __TYPE__: "FieldContent";
5234
+ } | {
5235
+ type: "Number";
5236
+ value: string;
5237
+ __TYPE__: "FieldContent";
5238
+ } | {
5239
+ type: "Range";
5240
+ value: string;
5241
+ __TYPE__: "FieldContent";
5242
+ } | {
5243
+ type: "Select";
5244
+ value: string;
5245
+ __TYPE__: "FieldContent";
5246
+ } | {
5247
+ type: "Text";
5248
+ value: string;
5249
+ __TYPE__: "FieldContent";
5250
+ } | {
5251
+ type: "Timestamp";
5252
+ value: string;
5253
+ __TYPE__: "FieldContent";
5254
+ } | ({
5255
+ position: {
5256
+ lat: number;
5257
+ lng: number;
5258
+ };
5259
+ } & {
5260
+ __TYPE__: "GeoPointContent";
5261
+ }) | ({
5262
+ origin: {
5263
+ id: string;
5264
+ url: string;
5265
+ width: number;
5266
+ height: number;
5267
+ };
5268
+ width: number;
5269
+ height: number;
5270
+ edit: {
5271
+ zoom: number;
5272
+ crop: {
5273
+ x: number;
5274
+ y: number;
5275
+ };
5276
+ background: string;
5277
+ };
5278
+ } & {
5279
+ url?: string;
5280
+ credits?: string | null;
5281
+ alt?: string | null;
5282
+ provider?: string | null | undefined;
5283
+ } & {
5284
+ thumbnails?: {
5285
+ [x: string]: {
5286
+ origin: {
5287
+ id: string;
5288
+ url: string;
5289
+ width: number;
5290
+ height: number;
5291
+ };
5292
+ width: number;
5293
+ height: number;
5294
+ edit: {
5295
+ zoom: number;
5296
+ crop: {
5297
+ x: number;
5298
+ y: number;
5299
+ };
5300
+ background: string;
5301
+ };
5302
+ } & {
5303
+ url?: string;
5304
+ credits?: string | null;
5305
+ alt?: string | null;
5306
+ provider?: string | null | undefined;
5307
+ };
5308
+ };
5309
+ } & {
5310
+ __TYPE__: "ImageContent";
5311
+ }) | {
5312
+ __TYPE__: "IntegrationFieldsContent";
5313
+ value: string;
5314
+ } | {
5315
+ __TYPE__: "LinkContent";
5316
+ value: ({
5317
+ __TYPE__: "ImageLink";
5318
+ } & {
5319
+ id: string;
5320
+ url: string;
5321
+ height: string;
5322
+ width: string;
5323
+ size: string;
5324
+ name: string;
5325
+ kind: string;
5326
+ } & {
5327
+ date?: string | null | undefined;
5328
+ }) | ({
5329
+ id: string;
5330
+ url: string;
5331
+ name: string;
5332
+ kind: string;
5333
+ size: string;
5334
+ } & {
5335
+ date?: string | null | undefined;
5336
+ } & {
5337
+ __TYPE__: "FileLink";
5338
+ } & {
5339
+ size?: string;
5340
+ }) | ({
5341
+ __TYPE__: "DocumentLink";
5342
+ } & {
5343
+ id: string;
5344
+ }) | ({
5345
+ __TYPE__: "ExternalLink";
5346
+ } & {
5347
+ url: string;
5348
+ } & {
5349
+ kind?: "web";
5350
+ target?: string | null | undefined;
5351
+ preview?: {
5352
+ title?: string;
5353
+ } | null | undefined;
5354
+ });
5355
+ } | {
5356
+ __TYPE__: "StructuredTextContent";
5357
+ value: (({
5358
+ type: "image";
5359
+ data: {
5360
+ origin: {
5361
+ id: string;
5362
+ url: string;
5363
+ width: number;
5364
+ height: number;
5365
+ };
5366
+ width: number;
5367
+ height: number;
5368
+ edit: {
5369
+ zoom: number;
5370
+ crop: {
5371
+ x: number;
5372
+ y: number;
5373
+ };
5374
+ background: string;
5375
+ };
5376
+ } & {
5377
+ url?: string;
5378
+ credits?: string | null;
5379
+ alt?: string | null;
5380
+ provider?: string | null | undefined;
5381
+ } & {
5382
+ linkTo?: ({
5383
+ __TYPE__: "ImageLink";
5384
+ } & {
5385
+ id: string;
5386
+ url: string;
5387
+ height: string;
5388
+ width: string;
5389
+ size: string;
5390
+ name: string;
5391
+ kind: string;
5392
+ } & {
5393
+ date?: string | null | undefined;
5394
+ }) | ({
5395
+ id: string;
5396
+ url: string;
5397
+ name: string;
5398
+ kind: string;
5399
+ size: string;
5400
+ } & {
5401
+ date?: string | null | undefined;
5402
+ } & {
5403
+ __TYPE__: "FileLink";
5404
+ } & {
5405
+ size?: string;
5406
+ }) | ({
5407
+ __TYPE__: "DocumentLink";
5408
+ } & {
5409
+ id: string;
5410
+ }) | ({
5411
+ __TYPE__: "ExternalLink";
5412
+ } & {
5413
+ url: string;
5414
+ } & {
5415
+ kind?: "web";
5416
+ target?: string | null | undefined;
5417
+ preview?: {
5418
+ title?: string;
5419
+ } | null | undefined;
5420
+ }) | null | undefined;
5421
+ };
5422
+ } & {
5423
+ label?: string | null | undefined;
5424
+ direction?: string | null | undefined;
5425
+ }) | ({
5426
+ type: "embed";
5427
+ data: {
5428
+ embed_url: string;
5429
+ type: string;
5430
+ } & {
5431
+ version?: string | number | null;
5432
+ title?: string | null | undefined;
5433
+ author_name?: string | null | undefined;
5434
+ author_url?: string | null | undefined;
5435
+ provider_name?: string | null | undefined;
5436
+ provider_url?: string | null | undefined;
5437
+ cache_age?: string | number | null;
5438
+ thumbnail_url?: string | null | undefined;
5439
+ thumbnail_width?: number | null | undefined;
5440
+ thumbnail_height?: number | null | undefined;
5441
+ html?: string | null | undefined;
5442
+ } & {
5443
+ __TYPE__: "EmbedContent";
5444
+ all: unknown;
5445
+ };
5446
+ } & {
5447
+ label?: string | null | undefined;
5448
+ direction?: string | null | undefined;
5449
+ }) | ({
5450
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5451
+ content: {
5452
+ text: string;
5453
+ } & {
5454
+ spans?: ({
5455
+ data?: unknown;
5456
+ } & {
5457
+ start: number;
5458
+ end: number;
5459
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5460
+ })[];
5461
+ };
5462
+ } & {
5463
+ label?: string;
5464
+ direction?: string;
5465
+ }))[];
5466
+ } | {
5467
+ __TYPE__: "SeparatorContent";
5468
+ } | {
5469
+ __TYPE__: "GroupContentType";
5470
+ value: {
5471
+ __TYPE__: "GroupItemContent";
5472
+ value: [string, {
5473
+ type: string;
5474
+ __TYPE__: "EmptyContent";
5475
+ } | {
5476
+ __TYPE__: "BooleanContent";
5477
+ value: boolean;
5478
+ } | ({
5479
+ embed_url: string;
5480
+ type: string;
5481
+ } & {
5482
+ version?: string | number | null;
5483
+ title?: string | null | undefined;
5484
+ author_name?: string | null | undefined;
5485
+ author_url?: string | null | undefined;
5486
+ provider_name?: string | null | undefined;
5487
+ provider_url?: string | null | undefined;
5488
+ cache_age?: string | number | null;
5489
+ thumbnail_url?: string | null | undefined;
5490
+ thumbnail_width?: number | null | undefined;
5491
+ thumbnail_height?: number | null | undefined;
5492
+ html?: string | null | undefined;
5493
+ } & {
5494
+ __TYPE__: "EmbedContent";
5495
+ all: unknown;
5496
+ }) | {
5497
+ type: "Color";
5498
+ value: string;
5499
+ __TYPE__: "FieldContent";
5500
+ } | {
5501
+ type: "Date";
5502
+ value: string;
5503
+ __TYPE__: "FieldContent";
5504
+ } | {
5505
+ type: "Number";
5506
+ value: string;
5507
+ __TYPE__: "FieldContent";
5508
+ } | {
5509
+ type: "Range";
5510
+ value: string;
5511
+ __TYPE__: "FieldContent";
5512
+ } | {
5513
+ type: "Select";
5514
+ value: string;
5515
+ __TYPE__: "FieldContent";
5516
+ } | {
5517
+ type: "Text";
5518
+ value: string;
5519
+ __TYPE__: "FieldContent";
5520
+ } | {
5521
+ type: "Timestamp";
5522
+ value: string;
5523
+ __TYPE__: "FieldContent";
5524
+ } | ({
5525
+ position: {
5526
+ lat: number;
5527
+ lng: number;
5528
+ };
5529
+ } & {
5530
+ __TYPE__: "GeoPointContent";
5531
+ }) | ({
5532
+ origin: {
5533
+ id: string;
5534
+ url: string;
5535
+ width: number;
5536
+ height: number;
5537
+ };
5538
+ width: number;
5539
+ height: number;
5540
+ edit: {
5541
+ zoom: number;
5542
+ crop: {
5543
+ x: number;
5544
+ y: number;
5545
+ };
5546
+ background: string;
5547
+ };
5548
+ } & {
5549
+ url?: string;
5550
+ credits?: string | null;
5551
+ alt?: string | null;
5552
+ provider?: string | null | undefined;
5553
+ } & {
5554
+ thumbnails?: {
5555
+ [x: string]: {
5556
+ origin: {
5557
+ id: string;
5558
+ url: string;
5559
+ width: number;
5560
+ height: number;
5561
+ };
5562
+ width: number;
5563
+ height: number;
5564
+ edit: {
5565
+ zoom: number;
5566
+ crop: {
5567
+ x: number;
5568
+ y: number;
5569
+ };
5570
+ background: string;
5571
+ };
5572
+ } & {
5573
+ url?: string;
5574
+ credits?: string | null;
5575
+ alt?: string | null;
5576
+ provider?: string | null | undefined;
5577
+ };
5578
+ };
5579
+ } & {
5580
+ __TYPE__: "ImageContent";
5581
+ }) | {
5582
+ __TYPE__: "IntegrationFieldsContent";
5583
+ value: string;
5584
+ } | {
5585
+ __TYPE__: "LinkContent";
5586
+ value: ({
5587
+ __TYPE__: "ImageLink";
5588
+ } & {
5589
+ id: string;
5590
+ url: string;
5591
+ height: string;
5592
+ width: string;
5593
+ size: string;
5594
+ name: string;
5595
+ kind: string;
5596
+ } & {
5597
+ date?: string | null | undefined;
5598
+ }) | ({
5599
+ id: string;
5600
+ url: string;
5601
+ name: string;
5602
+ kind: string;
5603
+ size: string;
5604
+ } & {
5605
+ date?: string | null | undefined;
5606
+ } & {
5607
+ __TYPE__: "FileLink";
5608
+ } & {
5609
+ size?: string;
5610
+ }) | ({
5611
+ __TYPE__: "DocumentLink";
5612
+ } & {
5613
+ id: string;
5614
+ }) | ({
5615
+ __TYPE__: "ExternalLink";
5616
+ } & {
5617
+ url: string;
5618
+ } & {
5619
+ kind?: "web";
5620
+ target?: string | null | undefined;
5621
+ preview?: {
5622
+ title?: string;
5623
+ } | null | undefined;
5624
+ });
5625
+ } | {
5626
+ __TYPE__: "StructuredTextContent";
5627
+ value: (({
5628
+ type: "image";
5629
+ data: {
5630
+ origin: {
5631
+ id: string;
5632
+ url: string;
5633
+ width: number;
5634
+ height: number;
5635
+ };
5636
+ width: number;
5637
+ height: number;
5638
+ edit: {
5639
+ zoom: number;
5640
+ crop: {
5641
+ x: number;
5642
+ y: number;
5643
+ };
5644
+ background: string;
5645
+ };
5646
+ } & {
5647
+ url?: string;
5648
+ credits?: string | null;
5649
+ alt?: string | null;
5650
+ provider?: string | null | undefined;
5651
+ } & {
5652
+ linkTo?: ({
5653
+ __TYPE__: "ImageLink";
5654
+ } & {
5655
+ id: string;
5656
+ url: string;
5657
+ height: string;
5658
+ width: string;
5659
+ size: string;
5660
+ name: string;
5661
+ kind: string;
5662
+ } & {
5663
+ date?: string | null | undefined;
5664
+ }) | ({
5665
+ id: string;
5666
+ url: string;
5667
+ name: string;
5668
+ kind: string;
5669
+ size: string;
5670
+ } & {
5671
+ date?: string | null | undefined;
5672
+ } & {
5673
+ __TYPE__: "FileLink";
5674
+ } & {
5675
+ size?: string;
5676
+ }) | ({
5677
+ __TYPE__: "DocumentLink";
5678
+ } & {
5679
+ id: string;
5680
+ }) | ({
5681
+ __TYPE__: "ExternalLink";
5682
+ } & {
5683
+ url: string;
5684
+ } & {
5685
+ kind?: "web";
5686
+ target?: string | null | undefined;
5687
+ preview?: {
5688
+ title?: string;
5689
+ } | null | undefined;
5690
+ }) | null | undefined;
5691
+ };
5692
+ } & {
5693
+ label?: string | null | undefined;
5694
+ direction?: string | null | undefined;
5695
+ }) | ({
5696
+ type: "embed";
5697
+ data: {
5698
+ embed_url: string;
5699
+ type: string;
5700
+ } & {
5701
+ version?: string | number | null;
5702
+ title?: string | null | undefined;
5703
+ author_name?: string | null | undefined;
5704
+ author_url?: string | null | undefined;
5705
+ provider_name?: string | null | undefined;
5706
+ provider_url?: string | null | undefined;
5707
+ cache_age?: string | number | null;
5708
+ thumbnail_url?: string | null | undefined;
5709
+ thumbnail_width?: number | null | undefined;
5710
+ thumbnail_height?: number | null | undefined;
5711
+ html?: string | null | undefined;
5712
+ } & {
5713
+ __TYPE__: "EmbedContent";
5714
+ all: unknown;
5715
+ };
5716
+ } & {
5717
+ label?: string | null | undefined;
5718
+ direction?: string | null | undefined;
5719
+ }) | ({
5720
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5721
+ content: {
5722
+ text: string;
5723
+ } & {
5724
+ spans?: ({
5725
+ data?: unknown;
5726
+ } & {
5727
+ start: number;
5728
+ end: number;
5729
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5730
+ })[];
5731
+ };
5732
+ } & {
5733
+ label?: string;
5734
+ direction?: string;
5735
+ }))[];
5736
+ } | {
5737
+ __TYPE__: "SeparatorContent";
5738
+ }][];
5739
+ }[];
5740
+ } | {
5741
+ __TYPE__: "CompositeSliceContent";
5742
+ nonRepeat: {
5743
+ [x: string]: {
5744
+ type: string;
5745
+ __TYPE__: "EmptyContent";
5746
+ } | {
5747
+ __TYPE__: "BooleanContent";
5748
+ value: boolean;
5749
+ } | ({
5750
+ embed_url: string;
5751
+ type: string;
5752
+ } & {
5753
+ version?: string | number | null;
5754
+ title?: string | null | undefined;
5755
+ author_name?: string | null | undefined;
5756
+ author_url?: string | null | undefined;
5757
+ provider_name?: string | null | undefined;
5758
+ provider_url?: string | null | undefined;
5759
+ cache_age?: string | number | null;
5760
+ thumbnail_url?: string | null | undefined;
5761
+ thumbnail_width?: number | null | undefined;
5762
+ thumbnail_height?: number | null | undefined;
5763
+ html?: string | null | undefined;
5764
+ } & {
5765
+ __TYPE__: "EmbedContent";
5766
+ all: unknown;
5767
+ }) | {
5768
+ type: "Color";
5769
+ value: string;
5770
+ __TYPE__: "FieldContent";
5771
+ } | {
5772
+ type: "Date";
5773
+ value: string;
5774
+ __TYPE__: "FieldContent";
5775
+ } | {
5776
+ type: "Number";
5777
+ value: string;
5778
+ __TYPE__: "FieldContent";
5779
+ } | {
5780
+ type: "Range";
5781
+ value: string;
5782
+ __TYPE__: "FieldContent";
5783
+ } | {
5784
+ type: "Select";
5785
+ value: string;
5786
+ __TYPE__: "FieldContent";
5787
+ } | {
5788
+ type: "Text";
5789
+ value: string;
5790
+ __TYPE__: "FieldContent";
5791
+ } | {
5792
+ type: "Timestamp";
5793
+ value: string;
5794
+ __TYPE__: "FieldContent";
5795
+ } | ({
5796
+ position: {
5797
+ lat: number;
5798
+ lng: number;
5799
+ };
5800
+ } & {
5801
+ __TYPE__: "GeoPointContent";
5802
+ }) | ({
5803
+ origin: {
5804
+ id: string;
5805
+ url: string;
5806
+ width: number;
5807
+ height: number;
5808
+ };
5809
+ width: number;
5810
+ height: number;
5811
+ edit: {
5812
+ zoom: number;
5813
+ crop: {
5814
+ x: number;
5815
+ y: number;
5816
+ };
5817
+ background: string;
5818
+ };
5819
+ } & {
5820
+ url?: string;
5821
+ credits?: string | null;
5822
+ alt?: string | null;
5823
+ provider?: string | null | undefined;
5824
+ } & {
5825
+ thumbnails?: {
5826
+ [x: string]: {
5827
+ origin: {
5828
+ id: string;
5829
+ url: string;
5830
+ width: number;
5831
+ height: number;
5832
+ };
5833
+ width: number;
5834
+ height: number;
5835
+ edit: {
5836
+ zoom: number;
5837
+ crop: {
5838
+ x: number;
5839
+ y: number;
5840
+ };
5841
+ background: string;
5842
+ };
5843
+ } & {
5844
+ url?: string;
5845
+ credits?: string | null;
5846
+ alt?: string | null;
5847
+ provider?: string | null | undefined;
5848
+ };
5849
+ };
5850
+ } & {
5851
+ __TYPE__: "ImageContent";
5852
+ }) | {
5853
+ __TYPE__: "IntegrationFieldsContent";
5854
+ value: string;
5855
+ } | {
5856
+ __TYPE__: "LinkContent";
5857
+ value: ({
5858
+ __TYPE__: "ImageLink";
5859
+ } & {
5860
+ id: string;
5861
+ url: string;
5862
+ height: string;
5863
+ width: string;
5864
+ size: string;
5865
+ name: string;
5866
+ kind: string;
5867
+ } & {
5868
+ date?: string | null | undefined;
5869
+ }) | ({
5870
+ id: string;
5871
+ url: string;
5872
+ name: string;
5873
+ kind: string;
5874
+ size: string;
5875
+ } & {
5876
+ date?: string | null | undefined;
5877
+ } & {
5878
+ __TYPE__: "FileLink";
5879
+ } & {
5880
+ size?: string;
5881
+ }) | ({
5882
+ __TYPE__: "DocumentLink";
5883
+ } & {
5884
+ id: string;
5885
+ }) | ({
5886
+ __TYPE__: "ExternalLink";
5887
+ } & {
5888
+ url: string;
5889
+ } & {
5890
+ kind?: "web";
5891
+ target?: string | null | undefined;
5892
+ preview?: {
5893
+ title?: string;
5894
+ } | null | undefined;
5895
+ });
5896
+ } | {
5897
+ __TYPE__: "StructuredTextContent";
5898
+ value: (({
5899
+ type: "image";
5900
+ data: {
5901
+ origin: {
5902
+ id: string;
5903
+ url: string;
5904
+ width: number;
5905
+ height: number;
5906
+ };
5907
+ width: number;
5908
+ height: number;
5909
+ edit: {
5910
+ zoom: number;
5911
+ crop: {
5912
+ x: number;
5913
+ y: number;
5914
+ };
5915
+ background: string;
5916
+ };
5917
+ } & {
5918
+ url?: string;
5919
+ credits?: string | null;
5920
+ alt?: string | null;
5921
+ provider?: string | null | undefined;
5922
+ } & {
5923
+ linkTo?: ({
5924
+ __TYPE__: "ImageLink";
5925
+ } & {
5926
+ id: string;
5927
+ url: string;
5928
+ height: string;
5929
+ width: string;
5930
+ size: string;
5931
+ name: string;
5932
+ kind: string;
5933
+ } & {
5934
+ date?: string | null | undefined;
5935
+ }) | ({
5936
+ id: string;
5937
+ url: string;
5938
+ name: string;
5939
+ kind: string;
5940
+ size: string;
5941
+ } & {
5942
+ date?: string | null | undefined;
5943
+ } & {
5944
+ __TYPE__: "FileLink";
5945
+ } & {
5946
+ size?: string;
5947
+ }) | ({
5948
+ __TYPE__: "DocumentLink";
5949
+ } & {
5950
+ id: string;
5951
+ }) | ({
5952
+ __TYPE__: "ExternalLink";
5953
+ } & {
5954
+ url: string;
5955
+ } & {
5956
+ kind?: "web";
5957
+ target?: string | null | undefined;
5958
+ preview?: {
5959
+ title?: string;
5960
+ } | null | undefined;
5961
+ }) | null | undefined;
5962
+ };
5963
+ } & {
5964
+ label?: string | null | undefined;
5965
+ direction?: string | null | undefined;
5966
+ }) | ({
5967
+ type: "embed";
5968
+ data: {
5969
+ embed_url: string;
5970
+ type: string;
5971
+ } & {
5972
+ version?: string | number | null;
5973
+ title?: string | null | undefined;
5974
+ author_name?: string | null | undefined;
5975
+ author_url?: string | null | undefined;
5976
+ provider_name?: string | null | undefined;
5977
+ provider_url?: string | null | undefined;
5978
+ cache_age?: string | number | null;
5979
+ thumbnail_url?: string | null | undefined;
5980
+ thumbnail_width?: number | null | undefined;
5981
+ thumbnail_height?: number | null | undefined;
5982
+ html?: string | null | undefined;
5983
+ } & {
5984
+ __TYPE__: "EmbedContent";
5985
+ all: unknown;
5986
+ };
5987
+ } & {
5988
+ label?: string | null | undefined;
5989
+ direction?: string | null | undefined;
5990
+ }) | ({
5991
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
5992
+ content: {
5993
+ text: string;
5994
+ } & {
5995
+ spans?: ({
5996
+ data?: unknown;
5997
+ } & {
5998
+ start: number;
5999
+ end: number;
6000
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6001
+ })[];
6002
+ };
6003
+ } & {
6004
+ label?: string;
6005
+ direction?: string;
6006
+ }))[];
6007
+ } | {
6008
+ __TYPE__: "SeparatorContent";
6009
+ };
6010
+ };
6011
+ repeat: {
6012
+ __TYPE__: "GroupItemContent";
6013
+ value: [string, {
6014
+ type: string;
6015
+ __TYPE__: "EmptyContent";
6016
+ } | {
6017
+ __TYPE__: "BooleanContent";
6018
+ value: boolean;
6019
+ } | ({
6020
+ embed_url: string;
6021
+ type: string;
6022
+ } & {
6023
+ version?: string | number | null;
6024
+ title?: string | null | undefined;
6025
+ author_name?: string | null | undefined;
6026
+ author_url?: string | null | undefined;
6027
+ provider_name?: string | null | undefined;
6028
+ provider_url?: string | null | undefined;
6029
+ cache_age?: string | number | null;
6030
+ thumbnail_url?: string | null | undefined;
6031
+ thumbnail_width?: number | null | undefined;
6032
+ thumbnail_height?: number | null | undefined;
6033
+ html?: string | null | undefined;
6034
+ } & {
6035
+ __TYPE__: "EmbedContent";
6036
+ all: unknown;
6037
+ }) | {
6038
+ type: "Color";
6039
+ value: string;
6040
+ __TYPE__: "FieldContent";
6041
+ } | {
6042
+ type: "Date";
6043
+ value: string;
6044
+ __TYPE__: "FieldContent";
6045
+ } | {
6046
+ type: "Number";
6047
+ value: string;
6048
+ __TYPE__: "FieldContent";
6049
+ } | {
6050
+ type: "Range";
6051
+ value: string;
6052
+ __TYPE__: "FieldContent";
6053
+ } | {
6054
+ type: "Select";
6055
+ value: string;
6056
+ __TYPE__: "FieldContent";
6057
+ } | {
6058
+ type: "Text";
6059
+ value: string;
6060
+ __TYPE__: "FieldContent";
6061
+ } | {
6062
+ type: "Timestamp";
6063
+ value: string;
6064
+ __TYPE__: "FieldContent";
6065
+ } | ({
6066
+ position: {
6067
+ lat: number;
6068
+ lng: number;
6069
+ };
6070
+ } & {
6071
+ __TYPE__: "GeoPointContent";
6072
+ }) | ({
6073
+ origin: {
6074
+ id: string;
6075
+ url: string;
6076
+ width: number;
6077
+ height: number;
6078
+ };
6079
+ width: number;
6080
+ height: number;
6081
+ edit: {
6082
+ zoom: number;
6083
+ crop: {
6084
+ x: number;
6085
+ y: number;
6086
+ };
6087
+ background: string;
6088
+ };
6089
+ } & {
6090
+ url?: string;
6091
+ credits?: string | null;
6092
+ alt?: string | null;
6093
+ provider?: string | null | undefined;
6094
+ } & {
6095
+ thumbnails?: {
6096
+ [x: string]: {
6097
+ origin: {
6098
+ id: string;
6099
+ url: string;
6100
+ width: number;
6101
+ height: number;
6102
+ };
6103
+ width: number;
6104
+ height: number;
6105
+ edit: {
6106
+ zoom: number;
6107
+ crop: {
6108
+ x: number;
6109
+ y: number;
6110
+ };
6111
+ background: string;
6112
+ };
6113
+ } & {
6114
+ url?: string;
6115
+ credits?: string | null;
6116
+ alt?: string | null;
6117
+ provider?: string | null | undefined;
6118
+ };
6119
+ };
6120
+ } & {
6121
+ __TYPE__: "ImageContent";
6122
+ }) | {
6123
+ __TYPE__: "IntegrationFieldsContent";
6124
+ value: string;
6125
+ } | {
6126
+ __TYPE__: "LinkContent";
6127
+ value: ({
6128
+ __TYPE__: "ImageLink";
6129
+ } & {
6130
+ id: string;
6131
+ url: string;
6132
+ height: string;
6133
+ width: string;
6134
+ size: string;
6135
+ name: string;
6136
+ kind: string;
6137
+ } & {
6138
+ date?: string | null | undefined;
6139
+ }) | ({
6140
+ id: string;
6141
+ url: string;
6142
+ name: string;
6143
+ kind: string;
6144
+ size: string;
6145
+ } & {
6146
+ date?: string | null | undefined;
6147
+ } & {
6148
+ __TYPE__: "FileLink";
6149
+ } & {
6150
+ size?: string;
6151
+ }) | ({
6152
+ __TYPE__: "DocumentLink";
6153
+ } & {
6154
+ id: string;
6155
+ }) | ({
6156
+ __TYPE__: "ExternalLink";
6157
+ } & {
6158
+ url: string;
6159
+ } & {
6160
+ kind?: "web";
6161
+ target?: string | null | undefined;
6162
+ preview?: {
6163
+ title?: string;
6164
+ } | null | undefined;
6165
+ });
6166
+ } | {
6167
+ __TYPE__: "StructuredTextContent";
6168
+ value: (({
6169
+ type: "image";
6170
+ data: {
6171
+ origin: {
6172
+ id: string;
6173
+ url: string;
6174
+ width: number;
6175
+ height: number;
6176
+ };
6177
+ width: number;
6178
+ height: number;
6179
+ edit: {
6180
+ zoom: number;
6181
+ crop: {
6182
+ x: number;
6183
+ y: number;
6184
+ };
6185
+ background: string;
6186
+ };
6187
+ } & {
6188
+ url?: string;
6189
+ credits?: string | null;
6190
+ alt?: string | null;
6191
+ provider?: string | null | undefined;
6192
+ } & {
6193
+ linkTo?: ({
6194
+ __TYPE__: "ImageLink";
6195
+ } & {
6196
+ id: string;
6197
+ url: string;
6198
+ height: string;
6199
+ width: string;
6200
+ size: string;
6201
+ name: string;
6202
+ kind: string;
6203
+ } & {
6204
+ date?: string | null | undefined;
6205
+ }) | ({
6206
+ id: string;
6207
+ url: string;
6208
+ name: string;
6209
+ kind: string;
6210
+ size: string;
6211
+ } & {
6212
+ date?: string | null | undefined;
6213
+ } & {
6214
+ __TYPE__: "FileLink";
6215
+ } & {
6216
+ size?: string;
6217
+ }) | ({
6218
+ __TYPE__: "DocumentLink";
6219
+ } & {
6220
+ id: string;
6221
+ }) | ({
6222
+ __TYPE__: "ExternalLink";
6223
+ } & {
6224
+ url: string;
6225
+ } & {
6226
+ kind?: "web";
6227
+ target?: string | null | undefined;
6228
+ preview?: {
6229
+ title?: string;
6230
+ } | null | undefined;
6231
+ }) | null | undefined;
6232
+ };
6233
+ } & {
6234
+ label?: string | null | undefined;
6235
+ direction?: string | null | undefined;
6236
+ }) | ({
6237
+ type: "embed";
6238
+ data: {
6239
+ embed_url: string;
6240
+ type: string;
6241
+ } & {
6242
+ version?: string | number | null;
6243
+ title?: string | null | undefined;
6244
+ author_name?: string | null | undefined;
6245
+ author_url?: string | null | undefined;
6246
+ provider_name?: string | null | undefined;
6247
+ provider_url?: string | null | undefined;
6248
+ cache_age?: string | number | null;
6249
+ thumbnail_url?: string | null | undefined;
6250
+ thumbnail_width?: number | null | undefined;
6251
+ thumbnail_height?: number | null | undefined;
6252
+ html?: string | null | undefined;
6253
+ } & {
6254
+ __TYPE__: "EmbedContent";
6255
+ all: unknown;
6256
+ };
6257
+ } & {
6258
+ label?: string | null | undefined;
6259
+ direction?: string | null | undefined;
6260
+ }) | ({
6261
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6262
+ content: {
6263
+ text: string;
6264
+ } & {
6265
+ spans?: ({
6266
+ data?: unknown;
6267
+ } & {
6268
+ start: number;
6269
+ end: number;
6270
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6271
+ })[];
6272
+ };
6273
+ } & {
6274
+ label?: string;
6275
+ direction?: string;
6276
+ }))[];
6277
+ } | {
6278
+ __TYPE__: "SeparatorContent";
6279
+ }][];
6280
+ }[];
6281
+ } | {
6282
+ __TYPE__: "SharedSliceContent";
6283
+ variation: string;
6284
+ primary: {
6285
+ [x: string]: {
6286
+ type: string;
6287
+ __TYPE__: "EmptyContent";
6288
+ } | {
6289
+ __TYPE__: "BooleanContent";
6290
+ value: boolean;
6291
+ } | ({
6292
+ embed_url: string;
6293
+ type: string;
6294
+ } & {
6295
+ version?: string | number | null;
6296
+ title?: string | null | undefined;
6297
+ author_name?: string | null | undefined;
6298
+ author_url?: string | null | undefined;
6299
+ provider_name?: string | null | undefined;
6300
+ provider_url?: string | null | undefined;
6301
+ cache_age?: string | number | null;
6302
+ thumbnail_url?: string | null | undefined;
6303
+ thumbnail_width?: number | null | undefined;
6304
+ thumbnail_height?: number | null | undefined;
6305
+ html?: string | null | undefined;
6306
+ } & {
6307
+ __TYPE__: "EmbedContent";
6308
+ all: unknown;
6309
+ }) | {
6310
+ type: "Color";
6311
+ value: string;
6312
+ __TYPE__: "FieldContent";
6313
+ } | {
6314
+ type: "Date";
6315
+ value: string;
6316
+ __TYPE__: "FieldContent";
6317
+ } | {
6318
+ type: "Number";
6319
+ value: string;
6320
+ __TYPE__: "FieldContent";
6321
+ } | {
6322
+ type: "Range";
6323
+ value: string;
6324
+ __TYPE__: "FieldContent";
6325
+ } | {
6326
+ type: "Select";
6327
+ value: string;
6328
+ __TYPE__: "FieldContent";
6329
+ } | {
6330
+ type: "Text";
6331
+ value: string;
6332
+ __TYPE__: "FieldContent";
6333
+ } | {
6334
+ type: "Timestamp";
6335
+ value: string;
6336
+ __TYPE__: "FieldContent";
6337
+ } | ({
6338
+ position: {
6339
+ lat: number;
6340
+ lng: number;
6341
+ };
6342
+ } & {
6343
+ __TYPE__: "GeoPointContent";
6344
+ }) | ({
6345
+ origin: {
6346
+ id: string;
6347
+ url: string;
6348
+ width: number;
6349
+ height: number;
6350
+ };
6351
+ width: number;
6352
+ height: number;
6353
+ edit: {
6354
+ zoom: number;
6355
+ crop: {
6356
+ x: number;
6357
+ y: number;
6358
+ };
6359
+ background: string;
6360
+ };
6361
+ } & {
6362
+ url?: string;
6363
+ credits?: string | null;
6364
+ alt?: string | null;
6365
+ provider?: string | null | undefined;
6366
+ } & {
6367
+ thumbnails?: {
6368
+ [x: string]: {
6369
+ origin: {
6370
+ id: string;
6371
+ url: string;
6372
+ width: number;
6373
+ height: number;
6374
+ };
6375
+ width: number;
6376
+ height: number;
6377
+ edit: {
6378
+ zoom: number;
6379
+ crop: {
6380
+ x: number;
6381
+ y: number;
6382
+ };
6383
+ background: string;
6384
+ };
6385
+ } & {
6386
+ url?: string;
6387
+ credits?: string | null;
6388
+ alt?: string | null;
6389
+ provider?: string | null | undefined;
6390
+ };
6391
+ };
6392
+ } & {
6393
+ __TYPE__: "ImageContent";
6394
+ }) | {
6395
+ __TYPE__: "IntegrationFieldsContent";
6396
+ value: string;
6397
+ } | {
6398
+ __TYPE__: "LinkContent";
6399
+ value: ({
6400
+ __TYPE__: "ImageLink";
6401
+ } & {
6402
+ id: string;
6403
+ url: string;
6404
+ height: string;
6405
+ width: string;
6406
+ size: string;
6407
+ name: string;
6408
+ kind: string;
6409
+ } & {
6410
+ date?: string | null | undefined;
6411
+ }) | ({
6412
+ id: string;
6413
+ url: string;
6414
+ name: string;
6415
+ kind: string;
6416
+ size: string;
6417
+ } & {
6418
+ date?: string | null | undefined;
6419
+ } & {
6420
+ __TYPE__: "FileLink";
6421
+ } & {
6422
+ size?: string;
6423
+ }) | ({
6424
+ __TYPE__: "DocumentLink";
6425
+ } & {
6426
+ id: string;
6427
+ }) | ({
6428
+ __TYPE__: "ExternalLink";
6429
+ } & {
6430
+ url: string;
6431
+ } & {
6432
+ kind?: "web";
6433
+ target?: string | null | undefined;
6434
+ preview?: {
6435
+ title?: string;
6436
+ } | null | undefined;
6437
+ });
6438
+ } | {
6439
+ __TYPE__: "StructuredTextContent";
6440
+ value: (({
6441
+ type: "image";
6442
+ data: {
6443
+ origin: {
6444
+ id: string;
6445
+ url: string;
6446
+ width: number;
6447
+ height: number;
6448
+ };
6449
+ width: number;
6450
+ height: number;
6451
+ edit: {
6452
+ zoom: number;
6453
+ crop: {
6454
+ x: number;
6455
+ y: number;
6456
+ };
6457
+ background: string;
6458
+ };
6459
+ } & {
6460
+ url?: string;
6461
+ credits?: string | null;
6462
+ alt?: string | null;
6463
+ provider?: string | null | undefined;
6464
+ } & {
6465
+ linkTo?: ({
6466
+ __TYPE__: "ImageLink";
6467
+ } & {
6468
+ id: string;
6469
+ url: string;
6470
+ height: string;
6471
+ width: string;
6472
+ size: string;
6473
+ name: string;
6474
+ kind: string;
6475
+ } & {
6476
+ date?: string | null | undefined;
6477
+ }) | ({
6478
+ id: string;
6479
+ url: string;
6480
+ name: string;
6481
+ kind: string;
6482
+ size: string;
6483
+ } & {
6484
+ date?: string | null | undefined;
6485
+ } & {
6486
+ __TYPE__: "FileLink";
6487
+ } & {
6488
+ size?: string;
6489
+ }) | ({
6490
+ __TYPE__: "DocumentLink";
6491
+ } & {
6492
+ id: string;
6493
+ }) | ({
6494
+ __TYPE__: "ExternalLink";
6495
+ } & {
6496
+ url: string;
6497
+ } & {
6498
+ kind?: "web";
6499
+ target?: string | null | undefined;
6500
+ preview?: {
6501
+ title?: string;
6502
+ } | null | undefined;
6503
+ }) | null | undefined;
6504
+ };
6505
+ } & {
6506
+ label?: string | null | undefined;
6507
+ direction?: string | null | undefined;
6508
+ }) | ({
6509
+ type: "embed";
6510
+ data: {
6511
+ embed_url: string;
6512
+ type: string;
6513
+ } & {
6514
+ version?: string | number | null;
6515
+ title?: string | null | undefined;
6516
+ author_name?: string | null | undefined;
6517
+ author_url?: string | null | undefined;
6518
+ provider_name?: string | null | undefined;
6519
+ provider_url?: string | null | undefined;
6520
+ cache_age?: string | number | null;
6521
+ thumbnail_url?: string | null | undefined;
6522
+ thumbnail_width?: number | null | undefined;
6523
+ thumbnail_height?: number | null | undefined;
6524
+ html?: string | null | undefined;
6525
+ } & {
6526
+ __TYPE__: "EmbedContent";
6527
+ all: unknown;
6528
+ };
6529
+ } & {
6530
+ label?: string | null | undefined;
6531
+ direction?: string | null | undefined;
6532
+ }) | ({
6533
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6534
+ content: {
6535
+ text: string;
6536
+ } & {
6537
+ spans?: ({
6538
+ data?: unknown;
6539
+ } & {
6540
+ start: number;
6541
+ end: number;
6542
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6543
+ })[];
6544
+ };
6545
+ } & {
6546
+ label?: string;
6547
+ direction?: string;
6548
+ }))[];
6549
+ } | {
6550
+ __TYPE__: "SeparatorContent";
6551
+ };
6552
+ };
6553
+ items: {
6554
+ __TYPE__: "GroupItemContent";
6555
+ value: [string, {
6556
+ type: string;
6557
+ __TYPE__: "EmptyContent";
6558
+ } | {
6559
+ __TYPE__: "BooleanContent";
6560
+ value: boolean;
6561
+ } | ({
6562
+ embed_url: string;
6563
+ type: string;
6564
+ } & {
6565
+ version?: string | number | null;
6566
+ title?: string | null | undefined;
6567
+ author_name?: string | null | undefined;
6568
+ author_url?: string | null | undefined;
6569
+ provider_name?: string | null | undefined;
6570
+ provider_url?: string | null | undefined;
6571
+ cache_age?: string | number | null;
6572
+ thumbnail_url?: string | null | undefined;
6573
+ thumbnail_width?: number | null | undefined;
6574
+ thumbnail_height?: number | null | undefined;
6575
+ html?: string | null | undefined;
6576
+ } & {
6577
+ __TYPE__: "EmbedContent";
6578
+ all: unknown;
6579
+ }) | {
6580
+ type: "Color";
6581
+ value: string;
6582
+ __TYPE__: "FieldContent";
6583
+ } | {
6584
+ type: "Date";
6585
+ value: string;
6586
+ __TYPE__: "FieldContent";
6587
+ } | {
6588
+ type: "Number";
6589
+ value: string;
6590
+ __TYPE__: "FieldContent";
6591
+ } | {
6592
+ type: "Range";
6593
+ value: string;
6594
+ __TYPE__: "FieldContent";
6595
+ } | {
6596
+ type: "Select";
6597
+ value: string;
6598
+ __TYPE__: "FieldContent";
6599
+ } | {
6600
+ type: "Text";
6601
+ value: string;
6602
+ __TYPE__: "FieldContent";
6603
+ } | {
6604
+ type: "Timestamp";
6605
+ value: string;
6606
+ __TYPE__: "FieldContent";
6607
+ } | ({
6608
+ position: {
6609
+ lat: number;
6610
+ lng: number;
6611
+ };
6612
+ } & {
6613
+ __TYPE__: "GeoPointContent";
6614
+ }) | ({
6615
+ origin: {
6616
+ id: string;
6617
+ url: string;
6618
+ width: number;
6619
+ height: number;
6620
+ };
6621
+ width: number;
6622
+ height: number;
6623
+ edit: {
6624
+ zoom: number;
6625
+ crop: {
6626
+ x: number;
6627
+ y: number;
6628
+ };
6629
+ background: string;
6630
+ };
6631
+ } & {
6632
+ url?: string;
6633
+ credits?: string | null;
6634
+ alt?: string | null;
6635
+ provider?: string | null | undefined;
6636
+ } & {
6637
+ thumbnails?: {
6638
+ [x: string]: {
6639
+ origin: {
6640
+ id: string;
6641
+ url: string;
6642
+ width: number;
6643
+ height: number;
6644
+ };
6645
+ width: number;
6646
+ height: number;
6647
+ edit: {
6648
+ zoom: number;
6649
+ crop: {
6650
+ x: number;
6651
+ y: number;
6652
+ };
6653
+ background: string;
6654
+ };
6655
+ } & {
6656
+ url?: string;
6657
+ credits?: string | null;
6658
+ alt?: string | null;
6659
+ provider?: string | null | undefined;
6660
+ };
6661
+ };
6662
+ } & {
6663
+ __TYPE__: "ImageContent";
6664
+ }) | {
6665
+ __TYPE__: "IntegrationFieldsContent";
6666
+ value: string;
6667
+ } | {
6668
+ __TYPE__: "LinkContent";
6669
+ value: ({
6670
+ __TYPE__: "ImageLink";
6671
+ } & {
6672
+ id: string;
6673
+ url: string;
6674
+ height: string;
6675
+ width: string;
6676
+ size: string;
6677
+ name: string;
6678
+ kind: string;
6679
+ } & {
6680
+ date?: string | null | undefined;
6681
+ }) | ({
6682
+ id: string;
6683
+ url: string;
6684
+ name: string;
6685
+ kind: string;
6686
+ size: string;
6687
+ } & {
6688
+ date?: string | null | undefined;
6689
+ } & {
6690
+ __TYPE__: "FileLink";
6691
+ } & {
6692
+ size?: string;
6693
+ }) | ({
6694
+ __TYPE__: "DocumentLink";
6695
+ } & {
6696
+ id: string;
6697
+ }) | ({
6698
+ __TYPE__: "ExternalLink";
6699
+ } & {
6700
+ url: string;
6701
+ } & {
6702
+ kind?: "web";
6703
+ target?: string | null | undefined;
6704
+ preview?: {
6705
+ title?: string;
6706
+ } | null | undefined;
6707
+ });
6708
+ } | {
6709
+ __TYPE__: "StructuredTextContent";
6710
+ value: (({
6711
+ type: "image";
6712
+ data: {
6713
+ origin: {
6714
+ id: string;
6715
+ url: string;
6716
+ width: number;
6717
+ height: number;
6718
+ };
6719
+ width: number;
6720
+ height: number;
6721
+ edit: {
6722
+ zoom: number;
6723
+ crop: {
6724
+ x: number;
6725
+ y: number;
6726
+ };
6727
+ background: string;
6728
+ };
6729
+ } & {
6730
+ url?: string;
6731
+ credits?: string | null;
6732
+ alt?: string | null;
6733
+ provider?: string | null | undefined;
6734
+ } & {
6735
+ linkTo?: ({
6736
+ __TYPE__: "ImageLink";
6737
+ } & {
6738
+ id: string;
6739
+ url: string;
6740
+ height: string;
6741
+ width: string;
6742
+ size: string;
6743
+ name: string;
6744
+ kind: string;
6745
+ } & {
6746
+ date?: string | null | undefined;
6747
+ }) | ({
6748
+ id: string;
6749
+ url: string;
6750
+ name: string;
6751
+ kind: string;
6752
+ size: string;
6753
+ } & {
6754
+ date?: string | null | undefined;
6755
+ } & {
6756
+ __TYPE__: "FileLink";
6757
+ } & {
6758
+ size?: string;
6759
+ }) | ({
6760
+ __TYPE__: "DocumentLink";
6761
+ } & {
6762
+ id: string;
6763
+ }) | ({
6764
+ __TYPE__: "ExternalLink";
6765
+ } & {
6766
+ url: string;
6767
+ } & {
6768
+ kind?: "web";
6769
+ target?: string | null | undefined;
6770
+ preview?: {
6771
+ title?: string;
6772
+ } | null | undefined;
6773
+ }) | null | undefined;
6774
+ };
6775
+ } & {
6776
+ label?: string | null | undefined;
6777
+ direction?: string | null | undefined;
6778
+ }) | ({
6779
+ type: "embed";
6780
+ data: {
6781
+ embed_url: string;
6782
+ type: string;
6783
+ } & {
6784
+ version?: string | number | null;
6785
+ title?: string | null | undefined;
6786
+ author_name?: string | null | undefined;
6787
+ author_url?: string | null | undefined;
6788
+ provider_name?: string | null | undefined;
6789
+ provider_url?: string | null | undefined;
6790
+ cache_age?: string | number | null;
6791
+ thumbnail_url?: string | null | undefined;
6792
+ thumbnail_width?: number | null | undefined;
6793
+ thumbnail_height?: number | null | undefined;
6794
+ html?: string | null | undefined;
6795
+ } & {
6796
+ __TYPE__: "EmbedContent";
6797
+ all: unknown;
6798
+ };
6799
+ } & {
6800
+ label?: string | null | undefined;
6801
+ direction?: string | null | undefined;
6802
+ }) | ({
6803
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6804
+ content: {
6805
+ text: string;
6806
+ } & {
6807
+ spans?: ({
6808
+ data?: unknown;
6809
+ } & {
6810
+ start: number;
6811
+ end: number;
6812
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
6813
+ })[];
6814
+ };
6815
+ } & {
6816
+ label?: string;
6817
+ direction?: string;
6818
+ }))[];
6819
+ } | {
6820
+ __TYPE__: "SeparatorContent";
6821
+ }][];
6822
+ }[];
6823
+ };
6824
+ }[];
6825
+ };
6826
+ };
4655
6827
  export {};