@prismicio/types-internal 2.7.0-alpha.3 → 2.7.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/lib/content/Document.d.ts +2118 -798
  2. package/lib/content/fields/WidgetContent.d.ts +2118 -798
  3. package/lib/content/fields/nestable/LinkContent.d.ts +248 -85
  4. package/lib/content/fields/nestable/LinkContent.js +96 -42
  5. package/lib/content/fields/nestable/NestableContent.d.ts +353 -133
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +654 -234
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +320 -120
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +706 -266
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +161 -61
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +706 -266
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +353 -133
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +353 -133
  13. package/lib/content/fields/slices/Slice/index.d.ts +1285 -485
  14. package/lib/content/fields/slices/SliceItem.d.ts +1285 -485
  15. package/lib/content/fields/slices/SlicesContent.d.ts +1766 -666
  16. package/lib/customtypes/CustomType.d.ts +18 -320
  17. package/lib/customtypes/Section.d.ts +18 -320
  18. package/lib/customtypes/diff/SharedSlice.d.ts +8 -160
  19. package/lib/customtypes/diff/Variation.d.ts +8 -160
  20. package/lib/customtypes/widgets/Group.d.ts +18 -315
  21. package/lib/customtypes/widgets/Group.js +5 -43
  22. package/lib/customtypes/widgets/Widget.d.ts +33 -412
  23. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
  24. package/lib/customtypes/widgets/nestable/Link.js +1 -0
  25. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
  26. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  27. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +4 -42
  28. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +16 -168
  29. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +10 -164
  30. package/lib/customtypes/widgets/slices/Slices.d.ts +34 -366
  31. package/package.json +1 -1
  32. package/src/content/fields/nestable/LinkContent.ts +121 -50
  33. package/src/customtypes/widgets/Group.ts +6 -52
  34. package/src/customtypes/widgets/nestable/Link.ts +1 -0
@@ -3,44 +3,56 @@ import type { LegacyContentCtx, WithTypes } from "../../LegacyContentCtx";
3
3
  export declare const ImageLinkType = "ImageLink";
4
4
  export declare const ImageLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
5
5
  __TYPE__: t.LiteralC<"ImageLink">;
6
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
6
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
7
+ kind: t.LiteralC<"image">;
8
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
7
9
  id: t.StringC;
8
10
  url: t.StringC;
9
11
  height: t.StringC;
10
12
  width: t.StringC;
11
13
  size: t.StringC;
12
14
  name: t.StringC;
13
- kind: t.StringC;
14
15
  }>, t.PartialC<{
15
16
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
16
- }>]>>]>;
17
+ text: t.StringC;
18
+ }>]>>, t.ExactC<t.TypeC<{
19
+ text: t.StringC;
20
+ }>>]>]>]>;
17
21
  export declare type ImageLinkContent = t.TypeOf<typeof ImageLinkContent>;
18
22
  export declare const FileLinkType = "FileLink";
19
- export declare const FileLinkContent: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
23
+ export declare const FileLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
24
+ __TYPE__: t.LiteralC<"FileLink">;
25
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
26
+ kind: t.LiteralC<"file">;
27
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
20
28
  id: t.StringC;
21
29
  url: t.StringC;
22
30
  name: t.StringC;
23
- kind: t.StringC;
24
31
  size: t.StringC;
25
32
  }>, t.PartialC<{
26
33
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
27
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
28
- __TYPE__: t.LiteralC<"FileLink">;
29
- }>, t.PartialC<{
30
- size: t.StringC;
31
- }>]>>]>;
34
+ text: t.StringC;
35
+ }>]>>, t.ExactC<t.TypeC<{
36
+ text: t.StringC;
37
+ }>>]>]>]>;
32
38
  export declare type FileLinkContent = t.TypeOf<typeof FileLinkContent>;
33
39
  export declare const DocumentLinkType = "DocumentLink";
34
40
  export declare const DocumentLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
35
41
  __TYPE__: t.LiteralC<"DocumentLink">;
36
- }>>, t.ExactC<t.TypeC<{
42
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
37
43
  id: t.Type<string, string, unknown>;
38
- }>>]>;
44
+ }>, t.PartialC<{
45
+ kind: t.LiteralC<"document">;
46
+ text: t.StringC;
47
+ }>]>>, t.ExactC<t.TypeC<{
48
+ kind: t.LiteralC<"document">;
49
+ text: t.StringC;
50
+ }>>]>]>;
39
51
  export declare type DocumentLinkContent = t.TypeOf<typeof DocumentLinkContent>;
40
52
  export declare const ExternalLinkType = "ExternalLink";
41
53
  export declare const ExternalLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
42
54
  __TYPE__: t.LiteralC<"ExternalLink">;
43
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
55
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
44
56
  url: t.StringC;
45
57
  }>, t.PartialC<{
46
58
  kind: t.LiteralC<"web">;
@@ -50,42 +62,65 @@ export declare const ExternalLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
50
62
  }, {
51
63
  title?: string;
52
64
  }, unknown>, t.NullC, t.UndefinedC]>;
53
- }>]>>]>;
65
+ text: t.StringC;
66
+ }>]>>, t.ExactC<t.TypeC<{
67
+ kind: t.LiteralC<"web">;
68
+ text: t.StringC;
69
+ }>>]>]>;
54
70
  export declare type ExternalLinkContent = t.TypeOf<typeof ExternalLinkContent>;
71
+ export declare const AnyLinkType = "AnyLink";
72
+ export declare const AnyLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
73
+ __TYPE__: t.LiteralC<"AnyLink">;
74
+ }>>, t.ExactC<t.TypeC<{
75
+ text: t.StringC;
76
+ }>>]>;
77
+ export declare type AnyLinkContent = t.TypeOf<typeof AnyLinkContent>;
55
78
  export declare const LinkContentType = "LinkContent";
56
79
  export declare const isLinkContent: (u: unknown) => u is {
57
80
  __TYPE__: "LinkContent";
58
81
  value: ({
59
82
  __TYPE__: "ImageLink";
60
- } & {
83
+ } & ({
84
+ kind: "image";
85
+ } & (({
61
86
  id: string;
62
87
  url: string;
63
88
  height: string;
64
89
  width: string;
65
90
  size: string;
66
91
  name: string;
67
- kind: string;
68
92
  } & {
69
93
  date?: string | null | undefined;
70
- }) | ({
94
+ text?: string;
95
+ }) | {
96
+ text: string;
97
+ }))) | ({
98
+ __TYPE__: "FileLink";
99
+ } & ({
100
+ kind: "file";
101
+ } & (({
71
102
  id: string;
72
103
  url: string;
73
104
  name: string;
74
- kind: string;
75
105
  size: string;
76
106
  } & {
77
107
  date?: string | null | undefined;
78
- } & {
79
- __TYPE__: "FileLink";
80
- } & {
81
- size?: string;
82
- }) | ({
108
+ text?: string;
109
+ }) | {
110
+ text: string;
111
+ }))) | ({
83
112
  __TYPE__: "DocumentLink";
84
- } & {
113
+ } & (({
85
114
  id: string;
86
- }) | ({
87
- __TYPE__: "ExternalLink";
88
115
  } & {
116
+ kind?: "document";
117
+ text?: string;
118
+ }) | {
119
+ kind: "document";
120
+ text: string;
121
+ })) | ({
122
+ __TYPE__: "ExternalLink";
123
+ } & (({
89
124
  url: string;
90
125
  } & {
91
126
  kind?: "web";
@@ -93,59 +128,93 @@ export declare const isLinkContent: (u: unknown) => u is {
93
128
  preview?: {
94
129
  title?: string;
95
130
  } | null | undefined;
131
+ text?: string;
132
+ }) | {
133
+ kind: "web";
134
+ text: string;
135
+ })) | ({
136
+ __TYPE__: "AnyLink";
137
+ } & {
138
+ text: string;
96
139
  });
97
140
  };
98
141
  export declare const LinkLegacy: t.UnionC<[t.Type<{
99
142
  __TYPE__: "ImageLink";
100
- } & {
143
+ } & ({
144
+ kind: "image";
145
+ } & (({
101
146
  id: string;
102
147
  url: string;
103
148
  height: string;
104
149
  width: string;
105
150
  size: string;
106
151
  name: string;
107
- kind: string;
108
152
  } & {
109
153
  date?: string | null | undefined;
110
- }, {
154
+ text?: string;
155
+ }) | {
156
+ text: string;
157
+ })), {
158
+ kind: "image";
159
+ } & (({
111
160
  id: string;
112
161
  url: string;
113
162
  height: string;
114
163
  width: string;
115
164
  size: string;
116
165
  name: string;
117
- kind: string;
118
166
  } & {
119
167
  date?: string | null | undefined;
120
- }, unknown>, t.Type<{
168
+ text?: string;
169
+ }) | {
170
+ text: string;
171
+ }), unknown>, t.Type<{
172
+ __TYPE__: "FileLink";
173
+ } & ({
174
+ kind: "file";
175
+ } & (({
121
176
  id: string;
122
177
  url: string;
123
178
  name: string;
124
- kind: string;
125
179
  size: string;
126
180
  } & {
127
181
  date?: string | null | undefined;
128
- } & {
129
- __TYPE__: "FileLink";
130
- } & {
131
- size?: string;
132
- }, {
182
+ text?: string;
183
+ }) | {
184
+ text: string;
185
+ })), {
186
+ kind: "file";
187
+ } & (({
133
188
  id: string;
134
189
  url: string;
135
190
  name: string;
136
- kind: string;
137
191
  size: string;
138
192
  } & {
139
193
  date?: string | null | undefined;
140
- }, unknown>, t.Type<{
194
+ text?: string;
195
+ }) | {
196
+ text: string;
197
+ }), unknown>, t.Type<{
141
198
  __TYPE__: "DocumentLink";
142
- } & {
199
+ } & (({
143
200
  id: string;
144
- }, {
201
+ } & {
202
+ kind?: "document";
203
+ text?: string;
204
+ }) | {
205
+ kind: "document";
206
+ text: string;
207
+ }), ({
145
208
  id: string;
209
+ } & {
210
+ kind?: "document";
211
+ text?: string;
212
+ }) | {
213
+ kind: "document";
214
+ text: string;
146
215
  }, unknown>, t.Type<{
147
216
  __TYPE__: "ExternalLink";
148
- } & {
217
+ } & (({
149
218
  url: string;
150
219
  } & {
151
220
  kind?: "web";
@@ -153,7 +222,11 @@ export declare const LinkLegacy: t.UnionC<[t.Type<{
153
222
  preview?: {
154
223
  title?: string;
155
224
  } | null | undefined;
156
- }, {
225
+ text?: string;
226
+ }) | {
227
+ kind: "web";
228
+ text: string;
229
+ }), ({
157
230
  url: string;
158
231
  } & {
159
232
  kind?: "web";
@@ -161,40 +234,62 @@ export declare const LinkLegacy: t.UnionC<[t.Type<{
161
234
  preview?: {
162
235
  title?: string;
163
236
  } | null | undefined;
237
+ text?: string;
238
+ }) | {
239
+ kind: "web";
240
+ text: string;
241
+ }, unknown>, t.Type<{
242
+ __TYPE__: "AnyLink";
243
+ } & {
244
+ text: string;
245
+ }, {
246
+ text: string;
164
247
  }, unknown>]>;
165
248
  export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{
166
249
  __TYPE__: "LinkContent";
167
250
  value: ({
168
251
  __TYPE__: "ImageLink";
169
- } & {
252
+ } & ({
253
+ kind: "image";
254
+ } & (({
170
255
  id: string;
171
256
  url: string;
172
257
  height: string;
173
258
  width: string;
174
259
  size: string;
175
260
  name: string;
176
- kind: string;
177
261
  } & {
178
262
  date?: string | null | undefined;
179
- }) | ({
263
+ text?: string;
264
+ }) | {
265
+ text: string;
266
+ }))) | ({
267
+ __TYPE__: "FileLink";
268
+ } & ({
269
+ kind: "file";
270
+ } & (({
180
271
  id: string;
181
272
  url: string;
182
273
  name: string;
183
- kind: string;
184
274
  size: string;
185
275
  } & {
186
276
  date?: string | null | undefined;
187
- } & {
188
- __TYPE__: "FileLink";
189
- } & {
190
- size?: string;
191
- }) | ({
277
+ text?: string;
278
+ }) | {
279
+ text: string;
280
+ }))) | ({
192
281
  __TYPE__: "DocumentLink";
193
- } & {
282
+ } & (({
194
283
  id: string;
195
- }) | ({
196
- __TYPE__: "ExternalLink";
197
284
  } & {
285
+ kind?: "document";
286
+ text?: string;
287
+ }) | {
288
+ kind: "document";
289
+ text: string;
290
+ })) | ({
291
+ __TYPE__: "ExternalLink";
292
+ } & (({
198
293
  url: string;
199
294
  } & {
200
295
  kind?: "web";
@@ -202,27 +297,49 @@ export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{
202
297
  preview?: {
203
298
  title?: string;
204
299
  } | null | undefined;
300
+ text?: string;
301
+ }) | {
302
+ kind: "web";
303
+ text: string;
304
+ })) | ({
305
+ __TYPE__: "AnyLink";
306
+ } & {
307
+ text: string;
205
308
  });
206
309
  }, WithTypes<({
310
+ kind: "image";
311
+ } & (({
207
312
  id: string;
208
313
  url: string;
209
314
  height: string;
210
315
  width: string;
211
316
  size: string;
212
317
  name: string;
213
- kind: string;
214
318
  } & {
215
319
  date?: string | null | undefined;
216
- }) | ({
320
+ text?: string;
321
+ }) | {
322
+ text: string;
323
+ })) | ({
324
+ kind: "file";
325
+ } & (({
217
326
  id: string;
218
327
  url: string;
219
328
  name: string;
220
- kind: string;
221
329
  size: string;
222
330
  } & {
223
331
  date?: string | null | undefined;
332
+ text?: string;
224
333
  }) | {
334
+ text: string;
335
+ })) | ({
225
336
  id: string;
337
+ } & {
338
+ kind?: "document";
339
+ text?: string;
340
+ }) | {
341
+ kind: "document";
342
+ text: string;
226
343
  } | ({
227
344
  url: string;
228
345
  } & {
@@ -231,38 +348,56 @@ export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{
231
348
  preview?: {
232
349
  title?: string;
233
350
  } | null | undefined;
234
- })>, unknown>;
351
+ text?: string;
352
+ }) | {
353
+ kind: "web";
354
+ text: string;
355
+ } | {
356
+ text: string;
357
+ }>, unknown>;
235
358
  export declare const Link: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
236
359
  __TYPE__: t.LiteralC<"ImageLink">;
237
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
360
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
361
+ kind: t.LiteralC<"image">;
362
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
238
363
  id: t.StringC;
239
364
  url: t.StringC;
240
365
  height: t.StringC;
241
366
  width: t.StringC;
242
367
  size: t.StringC;
243
368
  name: t.StringC;
244
- kind: t.StringC;
245
369
  }>, t.PartialC<{
246
370
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
247
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
371
+ text: t.StringC;
372
+ }>]>>, t.ExactC<t.TypeC<{
373
+ text: t.StringC;
374
+ }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
375
+ __TYPE__: t.LiteralC<"FileLink">;
376
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
377
+ kind: t.LiteralC<"file">;
378
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
248
379
  id: t.StringC;
249
380
  url: t.StringC;
250
381
  name: t.StringC;
251
- kind: t.StringC;
252
382
  size: t.StringC;
253
383
  }>, t.PartialC<{
254
384
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
255
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
256
- __TYPE__: t.LiteralC<"FileLink">;
257
- }>, t.PartialC<{
258
- size: t.StringC;
259
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
385
+ text: t.StringC;
386
+ }>]>>, t.ExactC<t.TypeC<{
387
+ text: t.StringC;
388
+ }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
260
389
  __TYPE__: t.LiteralC<"DocumentLink">;
261
- }>>, t.ExactC<t.TypeC<{
390
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
262
391
  id: t.Type<string, string, unknown>;
263
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
392
+ }>, t.PartialC<{
393
+ kind: t.LiteralC<"document">;
394
+ text: t.StringC;
395
+ }>]>>, t.ExactC<t.TypeC<{
396
+ kind: t.LiteralC<"document">;
397
+ text: t.StringC;
398
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
264
399
  __TYPE__: t.LiteralC<"ExternalLink">;
265
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
400
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
266
401
  url: t.StringC;
267
402
  }>, t.PartialC<{
268
403
  kind: t.LiteralC<"web">;
@@ -272,40 +407,60 @@ export declare const Link: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
272
407
  }, {
273
408
  title?: string;
274
409
  }, unknown>, t.NullC, t.UndefinedC]>;
275
- }>]>>]>]>;
410
+ text: t.StringC;
411
+ }>]>>, t.ExactC<t.TypeC<{
412
+ kind: t.LiteralC<"web">;
413
+ text: t.StringC;
414
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
415
+ __TYPE__: t.LiteralC<"AnyLink">;
416
+ }>>, t.ExactC<t.TypeC<{
417
+ text: t.StringC;
418
+ }>>]>]>;
276
419
  export declare const LinkContent: t.ExactC<t.TypeC<{
277
420
  __TYPE__: t.LiteralC<"LinkContent">;
278
421
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
279
422
  __TYPE__: t.LiteralC<"ImageLink">;
280
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
423
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
424
+ kind: t.LiteralC<"image">;
425
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
281
426
  id: t.StringC;
282
427
  url: t.StringC;
283
428
  height: t.StringC;
284
429
  width: t.StringC;
285
430
  size: t.StringC;
286
431
  name: t.StringC;
287
- kind: t.StringC;
288
432
  }>, t.PartialC<{
289
433
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
290
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
434
+ text: t.StringC;
435
+ }>]>>, t.ExactC<t.TypeC<{
436
+ text: t.StringC;
437
+ }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
438
+ __TYPE__: t.LiteralC<"FileLink">;
439
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
440
+ kind: t.LiteralC<"file">;
441
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
291
442
  id: t.StringC;
292
443
  url: t.StringC;
293
444
  name: t.StringC;
294
- kind: t.StringC;
295
445
  size: t.StringC;
296
446
  }>, t.PartialC<{
297
447
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
298
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
299
- __TYPE__: t.LiteralC<"FileLink">;
300
- }>, t.PartialC<{
301
- size: t.StringC;
302
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
448
+ text: t.StringC;
449
+ }>]>>, t.ExactC<t.TypeC<{
450
+ text: t.StringC;
451
+ }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
303
452
  __TYPE__: t.LiteralC<"DocumentLink">;
304
- }>>, t.ExactC<t.TypeC<{
453
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
305
454
  id: t.Type<string, string, unknown>;
306
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
455
+ }>, t.PartialC<{
456
+ kind: t.LiteralC<"document">;
457
+ text: t.StringC;
458
+ }>]>>, t.ExactC<t.TypeC<{
459
+ kind: t.LiteralC<"document">;
460
+ text: t.StringC;
461
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
307
462
  __TYPE__: t.LiteralC<"ExternalLink">;
308
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
463
+ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
309
464
  url: t.StringC;
310
465
  }>, t.PartialC<{
311
466
  kind: t.LiteralC<"web">;
@@ -315,7 +470,15 @@ export declare const LinkContent: t.ExactC<t.TypeC<{
315
470
  }, {
316
471
  title?: string;
317
472
  }, unknown>, t.NullC, t.UndefinedC]>;
318
- }>]>>]>]>;
473
+ text: t.StringC;
474
+ }>]>>, t.ExactC<t.TypeC<{
475
+ kind: t.LiteralC<"web">;
476
+ text: t.StringC;
477
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
478
+ __TYPE__: t.LiteralC<"AnyLink">;
479
+ }>>, t.ExactC<t.TypeC<{
480
+ text: t.StringC;
481
+ }>>]>]>;
319
482
  }>>;
320
483
  export declare type LinkContent = t.TypeOf<typeof LinkContent>;
321
484
  export declare type LinksTypes = LinkContent["__TYPE__"] | LinkContent["value"]["__TYPE__"];