@prismicio/types-internal 3.10.0 → 3.10.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
  2. package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
  3. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
  4. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
  5. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
  6. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
  7. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
  8. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
  9. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
  10. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  11. package/lib/customtypes/CustomType.d.ts +378 -144
  12. package/lib/customtypes/Section.d.ts +378 -144
  13. package/lib/customtypes/diff/SharedSlice.d.ts +168 -64
  14. package/lib/customtypes/diff/Variation.d.ts +168 -64
  15. package/lib/customtypes/widgets/Group.d.ts +246 -90
  16. package/lib/customtypes/widgets/Widget.d.ts +621 -231
  17. package/lib/customtypes/widgets/nestable/Link.d.ts +218 -30
  18. package/lib/customtypes/widgets/nestable/Link.js +43 -19
  19. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +41 -15
  20. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +82 -30
  21. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +82 -30
  22. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +328 -120
  23. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +186 -69
  24. package/lib/customtypes/widgets/slices/Slices.d.ts +828 -308
  25. package/package.json +3 -3
  26. package/src/customtypes/widgets/nestable/Link.ts +101 -24
@@ -98,18 +98,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
98
98
  useAsTitle?: boolean;
99
99
  placeholder?: string;
100
100
  select?: "media" | "document" | "web" | null;
101
- customtypes?: readonly (string | ({
101
+ customtypes?: readonly (string | {
102
102
  id: string;
103
- } & {
104
- fields?: readonly (string | {
103
+ fields: readonly (string | {
105
104
  id: string;
106
- customtypes: readonly (string | ({
105
+ customtypes: readonly (string | {
107
106
  id: string;
108
- } & {
109
- fields?: readonly string[];
110
- }))[];
107
+ fields: readonly (string | {
108
+ id: string;
109
+ fields: readonly string[];
110
+ })[];
111
+ })[];
112
+ } | {
113
+ id: string;
114
+ fields: readonly (string | {
115
+ id: string;
116
+ customtypes: readonly (string | {
117
+ id: string;
118
+ fields: readonly (string | {
119
+ id: string;
120
+ fields: readonly string[];
121
+ })[];
122
+ })[];
123
+ })[];
111
124
  })[];
112
- }))[];
125
+ })[];
113
126
  masks?: readonly string[];
114
127
  tags?: readonly string[];
115
128
  allowTargetBlank?: boolean;
@@ -284,18 +297,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
284
297
  useAsTitle?: boolean;
285
298
  placeholder?: string;
286
299
  select?: "media" | "document" | "web" | null;
287
- customtypes?: readonly (string | ({
300
+ customtypes?: readonly (string | {
288
301
  id: string;
289
- } & {
290
- fields?: readonly (string | {
302
+ fields: readonly (string | {
291
303
  id: string;
292
- customtypes: readonly (string | ({
304
+ customtypes: readonly (string | {
293
305
  id: string;
294
- } & {
295
- fields?: readonly string[];
296
- }))[];
306
+ fields: readonly (string | {
307
+ id: string;
308
+ fields: readonly string[];
309
+ })[];
310
+ })[];
311
+ } | {
312
+ id: string;
313
+ fields: readonly (string | {
314
+ id: string;
315
+ customtypes: readonly (string | {
316
+ id: string;
317
+ fields: readonly (string | {
318
+ id: string;
319
+ fields: readonly string[];
320
+ })[];
321
+ })[];
322
+ })[];
297
323
  })[];
298
- }))[];
324
+ })[];
299
325
  masks?: readonly string[];
300
326
  tags?: readonly string[];
301
327
  allowTargetBlank?: boolean;
@@ -470,18 +496,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
470
496
  useAsTitle?: boolean;
471
497
  placeholder?: string;
472
498
  select?: "media" | "document" | "web" | null;
473
- customtypes?: readonly (string | ({
499
+ customtypes?: readonly (string | {
474
500
  id: string;
475
- } & {
476
- fields?: readonly (string | {
501
+ fields: readonly (string | {
502
+ id: string;
503
+ customtypes: readonly (string | {
504
+ id: string;
505
+ fields: readonly (string | {
506
+ id: string;
507
+ fields: readonly string[];
508
+ })[];
509
+ })[];
510
+ } | {
477
511
  id: string;
478
- customtypes: readonly (string | ({
512
+ fields: readonly (string | {
479
513
  id: string;
480
- } & {
481
- fields?: readonly string[];
482
- }))[];
514
+ customtypes: readonly (string | {
515
+ id: string;
516
+ fields: readonly (string | {
517
+ id: string;
518
+ fields: readonly string[];
519
+ })[];
520
+ })[];
521
+ })[];
483
522
  })[];
484
- }))[];
523
+ })[];
485
524
  masks?: readonly string[];
486
525
  tags?: readonly string[];
487
526
  allowTargetBlank?: boolean;
@@ -675,18 +714,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
675
714
  useAsTitle?: boolean;
676
715
  placeholder?: string;
677
716
  select?: "media" | "document" | "web" | null;
678
- customtypes?: readonly (string | ({
717
+ customtypes?: readonly (string | {
679
718
  id: string;
680
- } & {
681
- fields?: readonly (string | {
719
+ fields: readonly (string | {
682
720
  id: string;
683
- customtypes: readonly (string | ({
721
+ customtypes: readonly (string | {
684
722
  id: string;
685
- } & {
686
- fields?: readonly string[];
687
- }))[];
723
+ fields: readonly (string | {
724
+ id: string;
725
+ fields: readonly string[];
726
+ })[];
727
+ })[];
728
+ } | {
729
+ id: string;
730
+ fields: readonly (string | {
731
+ id: string;
732
+ customtypes: readonly (string | {
733
+ id: string;
734
+ fields: readonly (string | {
735
+ id: string;
736
+ fields: readonly string[];
737
+ })[];
738
+ })[];
739
+ })[];
688
740
  })[];
689
- }))[];
741
+ })[];
690
742
  masks?: readonly string[];
691
743
  tags?: readonly string[];
692
744
  allowTargetBlank?: boolean;
@@ -861,18 +913,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
861
913
  useAsTitle?: boolean;
862
914
  placeholder?: string;
863
915
  select?: "media" | "document" | "web" | null;
864
- customtypes?: readonly (string | ({
916
+ customtypes?: readonly (string | {
865
917
  id: string;
866
- } & {
867
- fields?: readonly (string | {
918
+ fields: readonly (string | {
868
919
  id: string;
869
- customtypes: readonly (string | ({
920
+ customtypes: readonly (string | {
870
921
  id: string;
871
- } & {
872
- fields?: readonly string[];
873
- }))[];
922
+ fields: readonly (string | {
923
+ id: string;
924
+ fields: readonly string[];
925
+ })[];
926
+ })[];
927
+ } | {
928
+ id: string;
929
+ fields: readonly (string | {
930
+ id: string;
931
+ customtypes: readonly (string | {
932
+ id: string;
933
+ fields: readonly (string | {
934
+ id: string;
935
+ fields: readonly string[];
936
+ })[];
937
+ })[];
938
+ })[];
874
939
  })[];
875
- }))[];
940
+ })[];
876
941
  masks?: readonly string[];
877
942
  tags?: readonly string[];
878
943
  allowTargetBlank?: boolean;
@@ -1048,18 +1113,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1048
1113
  useAsTitle?: boolean;
1049
1114
  placeholder?: string;
1050
1115
  select?: "media" | "document" | "web" | null;
1051
- customtypes?: readonly (string | ({
1116
+ customtypes?: readonly (string | {
1052
1117
  id: string;
1053
- } & {
1054
- fields?: readonly (string | {
1118
+ fields: readonly (string | {
1055
1119
  id: string;
1056
- customtypes: readonly (string | ({
1120
+ customtypes: readonly (string | {
1057
1121
  id: string;
1058
- } & {
1059
- fields?: readonly string[];
1060
- }))[];
1122
+ fields: readonly (string | {
1123
+ id: string;
1124
+ fields: readonly string[];
1125
+ })[];
1126
+ })[];
1127
+ } | {
1128
+ id: string;
1129
+ fields: readonly (string | {
1130
+ id: string;
1131
+ customtypes: readonly (string | {
1132
+ id: string;
1133
+ fields: readonly (string | {
1134
+ id: string;
1135
+ fields: readonly string[];
1136
+ })[];
1137
+ })[];
1138
+ })[];
1061
1139
  })[];
1062
- }))[];
1140
+ })[];
1063
1141
  masks?: readonly string[];
1064
1142
  tags?: readonly string[];
1065
1143
  allowTargetBlank?: boolean;
@@ -1227,18 +1305,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1227
1305
  useAsTitle?: boolean;
1228
1306
  placeholder?: string;
1229
1307
  select?: "media" | "document" | "web" | null;
1230
- customtypes?: readonly (string | ({
1308
+ customtypes?: readonly (string | {
1231
1309
  id: string;
1232
- } & {
1233
- fields?: readonly (string | {
1310
+ fields: readonly (string | {
1234
1311
  id: string;
1235
- customtypes: readonly (string | ({
1312
+ customtypes: readonly (string | {
1236
1313
  id: string;
1237
- } & {
1238
- fields?: readonly string[];
1239
- }))[];
1314
+ fields: readonly (string | {
1315
+ id: string;
1316
+ fields: readonly string[];
1317
+ })[];
1318
+ })[];
1319
+ } | {
1320
+ id: string;
1321
+ fields: readonly (string | {
1322
+ id: string;
1323
+ customtypes: readonly (string | {
1324
+ id: string;
1325
+ fields: readonly (string | {
1326
+ id: string;
1327
+ fields: readonly string[];
1328
+ })[];
1329
+ })[];
1330
+ })[];
1240
1331
  })[];
1241
- }))[];
1332
+ })[];
1242
1333
  masks?: readonly string[];
1243
1334
  tags?: readonly string[];
1244
1335
  allowTargetBlank?: boolean;
@@ -1422,18 +1513,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1422
1513
  useAsTitle?: boolean;
1423
1514
  placeholder?: string;
1424
1515
  select?: "media" | "document" | "web" | null;
1425
- customtypes?: readonly (string | ({
1516
+ customtypes?: readonly (string | {
1426
1517
  id: string;
1427
- } & {
1428
- fields?: readonly (string | {
1518
+ fields: readonly (string | {
1519
+ id: string;
1520
+ customtypes: readonly (string | {
1521
+ id: string;
1522
+ fields: readonly (string | {
1523
+ id: string;
1524
+ fields: readonly string[];
1525
+ })[];
1526
+ })[];
1527
+ } | {
1429
1528
  id: string;
1430
- customtypes: readonly (string | ({
1529
+ fields: readonly (string | {
1431
1530
  id: string;
1432
- } & {
1433
- fields?: readonly string[];
1434
- }))[];
1531
+ customtypes: readonly (string | {
1532
+ id: string;
1533
+ fields: readonly (string | {
1534
+ id: string;
1535
+ fields: readonly string[];
1536
+ })[];
1537
+ })[];
1538
+ })[];
1435
1539
  })[];
1436
- }))[];
1540
+ })[];
1437
1541
  masks?: readonly string[];
1438
1542
  tags?: readonly string[];
1439
1543
  allowTargetBlank?: boolean;
@@ -1608,18 +1712,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1608
1712
  useAsTitle?: boolean;
1609
1713
  placeholder?: string;
1610
1714
  select?: "media" | "document" | "web" | null;
1611
- customtypes?: readonly (string | ({
1715
+ customtypes?: readonly (string | {
1612
1716
  id: string;
1613
- } & {
1614
- fields?: readonly (string | {
1717
+ fields: readonly (string | {
1615
1718
  id: string;
1616
- customtypes: readonly (string | ({
1719
+ customtypes: readonly (string | {
1617
1720
  id: string;
1618
- } & {
1619
- fields?: readonly string[];
1620
- }))[];
1721
+ fields: readonly (string | {
1722
+ id: string;
1723
+ fields: readonly string[];
1724
+ })[];
1725
+ })[];
1726
+ } | {
1727
+ id: string;
1728
+ fields: readonly (string | {
1729
+ id: string;
1730
+ customtypes: readonly (string | {
1731
+ id: string;
1732
+ fields: readonly (string | {
1733
+ id: string;
1734
+ fields: readonly string[];
1735
+ })[];
1736
+ })[];
1737
+ })[];
1621
1738
  })[];
1622
- }))[];
1739
+ })[];
1623
1740
  masks?: readonly string[];
1624
1741
  tags?: readonly string[];
1625
1742
  allowTargetBlank?: boolean;
@@ -1794,18 +1911,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1794
1911
  useAsTitle?: boolean;
1795
1912
  placeholder?: string;
1796
1913
  select?: "media" | "document" | "web" | null;
1797
- customtypes?: readonly (string | ({
1914
+ customtypes?: readonly (string | {
1798
1915
  id: string;
1799
- } & {
1800
- fields?: readonly (string | {
1916
+ fields: readonly (string | {
1801
1917
  id: string;
1802
- customtypes: readonly (string | ({
1918
+ customtypes: readonly (string | {
1803
1919
  id: string;
1804
- } & {
1805
- fields?: readonly string[];
1806
- }))[];
1920
+ fields: readonly (string | {
1921
+ id: string;
1922
+ fields: readonly string[];
1923
+ })[];
1924
+ })[];
1925
+ } | {
1926
+ id: string;
1927
+ fields: readonly (string | {
1928
+ id: string;
1929
+ customtypes: readonly (string | {
1930
+ id: string;
1931
+ fields: readonly (string | {
1932
+ id: string;
1933
+ fields: readonly string[];
1934
+ })[];
1935
+ })[];
1936
+ })[];
1807
1937
  })[];
1808
- }))[];
1938
+ })[];
1809
1939
  masks?: readonly string[];
1810
1940
  tags?: readonly string[];
1811
1941
  allowTargetBlank?: boolean;
@@ -1979,18 +2109,31 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1979
2109
  useAsTitle?: boolean;
1980
2110
  placeholder?: string;
1981
2111
  select?: "media" | "document" | "web" | null;
1982
- customtypes?: readonly (string | ({
2112
+ customtypes?: readonly (string | {
1983
2113
  id: string;
1984
- } & {
1985
- fields?: readonly (string | {
2114
+ fields: readonly (string | {
2115
+ id: string;
2116
+ customtypes: readonly (string | {
2117
+ id: string;
2118
+ fields: readonly (string | {
2119
+ id: string;
2120
+ fields: readonly string[];
2121
+ })[];
2122
+ })[];
2123
+ } | {
1986
2124
  id: string;
1987
- customtypes: readonly (string | ({
2125
+ fields: readonly (string | {
1988
2126
  id: string;
1989
- } & {
1990
- fields?: readonly string[];
1991
- }))[];
2127
+ customtypes: readonly (string | {
2128
+ id: string;
2129
+ fields: readonly (string | {
2130
+ id: string;
2131
+ fields: readonly string[];
2132
+ })[];
2133
+ })[];
2134
+ })[];
1992
2135
  })[];
1993
- }))[];
2136
+ })[];
1994
2137
  masks?: readonly string[];
1995
2138
  tags?: readonly string[];
1996
2139
  allowTargetBlank?: boolean;
@@ -2181,18 +2324,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2181
2324
  useAsTitle?: boolean;
2182
2325
  placeholder?: string;
2183
2326
  select?: "media" | "document" | "web" | null;
2184
- customtypes?: readonly (string | ({
2327
+ customtypes?: readonly (string | {
2185
2328
  id: string;
2186
- } & {
2187
- fields?: readonly (string | {
2329
+ fields: readonly (string | {
2188
2330
  id: string;
2189
- customtypes: readonly (string | ({
2331
+ customtypes: readonly (string | {
2190
2332
  id: string;
2191
- } & {
2192
- fields?: readonly string[];
2193
- }))[];
2333
+ fields: readonly (string | {
2334
+ id: string;
2335
+ fields: readonly string[];
2336
+ })[];
2337
+ })[];
2338
+ } | {
2339
+ id: string;
2340
+ fields: readonly (string | {
2341
+ id: string;
2342
+ customtypes: readonly (string | {
2343
+ id: string;
2344
+ fields: readonly (string | {
2345
+ id: string;
2346
+ fields: readonly string[];
2347
+ })[];
2348
+ })[];
2349
+ })[];
2194
2350
  })[];
2195
- }))[];
2351
+ })[];
2196
2352
  masks?: readonly string[];
2197
2353
  tags?: readonly string[];
2198
2354
  allowTargetBlank?: boolean;
@@ -2367,18 +2523,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2367
2523
  useAsTitle?: boolean;
2368
2524
  placeholder?: string;
2369
2525
  select?: "media" | "document" | "web" | null;
2370
- customtypes?: readonly (string | ({
2526
+ customtypes?: readonly (string | {
2371
2527
  id: string;
2372
- } & {
2373
- fields?: readonly (string | {
2528
+ fields: readonly (string | {
2374
2529
  id: string;
2375
- customtypes: readonly (string | ({
2530
+ customtypes: readonly (string | {
2376
2531
  id: string;
2377
- } & {
2378
- fields?: readonly string[];
2379
- }))[];
2532
+ fields: readonly (string | {
2533
+ id: string;
2534
+ fields: readonly string[];
2535
+ })[];
2536
+ })[];
2537
+ } | {
2538
+ id: string;
2539
+ fields: readonly (string | {
2540
+ id: string;
2541
+ customtypes: readonly (string | {
2542
+ id: string;
2543
+ fields: readonly (string | {
2544
+ id: string;
2545
+ fields: readonly string[];
2546
+ })[];
2547
+ })[];
2548
+ })[];
2380
2549
  })[];
2381
- }))[];
2550
+ })[];
2382
2551
  masks?: readonly string[];
2383
2552
  tags?: readonly string[];
2384
2553
  allowTargetBlank?: boolean;
@@ -2553,18 +2722,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2553
2722
  useAsTitle?: boolean;
2554
2723
  placeholder?: string;
2555
2724
  select?: "media" | "document" | "web" | null;
2556
- customtypes?: readonly (string | ({
2725
+ customtypes?: readonly (string | {
2557
2726
  id: string;
2558
- } & {
2559
- fields?: readonly (string | {
2727
+ fields: readonly (string | {
2728
+ id: string;
2729
+ customtypes: readonly (string | {
2730
+ id: string;
2731
+ fields: readonly (string | {
2732
+ id: string;
2733
+ fields: readonly string[];
2734
+ })[];
2735
+ })[];
2736
+ } | {
2560
2737
  id: string;
2561
- customtypes: readonly (string | ({
2738
+ fields: readonly (string | {
2562
2739
  id: string;
2563
- } & {
2564
- fields?: readonly string[];
2565
- }))[];
2740
+ customtypes: readonly (string | {
2741
+ id: string;
2742
+ fields: readonly (string | {
2743
+ id: string;
2744
+ fields: readonly string[];
2745
+ })[];
2746
+ })[];
2747
+ })[];
2566
2748
  })[];
2567
- }))[];
2749
+ })[];
2568
2750
  masks?: readonly string[];
2569
2751
  tags?: readonly string[];
2570
2752
  allowTargetBlank?: boolean;
@@ -2758,18 +2940,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2758
2940
  useAsTitle?: boolean;
2759
2941
  placeholder?: string;
2760
2942
  select?: "media" | "document" | "web" | null;
2761
- customtypes?: readonly (string | ({
2943
+ customtypes?: readonly (string | {
2762
2944
  id: string;
2763
- } & {
2764
- fields?: readonly (string | {
2945
+ fields: readonly (string | {
2765
2946
  id: string;
2766
- customtypes: readonly (string | ({
2947
+ customtypes: readonly (string | {
2767
2948
  id: string;
2768
- } & {
2769
- fields?: readonly string[];
2770
- }))[];
2949
+ fields: readonly (string | {
2950
+ id: string;
2951
+ fields: readonly string[];
2952
+ })[];
2953
+ })[];
2954
+ } | {
2955
+ id: string;
2956
+ fields: readonly (string | {
2957
+ id: string;
2958
+ customtypes: readonly (string | {
2959
+ id: string;
2960
+ fields: readonly (string | {
2961
+ id: string;
2962
+ fields: readonly string[];
2963
+ })[];
2964
+ })[];
2965
+ })[];
2771
2966
  })[];
2772
- }))[];
2967
+ })[];
2773
2968
  masks?: readonly string[];
2774
2969
  tags?: readonly string[];
2775
2970
  allowTargetBlank?: boolean;
@@ -2944,18 +3139,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2944
3139
  useAsTitle?: boolean;
2945
3140
  placeholder?: string;
2946
3141
  select?: "media" | "document" | "web" | null;
2947
- customtypes?: readonly (string | ({
3142
+ customtypes?: readonly (string | {
2948
3143
  id: string;
2949
- } & {
2950
- fields?: readonly (string | {
3144
+ fields: readonly (string | {
3145
+ id: string;
3146
+ customtypes: readonly (string | {
3147
+ id: string;
3148
+ fields: readonly (string | {
3149
+ id: string;
3150
+ fields: readonly string[];
3151
+ })[];
3152
+ })[];
3153
+ } | {
2951
3154
  id: string;
2952
- customtypes: readonly (string | ({
3155
+ fields: readonly (string | {
2953
3156
  id: string;
2954
- } & {
2955
- fields?: readonly string[];
2956
- }))[];
3157
+ customtypes: readonly (string | {
3158
+ id: string;
3159
+ fields: readonly (string | {
3160
+ id: string;
3161
+ fields: readonly string[];
3162
+ })[];
3163
+ })[];
3164
+ })[];
2957
3165
  })[];
2958
- }))[];
3166
+ })[];
2959
3167
  masks?: readonly string[];
2960
3168
  tags?: readonly string[];
2961
3169
  allowTargetBlank?: boolean;
@@ -3131,18 +3339,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
3131
3339
  useAsTitle?: boolean;
3132
3340
  placeholder?: string;
3133
3341
  select?: "media" | "document" | "web" | null;
3134
- customtypes?: readonly (string | ({
3342
+ customtypes?: readonly (string | {
3135
3343
  id: string;
3136
- } & {
3137
- fields?: readonly (string | {
3344
+ fields: readonly (string | {
3138
3345
  id: string;
3139
- customtypes: readonly (string | ({
3346
+ customtypes: readonly (string | {
3140
3347
  id: string;
3141
- } & {
3142
- fields?: readonly string[];
3143
- }))[];
3348
+ fields: readonly (string | {
3349
+ id: string;
3350
+ fields: readonly string[];
3351
+ })[];
3352
+ })[];
3353
+ } | {
3354
+ id: string;
3355
+ fields: readonly (string | {
3356
+ id: string;
3357
+ customtypes: readonly (string | {
3358
+ id: string;
3359
+ fields: readonly (string | {
3360
+ id: string;
3361
+ fields: readonly string[];
3362
+ })[];
3363
+ })[];
3364
+ })[];
3144
3365
  })[];
3145
- }))[];
3366
+ })[];
3146
3367
  masks?: readonly string[];
3147
3368
  tags?: readonly string[];
3148
3369
  allowTargetBlank?: boolean;
@@ -3310,18 +3531,31 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
3310
3531
  useAsTitle?: boolean;
3311
3532
  placeholder?: string;
3312
3533
  select?: "media" | "document" | "web" | null;
3313
- customtypes?: readonly (string | ({
3534
+ customtypes?: readonly (string | {
3314
3535
  id: string;
3315
- } & {
3316
- fields?: readonly (string | {
3536
+ fields: readonly (string | {
3317
3537
  id: string;
3318
- customtypes: readonly (string | ({
3538
+ customtypes: readonly (string | {
3319
3539
  id: string;
3320
- } & {
3321
- fields?: readonly string[];
3322
- }))[];
3540
+ fields: readonly (string | {
3541
+ id: string;
3542
+ fields: readonly string[];
3543
+ })[];
3544
+ })[];
3545
+ } | {
3546
+ id: string;
3547
+ fields: readonly (string | {
3548
+ id: string;
3549
+ customtypes: readonly (string | {
3550
+ id: string;
3551
+ fields: readonly (string | {
3552
+ id: string;
3553
+ fields: readonly string[];
3554
+ })[];
3555
+ })[];
3556
+ })[];
3323
3557
  })[];
3324
- }))[];
3558
+ })[];
3325
3559
  masks?: readonly string[];
3326
3560
  tags?: readonly string[];
3327
3561
  allowTargetBlank?: boolean;