@prismicio/types-internal 2.4.0-alpha.3 → 2.4.0-alpha.5

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,2060 @@
1
+ import * as t from "io-ts";
2
+ import type { LegacyContentCtx } from "../../../LegacyContentCtx";
3
+ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
4
+ type: t.StringC;
5
+ __TYPE__: t.LiteralC<"EmptyContent">;
6
+ }>>, t.ExactC<t.TypeC<{
7
+ __TYPE__: t.LiteralC<"BooleanContent">;
8
+ value: t.BooleanC;
9
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
10
+ embed_url: t.StringC;
11
+ type: t.StringC;
12
+ }>, t.PartialC<{
13
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
14
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
15
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
16
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
17
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
18
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
19
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
20
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
21
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
22
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
23
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
24
+ }>]>>, t.ExactC<t.TypeC<{
25
+ __TYPE__: t.LiteralC<"EmbedContent">;
26
+ all: t.UnknownC;
27
+ }>>]>, t.ExactC<t.TypeC<{
28
+ type: t.LiteralC<"Text">;
29
+ value: t.Type<string, string, unknown>;
30
+ __TYPE__: t.LiteralC<"FieldContent">;
31
+ }>>, t.ExactC<t.TypeC<{
32
+ type: t.LiteralC<"Timestamp">;
33
+ value: t.Type<string, string, unknown>;
34
+ __TYPE__: t.LiteralC<"FieldContent">;
35
+ }>>, t.ExactC<t.TypeC<{
36
+ type: t.LiteralC<"Select">;
37
+ value: t.Type<string, string, unknown>;
38
+ __TYPE__: t.LiteralC<"FieldContent">;
39
+ }>>, t.ExactC<t.TypeC<{
40
+ type: t.LiteralC<"Range">;
41
+ value: t.Type<string, string, unknown>;
42
+ __TYPE__: t.LiteralC<"FieldContent">;
43
+ }>>, t.ExactC<t.TypeC<{
44
+ type: t.LiteralC<"Number">;
45
+ value: t.Type<string, string, unknown>;
46
+ __TYPE__: t.LiteralC<"FieldContent">;
47
+ }>>, t.ExactC<t.TypeC<{
48
+ type: t.LiteralC<"Date">;
49
+ value: t.Type<string, string, unknown>;
50
+ __TYPE__: t.LiteralC<"FieldContent">;
51
+ }>>, t.ExactC<t.TypeC<{
52
+ type: t.LiteralC<"Color">;
53
+ value: t.Type<string, string, unknown>;
54
+ __TYPE__: t.LiteralC<"FieldContent">;
55
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
56
+ position: t.ExactC<t.TypeC<{
57
+ lat: t.NumberC;
58
+ lng: t.NumberC;
59
+ }>>;
60
+ }>>, t.ExactC<t.TypeC<{
61
+ __TYPE__: t.LiteralC<"GeoPointContent">;
62
+ }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
63
+ origin: t.ExactC<t.TypeC<{
64
+ id: t.StringC;
65
+ url: t.StringC;
66
+ width: t.NumberC;
67
+ height: t.NumberC;
68
+ }>>;
69
+ width: t.NumberC;
70
+ height: t.NumberC;
71
+ edit: t.TypeC<{
72
+ zoom: t.NumberC;
73
+ crop: t.TypeC<{
74
+ x: t.NumberC;
75
+ y: t.NumberC;
76
+ }>;
77
+ background: t.StringC;
78
+ }>;
79
+ }>, t.PartialC<{
80
+ url: t.StringC;
81
+ credits: t.Type<string | null, string | null, unknown>;
82
+ alt: t.Type<string | null, string | null, unknown>;
83
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
84
+ }>]>>, t.PartialC<{
85
+ thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
86
+ origin: t.ExactC<t.TypeC<{
87
+ id: t.StringC;
88
+ url: t.StringC;
89
+ width: t.NumberC;
90
+ height: t.NumberC;
91
+ }>>;
92
+ width: t.NumberC;
93
+ height: t.NumberC;
94
+ edit: t.TypeC<{
95
+ zoom: t.NumberC;
96
+ crop: t.TypeC<{
97
+ x: t.NumberC;
98
+ y: t.NumberC;
99
+ }>;
100
+ background: t.StringC;
101
+ }>;
102
+ }>, t.PartialC<{
103
+ url: t.StringC;
104
+ credits: t.Type<string | null, string | null, unknown>;
105
+ alt: t.Type<string | null, string | null, unknown>;
106
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
107
+ }>]>>>;
108
+ }>]>, t.ExactC<t.TypeC<{
109
+ __TYPE__: t.LiteralC<"ImageContent">;
110
+ }>>]>, t.ExactC<t.TypeC<{
111
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
112
+ value: t.StringC;
113
+ }>>, t.ExactC<t.TypeC<{
114
+ __TYPE__: t.LiteralC<"LinkContent">;
115
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
116
+ __TYPE__: t.LiteralC<"ImageLink">;
117
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
118
+ id: t.StringC;
119
+ url: t.StringC;
120
+ height: t.StringC;
121
+ width: t.StringC;
122
+ size: t.StringC;
123
+ name: t.StringC;
124
+ kind: t.StringC;
125
+ }>, t.PartialC<{
126
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
127
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
128
+ id: t.StringC;
129
+ url: t.StringC;
130
+ name: t.StringC;
131
+ kind: t.StringC;
132
+ size: t.StringC;
133
+ }>, t.PartialC<{
134
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
135
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
136
+ __TYPE__: t.LiteralC<"FileLink">;
137
+ }>, t.PartialC<{
138
+ size: t.StringC;
139
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
140
+ __TYPE__: t.LiteralC<"DocumentLink">;
141
+ }>>, t.ExactC<t.TypeC<{
142
+ id: t.Type<string, string, unknown>;
143
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
144
+ __TYPE__: t.LiteralC<"ExternalLink">;
145
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
146
+ url: t.StringC;
147
+ }>, t.PartialC<{
148
+ kind: t.LiteralC<"web">;
149
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
150
+ preview: t.UnionC<[t.Type<{
151
+ title?: string;
152
+ }, {
153
+ title?: string;
154
+ }, unknown>, t.NullC, t.UndefinedC]>;
155
+ }>]>>]>]>;
156
+ }>>, t.ExactC<t.TypeC<{
157
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
158
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
159
+ type: t.LiteralC<"image">;
160
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
161
+ origin: t.ExactC<t.TypeC<{
162
+ id: t.StringC;
163
+ url: t.StringC;
164
+ width: t.NumberC;
165
+ height: t.NumberC;
166
+ }>>;
167
+ width: t.NumberC;
168
+ height: t.NumberC;
169
+ edit: t.TypeC<{
170
+ zoom: t.NumberC;
171
+ crop: t.TypeC<{
172
+ x: t.NumberC;
173
+ y: t.NumberC;
174
+ }>;
175
+ background: t.StringC;
176
+ }>;
177
+ }>, t.PartialC<{
178
+ url: t.StringC;
179
+ credits: t.Type<string | null, string | null, unknown>;
180
+ alt: t.Type<string | null, string | null, unknown>;
181
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
182
+ }>]>>, t.PartialC<{
183
+ linkTo: t.UnionC<[t.Type<({
184
+ __TYPE__: "ImageLink";
185
+ } & {
186
+ id: string;
187
+ url: string;
188
+ height: string;
189
+ width: string;
190
+ size: string;
191
+ name: string;
192
+ kind: string;
193
+ } & {
194
+ date?: string | null | undefined;
195
+ }) | ({
196
+ id: string;
197
+ url: string;
198
+ name: string;
199
+ kind: string;
200
+ size: string;
201
+ } & {
202
+ date?: string | null | undefined;
203
+ } & {
204
+ __TYPE__: "FileLink";
205
+ } & {
206
+ size?: string;
207
+ }) | ({
208
+ __TYPE__: "DocumentLink";
209
+ } & {
210
+ id: string;
211
+ }) | ({
212
+ __TYPE__: "ExternalLink";
213
+ } & {
214
+ url: string;
215
+ } & {
216
+ kind?: "web";
217
+ target?: string | null | undefined;
218
+ preview?: {
219
+ title?: string;
220
+ } | null | undefined;
221
+ }), ({
222
+ id: string;
223
+ url: string;
224
+ height: string;
225
+ width: string;
226
+ size: string;
227
+ name: string;
228
+ kind: string;
229
+ } & {
230
+ date?: string | null | undefined;
231
+ }) | ({
232
+ id: string;
233
+ url: string;
234
+ name: string;
235
+ kind: string;
236
+ size: string;
237
+ } & {
238
+ date?: string | null | undefined;
239
+ }) | {
240
+ id: string;
241
+ } | ({
242
+ url: string;
243
+ } & {
244
+ kind?: "web";
245
+ target?: string | null | undefined;
246
+ preview?: {
247
+ title?: string;
248
+ } | null | undefined;
249
+ }), unknown>, t.NullC, t.UndefinedC]>;
250
+ }>]>;
251
+ }>, t.PartialC<{
252
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
253
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
254
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
255
+ type: t.LiteralC<"embed">;
256
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
257
+ embed_url: t.StringC;
258
+ type: t.StringC;
259
+ }>, t.PartialC<{
260
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
261
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
262
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
263
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
264
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
265
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
266
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
267
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
268
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
269
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
270
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
271
+ }>]>>, t.ExactC<t.TypeC<{
272
+ __TYPE__: t.LiteralC<"EmbedContent">;
273
+ all: t.UnknownC;
274
+ }>>]>;
275
+ }>, t.PartialC<{
276
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
277
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
278
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
279
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
280
+ content: t.IntersectionC<[t.TypeC<{
281
+ text: t.StringC;
282
+ }>, t.PartialC<{
283
+ spans: t.Type<({
284
+ data: ({
285
+ __TYPE__: "ImageLink";
286
+ } & {
287
+ id: string;
288
+ url: string;
289
+ height: string;
290
+ width: string;
291
+ size: string;
292
+ name: string;
293
+ kind: string;
294
+ } & {
295
+ date?: string | null | undefined;
296
+ }) | ({
297
+ id: string;
298
+ url: string;
299
+ name: string;
300
+ kind: string;
301
+ size: string;
302
+ } & {
303
+ date?: string | null | undefined;
304
+ } & {
305
+ __TYPE__: "FileLink";
306
+ } & {
307
+ size?: string;
308
+ }) | ({
309
+ __TYPE__: "DocumentLink";
310
+ } & {
311
+ id: string;
312
+ }) | ({
313
+ __TYPE__: "ExternalLink";
314
+ } & {
315
+ url: string;
316
+ } & {
317
+ kind?: "web";
318
+ target?: string | null | undefined;
319
+ preview?: {
320
+ title?: string;
321
+ } | null | undefined;
322
+ });
323
+ start: number;
324
+ end: number;
325
+ type: "hyperlink";
326
+ } | {
327
+ data: string;
328
+ start: number;
329
+ end: number;
330
+ type: "label";
331
+ } | {
332
+ start: number;
333
+ end: number;
334
+ type: "strong" | "em" | "list-item";
335
+ })[], ({
336
+ data: ({
337
+ __TYPE__: "ImageLink";
338
+ } & {
339
+ id: string;
340
+ url: string;
341
+ height: string;
342
+ width: string;
343
+ size: string;
344
+ name: string;
345
+ kind: string;
346
+ } & {
347
+ date?: string | null | undefined;
348
+ }) | ({
349
+ id: string;
350
+ url: string;
351
+ name: string;
352
+ kind: string;
353
+ size: string;
354
+ } & {
355
+ date?: string | null | undefined;
356
+ } & {
357
+ __TYPE__: "FileLink";
358
+ } & {
359
+ size?: string;
360
+ }) | ({
361
+ __TYPE__: "DocumentLink";
362
+ } & {
363
+ id: string;
364
+ }) | ({
365
+ __TYPE__: "ExternalLink";
366
+ } & {
367
+ url: string;
368
+ } & {
369
+ kind?: "web";
370
+ target?: string | null | undefined;
371
+ preview?: {
372
+ title?: string;
373
+ } | null | undefined;
374
+ });
375
+ start: number;
376
+ end: number;
377
+ type: "hyperlink";
378
+ } | {
379
+ data: string;
380
+ start: number;
381
+ end: number;
382
+ type: "label";
383
+ } | {
384
+ start: number;
385
+ end: number;
386
+ type: "strong" | "em" | "list-item";
387
+ })[], unknown>;
388
+ }>]>;
389
+ }>, t.PartialC<{
390
+ label: t.StringC;
391
+ direction: t.StringC;
392
+ }>]>>]>>;
393
+ }>>, t.ExactC<t.TypeC<{
394
+ __TYPE__: t.LiteralC<"SeparatorContent">;
395
+ }>>]>, t.ExactC<t.TypeC<{
396
+ __TYPE__: t.LiteralC<"GroupContentType">;
397
+ value: t.ArrayC<t.ExactC<t.TypeC<{
398
+ __TYPE__: t.LiteralC<"GroupItemContent">;
399
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
400
+ type: t.StringC;
401
+ __TYPE__: t.LiteralC<"EmptyContent">;
402
+ }>>, t.ExactC<t.TypeC<{
403
+ __TYPE__: t.LiteralC<"BooleanContent">;
404
+ value: t.BooleanC;
405
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
406
+ embed_url: t.StringC;
407
+ type: t.StringC;
408
+ }>, t.PartialC<{
409
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
410
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
411
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
412
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
413
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
414
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
415
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
416
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
417
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
418
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
419
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
420
+ }>]>>, t.ExactC<t.TypeC<{
421
+ __TYPE__: t.LiteralC<"EmbedContent">;
422
+ all: t.UnknownC;
423
+ }>>]>, t.ExactC<t.TypeC<{
424
+ type: t.LiteralC<"Text">;
425
+ value: t.Type<string, string, unknown>;
426
+ __TYPE__: t.LiteralC<"FieldContent">;
427
+ }>>, t.ExactC<t.TypeC<{
428
+ type: t.LiteralC<"Timestamp">;
429
+ value: t.Type<string, string, unknown>;
430
+ __TYPE__: t.LiteralC<"FieldContent">;
431
+ }>>, t.ExactC<t.TypeC<{
432
+ type: t.LiteralC<"Select">;
433
+ value: t.Type<string, string, unknown>;
434
+ __TYPE__: t.LiteralC<"FieldContent">;
435
+ }>>, t.ExactC<t.TypeC<{
436
+ type: t.LiteralC<"Range">;
437
+ value: t.Type<string, string, unknown>;
438
+ __TYPE__: t.LiteralC<"FieldContent">;
439
+ }>>, t.ExactC<t.TypeC<{
440
+ type: t.LiteralC<"Number">;
441
+ value: t.Type<string, string, unknown>;
442
+ __TYPE__: t.LiteralC<"FieldContent">;
443
+ }>>, t.ExactC<t.TypeC<{
444
+ type: t.LiteralC<"Date">;
445
+ value: t.Type<string, string, unknown>;
446
+ __TYPE__: t.LiteralC<"FieldContent">;
447
+ }>>, t.ExactC<t.TypeC<{
448
+ type: t.LiteralC<"Color">;
449
+ value: t.Type<string, string, unknown>;
450
+ __TYPE__: t.LiteralC<"FieldContent">;
451
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
452
+ position: t.ExactC<t.TypeC<{
453
+ lat: t.NumberC;
454
+ lng: t.NumberC;
455
+ }>>;
456
+ }>>, t.ExactC<t.TypeC<{
457
+ __TYPE__: t.LiteralC<"GeoPointContent">;
458
+ }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
459
+ origin: t.ExactC<t.TypeC<{
460
+ id: t.StringC;
461
+ url: t.StringC;
462
+ width: t.NumberC;
463
+ height: t.NumberC;
464
+ }>>;
465
+ width: t.NumberC;
466
+ height: t.NumberC;
467
+ edit: t.TypeC<{
468
+ zoom: t.NumberC;
469
+ crop: t.TypeC<{
470
+ x: t.NumberC;
471
+ y: t.NumberC;
472
+ }>;
473
+ background: t.StringC;
474
+ }>;
475
+ }>, t.PartialC<{
476
+ url: t.StringC;
477
+ credits: t.Type<string | null, string | null, unknown>;
478
+ alt: t.Type<string | null, string | null, unknown>;
479
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
480
+ }>]>>, t.PartialC<{
481
+ thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
482
+ origin: t.ExactC<t.TypeC<{
483
+ id: t.StringC;
484
+ url: t.StringC;
485
+ width: t.NumberC;
486
+ height: t.NumberC;
487
+ }>>;
488
+ width: t.NumberC;
489
+ height: t.NumberC;
490
+ edit: t.TypeC<{
491
+ zoom: t.NumberC;
492
+ crop: t.TypeC<{
493
+ x: t.NumberC;
494
+ y: t.NumberC;
495
+ }>;
496
+ background: t.StringC;
497
+ }>;
498
+ }>, t.PartialC<{
499
+ url: t.StringC;
500
+ credits: t.Type<string | null, string | null, unknown>;
501
+ alt: t.Type<string | null, string | null, unknown>;
502
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
503
+ }>]>>>;
504
+ }>]>, t.ExactC<t.TypeC<{
505
+ __TYPE__: t.LiteralC<"ImageContent">;
506
+ }>>]>, t.ExactC<t.TypeC<{
507
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
508
+ value: t.StringC;
509
+ }>>, t.ExactC<t.TypeC<{
510
+ __TYPE__: t.LiteralC<"LinkContent">;
511
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
512
+ __TYPE__: t.LiteralC<"ImageLink">;
513
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
514
+ id: t.StringC;
515
+ url: t.StringC;
516
+ height: t.StringC;
517
+ width: t.StringC;
518
+ size: t.StringC;
519
+ name: t.StringC;
520
+ kind: t.StringC;
521
+ }>, t.PartialC<{
522
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
523
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
524
+ id: t.StringC;
525
+ url: t.StringC;
526
+ name: t.StringC;
527
+ kind: t.StringC;
528
+ size: t.StringC;
529
+ }>, t.PartialC<{
530
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
531
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
532
+ __TYPE__: t.LiteralC<"FileLink">;
533
+ }>, t.PartialC<{
534
+ size: t.StringC;
535
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
536
+ __TYPE__: t.LiteralC<"DocumentLink">;
537
+ }>>, t.ExactC<t.TypeC<{
538
+ id: t.Type<string, string, unknown>;
539
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
540
+ __TYPE__: t.LiteralC<"ExternalLink">;
541
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
542
+ url: t.StringC;
543
+ }>, t.PartialC<{
544
+ kind: t.LiteralC<"web">;
545
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
546
+ preview: t.UnionC<[t.Type<{
547
+ title?: string;
548
+ }, {
549
+ title?: string;
550
+ }, unknown>, t.NullC, t.UndefinedC]>;
551
+ }>]>>]>]>;
552
+ }>>, t.ExactC<t.TypeC<{
553
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
554
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
555
+ type: t.LiteralC<"image">;
556
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
557
+ origin: t.ExactC<t.TypeC<{
558
+ id: t.StringC;
559
+ url: t.StringC;
560
+ width: t.NumberC;
561
+ height: t.NumberC;
562
+ }>>;
563
+ width: t.NumberC;
564
+ height: t.NumberC;
565
+ edit: t.TypeC<{
566
+ zoom: t.NumberC;
567
+ crop: t.TypeC<{
568
+ x: t.NumberC;
569
+ y: t.NumberC;
570
+ }>;
571
+ background: t.StringC;
572
+ }>;
573
+ }>, t.PartialC<{
574
+ url: t.StringC;
575
+ credits: t.Type<string | null, string | null, unknown>;
576
+ alt: t.Type<string | null, string | null, unknown>;
577
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
578
+ }>]>>, t.PartialC<{
579
+ linkTo: t.UnionC<[t.Type<({
580
+ __TYPE__: "ImageLink";
581
+ } & {
582
+ id: string;
583
+ url: string;
584
+ height: string;
585
+ width: string;
586
+ size: string;
587
+ name: string;
588
+ kind: string;
589
+ } & {
590
+ date?: string | null | undefined;
591
+ }) | ({
592
+ id: string;
593
+ url: string;
594
+ name: string;
595
+ kind: string;
596
+ size: string;
597
+ } & {
598
+ date?: string | null | undefined;
599
+ } & {
600
+ __TYPE__: "FileLink";
601
+ } & {
602
+ size?: string;
603
+ }) | ({
604
+ __TYPE__: "DocumentLink";
605
+ } & {
606
+ id: string;
607
+ }) | ({
608
+ __TYPE__: "ExternalLink";
609
+ } & {
610
+ url: string;
611
+ } & {
612
+ kind?: "web";
613
+ target?: string | null | undefined;
614
+ preview?: {
615
+ title?: string;
616
+ } | null | undefined;
617
+ }), ({
618
+ id: string;
619
+ url: string;
620
+ height: string;
621
+ width: string;
622
+ size: string;
623
+ name: string;
624
+ kind: string;
625
+ } & {
626
+ date?: string | null | undefined;
627
+ }) | ({
628
+ id: string;
629
+ url: string;
630
+ name: string;
631
+ kind: string;
632
+ size: string;
633
+ } & {
634
+ date?: string | null | undefined;
635
+ }) | {
636
+ id: string;
637
+ } | ({
638
+ url: string;
639
+ } & {
640
+ kind?: "web";
641
+ target?: string | null | undefined;
642
+ preview?: {
643
+ title?: string;
644
+ } | null | undefined;
645
+ }), unknown>, t.NullC, t.UndefinedC]>;
646
+ }>]>;
647
+ }>, t.PartialC<{
648
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
649
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
650
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
651
+ type: t.LiteralC<"embed">;
652
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
653
+ embed_url: t.StringC;
654
+ type: t.StringC;
655
+ }>, t.PartialC<{
656
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
657
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
658
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
659
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
660
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
661
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
662
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
663
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
664
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
665
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
666
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
667
+ }>]>>, t.ExactC<t.TypeC<{
668
+ __TYPE__: t.LiteralC<"EmbedContent">;
669
+ all: t.UnknownC;
670
+ }>>]>;
671
+ }>, t.PartialC<{
672
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
673
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
674
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
675
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
676
+ content: t.IntersectionC<[t.TypeC<{
677
+ text: t.StringC;
678
+ }>, t.PartialC<{
679
+ spans: t.Type<({
680
+ data: ({
681
+ __TYPE__: "ImageLink";
682
+ } & {
683
+ id: string;
684
+ url: string;
685
+ height: string;
686
+ width: string;
687
+ size: string;
688
+ name: string;
689
+ kind: string;
690
+ } & {
691
+ date?: string | null | undefined;
692
+ }) | ({
693
+ id: string;
694
+ url: string;
695
+ name: string;
696
+ kind: string;
697
+ size: string;
698
+ } & {
699
+ date?: string | null | undefined;
700
+ } & {
701
+ __TYPE__: "FileLink";
702
+ } & {
703
+ size?: string;
704
+ }) | ({
705
+ __TYPE__: "DocumentLink";
706
+ } & {
707
+ id: string;
708
+ }) | ({
709
+ __TYPE__: "ExternalLink";
710
+ } & {
711
+ url: string;
712
+ } & {
713
+ kind?: "web";
714
+ target?: string | null | undefined;
715
+ preview?: {
716
+ title?: string;
717
+ } | null | undefined;
718
+ });
719
+ start: number;
720
+ end: number;
721
+ type: "hyperlink";
722
+ } | {
723
+ data: string;
724
+ start: number;
725
+ end: number;
726
+ type: "label";
727
+ } | {
728
+ start: number;
729
+ end: number;
730
+ type: "strong" | "em" | "list-item";
731
+ })[], ({
732
+ data: ({
733
+ __TYPE__: "ImageLink";
734
+ } & {
735
+ id: string;
736
+ url: string;
737
+ height: string;
738
+ width: string;
739
+ size: string;
740
+ name: string;
741
+ kind: string;
742
+ } & {
743
+ date?: string | null | undefined;
744
+ }) | ({
745
+ id: string;
746
+ url: string;
747
+ name: string;
748
+ kind: string;
749
+ size: string;
750
+ } & {
751
+ date?: string | null | undefined;
752
+ } & {
753
+ __TYPE__: "FileLink";
754
+ } & {
755
+ size?: string;
756
+ }) | ({
757
+ __TYPE__: "DocumentLink";
758
+ } & {
759
+ id: string;
760
+ }) | ({
761
+ __TYPE__: "ExternalLink";
762
+ } & {
763
+ url: string;
764
+ } & {
765
+ kind?: "web";
766
+ target?: string | null | undefined;
767
+ preview?: {
768
+ title?: string;
769
+ } | null | undefined;
770
+ });
771
+ start: number;
772
+ end: number;
773
+ type: "hyperlink";
774
+ } | {
775
+ data: string;
776
+ start: number;
777
+ end: number;
778
+ type: "label";
779
+ } | {
780
+ start: number;
781
+ end: number;
782
+ type: "strong" | "em" | "list-item";
783
+ })[], unknown>;
784
+ }>]>;
785
+ }>, t.PartialC<{
786
+ label: t.StringC;
787
+ direction: t.StringC;
788
+ }>]>>]>>;
789
+ }>>, t.ExactC<t.TypeC<{
790
+ __TYPE__: t.LiteralC<"SeparatorContent">;
791
+ }>>]>]>>;
792
+ }>>>;
793
+ }>>]>;
794
+ export declare type SlicePrimaryContent = t.TypeOf<typeof SlicePrimaryContent>;
795
+ export declare type SlicePrimaryContentType = SlicePrimaryContent["__TYPE__"];
796
+ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
797
+ decode(value: unknown): import("fp-ts/lib/Either").Right<{
798
+ type: string;
799
+ __TYPE__: "EmptyContent";
800
+ }> | import("fp-ts/lib/Either").Right<{
801
+ __TYPE__: "BooleanContent";
802
+ value: boolean;
803
+ }> | import("fp-ts/lib/Either").Right<{
804
+ embed_url: string;
805
+ type: string;
806
+ } & {
807
+ version?: string | number | null;
808
+ title?: string | null | undefined;
809
+ author_name?: string | null | undefined;
810
+ author_url?: string | null | undefined;
811
+ provider_name?: string | null | undefined;
812
+ provider_url?: string | null | undefined;
813
+ cache_age?: string | number | null;
814
+ thumbnail_url?: string | null | undefined;
815
+ thumbnail_width?: number | null | undefined;
816
+ thumbnail_height?: number | null | undefined;
817
+ html?: string | null | undefined;
818
+ } & {
819
+ __TYPE__: "EmbedContent";
820
+ all: unknown;
821
+ }> | import("fp-ts/lib/Either").Right<{
822
+ type: "Color";
823
+ value: string;
824
+ __TYPE__: "FieldContent";
825
+ }> | import("fp-ts/lib/Either").Right<{
826
+ type: "Date";
827
+ value: string;
828
+ __TYPE__: "FieldContent";
829
+ }> | import("fp-ts/lib/Either").Right<{
830
+ type: "Number";
831
+ value: string;
832
+ __TYPE__: "FieldContent";
833
+ }> | import("fp-ts/lib/Either").Right<{
834
+ type: "Range";
835
+ value: string;
836
+ __TYPE__: "FieldContent";
837
+ }> | import("fp-ts/lib/Either").Right<{
838
+ type: "Select";
839
+ value: string;
840
+ __TYPE__: "FieldContent";
841
+ }> | import("fp-ts/lib/Either").Right<{
842
+ type: "Text";
843
+ value: string;
844
+ __TYPE__: "FieldContent";
845
+ }> | import("fp-ts/lib/Either").Right<{
846
+ type: "Timestamp";
847
+ value: string;
848
+ __TYPE__: "FieldContent";
849
+ }> | import("fp-ts/lib/Either").Right<{
850
+ position: {
851
+ lat: number;
852
+ lng: number;
853
+ };
854
+ } & {
855
+ __TYPE__: "GeoPointContent";
856
+ }> | import("fp-ts/lib/Either").Right<{
857
+ origin: {
858
+ id: string;
859
+ url: string;
860
+ width: number;
861
+ height: number;
862
+ };
863
+ width: number;
864
+ height: number;
865
+ edit: {
866
+ zoom: number;
867
+ crop: {
868
+ x: number;
869
+ y: number;
870
+ };
871
+ background: string;
872
+ };
873
+ } & {
874
+ url?: string;
875
+ credits?: string | null;
876
+ alt?: string | null;
877
+ provider?: string | null | undefined;
878
+ } & {
879
+ thumbnails?: {
880
+ [x: string]: {
881
+ origin: {
882
+ id: string;
883
+ url: string;
884
+ width: number;
885
+ height: number;
886
+ };
887
+ width: number;
888
+ height: number;
889
+ edit: {
890
+ zoom: number;
891
+ crop: {
892
+ x: number;
893
+ y: number;
894
+ };
895
+ background: string;
896
+ };
897
+ } & {
898
+ url?: string;
899
+ credits?: string | null;
900
+ alt?: string | null;
901
+ provider?: string | null | undefined;
902
+ };
903
+ };
904
+ } & {
905
+ __TYPE__: "ImageContent";
906
+ }> | import("fp-ts/lib/Either").Right<{
907
+ __TYPE__: "IntegrationFieldsContent";
908
+ value: string;
909
+ }> | import("fp-ts/lib/Either").Right<{
910
+ __TYPE__: "LinkContent";
911
+ value: ({
912
+ __TYPE__: "ImageLink";
913
+ } & {
914
+ id: string;
915
+ url: string;
916
+ height: string;
917
+ width: string;
918
+ size: string;
919
+ name: string;
920
+ kind: string;
921
+ } & {
922
+ date?: string | null | undefined;
923
+ }) | ({
924
+ id: string;
925
+ url: string;
926
+ name: string;
927
+ kind: string;
928
+ size: string;
929
+ } & {
930
+ date?: string | null | undefined;
931
+ } & {
932
+ __TYPE__: "FileLink";
933
+ } & {
934
+ size?: string;
935
+ }) | ({
936
+ __TYPE__: "DocumentLink";
937
+ } & {
938
+ id: string;
939
+ }) | ({
940
+ __TYPE__: "ExternalLink";
941
+ } & {
942
+ url: string;
943
+ } & {
944
+ kind?: "web";
945
+ target?: string | null | undefined;
946
+ preview?: {
947
+ title?: string;
948
+ } | null | undefined;
949
+ });
950
+ }> | import("fp-ts/lib/Either").Right<{
951
+ __TYPE__: "StructuredTextContent";
952
+ value: (({
953
+ type: "image";
954
+ data: {
955
+ origin: {
956
+ id: string;
957
+ url: string;
958
+ width: number;
959
+ height: number;
960
+ };
961
+ width: number;
962
+ height: number;
963
+ edit: {
964
+ zoom: number;
965
+ crop: {
966
+ x: number;
967
+ y: number;
968
+ };
969
+ background: string;
970
+ };
971
+ } & {
972
+ url?: string;
973
+ credits?: string | null;
974
+ alt?: string | null;
975
+ provider?: string | null | undefined;
976
+ } & {
977
+ linkTo?: ({
978
+ __TYPE__: "ImageLink";
979
+ } & {
980
+ id: string;
981
+ url: string;
982
+ height: string;
983
+ width: string;
984
+ size: string;
985
+ name: string;
986
+ kind: string;
987
+ } & {
988
+ date?: string | null | undefined;
989
+ }) | ({
990
+ id: string;
991
+ url: string;
992
+ name: string;
993
+ kind: string;
994
+ size: string;
995
+ } & {
996
+ date?: string | null | undefined;
997
+ } & {
998
+ __TYPE__: "FileLink";
999
+ } & {
1000
+ size?: string;
1001
+ }) | ({
1002
+ __TYPE__: "DocumentLink";
1003
+ } & {
1004
+ id: string;
1005
+ }) | ({
1006
+ __TYPE__: "ExternalLink";
1007
+ } & {
1008
+ url: string;
1009
+ } & {
1010
+ kind?: "web";
1011
+ target?: string | null | undefined;
1012
+ preview?: {
1013
+ title?: string;
1014
+ } | null | undefined;
1015
+ }) | null | undefined;
1016
+ };
1017
+ } & {
1018
+ label?: string | null | undefined;
1019
+ direction?: string | null | undefined;
1020
+ }) | ({
1021
+ type: "embed";
1022
+ data: {
1023
+ embed_url: string;
1024
+ type: string;
1025
+ } & {
1026
+ version?: string | number | null;
1027
+ title?: string | null | undefined;
1028
+ author_name?: string | null | undefined;
1029
+ author_url?: string | null | undefined;
1030
+ provider_name?: string | null | undefined;
1031
+ provider_url?: string | null | undefined;
1032
+ cache_age?: string | number | null;
1033
+ thumbnail_url?: string | null | undefined;
1034
+ thumbnail_width?: number | null | undefined;
1035
+ thumbnail_height?: number | null | undefined;
1036
+ html?: string | null | undefined;
1037
+ } & {
1038
+ __TYPE__: "EmbedContent";
1039
+ all: unknown;
1040
+ };
1041
+ } & {
1042
+ label?: string | null | undefined;
1043
+ direction?: string | null | undefined;
1044
+ }) | ({
1045
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1046
+ content: {
1047
+ text: string;
1048
+ } & {
1049
+ spans?: ({
1050
+ data: ({
1051
+ __TYPE__: "ImageLink";
1052
+ } & {
1053
+ id: string;
1054
+ url: string;
1055
+ height: string;
1056
+ width: string;
1057
+ size: string;
1058
+ name: string;
1059
+ kind: string;
1060
+ } & {
1061
+ date?: string | null | undefined;
1062
+ }) | ({
1063
+ id: string;
1064
+ url: string;
1065
+ name: string;
1066
+ kind: string;
1067
+ size: string;
1068
+ } & {
1069
+ date?: string | null | undefined;
1070
+ } & {
1071
+ __TYPE__: "FileLink";
1072
+ } & {
1073
+ size?: string;
1074
+ }) | ({
1075
+ __TYPE__: "DocumentLink";
1076
+ } & {
1077
+ id: string;
1078
+ }) | ({
1079
+ __TYPE__: "ExternalLink";
1080
+ } & {
1081
+ url: string;
1082
+ } & {
1083
+ kind?: "web";
1084
+ target?: string | null | undefined;
1085
+ preview?: {
1086
+ title?: string;
1087
+ } | null | undefined;
1088
+ });
1089
+ start: number;
1090
+ end: number;
1091
+ type: "hyperlink";
1092
+ } | {
1093
+ data: string;
1094
+ start: number;
1095
+ end: number;
1096
+ type: "label";
1097
+ } | {
1098
+ start: number;
1099
+ end: number;
1100
+ type: "strong" | "em" | "list-item";
1101
+ })[];
1102
+ };
1103
+ } & {
1104
+ label?: string;
1105
+ direction?: string;
1106
+ }))[];
1107
+ }> | import("fp-ts/lib/Either").Right<{
1108
+ __TYPE__: "SeparatorContent";
1109
+ }> | t.Validation<{
1110
+ __TYPE__: "GroupContentType";
1111
+ value: {
1112
+ __TYPE__: "GroupItemContent";
1113
+ value: [string, {
1114
+ type: string;
1115
+ __TYPE__: "EmptyContent";
1116
+ } | {
1117
+ __TYPE__: "BooleanContent";
1118
+ value: boolean;
1119
+ } | ({
1120
+ embed_url: string;
1121
+ type: string;
1122
+ } & {
1123
+ version?: string | number | null;
1124
+ title?: string | null | undefined;
1125
+ author_name?: string | null | undefined;
1126
+ author_url?: string | null | undefined;
1127
+ provider_name?: string | null | undefined;
1128
+ provider_url?: string | null | undefined;
1129
+ cache_age?: string | number | null;
1130
+ thumbnail_url?: string | null | undefined;
1131
+ thumbnail_width?: number | null | undefined;
1132
+ thumbnail_height?: number | null | undefined;
1133
+ html?: string | null | undefined;
1134
+ } & {
1135
+ __TYPE__: "EmbedContent";
1136
+ all: unknown;
1137
+ }) | {
1138
+ type: "Color";
1139
+ value: string;
1140
+ __TYPE__: "FieldContent";
1141
+ } | {
1142
+ type: "Date";
1143
+ value: string;
1144
+ __TYPE__: "FieldContent";
1145
+ } | {
1146
+ type: "Number";
1147
+ value: string;
1148
+ __TYPE__: "FieldContent";
1149
+ } | {
1150
+ type: "Range";
1151
+ value: string;
1152
+ __TYPE__: "FieldContent";
1153
+ } | {
1154
+ type: "Select";
1155
+ value: string;
1156
+ __TYPE__: "FieldContent";
1157
+ } | {
1158
+ type: "Text";
1159
+ value: string;
1160
+ __TYPE__: "FieldContent";
1161
+ } | {
1162
+ type: "Timestamp";
1163
+ value: string;
1164
+ __TYPE__: "FieldContent";
1165
+ } | ({
1166
+ position: {
1167
+ lat: number;
1168
+ lng: number;
1169
+ };
1170
+ } & {
1171
+ __TYPE__: "GeoPointContent";
1172
+ }) | ({
1173
+ origin: {
1174
+ id: string;
1175
+ url: string;
1176
+ width: number;
1177
+ height: number;
1178
+ };
1179
+ width: number;
1180
+ height: number;
1181
+ edit: {
1182
+ zoom: number;
1183
+ crop: {
1184
+ x: number;
1185
+ y: number;
1186
+ };
1187
+ background: string;
1188
+ };
1189
+ } & {
1190
+ url?: string;
1191
+ credits?: string | null;
1192
+ alt?: string | null;
1193
+ provider?: string | null | undefined;
1194
+ } & {
1195
+ thumbnails?: {
1196
+ [x: string]: {
1197
+ origin: {
1198
+ id: string;
1199
+ url: string;
1200
+ width: number;
1201
+ height: number;
1202
+ };
1203
+ width: number;
1204
+ height: number;
1205
+ edit: {
1206
+ zoom: number;
1207
+ crop: {
1208
+ x: number;
1209
+ y: number;
1210
+ };
1211
+ background: string;
1212
+ };
1213
+ } & {
1214
+ url?: string;
1215
+ credits?: string | null;
1216
+ alt?: string | null;
1217
+ provider?: string | null | undefined;
1218
+ };
1219
+ };
1220
+ } & {
1221
+ __TYPE__: "ImageContent";
1222
+ }) | {
1223
+ __TYPE__: "IntegrationFieldsContent";
1224
+ value: string;
1225
+ } | {
1226
+ __TYPE__: "LinkContent";
1227
+ value: ({
1228
+ __TYPE__: "ImageLink";
1229
+ } & {
1230
+ id: string;
1231
+ url: string;
1232
+ height: string;
1233
+ width: string;
1234
+ size: string;
1235
+ name: string;
1236
+ kind: string;
1237
+ } & {
1238
+ date?: string | null | undefined;
1239
+ }) | ({
1240
+ id: string;
1241
+ url: string;
1242
+ name: string;
1243
+ kind: string;
1244
+ size: string;
1245
+ } & {
1246
+ date?: string | null | undefined;
1247
+ } & {
1248
+ __TYPE__: "FileLink";
1249
+ } & {
1250
+ size?: string;
1251
+ }) | ({
1252
+ __TYPE__: "DocumentLink";
1253
+ } & {
1254
+ id: string;
1255
+ }) | ({
1256
+ __TYPE__: "ExternalLink";
1257
+ } & {
1258
+ url: string;
1259
+ } & {
1260
+ kind?: "web";
1261
+ target?: string | null | undefined;
1262
+ preview?: {
1263
+ title?: string;
1264
+ } | null | undefined;
1265
+ });
1266
+ } | {
1267
+ __TYPE__: "StructuredTextContent";
1268
+ value: (({
1269
+ type: "image";
1270
+ data: {
1271
+ origin: {
1272
+ id: string;
1273
+ url: string;
1274
+ width: number;
1275
+ height: number;
1276
+ };
1277
+ width: number;
1278
+ height: number;
1279
+ edit: {
1280
+ zoom: number;
1281
+ crop: {
1282
+ x: number;
1283
+ y: number;
1284
+ };
1285
+ background: string;
1286
+ };
1287
+ } & {
1288
+ url?: string;
1289
+ credits?: string | null;
1290
+ alt?: string | null;
1291
+ provider?: string | null | undefined;
1292
+ } & {
1293
+ linkTo?: ({
1294
+ __TYPE__: "ImageLink";
1295
+ } & {
1296
+ id: string;
1297
+ url: string;
1298
+ height: string;
1299
+ width: string;
1300
+ size: string;
1301
+ name: string;
1302
+ kind: string;
1303
+ } & {
1304
+ date?: string | null | undefined;
1305
+ }) | ({
1306
+ id: string;
1307
+ url: string;
1308
+ name: string;
1309
+ kind: string;
1310
+ size: string;
1311
+ } & {
1312
+ date?: string | null | undefined;
1313
+ } & {
1314
+ __TYPE__: "FileLink";
1315
+ } & {
1316
+ size?: string;
1317
+ }) | ({
1318
+ __TYPE__: "DocumentLink";
1319
+ } & {
1320
+ id: string;
1321
+ }) | ({
1322
+ __TYPE__: "ExternalLink";
1323
+ } & {
1324
+ url: string;
1325
+ } & {
1326
+ kind?: "web";
1327
+ target?: string | null | undefined;
1328
+ preview?: {
1329
+ title?: string;
1330
+ } | null | undefined;
1331
+ }) | null | undefined;
1332
+ };
1333
+ } & {
1334
+ label?: string | null | undefined;
1335
+ direction?: string | null | undefined;
1336
+ }) | ({
1337
+ type: "embed";
1338
+ data: {
1339
+ embed_url: string;
1340
+ type: string;
1341
+ } & {
1342
+ version?: string | number | null;
1343
+ title?: string | null | undefined;
1344
+ author_name?: string | null | undefined;
1345
+ author_url?: string | null | undefined;
1346
+ provider_name?: string | null | undefined;
1347
+ provider_url?: string | null | undefined;
1348
+ cache_age?: string | number | null;
1349
+ thumbnail_url?: string | null | undefined;
1350
+ thumbnail_width?: number | null | undefined;
1351
+ thumbnail_height?: number | null | undefined;
1352
+ html?: string | null | undefined;
1353
+ } & {
1354
+ __TYPE__: "EmbedContent";
1355
+ all: unknown;
1356
+ };
1357
+ } & {
1358
+ label?: string | null | undefined;
1359
+ direction?: string | null | undefined;
1360
+ }) | ({
1361
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1362
+ content: {
1363
+ text: string;
1364
+ } & {
1365
+ spans?: ({
1366
+ data: ({
1367
+ __TYPE__: "ImageLink";
1368
+ } & {
1369
+ id: string;
1370
+ url: string;
1371
+ height: string;
1372
+ width: string;
1373
+ size: string;
1374
+ name: string;
1375
+ kind: string;
1376
+ } & {
1377
+ date?: string | null | undefined;
1378
+ }) | ({
1379
+ id: string;
1380
+ url: string;
1381
+ name: string;
1382
+ kind: string;
1383
+ size: string;
1384
+ } & {
1385
+ date?: string | null | undefined;
1386
+ } & {
1387
+ __TYPE__: "FileLink";
1388
+ } & {
1389
+ size?: string;
1390
+ }) | ({
1391
+ __TYPE__: "DocumentLink";
1392
+ } & {
1393
+ id: string;
1394
+ }) | ({
1395
+ __TYPE__: "ExternalLink";
1396
+ } & {
1397
+ url: string;
1398
+ } & {
1399
+ kind?: "web";
1400
+ target?: string | null | undefined;
1401
+ preview?: {
1402
+ title?: string;
1403
+ } | null | undefined;
1404
+ });
1405
+ start: number;
1406
+ end: number;
1407
+ type: "hyperlink";
1408
+ } | {
1409
+ data: string;
1410
+ start: number;
1411
+ end: number;
1412
+ type: "label";
1413
+ } | {
1414
+ start: number;
1415
+ end: number;
1416
+ type: "strong" | "em" | "list-item";
1417
+ })[];
1418
+ };
1419
+ } & {
1420
+ label?: string;
1421
+ direction?: string;
1422
+ }))[];
1423
+ } | {
1424
+ __TYPE__: "SeparatorContent";
1425
+ }][];
1426
+ }[];
1427
+ }> | undefined;
1428
+ encode(value: SlicePrimaryContent): import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
1429
+ };
1430
+ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1431
+ type: string;
1432
+ __TYPE__: "EmptyContent";
1433
+ } | {
1434
+ __TYPE__: "BooleanContent";
1435
+ value: boolean;
1436
+ } | ({
1437
+ embed_url: string;
1438
+ type: string;
1439
+ } & {
1440
+ version?: string | number | null;
1441
+ title?: string | null | undefined;
1442
+ author_name?: string | null | undefined;
1443
+ author_url?: string | null | undefined;
1444
+ provider_name?: string | null | undefined;
1445
+ provider_url?: string | null | undefined;
1446
+ cache_age?: string | number | null;
1447
+ thumbnail_url?: string | null | undefined;
1448
+ thumbnail_width?: number | null | undefined;
1449
+ thumbnail_height?: number | null | undefined;
1450
+ html?: string | null | undefined;
1451
+ } & {
1452
+ __TYPE__: "EmbedContent";
1453
+ all: unknown;
1454
+ }) | {
1455
+ type: "Color";
1456
+ value: string;
1457
+ __TYPE__: "FieldContent";
1458
+ } | {
1459
+ type: "Date";
1460
+ value: string;
1461
+ __TYPE__: "FieldContent";
1462
+ } | {
1463
+ type: "Number";
1464
+ value: string;
1465
+ __TYPE__: "FieldContent";
1466
+ } | {
1467
+ type: "Range";
1468
+ value: string;
1469
+ __TYPE__: "FieldContent";
1470
+ } | {
1471
+ type: "Select";
1472
+ value: string;
1473
+ __TYPE__: "FieldContent";
1474
+ } | {
1475
+ type: "Text";
1476
+ value: string;
1477
+ __TYPE__: "FieldContent";
1478
+ } | {
1479
+ type: "Timestamp";
1480
+ value: string;
1481
+ __TYPE__: "FieldContent";
1482
+ } | ({
1483
+ position: {
1484
+ lat: number;
1485
+ lng: number;
1486
+ };
1487
+ } & {
1488
+ __TYPE__: "GeoPointContent";
1489
+ }) | ({
1490
+ origin: {
1491
+ id: string;
1492
+ url: string;
1493
+ width: number;
1494
+ height: number;
1495
+ };
1496
+ width: number;
1497
+ height: number;
1498
+ edit: {
1499
+ zoom: number;
1500
+ crop: {
1501
+ x: number;
1502
+ y: number;
1503
+ };
1504
+ background: string;
1505
+ };
1506
+ } & {
1507
+ url?: string;
1508
+ credits?: string | null;
1509
+ alt?: string | null;
1510
+ provider?: string | null | undefined;
1511
+ } & {
1512
+ thumbnails?: {
1513
+ [x: string]: {
1514
+ origin: {
1515
+ id: string;
1516
+ url: string;
1517
+ width: number;
1518
+ height: number;
1519
+ };
1520
+ width: number;
1521
+ height: number;
1522
+ edit: {
1523
+ zoom: number;
1524
+ crop: {
1525
+ x: number;
1526
+ y: number;
1527
+ };
1528
+ background: string;
1529
+ };
1530
+ } & {
1531
+ url?: string;
1532
+ credits?: string | null;
1533
+ alt?: string | null;
1534
+ provider?: string | null | undefined;
1535
+ };
1536
+ };
1537
+ } & {
1538
+ __TYPE__: "ImageContent";
1539
+ }) | {
1540
+ __TYPE__: "IntegrationFieldsContent";
1541
+ value: string;
1542
+ } | {
1543
+ __TYPE__: "LinkContent";
1544
+ value: ({
1545
+ __TYPE__: "ImageLink";
1546
+ } & {
1547
+ id: string;
1548
+ url: string;
1549
+ height: string;
1550
+ width: string;
1551
+ size: string;
1552
+ name: string;
1553
+ kind: string;
1554
+ } & {
1555
+ date?: string | null | undefined;
1556
+ }) | ({
1557
+ id: string;
1558
+ url: string;
1559
+ name: string;
1560
+ kind: string;
1561
+ size: string;
1562
+ } & {
1563
+ date?: string | null | undefined;
1564
+ } & {
1565
+ __TYPE__: "FileLink";
1566
+ } & {
1567
+ size?: string;
1568
+ }) | ({
1569
+ __TYPE__: "DocumentLink";
1570
+ } & {
1571
+ id: string;
1572
+ }) | ({
1573
+ __TYPE__: "ExternalLink";
1574
+ } & {
1575
+ url: string;
1576
+ } & {
1577
+ kind?: "web";
1578
+ target?: string | null | undefined;
1579
+ preview?: {
1580
+ title?: string;
1581
+ } | null | undefined;
1582
+ });
1583
+ } | {
1584
+ __TYPE__: "StructuredTextContent";
1585
+ value: (({
1586
+ type: "image";
1587
+ data: {
1588
+ origin: {
1589
+ id: string;
1590
+ url: string;
1591
+ width: number;
1592
+ height: number;
1593
+ };
1594
+ width: number;
1595
+ height: number;
1596
+ edit: {
1597
+ zoom: number;
1598
+ crop: {
1599
+ x: number;
1600
+ y: number;
1601
+ };
1602
+ background: string;
1603
+ };
1604
+ } & {
1605
+ url?: string;
1606
+ credits?: string | null;
1607
+ alt?: string | null;
1608
+ provider?: string | null | undefined;
1609
+ } & {
1610
+ linkTo?: ({
1611
+ __TYPE__: "ImageLink";
1612
+ } & {
1613
+ id: string;
1614
+ url: string;
1615
+ height: string;
1616
+ width: string;
1617
+ size: string;
1618
+ name: string;
1619
+ kind: string;
1620
+ } & {
1621
+ date?: string | null | undefined;
1622
+ }) | ({
1623
+ id: string;
1624
+ url: string;
1625
+ name: string;
1626
+ kind: string;
1627
+ size: string;
1628
+ } & {
1629
+ date?: string | null | undefined;
1630
+ } & {
1631
+ __TYPE__: "FileLink";
1632
+ } & {
1633
+ size?: string;
1634
+ }) | ({
1635
+ __TYPE__: "DocumentLink";
1636
+ } & {
1637
+ id: string;
1638
+ }) | ({
1639
+ __TYPE__: "ExternalLink";
1640
+ } & {
1641
+ url: string;
1642
+ } & {
1643
+ kind?: "web";
1644
+ target?: string | null | undefined;
1645
+ preview?: {
1646
+ title?: string;
1647
+ } | null | undefined;
1648
+ }) | null | undefined;
1649
+ };
1650
+ } & {
1651
+ label?: string | null | undefined;
1652
+ direction?: string | null | undefined;
1653
+ }) | ({
1654
+ type: "embed";
1655
+ data: {
1656
+ embed_url: string;
1657
+ type: string;
1658
+ } & {
1659
+ version?: string | number | null;
1660
+ title?: string | null | undefined;
1661
+ author_name?: string | null | undefined;
1662
+ author_url?: string | null | undefined;
1663
+ provider_name?: string | null | undefined;
1664
+ provider_url?: string | null | undefined;
1665
+ cache_age?: string | number | null;
1666
+ thumbnail_url?: string | null | undefined;
1667
+ thumbnail_width?: number | null | undefined;
1668
+ thumbnail_height?: number | null | undefined;
1669
+ html?: string | null | undefined;
1670
+ } & {
1671
+ __TYPE__: "EmbedContent";
1672
+ all: unknown;
1673
+ };
1674
+ } & {
1675
+ label?: string | null | undefined;
1676
+ direction?: string | null | undefined;
1677
+ }) | ({
1678
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1679
+ content: {
1680
+ text: string;
1681
+ } & {
1682
+ spans?: ({
1683
+ data: ({
1684
+ __TYPE__: "ImageLink";
1685
+ } & {
1686
+ id: string;
1687
+ url: string;
1688
+ height: string;
1689
+ width: string;
1690
+ size: string;
1691
+ name: string;
1692
+ kind: string;
1693
+ } & {
1694
+ date?: string | null | undefined;
1695
+ }) | ({
1696
+ id: string;
1697
+ url: string;
1698
+ name: string;
1699
+ kind: string;
1700
+ size: string;
1701
+ } & {
1702
+ date?: string | null | undefined;
1703
+ } & {
1704
+ __TYPE__: "FileLink";
1705
+ } & {
1706
+ size?: string;
1707
+ }) | ({
1708
+ __TYPE__: "DocumentLink";
1709
+ } & {
1710
+ id: string;
1711
+ }) | ({
1712
+ __TYPE__: "ExternalLink";
1713
+ } & {
1714
+ url: string;
1715
+ } & {
1716
+ kind?: "web";
1717
+ target?: string | null | undefined;
1718
+ preview?: {
1719
+ title?: string;
1720
+ } | null | undefined;
1721
+ });
1722
+ start: number;
1723
+ end: number;
1724
+ type: "hyperlink";
1725
+ } | {
1726
+ data: string;
1727
+ start: number;
1728
+ end: number;
1729
+ type: "label";
1730
+ } | {
1731
+ start: number;
1732
+ end: number;
1733
+ type: "strong" | "em" | "list-item";
1734
+ })[];
1735
+ };
1736
+ } & {
1737
+ label?: string;
1738
+ direction?: string;
1739
+ }))[];
1740
+ } | {
1741
+ __TYPE__: "SeparatorContent";
1742
+ } | {
1743
+ __TYPE__: "GroupContentType";
1744
+ value: {
1745
+ __TYPE__: "GroupItemContent";
1746
+ value: [string, {
1747
+ type: string;
1748
+ __TYPE__: "EmptyContent";
1749
+ } | {
1750
+ __TYPE__: "BooleanContent";
1751
+ value: boolean;
1752
+ } | ({
1753
+ embed_url: string;
1754
+ type: string;
1755
+ } & {
1756
+ version?: string | number | null;
1757
+ title?: string | null | undefined;
1758
+ author_name?: string | null | undefined;
1759
+ author_url?: string | null | undefined;
1760
+ provider_name?: string | null | undefined;
1761
+ provider_url?: string | null | undefined;
1762
+ cache_age?: string | number | null;
1763
+ thumbnail_url?: string | null | undefined;
1764
+ thumbnail_width?: number | null | undefined;
1765
+ thumbnail_height?: number | null | undefined;
1766
+ html?: string | null | undefined;
1767
+ } & {
1768
+ __TYPE__: "EmbedContent";
1769
+ all: unknown;
1770
+ }) | {
1771
+ type: "Color";
1772
+ value: string;
1773
+ __TYPE__: "FieldContent";
1774
+ } | {
1775
+ type: "Date";
1776
+ value: string;
1777
+ __TYPE__: "FieldContent";
1778
+ } | {
1779
+ type: "Number";
1780
+ value: string;
1781
+ __TYPE__: "FieldContent";
1782
+ } | {
1783
+ type: "Range";
1784
+ value: string;
1785
+ __TYPE__: "FieldContent";
1786
+ } | {
1787
+ type: "Select";
1788
+ value: string;
1789
+ __TYPE__: "FieldContent";
1790
+ } | {
1791
+ type: "Text";
1792
+ value: string;
1793
+ __TYPE__: "FieldContent";
1794
+ } | {
1795
+ type: "Timestamp";
1796
+ value: string;
1797
+ __TYPE__: "FieldContent";
1798
+ } | ({
1799
+ position: {
1800
+ lat: number;
1801
+ lng: number;
1802
+ };
1803
+ } & {
1804
+ __TYPE__: "GeoPointContent";
1805
+ }) | ({
1806
+ origin: {
1807
+ id: string;
1808
+ url: string;
1809
+ width: number;
1810
+ height: number;
1811
+ };
1812
+ width: number;
1813
+ height: number;
1814
+ edit: {
1815
+ zoom: number;
1816
+ crop: {
1817
+ x: number;
1818
+ y: number;
1819
+ };
1820
+ background: string;
1821
+ };
1822
+ } & {
1823
+ url?: string;
1824
+ credits?: string | null;
1825
+ alt?: string | null;
1826
+ provider?: string | null | undefined;
1827
+ } & {
1828
+ thumbnails?: {
1829
+ [x: string]: {
1830
+ origin: {
1831
+ id: string;
1832
+ url: string;
1833
+ width: number;
1834
+ height: number;
1835
+ };
1836
+ width: number;
1837
+ height: number;
1838
+ edit: {
1839
+ zoom: number;
1840
+ crop: {
1841
+ x: number;
1842
+ y: number;
1843
+ };
1844
+ background: string;
1845
+ };
1846
+ } & {
1847
+ url?: string;
1848
+ credits?: string | null;
1849
+ alt?: string | null;
1850
+ provider?: string | null | undefined;
1851
+ };
1852
+ };
1853
+ } & {
1854
+ __TYPE__: "ImageContent";
1855
+ }) | {
1856
+ __TYPE__: "IntegrationFieldsContent";
1857
+ value: string;
1858
+ } | {
1859
+ __TYPE__: "LinkContent";
1860
+ value: ({
1861
+ __TYPE__: "ImageLink";
1862
+ } & {
1863
+ id: string;
1864
+ url: string;
1865
+ height: string;
1866
+ width: string;
1867
+ size: string;
1868
+ name: string;
1869
+ kind: string;
1870
+ } & {
1871
+ date?: string | null | undefined;
1872
+ }) | ({
1873
+ id: string;
1874
+ url: string;
1875
+ name: string;
1876
+ kind: string;
1877
+ size: string;
1878
+ } & {
1879
+ date?: string | null | undefined;
1880
+ } & {
1881
+ __TYPE__: "FileLink";
1882
+ } & {
1883
+ size?: string;
1884
+ }) | ({
1885
+ __TYPE__: "DocumentLink";
1886
+ } & {
1887
+ id: string;
1888
+ }) | ({
1889
+ __TYPE__: "ExternalLink";
1890
+ } & {
1891
+ url: string;
1892
+ } & {
1893
+ kind?: "web";
1894
+ target?: string | null | undefined;
1895
+ preview?: {
1896
+ title?: string;
1897
+ } | null | undefined;
1898
+ });
1899
+ } | {
1900
+ __TYPE__: "StructuredTextContent";
1901
+ value: (({
1902
+ type: "image";
1903
+ data: {
1904
+ origin: {
1905
+ id: string;
1906
+ url: string;
1907
+ width: number;
1908
+ height: number;
1909
+ };
1910
+ width: number;
1911
+ height: number;
1912
+ edit: {
1913
+ zoom: number;
1914
+ crop: {
1915
+ x: number;
1916
+ y: number;
1917
+ };
1918
+ background: string;
1919
+ };
1920
+ } & {
1921
+ url?: string;
1922
+ credits?: string | null;
1923
+ alt?: string | null;
1924
+ provider?: string | null | undefined;
1925
+ } & {
1926
+ linkTo?: ({
1927
+ __TYPE__: "ImageLink";
1928
+ } & {
1929
+ id: string;
1930
+ url: string;
1931
+ height: string;
1932
+ width: string;
1933
+ size: string;
1934
+ name: string;
1935
+ kind: string;
1936
+ } & {
1937
+ date?: string | null | undefined;
1938
+ }) | ({
1939
+ id: string;
1940
+ url: string;
1941
+ name: string;
1942
+ kind: string;
1943
+ size: string;
1944
+ } & {
1945
+ date?: string | null | undefined;
1946
+ } & {
1947
+ __TYPE__: "FileLink";
1948
+ } & {
1949
+ size?: string;
1950
+ }) | ({
1951
+ __TYPE__: "DocumentLink";
1952
+ } & {
1953
+ id: string;
1954
+ }) | ({
1955
+ __TYPE__: "ExternalLink";
1956
+ } & {
1957
+ url: string;
1958
+ } & {
1959
+ kind?: "web";
1960
+ target?: string | null | undefined;
1961
+ preview?: {
1962
+ title?: string;
1963
+ } | null | undefined;
1964
+ }) | null | undefined;
1965
+ };
1966
+ } & {
1967
+ label?: string | null | undefined;
1968
+ direction?: string | null | undefined;
1969
+ }) | ({
1970
+ type: "embed";
1971
+ data: {
1972
+ embed_url: string;
1973
+ type: string;
1974
+ } & {
1975
+ version?: string | number | null;
1976
+ title?: string | null | undefined;
1977
+ author_name?: string | null | undefined;
1978
+ author_url?: string | null | undefined;
1979
+ provider_name?: string | null | undefined;
1980
+ provider_url?: string | null | undefined;
1981
+ cache_age?: string | number | null;
1982
+ thumbnail_url?: string | null | undefined;
1983
+ thumbnail_width?: number | null | undefined;
1984
+ thumbnail_height?: number | null | undefined;
1985
+ html?: string | null | undefined;
1986
+ } & {
1987
+ __TYPE__: "EmbedContent";
1988
+ all: unknown;
1989
+ };
1990
+ } & {
1991
+ label?: string | null | undefined;
1992
+ direction?: string | null | undefined;
1993
+ }) | ({
1994
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1995
+ content: {
1996
+ text: string;
1997
+ } & {
1998
+ spans?: ({
1999
+ data: ({
2000
+ __TYPE__: "ImageLink";
2001
+ } & {
2002
+ id: string;
2003
+ url: string;
2004
+ height: string;
2005
+ width: string;
2006
+ size: string;
2007
+ name: string;
2008
+ kind: string;
2009
+ } & {
2010
+ date?: string | null | undefined;
2011
+ }) | ({
2012
+ id: string;
2013
+ url: string;
2014
+ name: string;
2015
+ kind: string;
2016
+ size: string;
2017
+ } & {
2018
+ date?: string | null | undefined;
2019
+ } & {
2020
+ __TYPE__: "FileLink";
2021
+ } & {
2022
+ size?: string;
2023
+ }) | ({
2024
+ __TYPE__: "DocumentLink";
2025
+ } & {
2026
+ id: string;
2027
+ }) | ({
2028
+ __TYPE__: "ExternalLink";
2029
+ } & {
2030
+ url: string;
2031
+ } & {
2032
+ kind?: "web";
2033
+ target?: string | null | undefined;
2034
+ preview?: {
2035
+ title?: string;
2036
+ } | null | undefined;
2037
+ });
2038
+ start: number;
2039
+ end: number;
2040
+ type: "hyperlink";
2041
+ } | {
2042
+ data: string;
2043
+ start: number;
2044
+ end: number;
2045
+ type: "label";
2046
+ } | {
2047
+ start: number;
2048
+ end: number;
2049
+ type: "strong" | "em" | "list-item";
2050
+ })[];
2051
+ };
2052
+ } & {
2053
+ label?: string;
2054
+ direction?: string;
2055
+ }))[];
2056
+ } | {
2057
+ __TYPE__: "SeparatorContent";
2058
+ }][];
2059
+ }[];
2060
+ };