@prismicio/types-internal 1.2.0-alpha.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/lib/content/fields/GroupContent.d.ts +810 -0
  2. package/lib/content/fields/GroupContent.js +17 -0
  3. package/lib/content/fields/index.d.ts +3 -0
  4. package/lib/content/fields/index.js +6 -0
  5. package/lib/content/fields/nestable/BooleanContent.d.ts +7 -0
  6. package/lib/content/fields/nestable/BooleanContent.js +11 -0
  7. package/lib/content/fields/nestable/EmbedContent.d.ts +70 -0
  8. package/lib/content/fields/nestable/EmbedContent.js +13 -0
  9. package/lib/content/fields/nestable/FieldContent.d.ts +26 -0
  10. package/lib/content/fields/nestable/FieldContent.js +22 -0
  11. package/lib/content/fields/nestable/GeoPointContent.d.ts +18 -0
  12. package/lib/content/fields/nestable/GeoPointContent.js +13 -0
  13. package/lib/content/fields/nestable/Image.d.ts +103 -0
  14. package/lib/content/fields/nestable/Image.js +13 -0
  15. package/lib/content/fields/nestable/ImageContent.d.ts +104 -0
  16. package/lib/content/fields/nestable/ImageContent.js +13 -0
  17. package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +7 -0
  18. package/lib/content/fields/nestable/IntegrationFieldContent.js +11 -0
  19. package/lib/content/fields/nestable/LinkContent.d.ts +159 -0
  20. package/lib/content/fields/nestable/LinkContent.js +48 -0
  21. package/lib/content/fields/nestable/NestableContent.d.ts +400 -0
  22. package/lib/content/fields/nestable/NestableContent.js +25 -0
  23. package/lib/content/fields/nestable/RichTextContent.d.ts +127 -0
  24. package/lib/content/fields/nestable/RichTextContent.js +11 -0
  25. package/lib/content/fields/nestable/SeparatorContent.d.ts +6 -0
  26. package/lib/content/fields/nestable/SeparatorContent.js +10 -0
  27. package/lib/content/fields/nestable/index.d.ts +10 -0
  28. package/lib/content/fields/nestable/index.js +13 -0
  29. package/lib/content/fields/slices/SharedSliceContent.d.ts +806 -0
  30. package/lib/content/fields/slices/SharedSliceContent.js +15 -0
  31. package/lib/content/fields/slices/index.d.ts +1 -0
  32. package/lib/content/fields/slices/index.js +4 -0
  33. package/lib/content/index.d.ts +1 -0
  34. package/lib/content/index.js +4 -0
  35. package/lib/customtypes/Comparators/SharedSlice.d.ts +260 -260
  36. package/lib/customtypes/Comparators/Variation.d.ts +258 -258
  37. package/lib/customtypes/CustomType.d.ts +932 -932
  38. package/lib/customtypes/Section.d.ts +932 -932
  39. package/lib/customtypes/widgets/Widget.d.ts +664 -664
  40. package/lib/customtypes/widgets/slices/Slices.d.ts +792 -792
  41. package/lib/documents/widgets/nestable/EmbedContent.d.ts +5 -6
  42. package/lib/documents/widgets/nestable/EmbedContent.js +5 -5
  43. package/lib/documents/widgets/nestable/ImageContent.d.ts +14 -14
  44. package/lib/documents/widgets/nestable/Link/ExternalLink.d.ts +4 -4
  45. package/lib/documents/widgets/nestable/Link/FileLink.d.ts +1 -1
  46. package/lib/documents/widgets/nestable/Link/FileLink.js +2 -1
  47. package/lib/documents/widgets/nestable/Link/LinkContent.d.ts +3 -3
  48. package/lib/documents/widgets/nestable/Link/index.d.ts +5 -5
  49. package/lib/documents/widgets/nestable/SeparatorContent.d.ts +4 -0
  50. package/lib/documents/widgets/nestable/SeparatorContent.js +5 -0
  51. package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +10 -10
  52. package/lib/utils/Objects.d.ts +3 -3
  53. package/lib/validators/TrimmedString.d.ts +5 -0
  54. package/lib/validators/TrimmedString.js +23 -0
  55. package/package.json +1 -1
  56. package/src/content/fields/GroupContent.ts +21 -0
  57. package/src/content/fields/index.ts +3 -0
  58. package/src/content/fields/nestable/BooleanContent.ts +11 -0
  59. package/src/content/fields/nestable/EmbedContent.ts +16 -0
  60. package/src/content/fields/nestable/FieldContent.ts +25 -0
  61. package/src/content/fields/nestable/GeoPointContent.ts +16 -0
  62. package/src/content/fields/nestable/ImageContent.ts +16 -0
  63. package/src/content/fields/nestable/IntegrationFieldContent.ts +11 -0
  64. package/src/content/fields/nestable/LinkContent.ts +68 -0
  65. package/src/content/fields/nestable/NestableContent.ts +25 -0
  66. package/src/content/fields/nestable/RichTextContent.ts +14 -0
  67. package/src/content/fields/nestable/SeparatorContent.ts +10 -0
  68. package/src/content/fields/nestable/index.ts +10 -0
  69. package/src/content/fields/slices/SharedSliceContent.ts +14 -0
  70. package/src/content/fields/slices/index.ts +1 -0
  71. package/src/content/index.ts +1 -0
  72. package/src/documents/widgets/nestable/EmbedContent.ts +1 -1
  73. package/src/documents/widgets/nestable/Link/FileLink.ts +2 -1
  74. package/src/documents/widgets/nestable/SeparatorContent.ts +5 -0
  75. package/src/utils/Objects.ts +13 -14
  76. package/src/validators/TrimmedString.ts +33 -0
@@ -0,0 +1,810 @@
1
+ import * as t from "io-ts";
2
+ export declare const GroupItemContent: t.ExactC<t.TypeC<{
3
+ __TYPE__: t.LiteralC<"GroupItemContent">;
4
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
5
+ __TYPE__: t.LiteralC<"BooleanContent">;
6
+ value: t.BooleanC;
7
+ }>>, t.IntersectionC<[t.Type<{
8
+ embed_url: string;
9
+ type: string;
10
+ } & {
11
+ version?: string | number | null;
12
+ title?: string | null | undefined;
13
+ author_name?: string | null | undefined;
14
+ author_url?: string | null | undefined;
15
+ provider_name?: string | null | undefined;
16
+ provider_url?: string | null | undefined;
17
+ cache_age?: string | number | null;
18
+ thumbnail_url?: string | null | undefined;
19
+ thumbnail_width?: number | null | undefined;
20
+ thumbnail_height?: number | null | undefined;
21
+ html?: string | null | undefined;
22
+ }, {
23
+ embed_url: string;
24
+ type: string;
25
+ } & {
26
+ version?: string | number | null;
27
+ title?: string | null | undefined;
28
+ author_name?: string | null | undefined;
29
+ author_url?: string | null | undefined;
30
+ provider_name?: string | null | undefined;
31
+ provider_url?: string | null | undefined;
32
+ cache_age?: string | number | null;
33
+ thumbnail_url?: string | null | undefined;
34
+ thumbnail_width?: number | null | undefined;
35
+ thumbnail_height?: number | null | undefined;
36
+ html?: string | null | undefined;
37
+ } & {
38
+ __TYPE__: "EmbedContent";
39
+ }, unknown>, t.ExactC<t.TypeC<{
40
+ __TYPE__: t.LiteralC<"EmbedContent">;
41
+ all: t.Type<{
42
+ embed_url: string;
43
+ type: string;
44
+ } & {
45
+ version?: string | number | null;
46
+ title?: string | null | undefined;
47
+ author_name?: string | null | undefined;
48
+ author_url?: string | null | undefined;
49
+ provider_name?: string | null | undefined;
50
+ provider_url?: string | null | undefined;
51
+ cache_age?: string | number | null;
52
+ thumbnail_url?: string | null | undefined;
53
+ thumbnail_width?: number | null | undefined;
54
+ thumbnail_height?: number | null | undefined;
55
+ html?: string | null | undefined;
56
+ }, {
57
+ embed_url: string;
58
+ type: string;
59
+ } & {
60
+ version?: string | number | null;
61
+ title?: string | null | undefined;
62
+ author_name?: string | null | undefined;
63
+ author_url?: string | null | undefined;
64
+ provider_name?: string | null | undefined;
65
+ provider_url?: string | null | undefined;
66
+ cache_age?: string | number | null;
67
+ thumbnail_url?: string | null | undefined;
68
+ thumbnail_width?: number | null | undefined;
69
+ thumbnail_height?: number | null | undefined;
70
+ html?: string | null | undefined;
71
+ } & {
72
+ __TYPE__: "EmbedContent";
73
+ }, unknown>;
74
+ }>>]>, t.ExactC<t.TypeC<{
75
+ type: t.KeyofC<{
76
+ Text: null;
77
+ Date: null;
78
+ Timestamp: null;
79
+ Color: null;
80
+ Number: null;
81
+ Range: null;
82
+ Select: null;
83
+ }>;
84
+ value: t.Type<string, string, unknown>;
85
+ __TYPE__: t.LiteralC<"FieldContent">;
86
+ }>>, t.IntersectionC<[t.Type<{
87
+ position: {
88
+ lat: number;
89
+ lng: number;
90
+ };
91
+ }, {
92
+ position: {
93
+ lat: number;
94
+ lng: number;
95
+ };
96
+ } & {
97
+ __TYPE__: "GeoPointContent";
98
+ }, unknown>, t.ExactC<t.TypeC<{
99
+ __TYPE__: t.LiteralC<"GeoPointContent">;
100
+ }>>]>, t.IntersectionC<[t.Type<{
101
+ origin: {
102
+ id: string;
103
+ url: string;
104
+ width: number;
105
+ height: number;
106
+ };
107
+ width: number;
108
+ height: number;
109
+ edit: {
110
+ zoom: number;
111
+ crop: {
112
+ x: number;
113
+ y: number;
114
+ };
115
+ background: string;
116
+ };
117
+ } & {
118
+ url?: string;
119
+ credits?: string | null;
120
+ alt?: string | null;
121
+ provider?: string | null | undefined;
122
+ } & {
123
+ thumbnails?: {
124
+ [x: string]: {
125
+ origin: {
126
+ id: string;
127
+ url: string;
128
+ width: number;
129
+ height: number;
130
+ };
131
+ width: number;
132
+ height: number;
133
+ edit: {
134
+ zoom: number;
135
+ crop: {
136
+ x: number;
137
+ y: number;
138
+ };
139
+ background: string;
140
+ };
141
+ } & {
142
+ url?: string;
143
+ credits?: string | null;
144
+ alt?: string | null;
145
+ provider?: string | null | undefined;
146
+ };
147
+ };
148
+ }, {
149
+ origin: {
150
+ id: string;
151
+ url: string;
152
+ width: number;
153
+ height: number;
154
+ };
155
+ width: number;
156
+ height: number;
157
+ edit: {
158
+ zoom: number;
159
+ crop: {
160
+ x: number;
161
+ y: number;
162
+ };
163
+ background: string;
164
+ };
165
+ } & {
166
+ url?: string;
167
+ credits?: string | null;
168
+ alt?: string | null;
169
+ provider?: string | null | undefined;
170
+ } & {
171
+ thumbnails?: {
172
+ [x: string]: {
173
+ origin: {
174
+ id: string;
175
+ url: string;
176
+ width: number;
177
+ height: number;
178
+ };
179
+ width: number;
180
+ height: number;
181
+ edit: {
182
+ zoom: number;
183
+ crop: {
184
+ x: number;
185
+ y: number;
186
+ };
187
+ background: string;
188
+ };
189
+ } & {
190
+ url?: string;
191
+ credits?: string | null;
192
+ alt?: string | null;
193
+ provider?: string | null | undefined;
194
+ };
195
+ };
196
+ } & {
197
+ __TYPE__: "ImageContent";
198
+ }, unknown>, t.ExactC<t.TypeC<{
199
+ __TYPE__: t.LiteralC<"ImageContent">;
200
+ }>>]>, t.ExactC<t.TypeC<{
201
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
202
+ value: t.StringC;
203
+ }>>, t.ExactC<t.TypeC<{
204
+ __TYPE__: t.LiteralC<"LinkContent">;
205
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
206
+ __TYPE__: t.LiteralC<"ImageLink">;
207
+ }>>, t.Type<{
208
+ id: string;
209
+ url: string;
210
+ height: string;
211
+ width: string;
212
+ size: string;
213
+ name: string;
214
+ kind: string;
215
+ } & {
216
+ date?: string | null | undefined;
217
+ }, {
218
+ id: string;
219
+ url: string;
220
+ height: string;
221
+ width: string;
222
+ size: string;
223
+ name: string;
224
+ kind: string;
225
+ } & {
226
+ date?: string | null | undefined;
227
+ } & {
228
+ __TYPE__: "ImageLink";
229
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
230
+ __TYPE__: t.LiteralC<"FileLink">;
231
+ }>>, t.Type<{
232
+ id: string;
233
+ url: string;
234
+ name: string;
235
+ kind: string;
236
+ } & {
237
+ date?: string | null | undefined;
238
+ size?: string;
239
+ }, {
240
+ readonly size: string;
241
+ readonly __TYPE__: "FileLink";
242
+ readonly id: string;
243
+ readonly url: string;
244
+ readonly name: string;
245
+ readonly kind: string;
246
+ readonly date?: string | null | undefined;
247
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
248
+ __TYPE__: t.LiteralC<"DocumentLink">;
249
+ }>>, t.Type<{
250
+ id: string;
251
+ }, {
252
+ id: string;
253
+ } & {
254
+ __TYPE__: "DocumentLink";
255
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
256
+ __TYPE__: t.LiteralC<"ExternalLink">;
257
+ }>>, t.Type<{
258
+ url: string;
259
+ } & {
260
+ kind?: "web";
261
+ target?: string | null | undefined;
262
+ preview?: {
263
+ title?: string;
264
+ } | null | undefined;
265
+ }, {
266
+ url: string;
267
+ } & {
268
+ kind?: "web";
269
+ target?: string | null | undefined;
270
+ preview?: {
271
+ title?: string;
272
+ } | null | undefined;
273
+ } & {
274
+ __TYPE__: "ExternalLink";
275
+ }, unknown>]>]>;
276
+ }>>, t.ExactC<t.TypeC<{
277
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
278
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
279
+ type: t.LiteralC<"image">;
280
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
281
+ origin: t.ExactC<t.TypeC<{
282
+ id: t.StringC;
283
+ url: t.StringC;
284
+ width: t.NumberC;
285
+ height: t.NumberC;
286
+ }>>;
287
+ width: t.NumberC;
288
+ height: t.NumberC;
289
+ edit: t.TypeC<{
290
+ zoom: t.NumberC;
291
+ crop: t.TypeC<{
292
+ x: t.NumberC;
293
+ y: t.NumberC;
294
+ }>;
295
+ background: t.StringC;
296
+ }>;
297
+ }>, t.PartialC<{
298
+ url: t.StringC;
299
+ credits: t.Type<string | null, string | null, unknown>;
300
+ alt: t.Type<string | null, string | null, unknown>;
301
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
302
+ }>]>>, t.PartialC<{
303
+ linkTo: t.UnionC<[t.Type<{
304
+ id: string;
305
+ } | ({
306
+ url: string;
307
+ } & {
308
+ kind?: "web";
309
+ target?: string | null | undefined;
310
+ preview?: {
311
+ title?: string;
312
+ } | null | undefined;
313
+ }) | ({
314
+ id: string;
315
+ url: string;
316
+ name: string;
317
+ kind: string;
318
+ } & {
319
+ date?: string | null | undefined;
320
+ size?: string;
321
+ }) | ({
322
+ id: string;
323
+ url: string;
324
+ height: string;
325
+ width: string;
326
+ size: string;
327
+ name: string;
328
+ kind: string;
329
+ } & {
330
+ date?: string | null | undefined;
331
+ }), ({
332
+ id: string;
333
+ } & {
334
+ __TYPE__: "DocumentLink";
335
+ }) | ({
336
+ url: string;
337
+ } & {
338
+ kind?: "web";
339
+ target?: string | null | undefined;
340
+ preview?: {
341
+ title?: string;
342
+ } | null | undefined;
343
+ } & {
344
+ __TYPE__: "ExternalLink";
345
+ }) | {
346
+ readonly size: string;
347
+ readonly __TYPE__: "FileLink";
348
+ readonly id: string;
349
+ readonly url: string;
350
+ readonly name: string;
351
+ readonly kind: string;
352
+ readonly date?: string | null | undefined;
353
+ } | ({
354
+ id: string;
355
+ url: string;
356
+ height: string;
357
+ width: string;
358
+ size: string;
359
+ name: string;
360
+ kind: string;
361
+ } & {
362
+ date?: string | null | undefined;
363
+ } & {
364
+ __TYPE__: "ImageLink";
365
+ }), unknown>, t.NullC, t.UndefinedC]>;
366
+ }>]>;
367
+ }>, t.PartialC<{
368
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
369
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
370
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
371
+ type: t.LiteralC<"embed">;
372
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
373
+ }>, t.PartialC<{
374
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
375
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
376
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
377
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
378
+ content: t.IntersectionC<[t.TypeC<{
379
+ text: t.StringC;
380
+ }>, t.PartialC<{
381
+ spans: t.Type<({
382
+ data?: unknown;
383
+ } & {
384
+ start: number;
385
+ end: number;
386
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
387
+ })[], ({
388
+ data?: unknown;
389
+ } & {
390
+ start: number;
391
+ end: number;
392
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
393
+ })[], unknown>;
394
+ }>]>;
395
+ }>, t.PartialC<{
396
+ label: t.StringC;
397
+ direction: t.StringC;
398
+ }>]>>]>>;
399
+ }>>, t.ExactC<t.TypeC<{
400
+ __TYPE__: t.LiteralC<"SeparatorContent">;
401
+ }>>]>]>>;
402
+ }>>;
403
+ export declare type GroupItemContent = t.TypeOf<typeof GroupItemContent>;
404
+ export declare const GroupItemContentType = "GroupItemContent";
405
+ export declare const GroupContent: t.ExactC<t.TypeC<{
406
+ __TYPE__: t.LiteralC<"GroupContentType">;
407
+ value: t.ArrayC<t.ExactC<t.TypeC<{
408
+ __TYPE__: t.LiteralC<"GroupItemContent">;
409
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
410
+ __TYPE__: t.LiteralC<"BooleanContent">;
411
+ value: t.BooleanC;
412
+ }>>, t.IntersectionC<[t.Type<{
413
+ embed_url: string;
414
+ type: string;
415
+ } & {
416
+ version?: string | number | null;
417
+ title?: string | null | undefined;
418
+ author_name?: string | null | undefined;
419
+ author_url?: string | null | undefined;
420
+ provider_name?: string | null | undefined;
421
+ provider_url?: string | null | undefined;
422
+ cache_age?: string | number | null;
423
+ thumbnail_url?: string | null | undefined;
424
+ thumbnail_width?: number | null | undefined;
425
+ thumbnail_height?: number | null | undefined;
426
+ html?: string | null | undefined;
427
+ }, {
428
+ embed_url: string;
429
+ type: string;
430
+ } & {
431
+ version?: string | number | null;
432
+ title?: string | null | undefined;
433
+ author_name?: string | null | undefined;
434
+ author_url?: string | null | undefined;
435
+ provider_name?: string | null | undefined;
436
+ provider_url?: string | null | undefined;
437
+ cache_age?: string | number | null;
438
+ thumbnail_url?: string | null | undefined;
439
+ thumbnail_width?: number | null | undefined;
440
+ thumbnail_height?: number | null | undefined;
441
+ html?: string | null | undefined;
442
+ } & {
443
+ __TYPE__: "EmbedContent";
444
+ }, unknown>, t.ExactC<t.TypeC<{
445
+ __TYPE__: t.LiteralC<"EmbedContent">;
446
+ all: t.Type<{
447
+ embed_url: string;
448
+ type: string;
449
+ } & {
450
+ version?: string | number | null;
451
+ title?: string | null | undefined;
452
+ author_name?: string | null | undefined;
453
+ author_url?: string | null | undefined;
454
+ provider_name?: string | null | undefined;
455
+ provider_url?: string | null | undefined;
456
+ cache_age?: string | number | null;
457
+ thumbnail_url?: string | null | undefined;
458
+ thumbnail_width?: number | null | undefined;
459
+ thumbnail_height?: number | null | undefined;
460
+ html?: string | null | undefined;
461
+ }, {
462
+ embed_url: string;
463
+ type: string;
464
+ } & {
465
+ version?: string | number | null;
466
+ title?: string | null | undefined;
467
+ author_name?: string | null | undefined;
468
+ author_url?: string | null | undefined;
469
+ provider_name?: string | null | undefined;
470
+ provider_url?: string | null | undefined;
471
+ cache_age?: string | number | null;
472
+ thumbnail_url?: string | null | undefined;
473
+ thumbnail_width?: number | null | undefined;
474
+ thumbnail_height?: number | null | undefined;
475
+ html?: string | null | undefined;
476
+ } & {
477
+ __TYPE__: "EmbedContent";
478
+ }, unknown>;
479
+ }>>]>, t.ExactC<t.TypeC<{
480
+ type: t.KeyofC<{
481
+ Text: null;
482
+ Date: null;
483
+ Timestamp: null;
484
+ Color: null;
485
+ Number: null;
486
+ Range: null;
487
+ Select: null;
488
+ }>;
489
+ value: t.Type<string, string, unknown>;
490
+ __TYPE__: t.LiteralC<"FieldContent">;
491
+ }>>, t.IntersectionC<[t.Type<{
492
+ position: {
493
+ lat: number;
494
+ lng: number;
495
+ };
496
+ }, {
497
+ position: {
498
+ lat: number;
499
+ lng: number;
500
+ };
501
+ } & {
502
+ __TYPE__: "GeoPointContent";
503
+ }, unknown>, t.ExactC<t.TypeC<{
504
+ __TYPE__: t.LiteralC<"GeoPointContent">;
505
+ }>>]>, t.IntersectionC<[t.Type<{
506
+ origin: {
507
+ id: string;
508
+ url: string;
509
+ width: number;
510
+ height: number;
511
+ };
512
+ width: number;
513
+ height: number;
514
+ edit: {
515
+ zoom: number;
516
+ crop: {
517
+ x: number;
518
+ y: number;
519
+ };
520
+ background: string;
521
+ };
522
+ } & {
523
+ url?: string;
524
+ credits?: string | null;
525
+ alt?: string | null;
526
+ provider?: string | null | undefined;
527
+ } & {
528
+ thumbnails?: {
529
+ [x: string]: {
530
+ origin: {
531
+ id: string;
532
+ url: string;
533
+ width: number;
534
+ height: number;
535
+ };
536
+ width: number;
537
+ height: number;
538
+ edit: {
539
+ zoom: number;
540
+ crop: {
541
+ x: number;
542
+ y: number;
543
+ };
544
+ background: string;
545
+ };
546
+ } & {
547
+ url?: string;
548
+ credits?: string | null;
549
+ alt?: string | null;
550
+ provider?: string | null | undefined;
551
+ };
552
+ };
553
+ }, {
554
+ origin: {
555
+ id: string;
556
+ url: string;
557
+ width: number;
558
+ height: number;
559
+ };
560
+ width: number;
561
+ height: number;
562
+ edit: {
563
+ zoom: number;
564
+ crop: {
565
+ x: number;
566
+ y: number;
567
+ };
568
+ background: string;
569
+ };
570
+ } & {
571
+ url?: string;
572
+ credits?: string | null;
573
+ alt?: string | null;
574
+ provider?: string | null | undefined;
575
+ } & {
576
+ thumbnails?: {
577
+ [x: string]: {
578
+ origin: {
579
+ id: string;
580
+ url: string;
581
+ width: number;
582
+ height: number;
583
+ };
584
+ width: number;
585
+ height: number;
586
+ edit: {
587
+ zoom: number;
588
+ crop: {
589
+ x: number;
590
+ y: number;
591
+ };
592
+ background: string;
593
+ };
594
+ } & {
595
+ url?: string;
596
+ credits?: string | null;
597
+ alt?: string | null;
598
+ provider?: string | null | undefined;
599
+ };
600
+ };
601
+ } & {
602
+ __TYPE__: "ImageContent";
603
+ }, unknown>, t.ExactC<t.TypeC<{
604
+ __TYPE__: t.LiteralC<"ImageContent">;
605
+ }>>]>, t.ExactC<t.TypeC<{
606
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
607
+ value: t.StringC;
608
+ }>>, t.ExactC<t.TypeC<{
609
+ __TYPE__: t.LiteralC<"LinkContent">;
610
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
611
+ __TYPE__: t.LiteralC<"ImageLink">;
612
+ }>>, t.Type<{
613
+ id: string;
614
+ url: string;
615
+ height: string;
616
+ width: string;
617
+ size: string;
618
+ name: string;
619
+ kind: string;
620
+ } & {
621
+ date?: string | null | undefined;
622
+ }, {
623
+ id: string;
624
+ url: string;
625
+ height: string;
626
+ width: string;
627
+ size: string;
628
+ name: string;
629
+ kind: string;
630
+ } & {
631
+ date?: string | null | undefined;
632
+ } & {
633
+ __TYPE__: "ImageLink";
634
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
635
+ __TYPE__: t.LiteralC<"FileLink">;
636
+ }>>, t.Type<{
637
+ id: string;
638
+ url: string;
639
+ name: string;
640
+ kind: string;
641
+ } & {
642
+ date?: string | null | undefined;
643
+ size?: string;
644
+ }, {
645
+ readonly size: string;
646
+ readonly __TYPE__: "FileLink";
647
+ readonly id: string;
648
+ readonly url: string;
649
+ readonly name: string;
650
+ readonly kind: string;
651
+ readonly date?: string | null | undefined;
652
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
653
+ __TYPE__: t.LiteralC<"DocumentLink">;
654
+ }>>, t.Type<{
655
+ id: string;
656
+ }, {
657
+ id: string;
658
+ } & {
659
+ __TYPE__: "DocumentLink";
660
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
661
+ __TYPE__: t.LiteralC<"ExternalLink">;
662
+ }>>, t.Type<{
663
+ url: string;
664
+ } & {
665
+ kind?: "web";
666
+ target?: string | null | undefined;
667
+ preview?: {
668
+ title?: string;
669
+ } | null | undefined;
670
+ }, {
671
+ url: string;
672
+ } & {
673
+ kind?: "web";
674
+ target?: string | null | undefined;
675
+ preview?: {
676
+ title?: string;
677
+ } | null | undefined;
678
+ } & {
679
+ __TYPE__: "ExternalLink";
680
+ }, unknown>]>]>;
681
+ }>>, t.ExactC<t.TypeC<{
682
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
683
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
684
+ type: t.LiteralC<"image">;
685
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
686
+ origin: t.ExactC<t.TypeC<{
687
+ id: t.StringC;
688
+ url: t.StringC;
689
+ width: t.NumberC;
690
+ height: t.NumberC;
691
+ }>>;
692
+ width: t.NumberC;
693
+ height: t.NumberC;
694
+ edit: t.TypeC<{
695
+ zoom: t.NumberC;
696
+ crop: t.TypeC<{
697
+ x: t.NumberC;
698
+ y: t.NumberC;
699
+ }>;
700
+ background: t.StringC;
701
+ }>;
702
+ }>, t.PartialC<{
703
+ url: t.StringC;
704
+ credits: t.Type<string | null, string | null, unknown>;
705
+ alt: t.Type<string | null, string | null, unknown>;
706
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
707
+ }>]>>, t.PartialC<{
708
+ linkTo: t.UnionC<[t.Type<{
709
+ id: string;
710
+ } | ({
711
+ url: string;
712
+ } & {
713
+ kind?: "web";
714
+ target?: string | null | undefined;
715
+ preview?: {
716
+ title?: string;
717
+ } | null | undefined;
718
+ }) | ({
719
+ id: string;
720
+ url: string;
721
+ name: string;
722
+ kind: string;
723
+ } & {
724
+ date?: string | null | undefined;
725
+ size?: string;
726
+ }) | ({
727
+ id: string;
728
+ url: string;
729
+ height: string;
730
+ width: string;
731
+ size: string;
732
+ name: string;
733
+ kind: string;
734
+ } & {
735
+ date?: string | null | undefined;
736
+ }), ({
737
+ id: string;
738
+ } & {
739
+ __TYPE__: "DocumentLink";
740
+ }) | ({
741
+ url: string;
742
+ } & {
743
+ kind?: "web";
744
+ target?: string | null | undefined;
745
+ preview?: {
746
+ title?: string;
747
+ } | null | undefined;
748
+ } & {
749
+ __TYPE__: "ExternalLink";
750
+ }) | {
751
+ readonly size: string;
752
+ readonly __TYPE__: "FileLink";
753
+ readonly id: string;
754
+ readonly url: string;
755
+ readonly name: string;
756
+ readonly kind: string;
757
+ readonly date?: string | null | undefined;
758
+ } | ({
759
+ id: string;
760
+ url: string;
761
+ height: string;
762
+ width: string;
763
+ size: string;
764
+ name: string;
765
+ kind: string;
766
+ } & {
767
+ date?: string | null | undefined;
768
+ } & {
769
+ __TYPE__: "ImageLink";
770
+ }), unknown>, t.NullC, t.UndefinedC]>;
771
+ }>]>;
772
+ }>, t.PartialC<{
773
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
774
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
775
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
776
+ type: t.LiteralC<"embed">;
777
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
778
+ }>, t.PartialC<{
779
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
780
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
781
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
782
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
783
+ content: t.IntersectionC<[t.TypeC<{
784
+ text: t.StringC;
785
+ }>, t.PartialC<{
786
+ spans: t.Type<({
787
+ data?: unknown;
788
+ } & {
789
+ start: number;
790
+ end: number;
791
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
792
+ })[], ({
793
+ data?: unknown;
794
+ } & {
795
+ start: number;
796
+ end: number;
797
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
798
+ })[], unknown>;
799
+ }>]>;
800
+ }>, t.PartialC<{
801
+ label: t.StringC;
802
+ direction: t.StringC;
803
+ }>]>>]>>;
804
+ }>>, t.ExactC<t.TypeC<{
805
+ __TYPE__: t.LiteralC<"SeparatorContent">;
806
+ }>>]>]>>;
807
+ }>>>;
808
+ }>>;
809
+ export declare type GroupContent = t.TypeOf<typeof GroupContent>;
810
+ export declare const GroupContentType = "GroupContentType";