@prismicio/types-internal 1.5.1 → 1.5.3

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.
@@ -0,0 +1,2972 @@
1
+ import * as t from "io-ts";
2
+ import { WidgetKey as KeyForWidgetContent } from "../documents/widgets";
3
+ export declare const WidgetKey: t.Type<string, string, unknown>;
4
+ export declare type WidgetKey = KeyForWidgetContent;
5
+ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.TypeC<{
6
+ __TYPE__: t.LiteralC<"SliceContentType">;
7
+ value: t.ArrayC<t.TypeC<{
8
+ key: t.StringC;
9
+ name: t.StringC;
10
+ maybeLabel: t.UnionC<[t.StringC, t.UndefinedC]>;
11
+ widget: t.UnionC<[t.ExactC<t.TypeC<{
12
+ __TYPE__: t.LiteralC<"CompositeSliceContent">;
13
+ nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
14
+ __TYPE__: t.LiteralC<"BooleanContent">;
15
+ value: t.BooleanC;
16
+ }>>, t.IntersectionC<[t.Type<{
17
+ embed_url: string;
18
+ type: string;
19
+ } & {
20
+ version?: string | number | null;
21
+ title?: string | null | undefined;
22
+ author_name?: string | null | undefined;
23
+ author_url?: string | null | undefined;
24
+ provider_name?: string | null | undefined;
25
+ provider_url?: string | null | undefined;
26
+ cache_age?: string | number | null;
27
+ thumbnail_url?: string | null | undefined;
28
+ thumbnail_width?: number | null | undefined;
29
+ thumbnail_height?: number | null | undefined;
30
+ html?: string | null | undefined;
31
+ }, {
32
+ embed_url: string;
33
+ type: string;
34
+ } & {
35
+ version?: string | number | null;
36
+ title?: string | null | undefined;
37
+ author_name?: string | null | undefined;
38
+ author_url?: string | null | undefined;
39
+ provider_name?: string | null | undefined;
40
+ provider_url?: string | null | undefined;
41
+ cache_age?: string | number | null;
42
+ thumbnail_url?: string | null | undefined;
43
+ thumbnail_width?: number | null | undefined;
44
+ thumbnail_height?: number | null | undefined;
45
+ html?: string | null | undefined;
46
+ } & {
47
+ __TYPE__: "EmbedContent";
48
+ }, unknown>, t.ExactC<t.TypeC<{
49
+ __TYPE__: t.LiteralC<"EmbedContent">;
50
+ all: t.UnknownC;
51
+ }>>]>, t.ExactC<t.TypeC<{
52
+ type: t.KeyofC<{
53
+ Text: null;
54
+ Date: null;
55
+ Timestamp: null;
56
+ Color: null;
57
+ Number: null;
58
+ Range: null;
59
+ Select: null;
60
+ }>;
61
+ value: t.Type<string, string, unknown>;
62
+ __TYPE__: t.LiteralC<"FieldContent">;
63
+ }>>, t.IntersectionC<[t.Type<{
64
+ position: {
65
+ lat: number;
66
+ lng: number;
67
+ };
68
+ }, {
69
+ position: {
70
+ lat: number;
71
+ lng: number;
72
+ };
73
+ } & {
74
+ __TYPE__: "GeoPointContent";
75
+ }, unknown>, t.ExactC<t.TypeC<{
76
+ __TYPE__: t.LiteralC<"GeoPointContent">;
77
+ }>>]>, t.IntersectionC<[t.Type<{
78
+ origin: {
79
+ id: string;
80
+ url: string;
81
+ width: number;
82
+ height: number;
83
+ };
84
+ width: number;
85
+ height: number;
86
+ edit: {
87
+ zoom: number;
88
+ crop: {
89
+ x: number;
90
+ y: number;
91
+ };
92
+ background: string;
93
+ };
94
+ } & {
95
+ url?: string;
96
+ credits?: string | null;
97
+ alt?: string | null;
98
+ provider?: string | null | undefined;
99
+ } & {
100
+ thumbnails?: {
101
+ [x: string]: {
102
+ origin: {
103
+ id: string;
104
+ url: string;
105
+ width: number;
106
+ height: number;
107
+ };
108
+ width: number;
109
+ height: number;
110
+ edit: {
111
+ zoom: number;
112
+ crop: {
113
+ x: number;
114
+ y: number;
115
+ };
116
+ background: string;
117
+ };
118
+ } & {
119
+ url?: string;
120
+ credits?: string | null;
121
+ alt?: string | null;
122
+ provider?: string | null | undefined;
123
+ };
124
+ };
125
+ }, {
126
+ origin: {
127
+ id: string;
128
+ url: string;
129
+ width: number;
130
+ height: number;
131
+ };
132
+ width: number;
133
+ height: number;
134
+ edit: {
135
+ zoom: number;
136
+ crop: {
137
+ x: number;
138
+ y: number;
139
+ };
140
+ background: string;
141
+ };
142
+ } & {
143
+ url?: string;
144
+ credits?: string | null;
145
+ alt?: string | null;
146
+ provider?: string | null | undefined;
147
+ } & {
148
+ thumbnails?: {
149
+ [x: string]: {
150
+ origin: {
151
+ id: string;
152
+ url: string;
153
+ width: number;
154
+ height: number;
155
+ };
156
+ width: number;
157
+ height: number;
158
+ edit: {
159
+ zoom: number;
160
+ crop: {
161
+ x: number;
162
+ y: number;
163
+ };
164
+ background: string;
165
+ };
166
+ } & {
167
+ url?: string;
168
+ credits?: string | null;
169
+ alt?: string | null;
170
+ provider?: string | null | undefined;
171
+ };
172
+ };
173
+ } & {
174
+ __TYPE__: "ImageContent";
175
+ }, unknown>, t.ExactC<t.TypeC<{
176
+ __TYPE__: t.LiteralC<"ImageContent">;
177
+ }>>]>, t.ExactC<t.TypeC<{
178
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
179
+ value: t.StringC;
180
+ }>>, t.ExactC<t.TypeC<{
181
+ __TYPE__: t.LiteralC<"LinkContent">;
182
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
183
+ __TYPE__: t.LiteralC<"ImageLink">;
184
+ }>>, t.Type<{
185
+ id: string;
186
+ url: string;
187
+ height: string;
188
+ width: string;
189
+ size: string;
190
+ name: string;
191
+ kind: string;
192
+ } & {
193
+ date?: string | null | undefined;
194
+ }, {
195
+ id: string;
196
+ url: string;
197
+ height: string;
198
+ width: string;
199
+ size: string;
200
+ name: string;
201
+ kind: string;
202
+ } & {
203
+ date?: string | null | undefined;
204
+ } & {
205
+ __TYPE__: "ImageLink";
206
+ }, unknown>]>, t.IntersectionC<[t.Type<{
207
+ id: string;
208
+ url: string;
209
+ name: string;
210
+ kind: string;
211
+ } & {
212
+ date?: string | null | undefined;
213
+ size?: string;
214
+ }, {
215
+ readonly size: string;
216
+ readonly __TYPE__: "FileLink";
217
+ readonly id: string;
218
+ readonly url: string;
219
+ readonly name: string;
220
+ readonly kind: string;
221
+ readonly date?: string | null | undefined;
222
+ }, unknown>, t.ExactC<t.TypeC<{
223
+ __TYPE__: t.LiteralC<"FileLink">;
224
+ size: t.StringC;
225
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
226
+ __TYPE__: t.LiteralC<"DocumentLink">;
227
+ }>>, t.Type<{
228
+ id: string;
229
+ }, {
230
+ id: string;
231
+ } & {
232
+ __TYPE__: "DocumentLink";
233
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
234
+ __TYPE__: t.LiteralC<"ExternalLink">;
235
+ }>>, t.Type<{
236
+ url: string;
237
+ } & {
238
+ kind?: "web";
239
+ target?: string | null | undefined;
240
+ preview?: {
241
+ title?: string;
242
+ } | null | undefined;
243
+ }, {
244
+ url: string;
245
+ } & {
246
+ kind?: "web";
247
+ target?: string | null | undefined;
248
+ preview?: {
249
+ title?: string;
250
+ } | null | undefined;
251
+ } & {
252
+ __TYPE__: "ExternalLink";
253
+ }, unknown>]>]>;
254
+ }>>, t.ExactC<t.TypeC<{
255
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
256
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
257
+ type: t.LiteralC<"image">;
258
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
259
+ origin: t.ExactC<t.TypeC<{
260
+ id: t.StringC;
261
+ url: t.StringC;
262
+ width: t.NumberC;
263
+ height: t.NumberC;
264
+ }>>;
265
+ width: t.NumberC;
266
+ height: t.NumberC;
267
+ edit: t.TypeC<{
268
+ zoom: t.NumberC;
269
+ crop: t.TypeC<{
270
+ x: t.NumberC;
271
+ y: t.NumberC;
272
+ }>;
273
+ background: t.StringC;
274
+ }>;
275
+ }>, t.PartialC<{
276
+ url: t.StringC;
277
+ credits: t.Type<string | null, string | null, unknown>;
278
+ alt: t.Type<string | null, string | null, unknown>;
279
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
280
+ }>]>>, t.PartialC<{
281
+ linkTo: t.UnionC<[t.Type<{
282
+ id: string;
283
+ } | ({
284
+ url: string;
285
+ } & {
286
+ kind?: "web";
287
+ target?: string | null | undefined;
288
+ preview?: {
289
+ title?: string;
290
+ } | null | undefined;
291
+ }) | ({
292
+ id: string;
293
+ url: string;
294
+ name: string;
295
+ kind: string;
296
+ } & {
297
+ date?: string | null | undefined;
298
+ size?: string;
299
+ }) | ({
300
+ id: string;
301
+ url: string;
302
+ height: string;
303
+ width: string;
304
+ size: string;
305
+ name: string;
306
+ kind: string;
307
+ } & {
308
+ date?: string | null | undefined;
309
+ }), ({
310
+ id: string;
311
+ } & {
312
+ __TYPE__: "DocumentLink";
313
+ }) | ({
314
+ url: string;
315
+ } & {
316
+ kind?: "web";
317
+ target?: string | null | undefined;
318
+ preview?: {
319
+ title?: string;
320
+ } | null | undefined;
321
+ } & {
322
+ __TYPE__: "ExternalLink";
323
+ }) | {
324
+ readonly size: string;
325
+ readonly __TYPE__: "FileLink";
326
+ readonly id: string;
327
+ readonly url: string;
328
+ readonly name: string;
329
+ readonly kind: string;
330
+ readonly date?: string | null | undefined;
331
+ } | ({
332
+ id: string;
333
+ url: string;
334
+ height: string;
335
+ width: string;
336
+ size: string;
337
+ name: string;
338
+ kind: string;
339
+ } & {
340
+ date?: string | null | undefined;
341
+ } & {
342
+ __TYPE__: "ImageLink";
343
+ }), unknown>, t.NullC, t.UndefinedC]>;
344
+ }>]>;
345
+ }>, t.PartialC<{
346
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
347
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
348
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
349
+ type: t.LiteralC<"embed">;
350
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
351
+ }>, t.PartialC<{
352
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
353
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
354
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
355
+ 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>;
356
+ content: t.IntersectionC<[t.TypeC<{
357
+ text: t.StringC;
358
+ }>, t.PartialC<{
359
+ spans: t.Type<({
360
+ data?: unknown;
361
+ } & {
362
+ start: number;
363
+ end: number;
364
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
365
+ })[], ({
366
+ data?: unknown;
367
+ } & {
368
+ start: number;
369
+ end: number;
370
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
371
+ })[], unknown>;
372
+ }>]>;
373
+ }>, t.PartialC<{
374
+ label: t.StringC;
375
+ direction: t.StringC;
376
+ }>]>>]>>;
377
+ }>>, t.ExactC<t.TypeC<{
378
+ __TYPE__: t.LiteralC<"SeparatorContent">;
379
+ }>>]>>;
380
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
381
+ __TYPE__: t.LiteralC<"GroupItemContent">;
382
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
383
+ __TYPE__: t.LiteralC<"BooleanContent">;
384
+ value: t.BooleanC;
385
+ }>>, t.IntersectionC<[t.Type<{
386
+ embed_url: string;
387
+ type: string;
388
+ } & {
389
+ version?: string | number | null;
390
+ title?: string | null | undefined;
391
+ author_name?: string | null | undefined;
392
+ author_url?: string | null | undefined;
393
+ provider_name?: string | null | undefined;
394
+ provider_url?: string | null | undefined;
395
+ cache_age?: string | number | null;
396
+ thumbnail_url?: string | null | undefined;
397
+ thumbnail_width?: number | null | undefined;
398
+ thumbnail_height?: number | null | undefined;
399
+ html?: string | null | undefined;
400
+ }, {
401
+ embed_url: string;
402
+ type: string;
403
+ } & {
404
+ version?: string | number | null;
405
+ title?: string | null | undefined;
406
+ author_name?: string | null | undefined;
407
+ author_url?: string | null | undefined;
408
+ provider_name?: string | null | undefined;
409
+ provider_url?: string | null | undefined;
410
+ cache_age?: string | number | null;
411
+ thumbnail_url?: string | null | undefined;
412
+ thumbnail_width?: number | null | undefined;
413
+ thumbnail_height?: number | null | undefined;
414
+ html?: string | null | undefined;
415
+ } & {
416
+ __TYPE__: "EmbedContent";
417
+ }, unknown>, t.ExactC<t.TypeC<{
418
+ __TYPE__: t.LiteralC<"EmbedContent">;
419
+ all: t.UnknownC;
420
+ }>>]>, t.ExactC<t.TypeC<{
421
+ type: t.KeyofC<{
422
+ Text: null;
423
+ Date: null;
424
+ Timestamp: null;
425
+ Color: null;
426
+ Number: null;
427
+ Range: null;
428
+ Select: null;
429
+ }>;
430
+ value: t.Type<string, string, unknown>;
431
+ __TYPE__: t.LiteralC<"FieldContent">;
432
+ }>>, t.IntersectionC<[t.Type<{
433
+ position: {
434
+ lat: number;
435
+ lng: number;
436
+ };
437
+ }, {
438
+ position: {
439
+ lat: number;
440
+ lng: number;
441
+ };
442
+ } & {
443
+ __TYPE__: "GeoPointContent";
444
+ }, unknown>, t.ExactC<t.TypeC<{
445
+ __TYPE__: t.LiteralC<"GeoPointContent">;
446
+ }>>]>, t.IntersectionC<[t.Type<{
447
+ origin: {
448
+ id: string;
449
+ url: string;
450
+ width: number;
451
+ height: number;
452
+ };
453
+ width: number;
454
+ height: number;
455
+ edit: {
456
+ zoom: number;
457
+ crop: {
458
+ x: number;
459
+ y: number;
460
+ };
461
+ background: string;
462
+ };
463
+ } & {
464
+ url?: string;
465
+ credits?: string | null;
466
+ alt?: string | null;
467
+ provider?: string | null | undefined;
468
+ } & {
469
+ thumbnails?: {
470
+ [x: string]: {
471
+ origin: {
472
+ id: string;
473
+ url: string;
474
+ width: number;
475
+ height: number;
476
+ };
477
+ width: number;
478
+ height: number;
479
+ edit: {
480
+ zoom: number;
481
+ crop: {
482
+ x: number;
483
+ y: number;
484
+ };
485
+ background: string;
486
+ };
487
+ } & {
488
+ url?: string;
489
+ credits?: string | null;
490
+ alt?: string | null;
491
+ provider?: string | null | undefined;
492
+ };
493
+ };
494
+ }, {
495
+ origin: {
496
+ id: string;
497
+ url: string;
498
+ width: number;
499
+ height: number;
500
+ };
501
+ width: number;
502
+ height: number;
503
+ edit: {
504
+ zoom: number;
505
+ crop: {
506
+ x: number;
507
+ y: number;
508
+ };
509
+ background: string;
510
+ };
511
+ } & {
512
+ url?: string;
513
+ credits?: string | null;
514
+ alt?: string | null;
515
+ provider?: string | null | undefined;
516
+ } & {
517
+ thumbnails?: {
518
+ [x: string]: {
519
+ origin: {
520
+ id: string;
521
+ url: string;
522
+ width: number;
523
+ height: number;
524
+ };
525
+ width: number;
526
+ height: number;
527
+ edit: {
528
+ zoom: number;
529
+ crop: {
530
+ x: number;
531
+ y: number;
532
+ };
533
+ background: string;
534
+ };
535
+ } & {
536
+ url?: string;
537
+ credits?: string | null;
538
+ alt?: string | null;
539
+ provider?: string | null | undefined;
540
+ };
541
+ };
542
+ } & {
543
+ __TYPE__: "ImageContent";
544
+ }, unknown>, t.ExactC<t.TypeC<{
545
+ __TYPE__: t.LiteralC<"ImageContent">;
546
+ }>>]>, t.ExactC<t.TypeC<{
547
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
548
+ value: t.StringC;
549
+ }>>, t.ExactC<t.TypeC<{
550
+ __TYPE__: t.LiteralC<"LinkContent">;
551
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
552
+ __TYPE__: t.LiteralC<"ImageLink">;
553
+ }>>, t.Type<{
554
+ id: string;
555
+ url: string;
556
+ height: string;
557
+ width: string;
558
+ size: string;
559
+ name: string;
560
+ kind: string;
561
+ } & {
562
+ date?: string | null | undefined;
563
+ }, {
564
+ id: string;
565
+ url: string;
566
+ height: string;
567
+ width: string;
568
+ size: string;
569
+ name: string;
570
+ kind: string;
571
+ } & {
572
+ date?: string | null | undefined;
573
+ } & {
574
+ __TYPE__: "ImageLink";
575
+ }, unknown>]>, t.IntersectionC<[t.Type<{
576
+ id: string;
577
+ url: string;
578
+ name: string;
579
+ kind: string;
580
+ } & {
581
+ date?: string | null | undefined;
582
+ size?: string;
583
+ }, {
584
+ readonly size: string;
585
+ readonly __TYPE__: "FileLink";
586
+ readonly id: string;
587
+ readonly url: string;
588
+ readonly name: string;
589
+ readonly kind: string;
590
+ readonly date?: string | null | undefined;
591
+ }, unknown>, t.ExactC<t.TypeC<{
592
+ __TYPE__: t.LiteralC<"FileLink">;
593
+ size: t.StringC;
594
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
595
+ __TYPE__: t.LiteralC<"DocumentLink">;
596
+ }>>, t.Type<{
597
+ id: string;
598
+ }, {
599
+ id: string;
600
+ } & {
601
+ __TYPE__: "DocumentLink";
602
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
603
+ __TYPE__: t.LiteralC<"ExternalLink">;
604
+ }>>, t.Type<{
605
+ url: string;
606
+ } & {
607
+ kind?: "web";
608
+ target?: string | null | undefined;
609
+ preview?: {
610
+ title?: string;
611
+ } | null | undefined;
612
+ }, {
613
+ url: string;
614
+ } & {
615
+ kind?: "web";
616
+ target?: string | null | undefined;
617
+ preview?: {
618
+ title?: string;
619
+ } | null | undefined;
620
+ } & {
621
+ __TYPE__: "ExternalLink";
622
+ }, unknown>]>]>;
623
+ }>>, t.ExactC<t.TypeC<{
624
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
625
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
626
+ type: t.LiteralC<"image">;
627
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
628
+ origin: t.ExactC<t.TypeC<{
629
+ id: t.StringC;
630
+ url: t.StringC;
631
+ width: t.NumberC;
632
+ height: t.NumberC;
633
+ }>>;
634
+ width: t.NumberC;
635
+ height: t.NumberC;
636
+ edit: t.TypeC<{
637
+ zoom: t.NumberC;
638
+ crop: t.TypeC<{
639
+ x: t.NumberC;
640
+ y: t.NumberC;
641
+ }>;
642
+ background: t.StringC;
643
+ }>;
644
+ }>, t.PartialC<{
645
+ url: t.StringC;
646
+ credits: t.Type<string | null, string | null, unknown>;
647
+ alt: t.Type<string | null, string | null, unknown>;
648
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
649
+ }>]>>, t.PartialC<{
650
+ linkTo: t.UnionC<[t.Type<{
651
+ id: string;
652
+ } | ({
653
+ url: string;
654
+ } & {
655
+ kind?: "web";
656
+ target?: string | null | undefined;
657
+ preview?: {
658
+ title?: string;
659
+ } | null | undefined;
660
+ }) | ({
661
+ id: string;
662
+ url: string;
663
+ name: string;
664
+ kind: string;
665
+ } & {
666
+ date?: string | null | undefined;
667
+ size?: string;
668
+ }) | ({
669
+ id: string;
670
+ url: string;
671
+ height: string;
672
+ width: string;
673
+ size: string;
674
+ name: string;
675
+ kind: string;
676
+ } & {
677
+ date?: string | null | undefined;
678
+ }), ({
679
+ id: string;
680
+ } & {
681
+ __TYPE__: "DocumentLink";
682
+ }) | ({
683
+ url: string;
684
+ } & {
685
+ kind?: "web";
686
+ target?: string | null | undefined;
687
+ preview?: {
688
+ title?: string;
689
+ } | null | undefined;
690
+ } & {
691
+ __TYPE__: "ExternalLink";
692
+ }) | {
693
+ readonly size: string;
694
+ readonly __TYPE__: "FileLink";
695
+ readonly id: string;
696
+ readonly url: string;
697
+ readonly name: string;
698
+ readonly kind: string;
699
+ readonly date?: string | null | undefined;
700
+ } | ({
701
+ id: string;
702
+ url: string;
703
+ height: string;
704
+ width: string;
705
+ size: string;
706
+ name: string;
707
+ kind: string;
708
+ } & {
709
+ date?: string | null | undefined;
710
+ } & {
711
+ __TYPE__: "ImageLink";
712
+ }), unknown>, t.NullC, t.UndefinedC]>;
713
+ }>]>;
714
+ }>, t.PartialC<{
715
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
716
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
717
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
718
+ type: t.LiteralC<"embed">;
719
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
720
+ }>, t.PartialC<{
721
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
722
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
723
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
724
+ 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>;
725
+ content: t.IntersectionC<[t.TypeC<{
726
+ text: t.StringC;
727
+ }>, t.PartialC<{
728
+ spans: t.Type<({
729
+ data?: unknown;
730
+ } & {
731
+ start: number;
732
+ end: number;
733
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
734
+ })[], ({
735
+ data?: unknown;
736
+ } & {
737
+ start: number;
738
+ end: number;
739
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
740
+ })[], unknown>;
741
+ }>]>;
742
+ }>, t.PartialC<{
743
+ label: t.StringC;
744
+ direction: t.StringC;
745
+ }>]>>]>>;
746
+ }>>, t.ExactC<t.TypeC<{
747
+ __TYPE__: t.LiteralC<"SeparatorContent">;
748
+ }>>]>]>>;
749
+ }>>>;
750
+ }>>, t.ExactC<t.TypeC<{
751
+ __TYPE__: t.LiteralC<"SharedSliceContent">;
752
+ variation: t.StringC;
753
+ primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
754
+ __TYPE__: t.LiteralC<"BooleanContent">;
755
+ value: t.BooleanC;
756
+ }>>, t.IntersectionC<[t.Type<{
757
+ embed_url: string;
758
+ type: string;
759
+ } & {
760
+ version?: string | number | null;
761
+ title?: string | null | undefined;
762
+ author_name?: string | null | undefined;
763
+ author_url?: string | null | undefined;
764
+ provider_name?: string | null | undefined;
765
+ provider_url?: string | null | undefined;
766
+ cache_age?: string | number | null;
767
+ thumbnail_url?: string | null | undefined;
768
+ thumbnail_width?: number | null | undefined;
769
+ thumbnail_height?: number | null | undefined;
770
+ html?: string | null | undefined;
771
+ }, {
772
+ embed_url: string;
773
+ type: string;
774
+ } & {
775
+ version?: string | number | null;
776
+ title?: string | null | undefined;
777
+ author_name?: string | null | undefined;
778
+ author_url?: string | null | undefined;
779
+ provider_name?: string | null | undefined;
780
+ provider_url?: string | null | undefined;
781
+ cache_age?: string | number | null;
782
+ thumbnail_url?: string | null | undefined;
783
+ thumbnail_width?: number | null | undefined;
784
+ thumbnail_height?: number | null | undefined;
785
+ html?: string | null | undefined;
786
+ } & {
787
+ __TYPE__: "EmbedContent";
788
+ }, unknown>, t.ExactC<t.TypeC<{
789
+ __TYPE__: t.LiteralC<"EmbedContent">;
790
+ all: t.UnknownC;
791
+ }>>]>, t.ExactC<t.TypeC<{
792
+ type: t.KeyofC<{
793
+ Text: null;
794
+ Date: null;
795
+ Timestamp: null;
796
+ Color: null;
797
+ Number: null;
798
+ Range: null;
799
+ Select: null;
800
+ }>;
801
+ value: t.Type<string, string, unknown>;
802
+ __TYPE__: t.LiteralC<"FieldContent">;
803
+ }>>, t.IntersectionC<[t.Type<{
804
+ position: {
805
+ lat: number;
806
+ lng: number;
807
+ };
808
+ }, {
809
+ position: {
810
+ lat: number;
811
+ lng: number;
812
+ };
813
+ } & {
814
+ __TYPE__: "GeoPointContent";
815
+ }, unknown>, t.ExactC<t.TypeC<{
816
+ __TYPE__: t.LiteralC<"GeoPointContent">;
817
+ }>>]>, t.IntersectionC<[t.Type<{
818
+ origin: {
819
+ id: string;
820
+ url: string;
821
+ width: number;
822
+ height: number;
823
+ };
824
+ width: number;
825
+ height: number;
826
+ edit: {
827
+ zoom: number;
828
+ crop: {
829
+ x: number;
830
+ y: number;
831
+ };
832
+ background: string;
833
+ };
834
+ } & {
835
+ url?: string;
836
+ credits?: string | null;
837
+ alt?: string | null;
838
+ provider?: string | null | undefined;
839
+ } & {
840
+ thumbnails?: {
841
+ [x: string]: {
842
+ origin: {
843
+ id: string;
844
+ url: string;
845
+ width: number;
846
+ height: number;
847
+ };
848
+ width: number;
849
+ height: number;
850
+ edit: {
851
+ zoom: number;
852
+ crop: {
853
+ x: number;
854
+ y: number;
855
+ };
856
+ background: string;
857
+ };
858
+ } & {
859
+ url?: string;
860
+ credits?: string | null;
861
+ alt?: string | null;
862
+ provider?: string | null | undefined;
863
+ };
864
+ };
865
+ }, {
866
+ origin: {
867
+ id: string;
868
+ url: string;
869
+ width: number;
870
+ height: number;
871
+ };
872
+ width: number;
873
+ height: number;
874
+ edit: {
875
+ zoom: number;
876
+ crop: {
877
+ x: number;
878
+ y: number;
879
+ };
880
+ background: string;
881
+ };
882
+ } & {
883
+ url?: string;
884
+ credits?: string | null;
885
+ alt?: string | null;
886
+ provider?: string | null | undefined;
887
+ } & {
888
+ thumbnails?: {
889
+ [x: string]: {
890
+ origin: {
891
+ id: string;
892
+ url: string;
893
+ width: number;
894
+ height: number;
895
+ };
896
+ width: number;
897
+ height: number;
898
+ edit: {
899
+ zoom: number;
900
+ crop: {
901
+ x: number;
902
+ y: number;
903
+ };
904
+ background: string;
905
+ };
906
+ } & {
907
+ url?: string;
908
+ credits?: string | null;
909
+ alt?: string | null;
910
+ provider?: string | null | undefined;
911
+ };
912
+ };
913
+ } & {
914
+ __TYPE__: "ImageContent";
915
+ }, unknown>, t.ExactC<t.TypeC<{
916
+ __TYPE__: t.LiteralC<"ImageContent">;
917
+ }>>]>, t.ExactC<t.TypeC<{
918
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
919
+ value: t.StringC;
920
+ }>>, t.ExactC<t.TypeC<{
921
+ __TYPE__: t.LiteralC<"LinkContent">;
922
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
923
+ __TYPE__: t.LiteralC<"ImageLink">;
924
+ }>>, t.Type<{
925
+ id: string;
926
+ url: string;
927
+ height: string;
928
+ width: string;
929
+ size: string;
930
+ name: string;
931
+ kind: string;
932
+ } & {
933
+ date?: string | null | undefined;
934
+ }, {
935
+ id: string;
936
+ url: string;
937
+ height: string;
938
+ width: string;
939
+ size: string;
940
+ name: string;
941
+ kind: string;
942
+ } & {
943
+ date?: string | null | undefined;
944
+ } & {
945
+ __TYPE__: "ImageLink";
946
+ }, unknown>]>, t.IntersectionC<[t.Type<{
947
+ id: string;
948
+ url: string;
949
+ name: string;
950
+ kind: string;
951
+ } & {
952
+ date?: string | null | undefined;
953
+ size?: string;
954
+ }, {
955
+ readonly size: string;
956
+ readonly __TYPE__: "FileLink";
957
+ readonly id: string;
958
+ readonly url: string;
959
+ readonly name: string;
960
+ readonly kind: string;
961
+ readonly date?: string | null | undefined;
962
+ }, unknown>, t.ExactC<t.TypeC<{
963
+ __TYPE__: t.LiteralC<"FileLink">;
964
+ size: t.StringC;
965
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
966
+ __TYPE__: t.LiteralC<"DocumentLink">;
967
+ }>>, t.Type<{
968
+ id: string;
969
+ }, {
970
+ id: string;
971
+ } & {
972
+ __TYPE__: "DocumentLink";
973
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
974
+ __TYPE__: t.LiteralC<"ExternalLink">;
975
+ }>>, t.Type<{
976
+ url: string;
977
+ } & {
978
+ kind?: "web";
979
+ target?: string | null | undefined;
980
+ preview?: {
981
+ title?: string;
982
+ } | null | undefined;
983
+ }, {
984
+ url: string;
985
+ } & {
986
+ kind?: "web";
987
+ target?: string | null | undefined;
988
+ preview?: {
989
+ title?: string;
990
+ } | null | undefined;
991
+ } & {
992
+ __TYPE__: "ExternalLink";
993
+ }, unknown>]>]>;
994
+ }>>, t.ExactC<t.TypeC<{
995
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
996
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
997
+ type: t.LiteralC<"image">;
998
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
999
+ origin: t.ExactC<t.TypeC<{
1000
+ id: t.StringC;
1001
+ url: t.StringC;
1002
+ width: t.NumberC;
1003
+ height: t.NumberC;
1004
+ }>>;
1005
+ width: t.NumberC;
1006
+ height: t.NumberC;
1007
+ edit: t.TypeC<{
1008
+ zoom: t.NumberC;
1009
+ crop: t.TypeC<{
1010
+ x: t.NumberC;
1011
+ y: t.NumberC;
1012
+ }>;
1013
+ background: t.StringC;
1014
+ }>;
1015
+ }>, t.PartialC<{
1016
+ url: t.StringC;
1017
+ credits: t.Type<string | null, string | null, unknown>;
1018
+ alt: t.Type<string | null, string | null, unknown>;
1019
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1020
+ }>]>>, t.PartialC<{
1021
+ linkTo: t.UnionC<[t.Type<{
1022
+ id: string;
1023
+ } | ({
1024
+ url: string;
1025
+ } & {
1026
+ kind?: "web";
1027
+ target?: string | null | undefined;
1028
+ preview?: {
1029
+ title?: string;
1030
+ } | null | undefined;
1031
+ }) | ({
1032
+ id: string;
1033
+ url: string;
1034
+ name: string;
1035
+ kind: string;
1036
+ } & {
1037
+ date?: string | null | undefined;
1038
+ size?: string;
1039
+ }) | ({
1040
+ id: string;
1041
+ url: string;
1042
+ height: string;
1043
+ width: string;
1044
+ size: string;
1045
+ name: string;
1046
+ kind: string;
1047
+ } & {
1048
+ date?: string | null | undefined;
1049
+ }), ({
1050
+ id: string;
1051
+ } & {
1052
+ __TYPE__: "DocumentLink";
1053
+ }) | ({
1054
+ url: string;
1055
+ } & {
1056
+ kind?: "web";
1057
+ target?: string | null | undefined;
1058
+ preview?: {
1059
+ title?: string;
1060
+ } | null | undefined;
1061
+ } & {
1062
+ __TYPE__: "ExternalLink";
1063
+ }) | {
1064
+ readonly size: string;
1065
+ readonly __TYPE__: "FileLink";
1066
+ readonly id: string;
1067
+ readonly url: string;
1068
+ readonly name: string;
1069
+ readonly kind: string;
1070
+ readonly date?: string | null | undefined;
1071
+ } | ({
1072
+ id: string;
1073
+ url: string;
1074
+ height: string;
1075
+ width: string;
1076
+ size: string;
1077
+ name: string;
1078
+ kind: string;
1079
+ } & {
1080
+ date?: string | null | undefined;
1081
+ } & {
1082
+ __TYPE__: "ImageLink";
1083
+ }), unknown>, t.NullC, t.UndefinedC]>;
1084
+ }>]>;
1085
+ }>, t.PartialC<{
1086
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1087
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1088
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1089
+ type: t.LiteralC<"embed">;
1090
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1091
+ }>, t.PartialC<{
1092
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1093
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1094
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1095
+ 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>;
1096
+ content: t.IntersectionC<[t.TypeC<{
1097
+ text: t.StringC;
1098
+ }>, t.PartialC<{
1099
+ spans: t.Type<({
1100
+ data?: unknown;
1101
+ } & {
1102
+ start: number;
1103
+ end: number;
1104
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1105
+ })[], ({
1106
+ data?: unknown;
1107
+ } & {
1108
+ start: number;
1109
+ end: number;
1110
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1111
+ })[], unknown>;
1112
+ }>]>;
1113
+ }>, t.PartialC<{
1114
+ label: t.StringC;
1115
+ direction: t.StringC;
1116
+ }>]>>]>>;
1117
+ }>>, t.ExactC<t.TypeC<{
1118
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1119
+ }>>]>>;
1120
+ items: t.ArrayC<t.ExactC<t.TypeC<{
1121
+ __TYPE__: t.LiteralC<"GroupItemContent">;
1122
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1123
+ __TYPE__: t.LiteralC<"BooleanContent">;
1124
+ value: t.BooleanC;
1125
+ }>>, t.IntersectionC<[t.Type<{
1126
+ embed_url: string;
1127
+ type: string;
1128
+ } & {
1129
+ version?: string | number | null;
1130
+ title?: string | null | undefined;
1131
+ author_name?: string | null | undefined;
1132
+ author_url?: string | null | undefined;
1133
+ provider_name?: string | null | undefined;
1134
+ provider_url?: string | null | undefined;
1135
+ cache_age?: string | number | null;
1136
+ thumbnail_url?: string | null | undefined;
1137
+ thumbnail_width?: number | null | undefined;
1138
+ thumbnail_height?: number | null | undefined;
1139
+ html?: string | null | undefined;
1140
+ }, {
1141
+ embed_url: string;
1142
+ type: string;
1143
+ } & {
1144
+ version?: string | number | null;
1145
+ title?: string | null | undefined;
1146
+ author_name?: string | null | undefined;
1147
+ author_url?: string | null | undefined;
1148
+ provider_name?: string | null | undefined;
1149
+ provider_url?: string | null | undefined;
1150
+ cache_age?: string | number | null;
1151
+ thumbnail_url?: string | null | undefined;
1152
+ thumbnail_width?: number | null | undefined;
1153
+ thumbnail_height?: number | null | undefined;
1154
+ html?: string | null | undefined;
1155
+ } & {
1156
+ __TYPE__: "EmbedContent";
1157
+ }, unknown>, t.ExactC<t.TypeC<{
1158
+ __TYPE__: t.LiteralC<"EmbedContent">;
1159
+ all: t.UnknownC;
1160
+ }>>]>, t.ExactC<t.TypeC<{
1161
+ type: t.KeyofC<{
1162
+ Text: null;
1163
+ Date: null;
1164
+ Timestamp: null;
1165
+ Color: null;
1166
+ Number: null;
1167
+ Range: null;
1168
+ Select: null;
1169
+ }>;
1170
+ value: t.Type<string, string, unknown>;
1171
+ __TYPE__: t.LiteralC<"FieldContent">;
1172
+ }>>, t.IntersectionC<[t.Type<{
1173
+ position: {
1174
+ lat: number;
1175
+ lng: number;
1176
+ };
1177
+ }, {
1178
+ position: {
1179
+ lat: number;
1180
+ lng: number;
1181
+ };
1182
+ } & {
1183
+ __TYPE__: "GeoPointContent";
1184
+ }, unknown>, t.ExactC<t.TypeC<{
1185
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1186
+ }>>]>, t.IntersectionC<[t.Type<{
1187
+ origin: {
1188
+ id: string;
1189
+ url: string;
1190
+ width: number;
1191
+ height: number;
1192
+ };
1193
+ width: number;
1194
+ height: number;
1195
+ edit: {
1196
+ zoom: number;
1197
+ crop: {
1198
+ x: number;
1199
+ y: number;
1200
+ };
1201
+ background: string;
1202
+ };
1203
+ } & {
1204
+ url?: string;
1205
+ credits?: string | null;
1206
+ alt?: string | null;
1207
+ provider?: string | null | undefined;
1208
+ } & {
1209
+ thumbnails?: {
1210
+ [x: string]: {
1211
+ origin: {
1212
+ id: string;
1213
+ url: string;
1214
+ width: number;
1215
+ height: number;
1216
+ };
1217
+ width: number;
1218
+ height: number;
1219
+ edit: {
1220
+ zoom: number;
1221
+ crop: {
1222
+ x: number;
1223
+ y: number;
1224
+ };
1225
+ background: string;
1226
+ };
1227
+ } & {
1228
+ url?: string;
1229
+ credits?: string | null;
1230
+ alt?: string | null;
1231
+ provider?: string | null | undefined;
1232
+ };
1233
+ };
1234
+ }, {
1235
+ origin: {
1236
+ id: string;
1237
+ url: string;
1238
+ width: number;
1239
+ height: number;
1240
+ };
1241
+ width: number;
1242
+ height: number;
1243
+ edit: {
1244
+ zoom: number;
1245
+ crop: {
1246
+ x: number;
1247
+ y: number;
1248
+ };
1249
+ background: string;
1250
+ };
1251
+ } & {
1252
+ url?: string;
1253
+ credits?: string | null;
1254
+ alt?: string | null;
1255
+ provider?: string | null | undefined;
1256
+ } & {
1257
+ thumbnails?: {
1258
+ [x: string]: {
1259
+ origin: {
1260
+ id: string;
1261
+ url: string;
1262
+ width: number;
1263
+ height: number;
1264
+ };
1265
+ width: number;
1266
+ height: number;
1267
+ edit: {
1268
+ zoom: number;
1269
+ crop: {
1270
+ x: number;
1271
+ y: number;
1272
+ };
1273
+ background: string;
1274
+ };
1275
+ } & {
1276
+ url?: string;
1277
+ credits?: string | null;
1278
+ alt?: string | null;
1279
+ provider?: string | null | undefined;
1280
+ };
1281
+ };
1282
+ } & {
1283
+ __TYPE__: "ImageContent";
1284
+ }, unknown>, t.ExactC<t.TypeC<{
1285
+ __TYPE__: t.LiteralC<"ImageContent">;
1286
+ }>>]>, t.ExactC<t.TypeC<{
1287
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
1288
+ value: t.StringC;
1289
+ }>>, t.ExactC<t.TypeC<{
1290
+ __TYPE__: t.LiteralC<"LinkContent">;
1291
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1292
+ __TYPE__: t.LiteralC<"ImageLink">;
1293
+ }>>, t.Type<{
1294
+ id: string;
1295
+ url: string;
1296
+ height: string;
1297
+ width: string;
1298
+ size: string;
1299
+ name: string;
1300
+ kind: string;
1301
+ } & {
1302
+ date?: string | null | undefined;
1303
+ }, {
1304
+ id: string;
1305
+ url: string;
1306
+ height: string;
1307
+ width: string;
1308
+ size: string;
1309
+ name: string;
1310
+ kind: string;
1311
+ } & {
1312
+ date?: string | null | undefined;
1313
+ } & {
1314
+ __TYPE__: "ImageLink";
1315
+ }, unknown>]>, t.IntersectionC<[t.Type<{
1316
+ id: string;
1317
+ url: string;
1318
+ name: string;
1319
+ kind: string;
1320
+ } & {
1321
+ date?: string | null | undefined;
1322
+ size?: string;
1323
+ }, {
1324
+ readonly size: string;
1325
+ readonly __TYPE__: "FileLink";
1326
+ readonly id: string;
1327
+ readonly url: string;
1328
+ readonly name: string;
1329
+ readonly kind: string;
1330
+ readonly date?: string | null | undefined;
1331
+ }, unknown>, t.ExactC<t.TypeC<{
1332
+ __TYPE__: t.LiteralC<"FileLink">;
1333
+ size: t.StringC;
1334
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1335
+ __TYPE__: t.LiteralC<"DocumentLink">;
1336
+ }>>, t.Type<{
1337
+ id: string;
1338
+ }, {
1339
+ id: string;
1340
+ } & {
1341
+ __TYPE__: "DocumentLink";
1342
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1343
+ __TYPE__: t.LiteralC<"ExternalLink">;
1344
+ }>>, t.Type<{
1345
+ url: string;
1346
+ } & {
1347
+ kind?: "web";
1348
+ target?: string | null | undefined;
1349
+ preview?: {
1350
+ title?: string;
1351
+ } | null | undefined;
1352
+ }, {
1353
+ url: string;
1354
+ } & {
1355
+ kind?: "web";
1356
+ target?: string | null | undefined;
1357
+ preview?: {
1358
+ title?: string;
1359
+ } | null | undefined;
1360
+ } & {
1361
+ __TYPE__: "ExternalLink";
1362
+ }, unknown>]>]>;
1363
+ }>>, t.ExactC<t.TypeC<{
1364
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1365
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1366
+ type: t.LiteralC<"image">;
1367
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1368
+ origin: t.ExactC<t.TypeC<{
1369
+ id: t.StringC;
1370
+ url: t.StringC;
1371
+ width: t.NumberC;
1372
+ height: t.NumberC;
1373
+ }>>;
1374
+ width: t.NumberC;
1375
+ height: t.NumberC;
1376
+ edit: t.TypeC<{
1377
+ zoom: t.NumberC;
1378
+ crop: t.TypeC<{
1379
+ x: t.NumberC;
1380
+ y: t.NumberC;
1381
+ }>;
1382
+ background: t.StringC;
1383
+ }>;
1384
+ }>, t.PartialC<{
1385
+ url: t.StringC;
1386
+ credits: t.Type<string | null, string | null, unknown>;
1387
+ alt: t.Type<string | null, string | null, unknown>;
1388
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1389
+ }>]>>, t.PartialC<{
1390
+ linkTo: t.UnionC<[t.Type<{
1391
+ id: string;
1392
+ } | ({
1393
+ url: string;
1394
+ } & {
1395
+ kind?: "web";
1396
+ target?: string | null | undefined;
1397
+ preview?: {
1398
+ title?: string;
1399
+ } | null | undefined;
1400
+ }) | ({
1401
+ id: string;
1402
+ url: string;
1403
+ name: string;
1404
+ kind: string;
1405
+ } & {
1406
+ date?: string | null | undefined;
1407
+ size?: string;
1408
+ }) | ({
1409
+ id: string;
1410
+ url: string;
1411
+ height: string;
1412
+ width: string;
1413
+ size: string;
1414
+ name: string;
1415
+ kind: string;
1416
+ } & {
1417
+ date?: string | null | undefined;
1418
+ }), ({
1419
+ id: string;
1420
+ } & {
1421
+ __TYPE__: "DocumentLink";
1422
+ }) | ({
1423
+ url: string;
1424
+ } & {
1425
+ kind?: "web";
1426
+ target?: string | null | undefined;
1427
+ preview?: {
1428
+ title?: string;
1429
+ } | null | undefined;
1430
+ } & {
1431
+ __TYPE__: "ExternalLink";
1432
+ }) | {
1433
+ readonly size: string;
1434
+ readonly __TYPE__: "FileLink";
1435
+ readonly id: string;
1436
+ readonly url: string;
1437
+ readonly name: string;
1438
+ readonly kind: string;
1439
+ readonly date?: string | null | undefined;
1440
+ } | ({
1441
+ id: string;
1442
+ url: string;
1443
+ height: string;
1444
+ width: string;
1445
+ size: string;
1446
+ name: string;
1447
+ kind: string;
1448
+ } & {
1449
+ date?: string | null | undefined;
1450
+ } & {
1451
+ __TYPE__: "ImageLink";
1452
+ }), unknown>, t.NullC, t.UndefinedC]>;
1453
+ }>]>;
1454
+ }>, t.PartialC<{
1455
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1456
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1457
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1458
+ type: t.LiteralC<"embed">;
1459
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1460
+ }>, t.PartialC<{
1461
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1462
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1463
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1464
+ 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>;
1465
+ content: t.IntersectionC<[t.TypeC<{
1466
+ text: t.StringC;
1467
+ }>, t.PartialC<{
1468
+ spans: t.Type<({
1469
+ data?: unknown;
1470
+ } & {
1471
+ start: number;
1472
+ end: number;
1473
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1474
+ })[], ({
1475
+ data?: unknown;
1476
+ } & {
1477
+ start: number;
1478
+ end: number;
1479
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1480
+ })[], unknown>;
1481
+ }>]>;
1482
+ }>, t.PartialC<{
1483
+ label: t.StringC;
1484
+ direction: t.StringC;
1485
+ }>]>>]>>;
1486
+ }>>, t.ExactC<t.TypeC<{
1487
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1488
+ }>>]>]>>;
1489
+ }>>>;
1490
+ }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
1491
+ __TYPE__: t.LiteralC<"BooleanContent">;
1492
+ value: t.BooleanC;
1493
+ }>>, t.IntersectionC<[t.Type<{
1494
+ embed_url: string;
1495
+ type: string;
1496
+ } & {
1497
+ version?: string | number | null;
1498
+ title?: string | null | undefined;
1499
+ author_name?: string | null | undefined;
1500
+ author_url?: string | null | undefined;
1501
+ provider_name?: string | null | undefined;
1502
+ provider_url?: string | null | undefined;
1503
+ cache_age?: string | number | null;
1504
+ thumbnail_url?: string | null | undefined;
1505
+ thumbnail_width?: number | null | undefined;
1506
+ thumbnail_height?: number | null | undefined;
1507
+ html?: string | null | undefined;
1508
+ }, {
1509
+ embed_url: string;
1510
+ type: string;
1511
+ } & {
1512
+ version?: string | number | null;
1513
+ title?: string | null | undefined;
1514
+ author_name?: string | null | undefined;
1515
+ author_url?: string | null | undefined;
1516
+ provider_name?: string | null | undefined;
1517
+ provider_url?: string | null | undefined;
1518
+ cache_age?: string | number | null;
1519
+ thumbnail_url?: string | null | undefined;
1520
+ thumbnail_width?: number | null | undefined;
1521
+ thumbnail_height?: number | null | undefined;
1522
+ html?: string | null | undefined;
1523
+ } & {
1524
+ __TYPE__: "EmbedContent";
1525
+ }, unknown>, t.ExactC<t.TypeC<{
1526
+ __TYPE__: t.LiteralC<"EmbedContent">;
1527
+ all: t.UnknownC;
1528
+ }>>]>, t.ExactC<t.TypeC<{
1529
+ type: t.KeyofC<{
1530
+ Text: null;
1531
+ Date: null;
1532
+ Timestamp: null;
1533
+ Color: null;
1534
+ Number: null;
1535
+ Range: null;
1536
+ Select: null;
1537
+ }>;
1538
+ value: t.Type<string, string, unknown>;
1539
+ __TYPE__: t.LiteralC<"FieldContent">;
1540
+ }>>, t.IntersectionC<[t.Type<{
1541
+ position: {
1542
+ lat: number;
1543
+ lng: number;
1544
+ };
1545
+ }, {
1546
+ position: {
1547
+ lat: number;
1548
+ lng: number;
1549
+ };
1550
+ } & {
1551
+ __TYPE__: "GeoPointContent";
1552
+ }, unknown>, t.ExactC<t.TypeC<{
1553
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1554
+ }>>]>, t.IntersectionC<[t.Type<{
1555
+ origin: {
1556
+ id: string;
1557
+ url: string;
1558
+ width: number;
1559
+ height: number;
1560
+ };
1561
+ width: number;
1562
+ height: number;
1563
+ edit: {
1564
+ zoom: number;
1565
+ crop: {
1566
+ x: number;
1567
+ y: number;
1568
+ };
1569
+ background: string;
1570
+ };
1571
+ } & {
1572
+ url?: string;
1573
+ credits?: string | null;
1574
+ alt?: string | null;
1575
+ provider?: string | null | undefined;
1576
+ } & {
1577
+ thumbnails?: {
1578
+ [x: string]: {
1579
+ origin: {
1580
+ id: string;
1581
+ url: string;
1582
+ width: number;
1583
+ height: number;
1584
+ };
1585
+ width: number;
1586
+ height: number;
1587
+ edit: {
1588
+ zoom: number;
1589
+ crop: {
1590
+ x: number;
1591
+ y: number;
1592
+ };
1593
+ background: string;
1594
+ };
1595
+ } & {
1596
+ url?: string;
1597
+ credits?: string | null;
1598
+ alt?: string | null;
1599
+ provider?: string | null | undefined;
1600
+ };
1601
+ };
1602
+ }, {
1603
+ origin: {
1604
+ id: string;
1605
+ url: string;
1606
+ width: number;
1607
+ height: number;
1608
+ };
1609
+ width: number;
1610
+ height: number;
1611
+ edit: {
1612
+ zoom: number;
1613
+ crop: {
1614
+ x: number;
1615
+ y: number;
1616
+ };
1617
+ background: string;
1618
+ };
1619
+ } & {
1620
+ url?: string;
1621
+ credits?: string | null;
1622
+ alt?: string | null;
1623
+ provider?: string | null | undefined;
1624
+ } & {
1625
+ thumbnails?: {
1626
+ [x: string]: {
1627
+ origin: {
1628
+ id: string;
1629
+ url: string;
1630
+ width: number;
1631
+ height: number;
1632
+ };
1633
+ width: number;
1634
+ height: number;
1635
+ edit: {
1636
+ zoom: number;
1637
+ crop: {
1638
+ x: number;
1639
+ y: number;
1640
+ };
1641
+ background: string;
1642
+ };
1643
+ } & {
1644
+ url?: string;
1645
+ credits?: string | null;
1646
+ alt?: string | null;
1647
+ provider?: string | null | undefined;
1648
+ };
1649
+ };
1650
+ } & {
1651
+ __TYPE__: "ImageContent";
1652
+ }, unknown>, t.ExactC<t.TypeC<{
1653
+ __TYPE__: t.LiteralC<"ImageContent">;
1654
+ }>>]>, t.ExactC<t.TypeC<{
1655
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
1656
+ value: t.StringC;
1657
+ }>>, t.ExactC<t.TypeC<{
1658
+ __TYPE__: t.LiteralC<"LinkContent">;
1659
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1660
+ __TYPE__: t.LiteralC<"ImageLink">;
1661
+ }>>, t.Type<{
1662
+ id: string;
1663
+ url: string;
1664
+ height: string;
1665
+ width: string;
1666
+ size: string;
1667
+ name: string;
1668
+ kind: string;
1669
+ } & {
1670
+ date?: string | null | undefined;
1671
+ }, {
1672
+ id: string;
1673
+ url: string;
1674
+ height: string;
1675
+ width: string;
1676
+ size: string;
1677
+ name: string;
1678
+ kind: string;
1679
+ } & {
1680
+ date?: string | null | undefined;
1681
+ } & {
1682
+ __TYPE__: "ImageLink";
1683
+ }, unknown>]>, t.IntersectionC<[t.Type<{
1684
+ id: string;
1685
+ url: string;
1686
+ name: string;
1687
+ kind: string;
1688
+ } & {
1689
+ date?: string | null | undefined;
1690
+ size?: string;
1691
+ }, {
1692
+ readonly size: string;
1693
+ readonly __TYPE__: "FileLink";
1694
+ readonly id: string;
1695
+ readonly url: string;
1696
+ readonly name: string;
1697
+ readonly kind: string;
1698
+ readonly date?: string | null | undefined;
1699
+ }, unknown>, t.ExactC<t.TypeC<{
1700
+ __TYPE__: t.LiteralC<"FileLink">;
1701
+ size: t.StringC;
1702
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1703
+ __TYPE__: t.LiteralC<"DocumentLink">;
1704
+ }>>, t.Type<{
1705
+ id: string;
1706
+ }, {
1707
+ id: string;
1708
+ } & {
1709
+ __TYPE__: "DocumentLink";
1710
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1711
+ __TYPE__: t.LiteralC<"ExternalLink">;
1712
+ }>>, t.Type<{
1713
+ url: string;
1714
+ } & {
1715
+ kind?: "web";
1716
+ target?: string | null | undefined;
1717
+ preview?: {
1718
+ title?: string;
1719
+ } | null | undefined;
1720
+ }, {
1721
+ url: string;
1722
+ } & {
1723
+ kind?: "web";
1724
+ target?: string | null | undefined;
1725
+ preview?: {
1726
+ title?: string;
1727
+ } | null | undefined;
1728
+ } & {
1729
+ __TYPE__: "ExternalLink";
1730
+ }, unknown>]>]>;
1731
+ }>>, t.ExactC<t.TypeC<{
1732
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1733
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1734
+ type: t.LiteralC<"image">;
1735
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1736
+ origin: t.ExactC<t.TypeC<{
1737
+ id: t.StringC;
1738
+ url: t.StringC;
1739
+ width: t.NumberC;
1740
+ height: t.NumberC;
1741
+ }>>;
1742
+ width: t.NumberC;
1743
+ height: t.NumberC;
1744
+ edit: t.TypeC<{
1745
+ zoom: t.NumberC;
1746
+ crop: t.TypeC<{
1747
+ x: t.NumberC;
1748
+ y: t.NumberC;
1749
+ }>;
1750
+ background: t.StringC;
1751
+ }>;
1752
+ }>, t.PartialC<{
1753
+ url: t.StringC;
1754
+ credits: t.Type<string | null, string | null, unknown>;
1755
+ alt: t.Type<string | null, string | null, unknown>;
1756
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1757
+ }>]>>, t.PartialC<{
1758
+ linkTo: t.UnionC<[t.Type<{
1759
+ id: string;
1760
+ } | ({
1761
+ url: string;
1762
+ } & {
1763
+ kind?: "web";
1764
+ target?: string | null | undefined;
1765
+ preview?: {
1766
+ title?: string;
1767
+ } | null | undefined;
1768
+ }) | ({
1769
+ id: string;
1770
+ url: string;
1771
+ name: string;
1772
+ kind: string;
1773
+ } & {
1774
+ date?: string | null | undefined;
1775
+ size?: string;
1776
+ }) | ({
1777
+ id: string;
1778
+ url: string;
1779
+ height: string;
1780
+ width: string;
1781
+ size: string;
1782
+ name: string;
1783
+ kind: string;
1784
+ } & {
1785
+ date?: string | null | undefined;
1786
+ }), ({
1787
+ id: string;
1788
+ } & {
1789
+ __TYPE__: "DocumentLink";
1790
+ }) | ({
1791
+ url: string;
1792
+ } & {
1793
+ kind?: "web";
1794
+ target?: string | null | undefined;
1795
+ preview?: {
1796
+ title?: string;
1797
+ } | null | undefined;
1798
+ } & {
1799
+ __TYPE__: "ExternalLink";
1800
+ }) | {
1801
+ readonly size: string;
1802
+ readonly __TYPE__: "FileLink";
1803
+ readonly id: string;
1804
+ readonly url: string;
1805
+ readonly name: string;
1806
+ readonly kind: string;
1807
+ readonly date?: string | null | undefined;
1808
+ } | ({
1809
+ id: string;
1810
+ url: string;
1811
+ height: string;
1812
+ width: string;
1813
+ size: string;
1814
+ name: string;
1815
+ kind: string;
1816
+ } & {
1817
+ date?: string | null | undefined;
1818
+ } & {
1819
+ __TYPE__: "ImageLink";
1820
+ }), unknown>, t.NullC, t.UndefinedC]>;
1821
+ }>]>;
1822
+ }>, t.PartialC<{
1823
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1824
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1825
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1826
+ type: t.LiteralC<"embed">;
1827
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1828
+ }>, t.PartialC<{
1829
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1830
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1831
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1832
+ 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>;
1833
+ content: t.IntersectionC<[t.TypeC<{
1834
+ text: t.StringC;
1835
+ }>, t.PartialC<{
1836
+ spans: t.Type<({
1837
+ data?: unknown;
1838
+ } & {
1839
+ start: number;
1840
+ end: number;
1841
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1842
+ })[], ({
1843
+ data?: unknown;
1844
+ } & {
1845
+ start: number;
1846
+ end: number;
1847
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1848
+ })[], unknown>;
1849
+ }>]>;
1850
+ }>, t.PartialC<{
1851
+ label: t.StringC;
1852
+ direction: t.StringC;
1853
+ }>]>>]>>;
1854
+ }>>, t.ExactC<t.TypeC<{
1855
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1856
+ }>>]>, t.ExactC<t.TypeC<{
1857
+ __TYPE__: t.LiteralC<"GroupContentType">;
1858
+ value: t.ArrayC<t.ExactC<t.TypeC<{
1859
+ __TYPE__: t.LiteralC<"GroupItemContent">;
1860
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1861
+ __TYPE__: t.LiteralC<"BooleanContent">;
1862
+ value: t.BooleanC;
1863
+ }>>, t.IntersectionC<[t.Type<{
1864
+ embed_url: string;
1865
+ type: string;
1866
+ } & {
1867
+ version?: string | number | null;
1868
+ title?: string | null | undefined;
1869
+ author_name?: string | null | undefined;
1870
+ author_url?: string | null | undefined;
1871
+ provider_name?: string | null | undefined;
1872
+ provider_url?: string | null | undefined;
1873
+ cache_age?: string | number | null;
1874
+ thumbnail_url?: string | null | undefined;
1875
+ thumbnail_width?: number | null | undefined;
1876
+ thumbnail_height?: number | null | undefined;
1877
+ html?: string | null | undefined;
1878
+ }, {
1879
+ embed_url: string;
1880
+ type: string;
1881
+ } & {
1882
+ version?: string | number | null;
1883
+ title?: string | null | undefined;
1884
+ author_name?: string | null | undefined;
1885
+ author_url?: string | null | undefined;
1886
+ provider_name?: string | null | undefined;
1887
+ provider_url?: string | null | undefined;
1888
+ cache_age?: string | number | null;
1889
+ thumbnail_url?: string | null | undefined;
1890
+ thumbnail_width?: number | null | undefined;
1891
+ thumbnail_height?: number | null | undefined;
1892
+ html?: string | null | undefined;
1893
+ } & {
1894
+ __TYPE__: "EmbedContent";
1895
+ }, unknown>, t.ExactC<t.TypeC<{
1896
+ __TYPE__: t.LiteralC<"EmbedContent">;
1897
+ all: t.UnknownC;
1898
+ }>>]>, t.ExactC<t.TypeC<{
1899
+ type: t.KeyofC<{
1900
+ Text: null;
1901
+ Date: null;
1902
+ Timestamp: null;
1903
+ Color: null;
1904
+ Number: null;
1905
+ Range: null;
1906
+ Select: null;
1907
+ }>;
1908
+ value: t.Type<string, string, unknown>;
1909
+ __TYPE__: t.LiteralC<"FieldContent">;
1910
+ }>>, t.IntersectionC<[t.Type<{
1911
+ position: {
1912
+ lat: number;
1913
+ lng: number;
1914
+ };
1915
+ }, {
1916
+ position: {
1917
+ lat: number;
1918
+ lng: number;
1919
+ };
1920
+ } & {
1921
+ __TYPE__: "GeoPointContent";
1922
+ }, unknown>, t.ExactC<t.TypeC<{
1923
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1924
+ }>>]>, t.IntersectionC<[t.Type<{
1925
+ origin: {
1926
+ id: string;
1927
+ url: string;
1928
+ width: number;
1929
+ height: number;
1930
+ };
1931
+ width: number;
1932
+ height: number;
1933
+ edit: {
1934
+ zoom: number;
1935
+ crop: {
1936
+ x: number;
1937
+ y: number;
1938
+ };
1939
+ background: string;
1940
+ };
1941
+ } & {
1942
+ url?: string;
1943
+ credits?: string | null;
1944
+ alt?: string | null;
1945
+ provider?: string | null | undefined;
1946
+ } & {
1947
+ thumbnails?: {
1948
+ [x: string]: {
1949
+ origin: {
1950
+ id: string;
1951
+ url: string;
1952
+ width: number;
1953
+ height: number;
1954
+ };
1955
+ width: number;
1956
+ height: number;
1957
+ edit: {
1958
+ zoom: number;
1959
+ crop: {
1960
+ x: number;
1961
+ y: number;
1962
+ };
1963
+ background: string;
1964
+ };
1965
+ } & {
1966
+ url?: string;
1967
+ credits?: string | null;
1968
+ alt?: string | null;
1969
+ provider?: string | null | undefined;
1970
+ };
1971
+ };
1972
+ }, {
1973
+ origin: {
1974
+ id: string;
1975
+ url: string;
1976
+ width: number;
1977
+ height: number;
1978
+ };
1979
+ width: number;
1980
+ height: number;
1981
+ edit: {
1982
+ zoom: number;
1983
+ crop: {
1984
+ x: number;
1985
+ y: number;
1986
+ };
1987
+ background: string;
1988
+ };
1989
+ } & {
1990
+ url?: string;
1991
+ credits?: string | null;
1992
+ alt?: string | null;
1993
+ provider?: string | null | undefined;
1994
+ } & {
1995
+ thumbnails?: {
1996
+ [x: string]: {
1997
+ origin: {
1998
+ id: string;
1999
+ url: string;
2000
+ width: number;
2001
+ height: number;
2002
+ };
2003
+ width: number;
2004
+ height: number;
2005
+ edit: {
2006
+ zoom: number;
2007
+ crop: {
2008
+ x: number;
2009
+ y: number;
2010
+ };
2011
+ background: string;
2012
+ };
2013
+ } & {
2014
+ url?: string;
2015
+ credits?: string | null;
2016
+ alt?: string | null;
2017
+ provider?: string | null | undefined;
2018
+ };
2019
+ };
2020
+ } & {
2021
+ __TYPE__: "ImageContent";
2022
+ }, unknown>, t.ExactC<t.TypeC<{
2023
+ __TYPE__: t.LiteralC<"ImageContent">;
2024
+ }>>]>, t.ExactC<t.TypeC<{
2025
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2026
+ value: t.StringC;
2027
+ }>>, t.ExactC<t.TypeC<{
2028
+ __TYPE__: t.LiteralC<"LinkContent">;
2029
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2030
+ __TYPE__: t.LiteralC<"ImageLink">;
2031
+ }>>, t.Type<{
2032
+ id: string;
2033
+ url: string;
2034
+ height: string;
2035
+ width: string;
2036
+ size: string;
2037
+ name: string;
2038
+ kind: string;
2039
+ } & {
2040
+ date?: string | null | undefined;
2041
+ }, {
2042
+ id: string;
2043
+ url: string;
2044
+ height: string;
2045
+ width: string;
2046
+ size: string;
2047
+ name: string;
2048
+ kind: string;
2049
+ } & {
2050
+ date?: string | null | undefined;
2051
+ } & {
2052
+ __TYPE__: "ImageLink";
2053
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2054
+ id: string;
2055
+ url: string;
2056
+ name: string;
2057
+ kind: string;
2058
+ } & {
2059
+ date?: string | null | undefined;
2060
+ size?: string;
2061
+ }, {
2062
+ readonly size: string;
2063
+ readonly __TYPE__: "FileLink";
2064
+ readonly id: string;
2065
+ readonly url: string;
2066
+ readonly name: string;
2067
+ readonly kind: string;
2068
+ readonly date?: string | null | undefined;
2069
+ }, unknown>, t.ExactC<t.TypeC<{
2070
+ __TYPE__: t.LiteralC<"FileLink">;
2071
+ size: t.StringC;
2072
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2073
+ __TYPE__: t.LiteralC<"DocumentLink">;
2074
+ }>>, t.Type<{
2075
+ id: string;
2076
+ }, {
2077
+ id: string;
2078
+ } & {
2079
+ __TYPE__: "DocumentLink";
2080
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2081
+ __TYPE__: t.LiteralC<"ExternalLink">;
2082
+ }>>, t.Type<{
2083
+ url: string;
2084
+ } & {
2085
+ kind?: "web";
2086
+ target?: string | null | undefined;
2087
+ preview?: {
2088
+ title?: string;
2089
+ } | null | undefined;
2090
+ }, {
2091
+ url: string;
2092
+ } & {
2093
+ kind?: "web";
2094
+ target?: string | null | undefined;
2095
+ preview?: {
2096
+ title?: string;
2097
+ } | null | undefined;
2098
+ } & {
2099
+ __TYPE__: "ExternalLink";
2100
+ }, unknown>]>]>;
2101
+ }>>, t.ExactC<t.TypeC<{
2102
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2103
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2104
+ type: t.LiteralC<"image">;
2105
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2106
+ origin: t.ExactC<t.TypeC<{
2107
+ id: t.StringC;
2108
+ url: t.StringC;
2109
+ width: t.NumberC;
2110
+ height: t.NumberC;
2111
+ }>>;
2112
+ width: t.NumberC;
2113
+ height: t.NumberC;
2114
+ edit: t.TypeC<{
2115
+ zoom: t.NumberC;
2116
+ crop: t.TypeC<{
2117
+ x: t.NumberC;
2118
+ y: t.NumberC;
2119
+ }>;
2120
+ background: t.StringC;
2121
+ }>;
2122
+ }>, t.PartialC<{
2123
+ url: t.StringC;
2124
+ credits: t.Type<string | null, string | null, unknown>;
2125
+ alt: t.Type<string | null, string | null, unknown>;
2126
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2127
+ }>]>>, t.PartialC<{
2128
+ linkTo: t.UnionC<[t.Type<{
2129
+ id: string;
2130
+ } | ({
2131
+ url: string;
2132
+ } & {
2133
+ kind?: "web";
2134
+ target?: string | null | undefined;
2135
+ preview?: {
2136
+ title?: string;
2137
+ } | null | undefined;
2138
+ }) | ({
2139
+ id: string;
2140
+ url: string;
2141
+ name: string;
2142
+ kind: string;
2143
+ } & {
2144
+ date?: string | null | undefined;
2145
+ size?: string;
2146
+ }) | ({
2147
+ id: string;
2148
+ url: string;
2149
+ height: string;
2150
+ width: string;
2151
+ size: string;
2152
+ name: string;
2153
+ kind: string;
2154
+ } & {
2155
+ date?: string | null | undefined;
2156
+ }), ({
2157
+ id: string;
2158
+ } & {
2159
+ __TYPE__: "DocumentLink";
2160
+ }) | ({
2161
+ url: string;
2162
+ } & {
2163
+ kind?: "web";
2164
+ target?: string | null | undefined;
2165
+ preview?: {
2166
+ title?: string;
2167
+ } | null | undefined;
2168
+ } & {
2169
+ __TYPE__: "ExternalLink";
2170
+ }) | {
2171
+ readonly size: string;
2172
+ readonly __TYPE__: "FileLink";
2173
+ readonly id: string;
2174
+ readonly url: string;
2175
+ readonly name: string;
2176
+ readonly kind: string;
2177
+ readonly date?: string | null | undefined;
2178
+ } | ({
2179
+ id: string;
2180
+ url: string;
2181
+ height: string;
2182
+ width: string;
2183
+ size: string;
2184
+ name: string;
2185
+ kind: string;
2186
+ } & {
2187
+ date?: string | null | undefined;
2188
+ } & {
2189
+ __TYPE__: "ImageLink";
2190
+ }), unknown>, t.NullC, t.UndefinedC]>;
2191
+ }>]>;
2192
+ }>, t.PartialC<{
2193
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2194
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2195
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2196
+ type: t.LiteralC<"embed">;
2197
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2198
+ }>, t.PartialC<{
2199
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2200
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2201
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2202
+ 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>;
2203
+ content: t.IntersectionC<[t.TypeC<{
2204
+ text: t.StringC;
2205
+ }>, t.PartialC<{
2206
+ spans: t.Type<({
2207
+ data?: unknown;
2208
+ } & {
2209
+ start: number;
2210
+ end: number;
2211
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2212
+ })[], ({
2213
+ data?: unknown;
2214
+ } & {
2215
+ start: number;
2216
+ end: number;
2217
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2218
+ })[], unknown>;
2219
+ }>]>;
2220
+ }>, t.PartialC<{
2221
+ label: t.StringC;
2222
+ direction: t.StringC;
2223
+ }>]>>]>>;
2224
+ }>>, t.ExactC<t.TypeC<{
2225
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2226
+ }>>]>]>>;
2227
+ }>>>;
2228
+ }>>]>]>;
2229
+ }>>;
2230
+ }>, t.TypeC<{
2231
+ __TYPE__: t.LiteralC<"UIDContent">;
2232
+ value: t.StringC;
2233
+ }>, t.UnionC<[t.ExactC<t.TypeC<{
2234
+ __TYPE__: t.LiteralC<"BooleanContent">;
2235
+ value: t.BooleanC;
2236
+ }>>, t.IntersectionC<[t.Type<{
2237
+ embed_url: string;
2238
+ type: string;
2239
+ } & {
2240
+ version?: string | number | null;
2241
+ title?: string | null | undefined;
2242
+ author_name?: string | null | undefined;
2243
+ author_url?: string | null | undefined;
2244
+ provider_name?: string | null | undefined;
2245
+ provider_url?: string | null | undefined;
2246
+ cache_age?: string | number | null;
2247
+ thumbnail_url?: string | null | undefined;
2248
+ thumbnail_width?: number | null | undefined;
2249
+ thumbnail_height?: number | null | undefined;
2250
+ html?: string | null | undefined;
2251
+ }, {
2252
+ embed_url: string;
2253
+ type: string;
2254
+ } & {
2255
+ version?: string | number | null;
2256
+ title?: string | null | undefined;
2257
+ author_name?: string | null | undefined;
2258
+ author_url?: string | null | undefined;
2259
+ provider_name?: string | null | undefined;
2260
+ provider_url?: string | null | undefined;
2261
+ cache_age?: string | number | null;
2262
+ thumbnail_url?: string | null | undefined;
2263
+ thumbnail_width?: number | null | undefined;
2264
+ thumbnail_height?: number | null | undefined;
2265
+ html?: string | null | undefined;
2266
+ } & {
2267
+ __TYPE__: "EmbedContent";
2268
+ }, unknown>, t.ExactC<t.TypeC<{
2269
+ __TYPE__: t.LiteralC<"EmbedContent">;
2270
+ all: t.UnknownC;
2271
+ }>>]>, t.ExactC<t.TypeC<{
2272
+ type: t.KeyofC<{
2273
+ Text: null;
2274
+ Date: null;
2275
+ Timestamp: null;
2276
+ Color: null;
2277
+ Number: null;
2278
+ Range: null;
2279
+ Select: null;
2280
+ }>;
2281
+ value: t.Type<string, string, unknown>;
2282
+ __TYPE__: t.LiteralC<"FieldContent">;
2283
+ }>>, t.IntersectionC<[t.Type<{
2284
+ position: {
2285
+ lat: number;
2286
+ lng: number;
2287
+ };
2288
+ }, {
2289
+ position: {
2290
+ lat: number;
2291
+ lng: number;
2292
+ };
2293
+ } & {
2294
+ __TYPE__: "GeoPointContent";
2295
+ }, unknown>, t.ExactC<t.TypeC<{
2296
+ __TYPE__: t.LiteralC<"GeoPointContent">;
2297
+ }>>]>, t.IntersectionC<[t.Type<{
2298
+ origin: {
2299
+ id: string;
2300
+ url: string;
2301
+ width: number;
2302
+ height: number;
2303
+ };
2304
+ width: number;
2305
+ height: number;
2306
+ edit: {
2307
+ zoom: number;
2308
+ crop: {
2309
+ x: number;
2310
+ y: number;
2311
+ };
2312
+ background: string;
2313
+ };
2314
+ } & {
2315
+ url?: string;
2316
+ credits?: string | null;
2317
+ alt?: string | null;
2318
+ provider?: string | null | undefined;
2319
+ } & {
2320
+ thumbnails?: {
2321
+ [x: string]: {
2322
+ origin: {
2323
+ id: string;
2324
+ url: string;
2325
+ width: number;
2326
+ height: number;
2327
+ };
2328
+ width: number;
2329
+ height: number;
2330
+ edit: {
2331
+ zoom: number;
2332
+ crop: {
2333
+ x: number;
2334
+ y: number;
2335
+ };
2336
+ background: string;
2337
+ };
2338
+ } & {
2339
+ url?: string;
2340
+ credits?: string | null;
2341
+ alt?: string | null;
2342
+ provider?: string | null | undefined;
2343
+ };
2344
+ };
2345
+ }, {
2346
+ origin: {
2347
+ id: string;
2348
+ url: string;
2349
+ width: number;
2350
+ height: number;
2351
+ };
2352
+ width: number;
2353
+ height: number;
2354
+ edit: {
2355
+ zoom: number;
2356
+ crop: {
2357
+ x: number;
2358
+ y: number;
2359
+ };
2360
+ background: string;
2361
+ };
2362
+ } & {
2363
+ url?: string;
2364
+ credits?: string | null;
2365
+ alt?: string | null;
2366
+ provider?: string | null | undefined;
2367
+ } & {
2368
+ thumbnails?: {
2369
+ [x: string]: {
2370
+ origin: {
2371
+ id: string;
2372
+ url: string;
2373
+ width: number;
2374
+ height: number;
2375
+ };
2376
+ width: number;
2377
+ height: number;
2378
+ edit: {
2379
+ zoom: number;
2380
+ crop: {
2381
+ x: number;
2382
+ y: number;
2383
+ };
2384
+ background: string;
2385
+ };
2386
+ } & {
2387
+ url?: string;
2388
+ credits?: string | null;
2389
+ alt?: string | null;
2390
+ provider?: string | null | undefined;
2391
+ };
2392
+ };
2393
+ } & {
2394
+ __TYPE__: "ImageContent";
2395
+ }, unknown>, t.ExactC<t.TypeC<{
2396
+ __TYPE__: t.LiteralC<"ImageContent">;
2397
+ }>>]>, t.ExactC<t.TypeC<{
2398
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2399
+ value: t.StringC;
2400
+ }>>, t.ExactC<t.TypeC<{
2401
+ __TYPE__: t.LiteralC<"LinkContent">;
2402
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2403
+ __TYPE__: t.LiteralC<"ImageLink">;
2404
+ }>>, t.Type<{
2405
+ id: string;
2406
+ url: string;
2407
+ height: string;
2408
+ width: string;
2409
+ size: string;
2410
+ name: string;
2411
+ kind: string;
2412
+ } & {
2413
+ date?: string | null | undefined;
2414
+ }, {
2415
+ id: string;
2416
+ url: string;
2417
+ height: string;
2418
+ width: string;
2419
+ size: string;
2420
+ name: string;
2421
+ kind: string;
2422
+ } & {
2423
+ date?: string | null | undefined;
2424
+ } & {
2425
+ __TYPE__: "ImageLink";
2426
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2427
+ id: string;
2428
+ url: string;
2429
+ name: string;
2430
+ kind: string;
2431
+ } & {
2432
+ date?: string | null | undefined;
2433
+ size?: string;
2434
+ }, {
2435
+ readonly size: string;
2436
+ readonly __TYPE__: "FileLink";
2437
+ readonly id: string;
2438
+ readonly url: string;
2439
+ readonly name: string;
2440
+ readonly kind: string;
2441
+ readonly date?: string | null | undefined;
2442
+ }, unknown>, t.ExactC<t.TypeC<{
2443
+ __TYPE__: t.LiteralC<"FileLink">;
2444
+ size: t.StringC;
2445
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2446
+ __TYPE__: t.LiteralC<"DocumentLink">;
2447
+ }>>, t.Type<{
2448
+ id: string;
2449
+ }, {
2450
+ id: string;
2451
+ } & {
2452
+ __TYPE__: "DocumentLink";
2453
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2454
+ __TYPE__: t.LiteralC<"ExternalLink">;
2455
+ }>>, t.Type<{
2456
+ url: string;
2457
+ } & {
2458
+ kind?: "web";
2459
+ target?: string | null | undefined;
2460
+ preview?: {
2461
+ title?: string;
2462
+ } | null | undefined;
2463
+ }, {
2464
+ url: string;
2465
+ } & {
2466
+ kind?: "web";
2467
+ target?: string | null | undefined;
2468
+ preview?: {
2469
+ title?: string;
2470
+ } | null | undefined;
2471
+ } & {
2472
+ __TYPE__: "ExternalLink";
2473
+ }, unknown>]>]>;
2474
+ }>>, t.ExactC<t.TypeC<{
2475
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2476
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2477
+ type: t.LiteralC<"image">;
2478
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2479
+ origin: t.ExactC<t.TypeC<{
2480
+ id: t.StringC;
2481
+ url: t.StringC;
2482
+ width: t.NumberC;
2483
+ height: t.NumberC;
2484
+ }>>;
2485
+ width: t.NumberC;
2486
+ height: t.NumberC;
2487
+ edit: t.TypeC<{
2488
+ zoom: t.NumberC;
2489
+ crop: t.TypeC<{
2490
+ x: t.NumberC;
2491
+ y: t.NumberC;
2492
+ }>;
2493
+ background: t.StringC;
2494
+ }>;
2495
+ }>, t.PartialC<{
2496
+ url: t.StringC;
2497
+ credits: t.Type<string | null, string | null, unknown>;
2498
+ alt: t.Type<string | null, string | null, unknown>;
2499
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2500
+ }>]>>, t.PartialC<{
2501
+ linkTo: t.UnionC<[t.Type<{
2502
+ id: string;
2503
+ } | ({
2504
+ url: string;
2505
+ } & {
2506
+ kind?: "web";
2507
+ target?: string | null | undefined;
2508
+ preview?: {
2509
+ title?: string;
2510
+ } | null | undefined;
2511
+ }) | ({
2512
+ id: string;
2513
+ url: string;
2514
+ name: string;
2515
+ kind: string;
2516
+ } & {
2517
+ date?: string | null | undefined;
2518
+ size?: string;
2519
+ }) | ({
2520
+ id: string;
2521
+ url: string;
2522
+ height: string;
2523
+ width: string;
2524
+ size: string;
2525
+ name: string;
2526
+ kind: string;
2527
+ } & {
2528
+ date?: string | null | undefined;
2529
+ }), ({
2530
+ id: string;
2531
+ } & {
2532
+ __TYPE__: "DocumentLink";
2533
+ }) | ({
2534
+ url: string;
2535
+ } & {
2536
+ kind?: "web";
2537
+ target?: string | null | undefined;
2538
+ preview?: {
2539
+ title?: string;
2540
+ } | null | undefined;
2541
+ } & {
2542
+ __TYPE__: "ExternalLink";
2543
+ }) | {
2544
+ readonly size: string;
2545
+ readonly __TYPE__: "FileLink";
2546
+ readonly id: string;
2547
+ readonly url: string;
2548
+ readonly name: string;
2549
+ readonly kind: string;
2550
+ readonly date?: string | null | undefined;
2551
+ } | ({
2552
+ id: string;
2553
+ url: string;
2554
+ height: string;
2555
+ width: string;
2556
+ size: string;
2557
+ name: string;
2558
+ kind: string;
2559
+ } & {
2560
+ date?: string | null | undefined;
2561
+ } & {
2562
+ __TYPE__: "ImageLink";
2563
+ }), unknown>, t.NullC, t.UndefinedC]>;
2564
+ }>]>;
2565
+ }>, t.PartialC<{
2566
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2567
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2568
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2569
+ type: t.LiteralC<"embed">;
2570
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2571
+ }>, t.PartialC<{
2572
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2573
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2574
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2575
+ 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>;
2576
+ content: t.IntersectionC<[t.TypeC<{
2577
+ text: t.StringC;
2578
+ }>, t.PartialC<{
2579
+ spans: t.Type<({
2580
+ data?: unknown;
2581
+ } & {
2582
+ start: number;
2583
+ end: number;
2584
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2585
+ })[], ({
2586
+ data?: unknown;
2587
+ } & {
2588
+ start: number;
2589
+ end: number;
2590
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2591
+ })[], unknown>;
2592
+ }>]>;
2593
+ }>, t.PartialC<{
2594
+ label: t.StringC;
2595
+ direction: t.StringC;
2596
+ }>]>>]>>;
2597
+ }>>, t.ExactC<t.TypeC<{
2598
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2599
+ }>>]>, t.ExactC<t.TypeC<{
2600
+ __TYPE__: t.LiteralC<"GroupContentType">;
2601
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2602
+ __TYPE__: t.LiteralC<"GroupItemContent">;
2603
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2604
+ __TYPE__: t.LiteralC<"BooleanContent">;
2605
+ value: t.BooleanC;
2606
+ }>>, t.IntersectionC<[t.Type<{
2607
+ embed_url: string;
2608
+ type: string;
2609
+ } & {
2610
+ version?: string | number | null;
2611
+ title?: string | null | undefined;
2612
+ author_name?: string | null | undefined;
2613
+ author_url?: string | null | undefined;
2614
+ provider_name?: string | null | undefined;
2615
+ provider_url?: string | null | undefined;
2616
+ cache_age?: string | number | null;
2617
+ thumbnail_url?: string | null | undefined;
2618
+ thumbnail_width?: number | null | undefined;
2619
+ thumbnail_height?: number | null | undefined;
2620
+ html?: string | null | undefined;
2621
+ }, {
2622
+ embed_url: string;
2623
+ type: string;
2624
+ } & {
2625
+ version?: string | number | null;
2626
+ title?: string | null | undefined;
2627
+ author_name?: string | null | undefined;
2628
+ author_url?: string | null | undefined;
2629
+ provider_name?: string | null | undefined;
2630
+ provider_url?: string | null | undefined;
2631
+ cache_age?: string | number | null;
2632
+ thumbnail_url?: string | null | undefined;
2633
+ thumbnail_width?: number | null | undefined;
2634
+ thumbnail_height?: number | null | undefined;
2635
+ html?: string | null | undefined;
2636
+ } & {
2637
+ __TYPE__: "EmbedContent";
2638
+ }, unknown>, t.ExactC<t.TypeC<{
2639
+ __TYPE__: t.LiteralC<"EmbedContent">;
2640
+ all: t.UnknownC;
2641
+ }>>]>, t.ExactC<t.TypeC<{
2642
+ type: t.KeyofC<{
2643
+ Text: null;
2644
+ Date: null;
2645
+ Timestamp: null;
2646
+ Color: null;
2647
+ Number: null;
2648
+ Range: null;
2649
+ Select: null;
2650
+ }>;
2651
+ value: t.Type<string, string, unknown>;
2652
+ __TYPE__: t.LiteralC<"FieldContent">;
2653
+ }>>, t.IntersectionC<[t.Type<{
2654
+ position: {
2655
+ lat: number;
2656
+ lng: number;
2657
+ };
2658
+ }, {
2659
+ position: {
2660
+ lat: number;
2661
+ lng: number;
2662
+ };
2663
+ } & {
2664
+ __TYPE__: "GeoPointContent";
2665
+ }, unknown>, t.ExactC<t.TypeC<{
2666
+ __TYPE__: t.LiteralC<"GeoPointContent">;
2667
+ }>>]>, t.IntersectionC<[t.Type<{
2668
+ origin: {
2669
+ id: string;
2670
+ url: string;
2671
+ width: number;
2672
+ height: number;
2673
+ };
2674
+ width: number;
2675
+ height: number;
2676
+ edit: {
2677
+ zoom: number;
2678
+ crop: {
2679
+ x: number;
2680
+ y: number;
2681
+ };
2682
+ background: string;
2683
+ };
2684
+ } & {
2685
+ url?: string;
2686
+ credits?: string | null;
2687
+ alt?: string | null;
2688
+ provider?: string | null | undefined;
2689
+ } & {
2690
+ thumbnails?: {
2691
+ [x: string]: {
2692
+ origin: {
2693
+ id: string;
2694
+ url: string;
2695
+ width: number;
2696
+ height: number;
2697
+ };
2698
+ width: number;
2699
+ height: number;
2700
+ edit: {
2701
+ zoom: number;
2702
+ crop: {
2703
+ x: number;
2704
+ y: number;
2705
+ };
2706
+ background: string;
2707
+ };
2708
+ } & {
2709
+ url?: string;
2710
+ credits?: string | null;
2711
+ alt?: string | null;
2712
+ provider?: string | null | undefined;
2713
+ };
2714
+ };
2715
+ }, {
2716
+ origin: {
2717
+ id: string;
2718
+ url: string;
2719
+ width: number;
2720
+ height: number;
2721
+ };
2722
+ width: number;
2723
+ height: number;
2724
+ edit: {
2725
+ zoom: number;
2726
+ crop: {
2727
+ x: number;
2728
+ y: number;
2729
+ };
2730
+ background: string;
2731
+ };
2732
+ } & {
2733
+ url?: string;
2734
+ credits?: string | null;
2735
+ alt?: string | null;
2736
+ provider?: string | null | undefined;
2737
+ } & {
2738
+ thumbnails?: {
2739
+ [x: string]: {
2740
+ origin: {
2741
+ id: string;
2742
+ url: string;
2743
+ width: number;
2744
+ height: number;
2745
+ };
2746
+ width: number;
2747
+ height: number;
2748
+ edit: {
2749
+ zoom: number;
2750
+ crop: {
2751
+ x: number;
2752
+ y: number;
2753
+ };
2754
+ background: string;
2755
+ };
2756
+ } & {
2757
+ url?: string;
2758
+ credits?: string | null;
2759
+ alt?: string | null;
2760
+ provider?: string | null | undefined;
2761
+ };
2762
+ };
2763
+ } & {
2764
+ __TYPE__: "ImageContent";
2765
+ }, unknown>, t.ExactC<t.TypeC<{
2766
+ __TYPE__: t.LiteralC<"ImageContent">;
2767
+ }>>]>, t.ExactC<t.TypeC<{
2768
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2769
+ value: t.StringC;
2770
+ }>>, t.ExactC<t.TypeC<{
2771
+ __TYPE__: t.LiteralC<"LinkContent">;
2772
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2773
+ __TYPE__: t.LiteralC<"ImageLink">;
2774
+ }>>, t.Type<{
2775
+ id: string;
2776
+ url: string;
2777
+ height: string;
2778
+ width: string;
2779
+ size: string;
2780
+ name: string;
2781
+ kind: string;
2782
+ } & {
2783
+ date?: string | null | undefined;
2784
+ }, {
2785
+ id: string;
2786
+ url: string;
2787
+ height: string;
2788
+ width: string;
2789
+ size: string;
2790
+ name: string;
2791
+ kind: string;
2792
+ } & {
2793
+ date?: string | null | undefined;
2794
+ } & {
2795
+ __TYPE__: "ImageLink";
2796
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2797
+ id: string;
2798
+ url: string;
2799
+ name: string;
2800
+ kind: string;
2801
+ } & {
2802
+ date?: string | null | undefined;
2803
+ size?: string;
2804
+ }, {
2805
+ readonly size: string;
2806
+ readonly __TYPE__: "FileLink";
2807
+ readonly id: string;
2808
+ readonly url: string;
2809
+ readonly name: string;
2810
+ readonly kind: string;
2811
+ readonly date?: string | null | undefined;
2812
+ }, unknown>, t.ExactC<t.TypeC<{
2813
+ __TYPE__: t.LiteralC<"FileLink">;
2814
+ size: t.StringC;
2815
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2816
+ __TYPE__: t.LiteralC<"DocumentLink">;
2817
+ }>>, t.Type<{
2818
+ id: string;
2819
+ }, {
2820
+ id: string;
2821
+ } & {
2822
+ __TYPE__: "DocumentLink";
2823
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2824
+ __TYPE__: t.LiteralC<"ExternalLink">;
2825
+ }>>, t.Type<{
2826
+ url: string;
2827
+ } & {
2828
+ kind?: "web";
2829
+ target?: string | null | undefined;
2830
+ preview?: {
2831
+ title?: string;
2832
+ } | null | undefined;
2833
+ }, {
2834
+ url: string;
2835
+ } & {
2836
+ kind?: "web";
2837
+ target?: string | null | undefined;
2838
+ preview?: {
2839
+ title?: string;
2840
+ } | null | undefined;
2841
+ } & {
2842
+ __TYPE__: "ExternalLink";
2843
+ }, unknown>]>]>;
2844
+ }>>, t.ExactC<t.TypeC<{
2845
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2846
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2847
+ type: t.LiteralC<"image">;
2848
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2849
+ origin: t.ExactC<t.TypeC<{
2850
+ id: t.StringC;
2851
+ url: t.StringC;
2852
+ width: t.NumberC;
2853
+ height: t.NumberC;
2854
+ }>>;
2855
+ width: t.NumberC;
2856
+ height: t.NumberC;
2857
+ edit: t.TypeC<{
2858
+ zoom: t.NumberC;
2859
+ crop: t.TypeC<{
2860
+ x: t.NumberC;
2861
+ y: t.NumberC;
2862
+ }>;
2863
+ background: t.StringC;
2864
+ }>;
2865
+ }>, t.PartialC<{
2866
+ url: t.StringC;
2867
+ credits: t.Type<string | null, string | null, unknown>;
2868
+ alt: t.Type<string | null, string | null, unknown>;
2869
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2870
+ }>]>>, t.PartialC<{
2871
+ linkTo: t.UnionC<[t.Type<{
2872
+ id: string;
2873
+ } | ({
2874
+ url: string;
2875
+ } & {
2876
+ kind?: "web";
2877
+ target?: string | null | undefined;
2878
+ preview?: {
2879
+ title?: string;
2880
+ } | null | undefined;
2881
+ }) | ({
2882
+ id: string;
2883
+ url: string;
2884
+ name: string;
2885
+ kind: string;
2886
+ } & {
2887
+ date?: string | null | undefined;
2888
+ size?: string;
2889
+ }) | ({
2890
+ id: string;
2891
+ url: string;
2892
+ height: string;
2893
+ width: string;
2894
+ size: string;
2895
+ name: string;
2896
+ kind: string;
2897
+ } & {
2898
+ date?: string | null | undefined;
2899
+ }), ({
2900
+ id: string;
2901
+ } & {
2902
+ __TYPE__: "DocumentLink";
2903
+ }) | ({
2904
+ url: string;
2905
+ } & {
2906
+ kind?: "web";
2907
+ target?: string | null | undefined;
2908
+ preview?: {
2909
+ title?: string;
2910
+ } | null | undefined;
2911
+ } & {
2912
+ __TYPE__: "ExternalLink";
2913
+ }) | {
2914
+ readonly size: string;
2915
+ readonly __TYPE__: "FileLink";
2916
+ readonly id: string;
2917
+ readonly url: string;
2918
+ readonly name: string;
2919
+ readonly kind: string;
2920
+ readonly date?: string | null | undefined;
2921
+ } | ({
2922
+ id: string;
2923
+ url: string;
2924
+ height: string;
2925
+ width: string;
2926
+ size: string;
2927
+ name: string;
2928
+ kind: string;
2929
+ } & {
2930
+ date?: string | null | undefined;
2931
+ } & {
2932
+ __TYPE__: "ImageLink";
2933
+ }), unknown>, t.NullC, t.UndefinedC]>;
2934
+ }>]>;
2935
+ }>, t.PartialC<{
2936
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2937
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2938
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2939
+ type: t.LiteralC<"embed">;
2940
+ data: t.Type<import("../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2941
+ }>, t.PartialC<{
2942
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2943
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2944
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2945
+ 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>;
2946
+ content: t.IntersectionC<[t.TypeC<{
2947
+ text: t.StringC;
2948
+ }>, t.PartialC<{
2949
+ spans: t.Type<({
2950
+ data?: unknown;
2951
+ } & {
2952
+ start: number;
2953
+ end: number;
2954
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2955
+ })[], ({
2956
+ data?: unknown;
2957
+ } & {
2958
+ start: number;
2959
+ end: number;
2960
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2961
+ })[], unknown>;
2962
+ }>]>;
2963
+ }>, t.PartialC<{
2964
+ label: t.StringC;
2965
+ direction: t.StringC;
2966
+ }>]>>]>>;
2967
+ }>>, t.ExactC<t.TypeC<{
2968
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2969
+ }>>]>]>>;
2970
+ }>>>;
2971
+ }>>]>>;
2972
+ export declare type Document = t.TypeOf<typeof Document>;