@prismicio/types-internal 1.4.1 → 1.5.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 (31) hide show
  1. package/lib/content/CustomType.d.ts +2964 -0
  2. package/lib/content/CustomType.js +15 -0
  3. package/lib/content/fields/UIDContent.d.ts +6 -0
  4. package/lib/content/fields/UIDContent.js +10 -0
  5. package/lib/content/fields/index.d.ts +1 -0
  6. package/lib/content/fields/index.js +1 -0
  7. package/lib/content/fields/slices/CompositeSliceContent.d.ts +739 -0
  8. package/lib/content/fields/slices/CompositeSliceContent.js +12 -0
  9. package/lib/content/fields/slices/SharedSliceContent.d.ts +343 -346
  10. package/lib/content/fields/slices/SharedSliceContent.js +1 -2
  11. package/lib/content/fields/slices/SimpleSliceContent.d.ts +741 -0
  12. package/lib/content/fields/slices/SimpleSliceContent.js +8 -0
  13. package/lib/content/fields/slices/SlicesContent.d.ts +4440 -0
  14. package/lib/content/fields/slices/SlicesContent.js +23 -0
  15. package/lib/content/fields/slices/index.d.ts +3 -0
  16. package/lib/content/fields/slices/index.js +3 -0
  17. package/lib/content/index.d.ts +1 -0
  18. package/lib/content/index.js +1 -0
  19. package/lib/customtypes/index.d.ts +1 -1
  20. package/lib/customtypes/index.js +1 -1
  21. package/package.json +2 -1
  22. package/src/content/CustomType.ts +20 -0
  23. package/src/content/fields/UIDContent.ts +10 -0
  24. package/src/content/fields/index.ts +1 -0
  25. package/src/content/fields/slices/CompositeSliceContent.ts +12 -0
  26. package/src/content/fields/slices/SharedSliceContent.ts +1 -2
  27. package/src/content/fields/slices/SimpleSliceContent.ts +7 -0
  28. package/src/content/fields/slices/SlicesContent.ts +26 -0
  29. package/src/content/fields/slices/index.ts +3 -0
  30. package/src/content/index.ts +1 -0
  31. package/src/customtypes/index.ts +1 -1
@@ -369,376 +369,373 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
369
369
  }>>, t.ExactC<t.TypeC<{
370
370
  __TYPE__: t.LiteralC<"SeparatorContent">;
371
371
  }>>]>>;
372
- items: t.ArrayC<t.ExactC<t.TypeC<{
373
- __TYPE__: t.LiteralC<"GroupItemContent">;
374
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
375
- __TYPE__: t.LiteralC<"BooleanContent">;
376
- value: t.BooleanC;
377
- }>>, t.IntersectionC<[t.Type<{
378
- embed_url: string;
379
- type: string;
380
- } & {
381
- version?: string | number | null;
382
- title?: string | null | undefined;
383
- author_name?: string | null | undefined;
384
- author_url?: string | null | undefined;
385
- provider_name?: string | null | undefined;
386
- provider_url?: string | null | undefined;
387
- cache_age?: string | number | null;
388
- thumbnail_url?: string | null | undefined;
389
- thumbnail_width?: number | null | undefined;
390
- thumbnail_height?: number | null | undefined;
391
- html?: string | null | undefined;
392
- }, {
393
- embed_url: string;
394
- type: string;
395
- } & {
396
- version?: string | number | null;
397
- title?: string | null | undefined;
398
- author_name?: string | null | undefined;
399
- author_url?: string | null | undefined;
400
- provider_name?: string | null | undefined;
401
- provider_url?: string | null | undefined;
402
- cache_age?: string | number | null;
403
- thumbnail_url?: string | null | undefined;
404
- thumbnail_width?: number | null | undefined;
405
- thumbnail_height?: number | null | undefined;
406
- html?: string | null | undefined;
407
- } & {
408
- __TYPE__: "EmbedContent";
409
- }, unknown>, t.ExactC<t.TypeC<{
410
- __TYPE__: t.LiteralC<"EmbedContent">;
411
- all: t.UnknownC;
412
- }>>]>, t.ExactC<t.TypeC<{
413
- type: t.KeyofC<{
414
- Text: null;
415
- Date: null;
416
- Timestamp: null;
417
- Color: null;
418
- Number: null;
419
- Range: null;
420
- Select: null;
421
- }>;
422
- value: t.Type<string, string, unknown>;
423
- __TYPE__: t.LiteralC<"FieldContent">;
424
- }>>, t.IntersectionC<[t.Type<{
425
- position: {
426
- lat: number;
427
- lng: number;
428
- };
429
- }, {
430
- position: {
431
- lat: number;
432
- lng: number;
433
- };
434
- } & {
435
- __TYPE__: "GeoPointContent";
436
- }, unknown>, t.ExactC<t.TypeC<{
437
- __TYPE__: t.LiteralC<"GeoPointContent">;
438
- }>>]>, t.IntersectionC<[t.Type<{
439
- origin: {
440
- id: string;
441
- url: string;
442
- width: number;
443
- height: number;
444
- };
372
+ items: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
373
+ __TYPE__: t.LiteralC<"BooleanContent">;
374
+ value: t.BooleanC;
375
+ }>>, t.IntersectionC<[t.Type<{
376
+ embed_url: string;
377
+ type: string;
378
+ } & {
379
+ version?: string | number | null;
380
+ title?: string | null | undefined;
381
+ author_name?: string | null | undefined;
382
+ author_url?: string | null | undefined;
383
+ provider_name?: string | null | undefined;
384
+ provider_url?: string | null | undefined;
385
+ cache_age?: string | number | null;
386
+ thumbnail_url?: string | null | undefined;
387
+ thumbnail_width?: number | null | undefined;
388
+ thumbnail_height?: number | null | undefined;
389
+ html?: string | null | undefined;
390
+ }, {
391
+ embed_url: string;
392
+ type: string;
393
+ } & {
394
+ version?: string | number | null;
395
+ title?: string | null | undefined;
396
+ author_name?: string | null | undefined;
397
+ author_url?: string | null | undefined;
398
+ provider_name?: string | null | undefined;
399
+ provider_url?: string | null | undefined;
400
+ cache_age?: string | number | null;
401
+ thumbnail_url?: string | null | undefined;
402
+ thumbnail_width?: number | null | undefined;
403
+ thumbnail_height?: number | null | undefined;
404
+ html?: string | null | undefined;
405
+ } & {
406
+ __TYPE__: "EmbedContent";
407
+ }, unknown>, t.ExactC<t.TypeC<{
408
+ __TYPE__: t.LiteralC<"EmbedContent">;
409
+ all: t.UnknownC;
410
+ }>>]>, t.ExactC<t.TypeC<{
411
+ type: t.KeyofC<{
412
+ Text: null;
413
+ Date: null;
414
+ Timestamp: null;
415
+ Color: null;
416
+ Number: null;
417
+ Range: null;
418
+ Select: null;
419
+ }>;
420
+ value: t.Type<string, string, unknown>;
421
+ __TYPE__: t.LiteralC<"FieldContent">;
422
+ }>>, t.IntersectionC<[t.Type<{
423
+ position: {
424
+ lat: number;
425
+ lng: number;
426
+ };
427
+ }, {
428
+ position: {
429
+ lat: number;
430
+ lng: number;
431
+ };
432
+ } & {
433
+ __TYPE__: "GeoPointContent";
434
+ }, unknown>, t.ExactC<t.TypeC<{
435
+ __TYPE__: t.LiteralC<"GeoPointContent">;
436
+ }>>]>, t.IntersectionC<[t.Type<{
437
+ origin: {
438
+ id: string;
439
+ url: string;
445
440
  width: number;
446
441
  height: number;
447
- edit: {
448
- zoom: number;
449
- crop: {
450
- x: number;
451
- y: number;
452
- };
453
- background: string;
442
+ };
443
+ width: number;
444
+ height: number;
445
+ edit: {
446
+ zoom: number;
447
+ crop: {
448
+ x: number;
449
+ y: number;
454
450
  };
455
- } & {
456
- url?: string;
457
- credits?: string | null;
458
- alt?: string | null;
459
- provider?: string | null | undefined;
460
- } & {
461
- thumbnails?: {
462
- [x: string]: {
463
- origin: {
464
- id: string;
465
- url: string;
466
- width: number;
467
- height: number;
468
- };
451
+ background: string;
452
+ };
453
+ } & {
454
+ url?: string;
455
+ credits?: string | null;
456
+ alt?: string | null;
457
+ provider?: string | null | undefined;
458
+ } & {
459
+ thumbnails?: {
460
+ [x: string]: {
461
+ origin: {
462
+ id: string;
463
+ url: string;
469
464
  width: number;
470
465
  height: number;
471
- edit: {
472
- zoom: number;
473
- crop: {
474
- x: number;
475
- y: number;
476
- };
477
- background: string;
478
- };
479
- } & {
480
- url?: string;
481
- credits?: string | null;
482
- alt?: string | null;
483
- provider?: string | null | undefined;
484
466
  };
485
- };
486
- }, {
487
- origin: {
488
- id: string;
489
- url: string;
490
467
  width: number;
491
468
  height: number;
469
+ edit: {
470
+ zoom: number;
471
+ crop: {
472
+ x: number;
473
+ y: number;
474
+ };
475
+ background: string;
476
+ };
477
+ } & {
478
+ url?: string;
479
+ credits?: string | null;
480
+ alt?: string | null;
481
+ provider?: string | null | undefined;
492
482
  };
483
+ };
484
+ }, {
485
+ origin: {
486
+ id: string;
487
+ url: string;
493
488
  width: number;
494
489
  height: number;
495
- edit: {
496
- zoom: number;
497
- crop: {
498
- x: number;
499
- y: number;
500
- };
501
- background: string;
490
+ };
491
+ width: number;
492
+ height: number;
493
+ edit: {
494
+ zoom: number;
495
+ crop: {
496
+ x: number;
497
+ y: number;
502
498
  };
503
- } & {
504
- url?: string;
505
- credits?: string | null;
506
- alt?: string | null;
507
- provider?: string | null | undefined;
508
- } & {
509
- thumbnails?: {
510
- [x: string]: {
511
- origin: {
512
- id: string;
513
- url: string;
514
- width: number;
515
- height: number;
516
- };
499
+ background: string;
500
+ };
501
+ } & {
502
+ url?: string;
503
+ credits?: string | null;
504
+ alt?: string | null;
505
+ provider?: string | null | undefined;
506
+ } & {
507
+ thumbnails?: {
508
+ [x: string]: {
509
+ origin: {
510
+ id: string;
511
+ url: string;
517
512
  width: number;
518
513
  height: number;
519
- edit: {
520
- zoom: number;
521
- crop: {
522
- x: number;
523
- y: number;
524
- };
525
- background: string;
514
+ };
515
+ width: number;
516
+ height: number;
517
+ edit: {
518
+ zoom: number;
519
+ crop: {
520
+ x: number;
521
+ y: number;
526
522
  };
527
- } & {
528
- url?: string;
529
- credits?: string | null;
530
- alt?: string | null;
531
- provider?: string | null | undefined;
523
+ background: string;
532
524
  };
525
+ } & {
526
+ url?: string;
527
+ credits?: string | null;
528
+ alt?: string | null;
529
+ provider?: string | null | undefined;
533
530
  };
531
+ };
532
+ } & {
533
+ __TYPE__: "ImageContent";
534
+ }, unknown>, t.ExactC<t.TypeC<{
535
+ __TYPE__: t.LiteralC<"ImageContent">;
536
+ }>>]>, t.ExactC<t.TypeC<{
537
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
538
+ value: t.StringC;
539
+ }>>, t.ExactC<t.TypeC<{
540
+ __TYPE__: t.LiteralC<"LinkContent">;
541
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
542
+ __TYPE__: t.LiteralC<"ImageLink">;
543
+ }>>, t.Type<{
544
+ id: string;
545
+ url: string;
546
+ height: string;
547
+ width: string;
548
+ size: string;
549
+ name: string;
550
+ kind: string;
534
551
  } & {
535
- __TYPE__: "ImageContent";
552
+ date?: string | null | undefined;
553
+ }, {
554
+ id: string;
555
+ url: string;
556
+ height: string;
557
+ width: string;
558
+ size: string;
559
+ name: string;
560
+ kind: string;
561
+ } & {
562
+ date?: string | null | undefined;
563
+ } & {
564
+ __TYPE__: "ImageLink";
565
+ }, unknown>]>, t.IntersectionC<[t.Type<{
566
+ id: string;
567
+ url: string;
568
+ name: string;
569
+ kind: string;
570
+ } & {
571
+ date?: string | null | undefined;
572
+ size?: string;
573
+ }, {
574
+ readonly size: string;
575
+ readonly __TYPE__: "FileLink";
576
+ readonly id: string;
577
+ readonly url: string;
578
+ readonly name: string;
579
+ readonly kind: string;
580
+ readonly date?: string | null | undefined;
536
581
  }, unknown>, t.ExactC<t.TypeC<{
537
- __TYPE__: t.LiteralC<"ImageContent">;
538
- }>>]>, t.ExactC<t.TypeC<{
539
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
540
- value: t.StringC;
541
- }>>, t.ExactC<t.TypeC<{
542
- __TYPE__: t.LiteralC<"LinkContent">;
543
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
544
- __TYPE__: t.LiteralC<"ImageLink">;
545
- }>>, t.Type<{
546
- id: string;
547
- url: string;
548
- height: string;
549
- width: string;
550
- size: string;
551
- name: string;
552
- kind: string;
553
- } & {
554
- date?: string | null | undefined;
555
- }, {
556
- id: string;
557
- url: string;
558
- height: string;
559
- width: string;
560
- size: string;
561
- name: string;
562
- kind: string;
563
- } & {
564
- date?: string | null | undefined;
565
- } & {
566
- __TYPE__: "ImageLink";
567
- }, unknown>]>, t.IntersectionC<[t.Type<{
568
- id: string;
569
- url: string;
570
- name: string;
571
- kind: string;
572
- } & {
573
- date?: string | null | undefined;
574
- size?: string;
575
- }, {
576
- readonly size: string;
577
- readonly __TYPE__: "FileLink";
578
- readonly id: string;
579
- readonly url: string;
580
- readonly name: string;
581
- readonly kind: string;
582
- readonly date?: string | null | undefined;
583
- }, unknown>, t.ExactC<t.TypeC<{
584
- __TYPE__: t.LiteralC<"FileLink">;
585
- size: t.StringC;
586
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
587
- __TYPE__: t.LiteralC<"DocumentLink">;
588
- }>>, t.Type<{
589
- id: string;
590
- }, {
591
- id: string;
592
- } & {
593
- __TYPE__: "DocumentLink";
594
- }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
595
- __TYPE__: t.LiteralC<"ExternalLink">;
596
- }>>, t.Type<{
597
- url: string;
598
- } & {
599
- kind?: "web";
600
- target?: string | null | undefined;
601
- preview?: {
602
- title?: string;
603
- } | null | undefined;
604
- }, {
605
- url: string;
606
- } & {
607
- kind?: "web";
608
- target?: string | null | undefined;
609
- preview?: {
610
- title?: string;
611
- } | null | undefined;
612
- } & {
613
- __TYPE__: "ExternalLink";
614
- }, unknown>]>]>;
615
- }>>, t.ExactC<t.TypeC<{
616
- __TYPE__: t.LiteralC<"StructuredTextContent">;
617
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
618
- type: t.LiteralC<"image">;
619
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
620
- origin: t.ExactC<t.TypeC<{
621
- id: t.StringC;
622
- url: t.StringC;
623
- width: t.NumberC;
624
- height: t.NumberC;
625
- }>>;
582
+ __TYPE__: t.LiteralC<"FileLink">;
583
+ size: t.StringC;
584
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
585
+ __TYPE__: t.LiteralC<"DocumentLink">;
586
+ }>>, t.Type<{
587
+ id: string;
588
+ }, {
589
+ id: string;
590
+ } & {
591
+ __TYPE__: "DocumentLink";
592
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
593
+ __TYPE__: t.LiteralC<"ExternalLink">;
594
+ }>>, t.Type<{
595
+ url: string;
596
+ } & {
597
+ kind?: "web";
598
+ target?: string | null | undefined;
599
+ preview?: {
600
+ title?: string;
601
+ } | null | undefined;
602
+ }, {
603
+ url: string;
604
+ } & {
605
+ kind?: "web";
606
+ target?: string | null | undefined;
607
+ preview?: {
608
+ title?: string;
609
+ } | null | undefined;
610
+ } & {
611
+ __TYPE__: "ExternalLink";
612
+ }, unknown>]>]>;
613
+ }>>, t.ExactC<t.TypeC<{
614
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
615
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
616
+ type: t.LiteralC<"image">;
617
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
618
+ origin: t.ExactC<t.TypeC<{
619
+ id: t.StringC;
620
+ url: t.StringC;
626
621
  width: t.NumberC;
627
622
  height: t.NumberC;
628
- edit: t.TypeC<{
629
- zoom: t.NumberC;
630
- crop: t.TypeC<{
631
- x: t.NumberC;
632
- y: t.NumberC;
633
- }>;
634
- background: t.StringC;
623
+ }>>;
624
+ width: t.NumberC;
625
+ height: t.NumberC;
626
+ edit: t.TypeC<{
627
+ zoom: t.NumberC;
628
+ crop: t.TypeC<{
629
+ x: t.NumberC;
630
+ y: t.NumberC;
635
631
  }>;
636
- }>, t.PartialC<{
637
- url: t.StringC;
638
- credits: t.Type<string | null, string | null, unknown>;
639
- alt: t.Type<string | null, string | null, unknown>;
640
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
641
- }>]>>, t.PartialC<{
642
- linkTo: t.UnionC<[t.Type<{
643
- id: string;
644
- } | ({
645
- url: string;
646
- } & {
647
- kind?: "web";
648
- target?: string | null | undefined;
649
- preview?: {
650
- title?: string;
651
- } | null | undefined;
652
- }) | ({
653
- id: string;
654
- url: string;
655
- name: string;
656
- kind: string;
657
- } & {
658
- date?: string | null | undefined;
659
- size?: string;
660
- }) | ({
661
- id: string;
662
- url: string;
663
- height: string;
664
- width: string;
665
- size: string;
666
- name: string;
667
- kind: string;
668
- } & {
669
- date?: string | null | undefined;
670
- }), ({
671
- id: string;
672
- } & {
673
- __TYPE__: "DocumentLink";
674
- }) | ({
675
- url: string;
676
- } & {
677
- kind?: "web";
678
- target?: string | null | undefined;
679
- preview?: {
680
- title?: string;
681
- } | null | undefined;
682
- } & {
683
- __TYPE__: "ExternalLink";
684
- }) | {
685
- readonly size: string;
686
- readonly __TYPE__: "FileLink";
687
- readonly id: string;
688
- readonly url: string;
689
- readonly name: string;
690
- readonly kind: string;
691
- readonly date?: string | null | undefined;
692
- } | ({
693
- id: string;
694
- url: string;
695
- height: string;
696
- width: string;
697
- size: string;
698
- name: string;
699
- kind: string;
700
- } & {
701
- date?: string | null | undefined;
702
- } & {
703
- __TYPE__: "ImageLink";
704
- }), unknown>, t.NullC, t.UndefinedC]>;
705
- }>]>;
706
- }>, t.PartialC<{
707
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
708
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
709
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
710
- type: t.LiteralC<"embed">;
711
- data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
632
+ background: t.StringC;
633
+ }>;
712
634
  }>, t.PartialC<{
713
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
714
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
715
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
716
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
717
- content: t.IntersectionC<[t.TypeC<{
718
- text: t.StringC;
719
- }>, t.PartialC<{
720
- spans: t.Type<({
721
- data?: unknown;
722
- } & {
723
- start: number;
724
- end: number;
725
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
726
- })[], ({
727
- data?: unknown;
728
- } & {
729
- start: number;
730
- end: number;
731
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
732
- })[], unknown>;
733
- }>]>;
635
+ url: t.StringC;
636
+ credits: t.Type<string | null, string | null, unknown>;
637
+ alt: t.Type<string | null, string | null, unknown>;
638
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
639
+ }>]>>, t.PartialC<{
640
+ linkTo: t.UnionC<[t.Type<{
641
+ id: string;
642
+ } | ({
643
+ url: string;
644
+ } & {
645
+ kind?: "web";
646
+ target?: string | null | undefined;
647
+ preview?: {
648
+ title?: string;
649
+ } | null | undefined;
650
+ }) | ({
651
+ id: string;
652
+ url: string;
653
+ name: string;
654
+ kind: string;
655
+ } & {
656
+ date?: string | null | undefined;
657
+ size?: string;
658
+ }) | ({
659
+ id: string;
660
+ url: string;
661
+ height: string;
662
+ width: string;
663
+ size: string;
664
+ name: string;
665
+ kind: string;
666
+ } & {
667
+ date?: string | null | undefined;
668
+ }), ({
669
+ id: string;
670
+ } & {
671
+ __TYPE__: "DocumentLink";
672
+ }) | ({
673
+ url: string;
674
+ } & {
675
+ kind?: "web";
676
+ target?: string | null | undefined;
677
+ preview?: {
678
+ title?: string;
679
+ } | null | undefined;
680
+ } & {
681
+ __TYPE__: "ExternalLink";
682
+ }) | {
683
+ readonly size: string;
684
+ readonly __TYPE__: "FileLink";
685
+ readonly id: string;
686
+ readonly url: string;
687
+ readonly name: string;
688
+ readonly kind: string;
689
+ readonly date?: string | null | undefined;
690
+ } | ({
691
+ id: string;
692
+ url: string;
693
+ height: string;
694
+ width: string;
695
+ size: string;
696
+ name: string;
697
+ kind: string;
698
+ } & {
699
+ date?: string | null | undefined;
700
+ } & {
701
+ __TYPE__: "ImageLink";
702
+ }), unknown>, t.NullC, t.UndefinedC]>;
703
+ }>]>;
704
+ }>, t.PartialC<{
705
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
706
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
707
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
708
+ type: t.LiteralC<"embed">;
709
+ data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
710
+ }>, t.PartialC<{
711
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
712
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
713
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
714
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
715
+ content: t.IntersectionC<[t.TypeC<{
716
+ text: t.StringC;
734
717
  }>, t.PartialC<{
735
- label: t.StringC;
736
- direction: t.StringC;
737
- }>]>>]>>;
738
- }>>, t.ExactC<t.TypeC<{
739
- __TYPE__: t.LiteralC<"SeparatorContent">;
740
- }>>]>]>>;
741
- }>>>;
718
+ spans: t.Type<({
719
+ data?: unknown;
720
+ } & {
721
+ start: number;
722
+ end: number;
723
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
724
+ })[], ({
725
+ data?: unknown;
726
+ } & {
727
+ start: number;
728
+ end: number;
729
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
730
+ })[], unknown>;
731
+ }>]>;
732
+ }>, t.PartialC<{
733
+ label: t.StringC;
734
+ direction: t.StringC;
735
+ }>]>>]>>;
736
+ }>>, t.ExactC<t.TypeC<{
737
+ __TYPE__: t.LiteralC<"SeparatorContent">;
738
+ }>>]>]>>;
742
739
  }>>;
743
740
  export declare type SharedSliceContent = t.TypeOf<typeof SharedSliceContent>;
744
741
  export declare const SharedSliceContentType = "SharedSliceContent";