@prismicio/types-internal 3.4.0-alpha.2 → 3.4.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 (55) hide show
  1. package/lib/content/Document.d.ts +3305 -3323
  2. package/lib/content/fields/RepeatableContent.d.ts +51 -123
  3. package/lib/content/fields/RepeatableContent.js +10 -14
  4. package/lib/content/fields/WidgetContent.d.ts +3046 -3064
  5. package/lib/content/fields/nestable/NestableContent.d.ts +501 -504
  6. package/lib/content/fields/nestable/NestableContent.js +0 -7
  7. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
  8. package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
  9. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
  10. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
  11. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
  12. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
  13. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
  14. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
  15. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
  16. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  17. package/lib/content/fields/nestable/RichTextContent/index.d.ts +637 -9
  18. package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
  19. package/lib/content/fields/nestable/TableContent.d.ts +245 -12
  20. package/lib/content/fields/nestable/TableContent.js +7 -7
  21. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1013 -1019
  22. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +234 -235
  23. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1013 -1019
  24. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +501 -504
  25. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +499 -502
  26. package/lib/content/fields/slices/Slice/index.d.ts +1852 -1862
  27. package/lib/content/fields/slices/SliceItem.d.ts +1957 -1967
  28. package/lib/content/fields/slices/SlicesContent.d.ts +2619 -2634
  29. package/lib/customtypes/CustomType.d.ts +0 -108
  30. package/lib/customtypes/Section.d.ts +0 -108
  31. package/lib/customtypes/diff/SharedSlice.d.ts +0 -48
  32. package/lib/customtypes/diff/Variation.d.ts +0 -48
  33. package/lib/customtypes/widgets/Group.d.ts +0 -36
  34. package/lib/customtypes/widgets/Widget.d.ts +0 -126
  35. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -6
  36. package/lib/customtypes/widgets/nestable/NestableWidget.js +0 -2
  37. package/lib/customtypes/widgets/nestable/RichText.d.ts +2 -0
  38. package/lib/customtypes/widgets/nestable/RichText.js +2 -0
  39. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -12
  40. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -12
  41. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -48
  42. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -36
  43. package/lib/customtypes/widgets/slices/Slices.d.ts +0 -168
  44. package/package.json +1 -1
  45. package/src/content/fields/nestable/NestableContent.ts +0 -12
  46. package/src/content/fields/nestable/RichTextContent/Block.ts +35 -0
  47. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +81 -0
  48. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +42 -0
  49. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +36 -0
  50. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +108 -0
  51. package/src/content/fields/nestable/RichTextContent/index.ts +2 -2
  52. package/src/content/fields/nestable/TableContent.ts +6 -6
  53. package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -2
  54. package/src/customtypes/widgets/nestable/RichText.ts +2 -0
  55. package/src/content/fields/nestable/RichTextContent/Blocks.ts +0 -238
@@ -360,7 +360,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
360
360
  label?: string | null | undefined;
361
361
  direction?: string | null | undefined;
362
362
  }) | ({
363
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
363
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
364
364
  content: {
365
365
  text: string;
366
366
  } & {
@@ -419,142 +419,141 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
419
419
  } & {
420
420
  label?: string;
421
421
  direction?: string;
422
- }))[];
423
- }> | import("fp-ts/lib/Either").Right<{
424
- __TYPE__: "SeparatorContent";
425
- }> | import("fp-ts/lib/Either").Right<{
426
- content: {
427
- type: "tableRow";
428
- content: ({
429
- type: "tableHeader";
422
+ }) | {
423
+ type: "table";
424
+ content: {
425
+ type: "tableRow";
430
426
  content: ({
431
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
432
- content: {
433
- text: string;
427
+ type: "tableHeader";
428
+ content: ({
429
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
430
+ content: {
431
+ text: string;
432
+ } & {
433
+ spans?: ({
434
+ data: ({
435
+ __TYPE__: "ImageLink";
436
+ } & {
437
+ kind: "image";
438
+ id: string;
439
+ url: string;
440
+ height: string;
441
+ width: string;
442
+ size: string;
443
+ name: string;
444
+ } & {
445
+ date?: string | null | undefined;
446
+ }) | ({
447
+ __TYPE__: "FileLink";
448
+ } & {
449
+ kind: "file";
450
+ id: string;
451
+ url: string;
452
+ name: string;
453
+ size: string;
454
+ } & {
455
+ date?: string | null | undefined;
456
+ }) | ({
457
+ __TYPE__: "DocumentLink";
458
+ } & {
459
+ id: string;
460
+ }) | ({
461
+ __TYPE__: "ExternalLink";
462
+ } & {
463
+ url: string;
464
+ } & {
465
+ kind?: "web";
466
+ target?: string | null | undefined;
467
+ preview?: {
468
+ title?: string;
469
+ } | null | undefined;
470
+ });
471
+ start: number;
472
+ end: number;
473
+ type: "hyperlink";
474
+ } | {
475
+ data: string;
476
+ start: number;
477
+ end: number;
478
+ type: "label";
479
+ } | {
480
+ start: number;
481
+ end: number;
482
+ type: "strong" | "em" | "list-item";
483
+ })[];
484
+ };
434
485
  } & {
435
- spans?: ({
436
- data: ({
437
- __TYPE__: "ImageLink";
438
- } & {
439
- kind: "image";
440
- id: string;
441
- url: string;
442
- height: string;
443
- width: string;
444
- size: string;
445
- name: string;
446
- } & {
447
- date?: string | null | undefined;
448
- }) | ({
449
- __TYPE__: "FileLink";
450
- } & {
451
- kind: "file";
452
- id: string;
453
- url: string;
454
- name: string;
455
- size: string;
456
- } & {
457
- date?: string | null | undefined;
458
- }) | ({
459
- __TYPE__: "DocumentLink";
460
- } & {
461
- id: string;
462
- }) | ({
463
- __TYPE__: "ExternalLink";
464
- } & {
465
- url: string;
466
- } & {
467
- kind?: "web";
468
- target?: string | null | undefined;
469
- preview?: {
470
- title?: string;
471
- } | null | undefined;
472
- });
473
- start: number;
474
- end: number;
475
- type: "hyperlink";
476
- } | {
477
- data: string;
478
- start: number;
479
- end: number;
480
- type: "label";
481
- } | {
482
- start: number;
483
- end: number;
484
- type: "strong" | "em" | "list-item";
485
- })[];
486
- };
487
- } & {
488
- label?: string;
489
- direction?: string;
490
- })[];
491
- } | {
492
- type: "tableCell";
493
- content: ({
494
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
495
- content: {
496
- text: string;
486
+ label?: string;
487
+ direction?: string;
488
+ })[];
489
+ } | {
490
+ type: "tableCell";
491
+ content: ({
492
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
493
+ content: {
494
+ text: string;
495
+ } & {
496
+ spans?: ({
497
+ data: ({
498
+ __TYPE__: "ImageLink";
499
+ } & {
500
+ kind: "image";
501
+ id: string;
502
+ url: string;
503
+ height: string;
504
+ width: string;
505
+ size: string;
506
+ name: string;
507
+ } & {
508
+ date?: string | null | undefined;
509
+ }) | ({
510
+ __TYPE__: "FileLink";
511
+ } & {
512
+ kind: "file";
513
+ id: string;
514
+ url: string;
515
+ name: string;
516
+ size: string;
517
+ } & {
518
+ date?: string | null | undefined;
519
+ }) | ({
520
+ __TYPE__: "DocumentLink";
521
+ } & {
522
+ id: string;
523
+ }) | ({
524
+ __TYPE__: "ExternalLink";
525
+ } & {
526
+ url: string;
527
+ } & {
528
+ kind?: "web";
529
+ target?: string | null | undefined;
530
+ preview?: {
531
+ title?: string;
532
+ } | null | undefined;
533
+ });
534
+ start: number;
535
+ end: number;
536
+ type: "hyperlink";
537
+ } | {
538
+ data: string;
539
+ start: number;
540
+ end: number;
541
+ type: "label";
542
+ } | {
543
+ start: number;
544
+ end: number;
545
+ type: "strong" | "em" | "list-item";
546
+ })[];
547
+ };
497
548
  } & {
498
- spans?: ({
499
- data: ({
500
- __TYPE__: "ImageLink";
501
- } & {
502
- kind: "image";
503
- id: string;
504
- url: string;
505
- height: string;
506
- width: string;
507
- size: string;
508
- name: string;
509
- } & {
510
- date?: string | null | undefined;
511
- }) | ({
512
- __TYPE__: "FileLink";
513
- } & {
514
- kind: "file";
515
- id: string;
516
- url: string;
517
- name: string;
518
- size: string;
519
- } & {
520
- date?: string | null | undefined;
521
- }) | ({
522
- __TYPE__: "DocumentLink";
523
- } & {
524
- id: string;
525
- }) | ({
526
- __TYPE__: "ExternalLink";
527
- } & {
528
- url: string;
529
- } & {
530
- kind?: "web";
531
- target?: string | null | undefined;
532
- preview?: {
533
- title?: string;
534
- } | null | undefined;
535
- });
536
- start: number;
537
- end: number;
538
- type: "hyperlink";
539
- } | {
540
- data: string;
541
- start: number;
542
- end: number;
543
- type: "label";
544
- } | {
545
- start: number;
546
- end: number;
547
- type: "strong" | "em" | "list-item";
548
- })[];
549
- };
550
- } & {
551
- label?: string;
552
- direction?: string;
549
+ label?: string;
550
+ direction?: string;
551
+ })[];
553
552
  })[];
554
- })[];
555
- }[];
556
- } & {
557
- __TYPE__: "TableContent";
553
+ }[];
554
+ })[];
555
+ }> | import("fp-ts/lib/Either").Right<{
556
+ __TYPE__: "SeparatorContent";
558
557
  }> | import("fp-ts/lib/Either").Right<{
559
558
  __TYPE__: "CompositeSliceContent";
560
559
  nonRepeat: {
@@ -917,7 +916,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
917
916
  label?: string | null | undefined;
918
917
  direction?: string | null | undefined;
919
918
  }) | ({
920
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
919
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
921
920
  content: {
922
921
  text: string;
923
922
  } & {
@@ -976,152 +975,151 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
976
975
  } & {
977
976
  label?: string;
978
977
  direction?: string;
979
- }))[];
978
+ }) | {
979
+ type: "table";
980
+ content: {
981
+ type: "tableRow";
982
+ content: ({
983
+ type: "tableHeader";
984
+ content: ({
985
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
986
+ content: {
987
+ text: string;
988
+ } & {
989
+ spans?: ({
990
+ data: ({
991
+ __TYPE__: "ImageLink";
992
+ } & {
993
+ kind: "image";
994
+ id: string;
995
+ url: string;
996
+ height: string;
997
+ width: string;
998
+ size: string;
999
+ name: string;
1000
+ } & {
1001
+ date?: string | null | undefined;
1002
+ }) | ({
1003
+ __TYPE__: "FileLink";
1004
+ } & {
1005
+ kind: "file";
1006
+ id: string;
1007
+ url: string;
1008
+ name: string;
1009
+ size: string;
1010
+ } & {
1011
+ date?: string | null | undefined;
1012
+ }) | ({
1013
+ __TYPE__: "DocumentLink";
1014
+ } & {
1015
+ id: string;
1016
+ }) | ({
1017
+ __TYPE__: "ExternalLink";
1018
+ } & {
1019
+ url: string;
1020
+ } & {
1021
+ kind?: "web";
1022
+ target?: string | null | undefined;
1023
+ preview?: {
1024
+ title?: string;
1025
+ } | null | undefined;
1026
+ });
1027
+ start: number;
1028
+ end: number;
1029
+ type: "hyperlink";
1030
+ } | {
1031
+ data: string;
1032
+ start: number;
1033
+ end: number;
1034
+ type: "label";
1035
+ } | {
1036
+ start: number;
1037
+ end: number;
1038
+ type: "strong" | "em" | "list-item";
1039
+ })[];
1040
+ };
1041
+ } & {
1042
+ label?: string;
1043
+ direction?: string;
1044
+ })[];
1045
+ } | {
1046
+ type: "tableCell";
1047
+ content: ({
1048
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1049
+ content: {
1050
+ text: string;
1051
+ } & {
1052
+ spans?: ({
1053
+ data: ({
1054
+ __TYPE__: "ImageLink";
1055
+ } & {
1056
+ kind: "image";
1057
+ id: string;
1058
+ url: string;
1059
+ height: string;
1060
+ width: string;
1061
+ size: string;
1062
+ name: string;
1063
+ } & {
1064
+ date?: string | null | undefined;
1065
+ }) | ({
1066
+ __TYPE__: "FileLink";
1067
+ } & {
1068
+ kind: "file";
1069
+ id: string;
1070
+ url: string;
1071
+ name: string;
1072
+ size: string;
1073
+ } & {
1074
+ date?: string | null | undefined;
1075
+ }) | ({
1076
+ __TYPE__: "DocumentLink";
1077
+ } & {
1078
+ id: string;
1079
+ }) | ({
1080
+ __TYPE__: "ExternalLink";
1081
+ } & {
1082
+ url: string;
1083
+ } & {
1084
+ kind?: "web";
1085
+ target?: string | null | undefined;
1086
+ preview?: {
1087
+ title?: string;
1088
+ } | null | undefined;
1089
+ });
1090
+ start: number;
1091
+ end: number;
1092
+ type: "hyperlink";
1093
+ } | {
1094
+ data: string;
1095
+ start: number;
1096
+ end: number;
1097
+ type: "label";
1098
+ } | {
1099
+ start: number;
1100
+ end: number;
1101
+ type: "strong" | "em" | "list-item";
1102
+ })[];
1103
+ };
1104
+ } & {
1105
+ label?: string;
1106
+ direction?: string;
1107
+ })[];
1108
+ })[];
1109
+ }[];
1110
+ })[];
980
1111
  } | {
981
1112
  __TYPE__: "SeparatorContent";
982
- } | ({
983
- content: {
984
- type: "tableRow";
985
- content: ({
986
- type: "tableHeader";
987
- content: ({
988
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
989
- content: {
990
- text: string;
991
- } & {
992
- spans?: ({
993
- data: ({
994
- __TYPE__: "ImageLink";
995
- } & {
996
- kind: "image";
997
- id: string;
998
- url: string;
999
- height: string;
1000
- width: string;
1001
- size: string;
1002
- name: string;
1003
- } & {
1004
- date?: string | null | undefined;
1005
- }) | ({
1006
- __TYPE__: "FileLink";
1007
- } & {
1008
- kind: "file";
1009
- id: string;
1010
- url: string;
1011
- name: string;
1012
- size: string;
1013
- } & {
1014
- date?: string | null | undefined;
1015
- }) | ({
1016
- __TYPE__: "DocumentLink";
1017
- } & {
1018
- id: string;
1019
- }) | ({
1020
- __TYPE__: "ExternalLink";
1021
- } & {
1022
- url: string;
1023
- } & {
1024
- kind?: "web";
1025
- target?: string | null | undefined;
1026
- preview?: {
1027
- title?: string;
1028
- } | null | undefined;
1029
- });
1030
- start: number;
1031
- end: number;
1032
- type: "hyperlink";
1033
- } | {
1034
- data: string;
1035
- start: number;
1036
- end: number;
1037
- type: "label";
1038
- } | {
1039
- start: number;
1040
- end: number;
1041
- type: "strong" | "em" | "list-item";
1042
- })[];
1043
- };
1044
- } & {
1045
- label?: string;
1046
- direction?: string;
1047
- })[];
1048
- } | {
1049
- type: "tableCell";
1050
- content: ({
1051
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1052
- content: {
1053
- text: string;
1054
- } & {
1055
- spans?: ({
1056
- data: ({
1057
- __TYPE__: "ImageLink";
1058
- } & {
1059
- kind: "image";
1060
- id: string;
1061
- url: string;
1062
- height: string;
1063
- width: string;
1064
- size: string;
1065
- name: string;
1066
- } & {
1067
- date?: string | null | undefined;
1068
- }) | ({
1069
- __TYPE__: "FileLink";
1070
- } & {
1071
- kind: "file";
1072
- id: string;
1073
- url: string;
1074
- name: string;
1075
- size: string;
1076
- } & {
1077
- date?: string | null | undefined;
1078
- }) | ({
1079
- __TYPE__: "DocumentLink";
1080
- } & {
1081
- id: string;
1082
- }) | ({
1083
- __TYPE__: "ExternalLink";
1084
- } & {
1085
- url: string;
1086
- } & {
1087
- kind?: "web";
1088
- target?: string | null | undefined;
1089
- preview?: {
1090
- title?: string;
1091
- } | null | undefined;
1092
- });
1093
- start: number;
1094
- end: number;
1095
- type: "hyperlink";
1096
- } | {
1097
- data: string;
1098
- start: number;
1099
- end: number;
1100
- type: "label";
1101
- } | {
1102
- start: number;
1103
- end: number;
1104
- type: "strong" | "em" | "list-item";
1105
- })[];
1106
- };
1107
- } & {
1108
- label?: string;
1109
- direction?: string;
1110
- })[];
1111
- })[];
1112
- }[];
1113
- } & {
1114
- __TYPE__: "TableContent";
1115
- });
1116
- };
1117
- repeat: {
1118
- __TYPE__: "GroupItemContent";
1119
- value: [string, {
1120
- type: string;
1121
- __TYPE__: "EmptyContent";
1122
- } | {
1123
- __TYPE__: "BooleanContent";
1124
- value: boolean;
1113
+ };
1114
+ };
1115
+ repeat: {
1116
+ __TYPE__: "GroupItemContent";
1117
+ value: [string, {
1118
+ type: string;
1119
+ __TYPE__: "EmptyContent";
1120
+ } | {
1121
+ __TYPE__: "BooleanContent";
1122
+ value: boolean;
1125
1123
  } | ({
1126
1124
  embed_url: string;
1127
1125
  type: string;
@@ -1475,7 +1473,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1475
1473
  label?: string | null | undefined;
1476
1474
  direction?: string | null | undefined;
1477
1475
  }) | ({
1478
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1476
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1479
1477
  content: {
1480
1478
  text: string;
1481
1479
  } & {
@@ -1534,143 +1532,142 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1534
1532
  } & {
1535
1533
  label?: string;
1536
1534
  direction?: string;
1537
- }))[];
1538
- } | {
1539
- __TYPE__: "SeparatorContent";
1540
- } | ({
1541
- content: {
1542
- type: "tableRow";
1543
- content: ({
1544
- type: "tableHeader";
1535
+ }) | {
1536
+ type: "table";
1537
+ content: {
1538
+ type: "tableRow";
1545
1539
  content: ({
1546
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1547
- content: {
1548
- text: string;
1540
+ type: "tableHeader";
1541
+ content: ({
1542
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1543
+ content: {
1544
+ text: string;
1545
+ } & {
1546
+ spans?: ({
1547
+ data: ({
1548
+ __TYPE__: "ImageLink";
1549
+ } & {
1550
+ kind: "image";
1551
+ id: string;
1552
+ url: string;
1553
+ height: string;
1554
+ width: string;
1555
+ size: string;
1556
+ name: string;
1557
+ } & {
1558
+ date?: string | null | undefined;
1559
+ }) | ({
1560
+ __TYPE__: "FileLink";
1561
+ } & {
1562
+ kind: "file";
1563
+ id: string;
1564
+ url: string;
1565
+ name: string;
1566
+ size: string;
1567
+ } & {
1568
+ date?: string | null | undefined;
1569
+ }) | ({
1570
+ __TYPE__: "DocumentLink";
1571
+ } & {
1572
+ id: string;
1573
+ }) | ({
1574
+ __TYPE__: "ExternalLink";
1575
+ } & {
1576
+ url: string;
1577
+ } & {
1578
+ kind?: "web";
1579
+ target?: string | null | undefined;
1580
+ preview?: {
1581
+ title?: string;
1582
+ } | null | undefined;
1583
+ });
1584
+ start: number;
1585
+ end: number;
1586
+ type: "hyperlink";
1587
+ } | {
1588
+ data: string;
1589
+ start: number;
1590
+ end: number;
1591
+ type: "label";
1592
+ } | {
1593
+ start: number;
1594
+ end: number;
1595
+ type: "strong" | "em" | "list-item";
1596
+ })[];
1597
+ };
1549
1598
  } & {
1550
- spans?: ({
1551
- data: ({
1552
- __TYPE__: "ImageLink";
1553
- } & {
1554
- kind: "image";
1555
- id: string;
1556
- url: string;
1557
- height: string;
1558
- width: string;
1559
- size: string;
1560
- name: string;
1561
- } & {
1562
- date?: string | null | undefined;
1563
- }) | ({
1564
- __TYPE__: "FileLink";
1565
- } & {
1566
- kind: "file";
1567
- id: string;
1568
- url: string;
1569
- name: string;
1570
- size: string;
1571
- } & {
1572
- date?: string | null | undefined;
1573
- }) | ({
1574
- __TYPE__: "DocumentLink";
1575
- } & {
1576
- id: string;
1577
- }) | ({
1578
- __TYPE__: "ExternalLink";
1579
- } & {
1580
- url: string;
1581
- } & {
1582
- kind?: "web";
1583
- target?: string | null | undefined;
1584
- preview?: {
1585
- title?: string;
1586
- } | null | undefined;
1587
- });
1588
- start: number;
1589
- end: number;
1590
- type: "hyperlink";
1591
- } | {
1592
- data: string;
1593
- start: number;
1594
- end: number;
1595
- type: "label";
1596
- } | {
1597
- start: number;
1598
- end: number;
1599
- type: "strong" | "em" | "list-item";
1600
- })[];
1601
- };
1602
- } & {
1603
- label?: string;
1604
- direction?: string;
1605
- })[];
1606
- } | {
1607
- type: "tableCell";
1608
- content: ({
1609
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1610
- content: {
1611
- text: string;
1599
+ label?: string;
1600
+ direction?: string;
1601
+ })[];
1602
+ } | {
1603
+ type: "tableCell";
1604
+ content: ({
1605
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1606
+ content: {
1607
+ text: string;
1608
+ } & {
1609
+ spans?: ({
1610
+ data: ({
1611
+ __TYPE__: "ImageLink";
1612
+ } & {
1613
+ kind: "image";
1614
+ id: string;
1615
+ url: string;
1616
+ height: string;
1617
+ width: string;
1618
+ size: string;
1619
+ name: string;
1620
+ } & {
1621
+ date?: string | null | undefined;
1622
+ }) | ({
1623
+ __TYPE__: "FileLink";
1624
+ } & {
1625
+ kind: "file";
1626
+ id: string;
1627
+ url: string;
1628
+ name: string;
1629
+ size: string;
1630
+ } & {
1631
+ date?: string | null | undefined;
1632
+ }) | ({
1633
+ __TYPE__: "DocumentLink";
1634
+ } & {
1635
+ id: string;
1636
+ }) | ({
1637
+ __TYPE__: "ExternalLink";
1638
+ } & {
1639
+ url: string;
1640
+ } & {
1641
+ kind?: "web";
1642
+ target?: string | null | undefined;
1643
+ preview?: {
1644
+ title?: string;
1645
+ } | null | undefined;
1646
+ });
1647
+ start: number;
1648
+ end: number;
1649
+ type: "hyperlink";
1650
+ } | {
1651
+ data: string;
1652
+ start: number;
1653
+ end: number;
1654
+ type: "label";
1655
+ } | {
1656
+ start: number;
1657
+ end: number;
1658
+ type: "strong" | "em" | "list-item";
1659
+ })[];
1660
+ };
1612
1661
  } & {
1613
- spans?: ({
1614
- data: ({
1615
- __TYPE__: "ImageLink";
1616
- } & {
1617
- kind: "image";
1618
- id: string;
1619
- url: string;
1620
- height: string;
1621
- width: string;
1622
- size: string;
1623
- name: string;
1624
- } & {
1625
- date?: string | null | undefined;
1626
- }) | ({
1627
- __TYPE__: "FileLink";
1628
- } & {
1629
- kind: "file";
1630
- id: string;
1631
- url: string;
1632
- name: string;
1633
- size: string;
1634
- } & {
1635
- date?: string | null | undefined;
1636
- }) | ({
1637
- __TYPE__: "DocumentLink";
1638
- } & {
1639
- id: string;
1640
- }) | ({
1641
- __TYPE__: "ExternalLink";
1642
- } & {
1643
- url: string;
1644
- } & {
1645
- kind?: "web";
1646
- target?: string | null | undefined;
1647
- preview?: {
1648
- title?: string;
1649
- } | null | undefined;
1650
- });
1651
- start: number;
1652
- end: number;
1653
- type: "hyperlink";
1654
- } | {
1655
- data: string;
1656
- start: number;
1657
- end: number;
1658
- type: "label";
1659
- } | {
1660
- start: number;
1661
- end: number;
1662
- type: "strong" | "em" | "list-item";
1663
- })[];
1664
- };
1665
- } & {
1666
- label?: string;
1667
- direction?: string;
1662
+ label?: string;
1663
+ direction?: string;
1664
+ })[];
1668
1665
  })[];
1669
- })[];
1670
- }[];
1671
- } & {
1672
- __TYPE__: "TableContent";
1673
- })][];
1666
+ }[];
1667
+ })[];
1668
+ } | {
1669
+ __TYPE__: "SeparatorContent";
1670
+ }][];
1674
1671
  }[];
1675
1672
  }> | import("fp-ts/lib/Either").Right<{
1676
1673
  __TYPE__: "SharedSliceContent";
@@ -2035,7 +2032,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
2035
2032
  label?: string | null | undefined;
2036
2033
  direction?: string | null | undefined;
2037
2034
  }) | ({
2038
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2035
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2039
2036
  content: {
2040
2037
  text: string;
2041
2038
  } & {
@@ -2094,143 +2091,142 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
2094
2091
  } & {
2095
2092
  label?: string;
2096
2093
  direction?: string;
2097
- }))[];
2098
- } | {
2099
- __TYPE__: "SeparatorContent";
2100
- } | ({
2101
- content: {
2102
- type: "tableRow";
2103
- content: ({
2104
- type: "tableHeader";
2094
+ }) | {
2095
+ type: "table";
2096
+ content: {
2097
+ type: "tableRow";
2105
2098
  content: ({
2106
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2107
- content: {
2108
- text: string;
2099
+ type: "tableHeader";
2100
+ content: ({
2101
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2102
+ content: {
2103
+ text: string;
2104
+ } & {
2105
+ spans?: ({
2106
+ data: ({
2107
+ __TYPE__: "ImageLink";
2108
+ } & {
2109
+ kind: "image";
2110
+ id: string;
2111
+ url: string;
2112
+ height: string;
2113
+ width: string;
2114
+ size: string;
2115
+ name: string;
2116
+ } & {
2117
+ date?: string | null | undefined;
2118
+ }) | ({
2119
+ __TYPE__: "FileLink";
2120
+ } & {
2121
+ kind: "file";
2122
+ id: string;
2123
+ url: string;
2124
+ name: string;
2125
+ size: string;
2126
+ } & {
2127
+ date?: string | null | undefined;
2128
+ }) | ({
2129
+ __TYPE__: "DocumentLink";
2130
+ } & {
2131
+ id: string;
2132
+ }) | ({
2133
+ __TYPE__: "ExternalLink";
2134
+ } & {
2135
+ url: string;
2136
+ } & {
2137
+ kind?: "web";
2138
+ target?: string | null | undefined;
2139
+ preview?: {
2140
+ title?: string;
2141
+ } | null | undefined;
2142
+ });
2143
+ start: number;
2144
+ end: number;
2145
+ type: "hyperlink";
2146
+ } | {
2147
+ data: string;
2148
+ start: number;
2149
+ end: number;
2150
+ type: "label";
2151
+ } | {
2152
+ start: number;
2153
+ end: number;
2154
+ type: "strong" | "em" | "list-item";
2155
+ })[];
2156
+ };
2109
2157
  } & {
2110
- spans?: ({
2111
- data: ({
2112
- __TYPE__: "ImageLink";
2113
- } & {
2114
- kind: "image";
2115
- id: string;
2116
- url: string;
2117
- height: string;
2118
- width: string;
2119
- size: string;
2120
- name: string;
2121
- } & {
2122
- date?: string | null | undefined;
2123
- }) | ({
2124
- __TYPE__: "FileLink";
2125
- } & {
2126
- kind: "file";
2127
- id: string;
2128
- url: string;
2129
- name: string;
2130
- size: string;
2131
- } & {
2132
- date?: string | null | undefined;
2133
- }) | ({
2134
- __TYPE__: "DocumentLink";
2135
- } & {
2136
- id: string;
2137
- }) | ({
2138
- __TYPE__: "ExternalLink";
2139
- } & {
2140
- url: string;
2141
- } & {
2142
- kind?: "web";
2143
- target?: string | null | undefined;
2144
- preview?: {
2145
- title?: string;
2146
- } | null | undefined;
2147
- });
2148
- start: number;
2149
- end: number;
2150
- type: "hyperlink";
2151
- } | {
2152
- data: string;
2153
- start: number;
2154
- end: number;
2155
- type: "label";
2156
- } | {
2157
- start: number;
2158
- end: number;
2159
- type: "strong" | "em" | "list-item";
2160
- })[];
2161
- };
2162
- } & {
2163
- label?: string;
2164
- direction?: string;
2165
- })[];
2166
- } | {
2167
- type: "tableCell";
2168
- content: ({
2169
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2170
- content: {
2171
- text: string;
2158
+ label?: string;
2159
+ direction?: string;
2160
+ })[];
2161
+ } | {
2162
+ type: "tableCell";
2163
+ content: ({
2164
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2165
+ content: {
2166
+ text: string;
2167
+ } & {
2168
+ spans?: ({
2169
+ data: ({
2170
+ __TYPE__: "ImageLink";
2171
+ } & {
2172
+ kind: "image";
2173
+ id: string;
2174
+ url: string;
2175
+ height: string;
2176
+ width: string;
2177
+ size: string;
2178
+ name: string;
2179
+ } & {
2180
+ date?: string | null | undefined;
2181
+ }) | ({
2182
+ __TYPE__: "FileLink";
2183
+ } & {
2184
+ kind: "file";
2185
+ id: string;
2186
+ url: string;
2187
+ name: string;
2188
+ size: string;
2189
+ } & {
2190
+ date?: string | null | undefined;
2191
+ }) | ({
2192
+ __TYPE__: "DocumentLink";
2193
+ } & {
2194
+ id: string;
2195
+ }) | ({
2196
+ __TYPE__: "ExternalLink";
2197
+ } & {
2198
+ url: string;
2199
+ } & {
2200
+ kind?: "web";
2201
+ target?: string | null | undefined;
2202
+ preview?: {
2203
+ title?: string;
2204
+ } | null | undefined;
2205
+ });
2206
+ start: number;
2207
+ end: number;
2208
+ type: "hyperlink";
2209
+ } | {
2210
+ data: string;
2211
+ start: number;
2212
+ end: number;
2213
+ type: "label";
2214
+ } | {
2215
+ start: number;
2216
+ end: number;
2217
+ type: "strong" | "em" | "list-item";
2218
+ })[];
2219
+ };
2172
2220
  } & {
2173
- spans?: ({
2174
- data: ({
2175
- __TYPE__: "ImageLink";
2176
- } & {
2177
- kind: "image";
2178
- id: string;
2179
- url: string;
2180
- height: string;
2181
- width: string;
2182
- size: string;
2183
- name: string;
2184
- } & {
2185
- date?: string | null | undefined;
2186
- }) | ({
2187
- __TYPE__: "FileLink";
2188
- } & {
2189
- kind: "file";
2190
- id: string;
2191
- url: string;
2192
- name: string;
2193
- size: string;
2194
- } & {
2195
- date?: string | null | undefined;
2196
- }) | ({
2197
- __TYPE__: "DocumentLink";
2198
- } & {
2199
- id: string;
2200
- }) | ({
2201
- __TYPE__: "ExternalLink";
2202
- } & {
2203
- url: string;
2204
- } & {
2205
- kind?: "web";
2206
- target?: string | null | undefined;
2207
- preview?: {
2208
- title?: string;
2209
- } | null | undefined;
2210
- });
2211
- start: number;
2212
- end: number;
2213
- type: "hyperlink";
2214
- } | {
2215
- data: string;
2216
- start: number;
2217
- end: number;
2218
- type: "label";
2219
- } | {
2220
- start: number;
2221
- end: number;
2222
- type: "strong" | "em" | "list-item";
2223
- })[];
2224
- };
2225
- } & {
2226
- label?: string;
2227
- direction?: string;
2221
+ label?: string;
2222
+ direction?: string;
2223
+ })[];
2228
2224
  })[];
2229
- })[];
2230
- }[];
2231
- } & {
2232
- __TYPE__: "TableContent";
2233
- });
2225
+ }[];
2226
+ })[];
2227
+ } | {
2228
+ __TYPE__: "SeparatorContent";
2229
+ };
2234
2230
  };
2235
2231
  items: {
2236
2232
  __TYPE__: "GroupItemContent";
@@ -2593,7 +2589,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
2593
2589
  label?: string | null | undefined;
2594
2590
  direction?: string | null | undefined;
2595
2591
  }) | ({
2596
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2592
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2597
2593
  content: {
2598
2594
  text: string;
2599
2595
  } & {
@@ -2652,143 +2648,142 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
2652
2648
  } & {
2653
2649
  label?: string;
2654
2650
  direction?: string;
2655
- }))[];
2656
- } | {
2657
- __TYPE__: "SeparatorContent";
2658
- } | ({
2659
- content: {
2660
- type: "tableRow";
2661
- content: ({
2662
- type: "tableHeader";
2651
+ }) | {
2652
+ type: "table";
2653
+ content: {
2654
+ type: "tableRow";
2663
2655
  content: ({
2664
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2665
- content: {
2666
- text: string;
2656
+ type: "tableHeader";
2657
+ content: ({
2658
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2659
+ content: {
2660
+ text: string;
2661
+ } & {
2662
+ spans?: ({
2663
+ data: ({
2664
+ __TYPE__: "ImageLink";
2665
+ } & {
2666
+ kind: "image";
2667
+ id: string;
2668
+ url: string;
2669
+ height: string;
2670
+ width: string;
2671
+ size: string;
2672
+ name: string;
2673
+ } & {
2674
+ date?: string | null | undefined;
2675
+ }) | ({
2676
+ __TYPE__: "FileLink";
2677
+ } & {
2678
+ kind: "file";
2679
+ id: string;
2680
+ url: string;
2681
+ name: string;
2682
+ size: string;
2683
+ } & {
2684
+ date?: string | null | undefined;
2685
+ }) | ({
2686
+ __TYPE__: "DocumentLink";
2687
+ } & {
2688
+ id: string;
2689
+ }) | ({
2690
+ __TYPE__: "ExternalLink";
2691
+ } & {
2692
+ url: string;
2693
+ } & {
2694
+ kind?: "web";
2695
+ target?: string | null | undefined;
2696
+ preview?: {
2697
+ title?: string;
2698
+ } | null | undefined;
2699
+ });
2700
+ start: number;
2701
+ end: number;
2702
+ type: "hyperlink";
2703
+ } | {
2704
+ data: string;
2705
+ start: number;
2706
+ end: number;
2707
+ type: "label";
2708
+ } | {
2709
+ start: number;
2710
+ end: number;
2711
+ type: "strong" | "em" | "list-item";
2712
+ })[];
2713
+ };
2667
2714
  } & {
2668
- spans?: ({
2669
- data: ({
2670
- __TYPE__: "ImageLink";
2671
- } & {
2672
- kind: "image";
2673
- id: string;
2674
- url: string;
2675
- height: string;
2676
- width: string;
2677
- size: string;
2678
- name: string;
2679
- } & {
2680
- date?: string | null | undefined;
2681
- }) | ({
2682
- __TYPE__: "FileLink";
2683
- } & {
2684
- kind: "file";
2685
- id: string;
2686
- url: string;
2687
- name: string;
2688
- size: string;
2689
- } & {
2690
- date?: string | null | undefined;
2691
- }) | ({
2692
- __TYPE__: "DocumentLink";
2693
- } & {
2694
- id: string;
2695
- }) | ({
2696
- __TYPE__: "ExternalLink";
2697
- } & {
2698
- url: string;
2699
- } & {
2700
- kind?: "web";
2701
- target?: string | null | undefined;
2702
- preview?: {
2703
- title?: string;
2704
- } | null | undefined;
2705
- });
2706
- start: number;
2707
- end: number;
2708
- type: "hyperlink";
2709
- } | {
2710
- data: string;
2711
- start: number;
2712
- end: number;
2713
- type: "label";
2714
- } | {
2715
- start: number;
2716
- end: number;
2717
- type: "strong" | "em" | "list-item";
2718
- })[];
2719
- };
2720
- } & {
2721
- label?: string;
2722
- direction?: string;
2723
- })[];
2724
- } | {
2725
- type: "tableCell";
2726
- content: ({
2727
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2728
- content: {
2729
- text: string;
2715
+ label?: string;
2716
+ direction?: string;
2717
+ })[];
2718
+ } | {
2719
+ type: "tableCell";
2720
+ content: ({
2721
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2722
+ content: {
2723
+ text: string;
2724
+ } & {
2725
+ spans?: ({
2726
+ data: ({
2727
+ __TYPE__: "ImageLink";
2728
+ } & {
2729
+ kind: "image";
2730
+ id: string;
2731
+ url: string;
2732
+ height: string;
2733
+ width: string;
2734
+ size: string;
2735
+ name: string;
2736
+ } & {
2737
+ date?: string | null | undefined;
2738
+ }) | ({
2739
+ __TYPE__: "FileLink";
2740
+ } & {
2741
+ kind: "file";
2742
+ id: string;
2743
+ url: string;
2744
+ name: string;
2745
+ size: string;
2746
+ } & {
2747
+ date?: string | null | undefined;
2748
+ }) | ({
2749
+ __TYPE__: "DocumentLink";
2750
+ } & {
2751
+ id: string;
2752
+ }) | ({
2753
+ __TYPE__: "ExternalLink";
2754
+ } & {
2755
+ url: string;
2756
+ } & {
2757
+ kind?: "web";
2758
+ target?: string | null | undefined;
2759
+ preview?: {
2760
+ title?: string;
2761
+ } | null | undefined;
2762
+ });
2763
+ start: number;
2764
+ end: number;
2765
+ type: "hyperlink";
2766
+ } | {
2767
+ data: string;
2768
+ start: number;
2769
+ end: number;
2770
+ type: "label";
2771
+ } | {
2772
+ start: number;
2773
+ end: number;
2774
+ type: "strong" | "em" | "list-item";
2775
+ })[];
2776
+ };
2730
2777
  } & {
2731
- spans?: ({
2732
- data: ({
2733
- __TYPE__: "ImageLink";
2734
- } & {
2735
- kind: "image";
2736
- id: string;
2737
- url: string;
2738
- height: string;
2739
- width: string;
2740
- size: string;
2741
- name: string;
2742
- } & {
2743
- date?: string | null | undefined;
2744
- }) | ({
2745
- __TYPE__: "FileLink";
2746
- } & {
2747
- kind: "file";
2748
- id: string;
2749
- url: string;
2750
- name: string;
2751
- size: string;
2752
- } & {
2753
- date?: string | null | undefined;
2754
- }) | ({
2755
- __TYPE__: "DocumentLink";
2756
- } & {
2757
- id: string;
2758
- }) | ({
2759
- __TYPE__: "ExternalLink";
2760
- } & {
2761
- url: string;
2762
- } & {
2763
- kind?: "web";
2764
- target?: string | null | undefined;
2765
- preview?: {
2766
- title?: string;
2767
- } | null | undefined;
2768
- });
2769
- start: number;
2770
- end: number;
2771
- type: "hyperlink";
2772
- } | {
2773
- data: string;
2774
- start: number;
2775
- end: number;
2776
- type: "label";
2777
- } | {
2778
- start: number;
2779
- end: number;
2780
- type: "strong" | "em" | "list-item";
2781
- })[];
2782
- };
2783
- } & {
2784
- label?: string;
2785
- direction?: string;
2778
+ label?: string;
2779
+ direction?: string;
2780
+ })[];
2786
2781
  })[];
2787
- })[];
2788
- }[];
2789
- } & {
2790
- __TYPE__: "TableContent";
2791
- })][];
2782
+ }[];
2783
+ })[];
2784
+ } | {
2785
+ __TYPE__: "SeparatorContent";
2786
+ }][];
2792
2787
  }[];
2793
2788
  }> | import("fp-ts/lib/Either").Right<import("../..").GroupContent> | undefined;
2794
2789
  encode: (value: SliceContent) => import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
@@ -3111,7 +3106,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3111
3106
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3112
3107
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3113
3108
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3114
- 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>;
3109
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3115
3110
  content: t.IntersectionC<[t.TypeC<{
3116
3111
  text: t.StringC;
3117
3112
  }>, t.PartialC<{
@@ -3220,243 +3215,242 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3220
3215
  }>, t.PartialC<{
3221
3216
  label: t.StringC;
3222
3217
  direction: t.StringC;
3223
- }>]>>]>>;
3224
- }>>, t.ExactC<t.TypeC<{
3225
- __TYPE__: t.LiteralC<"SeparatorContent">;
3226
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3227
- content: t.ArrayC<t.ExactC<t.TypeC<{
3228
- type: t.LiteralC<"tableRow">;
3229
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3230
- type: t.LiteralC<"tableHeader">;
3231
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3232
- 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>;
3233
- content: t.IntersectionC<[t.TypeC<{
3234
- text: t.StringC;
3235
- }>, t.PartialC<{
3236
- spans: t.Type<({
3237
- data: ({
3238
- __TYPE__: "ImageLink";
3239
- } & {
3240
- kind: "image";
3241
- id: string;
3242
- url: string;
3243
- height: string;
3244
- width: string;
3245
- size: string;
3246
- name: string;
3247
- } & {
3248
- date?: string | null | undefined;
3249
- }) | ({
3250
- __TYPE__: "FileLink";
3251
- } & {
3252
- kind: "file";
3253
- id: string;
3254
- url: string;
3255
- name: string;
3256
- size: string;
3257
- } & {
3258
- date?: string | null | undefined;
3259
- }) | ({
3260
- __TYPE__: "DocumentLink";
3261
- } & {
3262
- id: string;
3263
- }) | ({
3264
- __TYPE__: "ExternalLink";
3265
- } & {
3266
- url: string;
3267
- } & {
3268
- kind?: "web";
3269
- target?: string | null | undefined;
3270
- preview?: {
3271
- title?: string;
3272
- } | null | undefined;
3273
- });
3274
- start: number;
3275
- end: number;
3276
- type: "hyperlink";
3277
- } | {
3278
- data: string;
3279
- start: number;
3280
- end: number;
3281
- type: "label";
3282
- } | {
3283
- start: number;
3284
- end: number;
3285
- type: "strong" | "em" | "list-item";
3286
- })[], ({
3287
- data: ({
3288
- __TYPE__: "ImageLink";
3289
- } & {
3290
- kind: "image";
3291
- id: string;
3292
- url: string;
3293
- height: string;
3294
- width: string;
3295
- size: string;
3296
- name: string;
3297
- } & {
3298
- date?: string | null | undefined;
3299
- }) | ({
3300
- __TYPE__: "FileLink";
3301
- } & {
3302
- kind: "file";
3303
- id: string;
3304
- url: string;
3305
- name: string;
3306
- size: string;
3307
- } & {
3308
- date?: string | null | undefined;
3309
- }) | ({
3310
- __TYPE__: "DocumentLink";
3311
- } & {
3312
- id: string;
3313
- }) | ({
3314
- __TYPE__: "ExternalLink";
3315
- } & {
3316
- url: string;
3317
- } & {
3318
- kind?: "web";
3319
- target?: string | null | undefined;
3320
- preview?: {
3321
- title?: string;
3322
- } | null | undefined;
3323
- });
3324
- start: number;
3325
- end: number;
3326
- type: "hyperlink";
3327
- } | {
3328
- data: string;
3329
- start: number;
3330
- end: number;
3331
- type: "label";
3332
- } | {
3333
- start: number;
3334
- end: number;
3335
- type: "strong" | "em" | "list-item";
3336
- })[], unknown>;
3337
- }>]>;
3338
- }>, t.PartialC<{
3339
- label: t.StringC;
3340
- direction: t.StringC;
3341
- }>]>>>;
3342
- }>>, t.ExactC<t.TypeC<{
3343
- type: t.LiteralC<"tableCell">;
3344
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3345
- 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>;
3346
- content: t.IntersectionC<[t.TypeC<{
3347
- text: t.StringC;
3218
+ }>]>>, t.ExactC<t.TypeC<{
3219
+ type: t.LiteralC<"table">;
3220
+ content: t.ArrayC<t.ExactC<t.TypeC<{
3221
+ type: t.LiteralC<"tableRow">;
3222
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3223
+ type: t.LiteralC<"tableHeader">;
3224
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3225
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3226
+ content: t.IntersectionC<[t.TypeC<{
3227
+ text: t.StringC;
3228
+ }>, t.PartialC<{
3229
+ spans: t.Type<({
3230
+ data: ({
3231
+ __TYPE__: "ImageLink";
3232
+ } & {
3233
+ kind: "image";
3234
+ id: string;
3235
+ url: string;
3236
+ height: string;
3237
+ width: string;
3238
+ size: string;
3239
+ name: string;
3240
+ } & {
3241
+ date?: string | null | undefined;
3242
+ }) | ({
3243
+ __TYPE__: "FileLink";
3244
+ } & {
3245
+ kind: "file";
3246
+ id: string;
3247
+ url: string;
3248
+ name: string;
3249
+ size: string;
3250
+ } & {
3251
+ date?: string | null | undefined;
3252
+ }) | ({
3253
+ __TYPE__: "DocumentLink";
3254
+ } & {
3255
+ id: string;
3256
+ }) | ({
3257
+ __TYPE__: "ExternalLink";
3258
+ } & {
3259
+ url: string;
3260
+ } & {
3261
+ kind?: "web";
3262
+ target?: string | null | undefined;
3263
+ preview?: {
3264
+ title?: string;
3265
+ } | null | undefined;
3266
+ });
3267
+ start: number;
3268
+ end: number;
3269
+ type: "hyperlink";
3270
+ } | {
3271
+ data: string;
3272
+ start: number;
3273
+ end: number;
3274
+ type: "label";
3275
+ } | {
3276
+ start: number;
3277
+ end: number;
3278
+ type: "strong" | "em" | "list-item";
3279
+ })[], ({
3280
+ data: ({
3281
+ __TYPE__: "ImageLink";
3282
+ } & {
3283
+ kind: "image";
3284
+ id: string;
3285
+ url: string;
3286
+ height: string;
3287
+ width: string;
3288
+ size: string;
3289
+ name: string;
3290
+ } & {
3291
+ date?: string | null | undefined;
3292
+ }) | ({
3293
+ __TYPE__: "FileLink";
3294
+ } & {
3295
+ kind: "file";
3296
+ id: string;
3297
+ url: string;
3298
+ name: string;
3299
+ size: string;
3300
+ } & {
3301
+ date?: string | null | undefined;
3302
+ }) | ({
3303
+ __TYPE__: "DocumentLink";
3304
+ } & {
3305
+ id: string;
3306
+ }) | ({
3307
+ __TYPE__: "ExternalLink";
3308
+ } & {
3309
+ url: string;
3310
+ } & {
3311
+ kind?: "web";
3312
+ target?: string | null | undefined;
3313
+ preview?: {
3314
+ title?: string;
3315
+ } | null | undefined;
3316
+ });
3317
+ start: number;
3318
+ end: number;
3319
+ type: "hyperlink";
3320
+ } | {
3321
+ data: string;
3322
+ start: number;
3323
+ end: number;
3324
+ type: "label";
3325
+ } | {
3326
+ start: number;
3327
+ end: number;
3328
+ type: "strong" | "em" | "list-item";
3329
+ })[], unknown>;
3330
+ }>]>;
3348
3331
  }>, t.PartialC<{
3349
- spans: t.Type<({
3350
- data: ({
3351
- __TYPE__: "ImageLink";
3352
- } & {
3353
- kind: "image";
3354
- id: string;
3355
- url: string;
3356
- height: string;
3357
- width: string;
3358
- size: string;
3359
- name: string;
3360
- } & {
3361
- date?: string | null | undefined;
3362
- }) | ({
3363
- __TYPE__: "FileLink";
3364
- } & {
3365
- kind: "file";
3366
- id: string;
3367
- url: string;
3368
- name: string;
3369
- size: string;
3370
- } & {
3371
- date?: string | null | undefined;
3372
- }) | ({
3373
- __TYPE__: "DocumentLink";
3374
- } & {
3375
- id: string;
3376
- }) | ({
3377
- __TYPE__: "ExternalLink";
3378
- } & {
3379
- url: string;
3380
- } & {
3381
- kind?: "web";
3382
- target?: string | null | undefined;
3383
- preview?: {
3384
- title?: string;
3385
- } | null | undefined;
3386
- });
3387
- start: number;
3388
- end: number;
3389
- type: "hyperlink";
3390
- } | {
3391
- data: string;
3392
- start: number;
3393
- end: number;
3394
- type: "label";
3395
- } | {
3396
- start: number;
3397
- end: number;
3398
- type: "strong" | "em" | "list-item";
3399
- })[], ({
3400
- data: ({
3401
- __TYPE__: "ImageLink";
3402
- } & {
3403
- kind: "image";
3404
- id: string;
3405
- url: string;
3406
- height: string;
3407
- width: string;
3408
- size: string;
3409
- name: string;
3410
- } & {
3411
- date?: string | null | undefined;
3412
- }) | ({
3413
- __TYPE__: "FileLink";
3414
- } & {
3415
- kind: "file";
3416
- id: string;
3417
- url: string;
3418
- name: string;
3419
- size: string;
3420
- } & {
3421
- date?: string | null | undefined;
3422
- }) | ({
3423
- __TYPE__: "DocumentLink";
3424
- } & {
3425
- id: string;
3426
- }) | ({
3427
- __TYPE__: "ExternalLink";
3428
- } & {
3429
- url: string;
3430
- } & {
3431
- kind?: "web";
3432
- target?: string | null | undefined;
3433
- preview?: {
3434
- title?: string;
3435
- } | null | undefined;
3436
- });
3437
- start: number;
3438
- end: number;
3439
- type: "hyperlink";
3440
- } | {
3441
- data: string;
3442
- start: number;
3443
- end: number;
3444
- type: "label";
3445
- } | {
3446
- start: number;
3447
- end: number;
3448
- type: "strong" | "em" | "list-item";
3449
- })[], unknown>;
3450
- }>]>;
3451
- }>, t.PartialC<{
3452
- label: t.StringC;
3453
- direction: t.StringC;
3454
- }>]>>>;
3455
- }>>]>>;
3456
- }>>>;
3332
+ label: t.StringC;
3333
+ direction: t.StringC;
3334
+ }>]>>>;
3335
+ }>>, t.ExactC<t.TypeC<{
3336
+ type: t.LiteralC<"tableCell">;
3337
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3338
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3339
+ content: t.IntersectionC<[t.TypeC<{
3340
+ text: t.StringC;
3341
+ }>, t.PartialC<{
3342
+ spans: t.Type<({
3343
+ data: ({
3344
+ __TYPE__: "ImageLink";
3345
+ } & {
3346
+ kind: "image";
3347
+ id: string;
3348
+ url: string;
3349
+ height: string;
3350
+ width: string;
3351
+ size: string;
3352
+ name: string;
3353
+ } & {
3354
+ date?: string | null | undefined;
3355
+ }) | ({
3356
+ __TYPE__: "FileLink";
3357
+ } & {
3358
+ kind: "file";
3359
+ id: string;
3360
+ url: string;
3361
+ name: string;
3362
+ size: string;
3363
+ } & {
3364
+ date?: string | null | undefined;
3365
+ }) | ({
3366
+ __TYPE__: "DocumentLink";
3367
+ } & {
3368
+ id: string;
3369
+ }) | ({
3370
+ __TYPE__: "ExternalLink";
3371
+ } & {
3372
+ url: string;
3373
+ } & {
3374
+ kind?: "web";
3375
+ target?: string | null | undefined;
3376
+ preview?: {
3377
+ title?: string;
3378
+ } | null | undefined;
3379
+ });
3380
+ start: number;
3381
+ end: number;
3382
+ type: "hyperlink";
3383
+ } | {
3384
+ data: string;
3385
+ start: number;
3386
+ end: number;
3387
+ type: "label";
3388
+ } | {
3389
+ start: number;
3390
+ end: number;
3391
+ type: "strong" | "em" | "list-item";
3392
+ })[], ({
3393
+ data: ({
3394
+ __TYPE__: "ImageLink";
3395
+ } & {
3396
+ kind: "image";
3397
+ id: string;
3398
+ url: string;
3399
+ height: string;
3400
+ width: string;
3401
+ size: string;
3402
+ name: string;
3403
+ } & {
3404
+ date?: string | null | undefined;
3405
+ }) | ({
3406
+ __TYPE__: "FileLink";
3407
+ } & {
3408
+ kind: "file";
3409
+ id: string;
3410
+ url: string;
3411
+ name: string;
3412
+ size: string;
3413
+ } & {
3414
+ date?: string | null | undefined;
3415
+ }) | ({
3416
+ __TYPE__: "DocumentLink";
3417
+ } & {
3418
+ id: string;
3419
+ }) | ({
3420
+ __TYPE__: "ExternalLink";
3421
+ } & {
3422
+ url: string;
3423
+ } & {
3424
+ kind?: "web";
3425
+ target?: string | null | undefined;
3426
+ preview?: {
3427
+ title?: string;
3428
+ } | null | undefined;
3429
+ });
3430
+ start: number;
3431
+ end: number;
3432
+ type: "hyperlink";
3433
+ } | {
3434
+ data: string;
3435
+ start: number;
3436
+ end: number;
3437
+ type: "label";
3438
+ } | {
3439
+ start: number;
3440
+ end: number;
3441
+ type: "strong" | "em" | "list-item";
3442
+ })[], unknown>;
3443
+ }>]>;
3444
+ }>, t.PartialC<{
3445
+ label: t.StringC;
3446
+ direction: t.StringC;
3447
+ }>]>>>;
3448
+ }>>]>>;
3449
+ }>>>;
3450
+ }>>]>>;
3451
+ }>>, t.ExactC<t.TypeC<{
3452
+ __TYPE__: t.LiteralC<"SeparatorContent">;
3457
3453
  }>>, t.ExactC<t.TypeC<{
3458
- __TYPE__: t.LiteralC<"TableContent">;
3459
- }>>]>, t.ExactC<t.TypeC<{
3460
3454
  __TYPE__: t.LiteralC<"RepeatableContent">;
3461
3455
  type: t.LiteralC<"Link">;
3462
3456
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -3856,7 +3850,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3856
3850
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3857
3851
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3858
3852
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3859
- 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>;
3853
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3860
3854
  content: t.IntersectionC<[t.TypeC<{
3861
3855
  text: t.StringC;
3862
3856
  }>, t.PartialC<{
@@ -3965,243 +3959,242 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3965
3959
  }>, t.PartialC<{
3966
3960
  label: t.StringC;
3967
3961
  direction: t.StringC;
3968
- }>]>>]>>;
3969
- }>>, t.ExactC<t.TypeC<{
3970
- __TYPE__: t.LiteralC<"SeparatorContent">;
3971
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3972
- content: t.ArrayC<t.ExactC<t.TypeC<{
3973
- type: t.LiteralC<"tableRow">;
3974
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3975
- type: t.LiteralC<"tableHeader">;
3976
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3977
- 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>;
3978
- content: t.IntersectionC<[t.TypeC<{
3979
- text: t.StringC;
3962
+ }>]>>, t.ExactC<t.TypeC<{
3963
+ type: t.LiteralC<"table">;
3964
+ content: t.ArrayC<t.ExactC<t.TypeC<{
3965
+ type: t.LiteralC<"tableRow">;
3966
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3967
+ type: t.LiteralC<"tableHeader">;
3968
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3969
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3970
+ content: t.IntersectionC<[t.TypeC<{
3971
+ text: t.StringC;
3972
+ }>, t.PartialC<{
3973
+ spans: t.Type<({
3974
+ data: ({
3975
+ __TYPE__: "ImageLink";
3976
+ } & {
3977
+ kind: "image";
3978
+ id: string;
3979
+ url: string;
3980
+ height: string;
3981
+ width: string;
3982
+ size: string;
3983
+ name: string;
3984
+ } & {
3985
+ date?: string | null | undefined;
3986
+ }) | ({
3987
+ __TYPE__: "FileLink";
3988
+ } & {
3989
+ kind: "file";
3990
+ id: string;
3991
+ url: string;
3992
+ name: string;
3993
+ size: string;
3994
+ } & {
3995
+ date?: string | null | undefined;
3996
+ }) | ({
3997
+ __TYPE__: "DocumentLink";
3998
+ } & {
3999
+ id: string;
4000
+ }) | ({
4001
+ __TYPE__: "ExternalLink";
4002
+ } & {
4003
+ url: string;
4004
+ } & {
4005
+ kind?: "web";
4006
+ target?: string | null | undefined;
4007
+ preview?: {
4008
+ title?: string;
4009
+ } | null | undefined;
4010
+ });
4011
+ start: number;
4012
+ end: number;
4013
+ type: "hyperlink";
4014
+ } | {
4015
+ data: string;
4016
+ start: number;
4017
+ end: number;
4018
+ type: "label";
4019
+ } | {
4020
+ start: number;
4021
+ end: number;
4022
+ type: "strong" | "em" | "list-item";
4023
+ })[], ({
4024
+ data: ({
4025
+ __TYPE__: "ImageLink";
4026
+ } & {
4027
+ kind: "image";
4028
+ id: string;
4029
+ url: string;
4030
+ height: string;
4031
+ width: string;
4032
+ size: string;
4033
+ name: string;
4034
+ } & {
4035
+ date?: string | null | undefined;
4036
+ }) | ({
4037
+ __TYPE__: "FileLink";
4038
+ } & {
4039
+ kind: "file";
4040
+ id: string;
4041
+ url: string;
4042
+ name: string;
4043
+ size: string;
4044
+ } & {
4045
+ date?: string | null | undefined;
4046
+ }) | ({
4047
+ __TYPE__: "DocumentLink";
4048
+ } & {
4049
+ id: string;
4050
+ }) | ({
4051
+ __TYPE__: "ExternalLink";
4052
+ } & {
4053
+ url: string;
4054
+ } & {
4055
+ kind?: "web";
4056
+ target?: string | null | undefined;
4057
+ preview?: {
4058
+ title?: string;
4059
+ } | null | undefined;
4060
+ });
4061
+ start: number;
4062
+ end: number;
4063
+ type: "hyperlink";
4064
+ } | {
4065
+ data: string;
4066
+ start: number;
4067
+ end: number;
4068
+ type: "label";
4069
+ } | {
4070
+ start: number;
4071
+ end: number;
4072
+ type: "strong" | "em" | "list-item";
4073
+ })[], unknown>;
4074
+ }>]>;
3980
4075
  }>, t.PartialC<{
3981
- spans: t.Type<({
3982
- data: ({
3983
- __TYPE__: "ImageLink";
3984
- } & {
3985
- kind: "image";
3986
- id: string;
3987
- url: string;
3988
- height: string;
3989
- width: string;
3990
- size: string;
3991
- name: string;
3992
- } & {
3993
- date?: string | null | undefined;
3994
- }) | ({
3995
- __TYPE__: "FileLink";
3996
- } & {
3997
- kind: "file";
3998
- id: string;
3999
- url: string;
4000
- name: string;
4001
- size: string;
4002
- } & {
4003
- date?: string | null | undefined;
4004
- }) | ({
4005
- __TYPE__: "DocumentLink";
4006
- } & {
4007
- id: string;
4008
- }) | ({
4009
- __TYPE__: "ExternalLink";
4010
- } & {
4011
- url: string;
4012
- } & {
4013
- kind?: "web";
4014
- target?: string | null | undefined;
4015
- preview?: {
4016
- title?: string;
4017
- } | null | undefined;
4018
- });
4019
- start: number;
4020
- end: number;
4021
- type: "hyperlink";
4022
- } | {
4023
- data: string;
4024
- start: number;
4025
- end: number;
4026
- type: "label";
4027
- } | {
4028
- start: number;
4029
- end: number;
4030
- type: "strong" | "em" | "list-item";
4031
- })[], ({
4032
- data: ({
4033
- __TYPE__: "ImageLink";
4034
- } & {
4035
- kind: "image";
4036
- id: string;
4037
- url: string;
4038
- height: string;
4039
- width: string;
4040
- size: string;
4041
- name: string;
4042
- } & {
4043
- date?: string | null | undefined;
4044
- }) | ({
4045
- __TYPE__: "FileLink";
4046
- } & {
4047
- kind: "file";
4048
- id: string;
4049
- url: string;
4050
- name: string;
4051
- size: string;
4052
- } & {
4053
- date?: string | null | undefined;
4054
- }) | ({
4055
- __TYPE__: "DocumentLink";
4056
- } & {
4057
- id: string;
4058
- }) | ({
4059
- __TYPE__: "ExternalLink";
4060
- } & {
4061
- url: string;
4062
- } & {
4063
- kind?: "web";
4064
- target?: string | null | undefined;
4065
- preview?: {
4066
- title?: string;
4067
- } | null | undefined;
4068
- });
4069
- start: number;
4070
- end: number;
4071
- type: "hyperlink";
4072
- } | {
4073
- data: string;
4074
- start: number;
4075
- end: number;
4076
- type: "label";
4077
- } | {
4078
- start: number;
4079
- end: number;
4080
- type: "strong" | "em" | "list-item";
4081
- })[], unknown>;
4082
- }>]>;
4083
- }>, t.PartialC<{
4084
- label: t.StringC;
4085
- direction: t.StringC;
4086
- }>]>>>;
4087
- }>>, t.ExactC<t.TypeC<{
4088
- type: t.LiteralC<"tableCell">;
4089
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4090
- 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>;
4091
- content: t.IntersectionC<[t.TypeC<{
4092
- text: t.StringC;
4076
+ label: t.StringC;
4077
+ direction: t.StringC;
4078
+ }>]>>>;
4079
+ }>>, t.ExactC<t.TypeC<{
4080
+ type: t.LiteralC<"tableCell">;
4081
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4082
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4083
+ content: t.IntersectionC<[t.TypeC<{
4084
+ text: t.StringC;
4085
+ }>, t.PartialC<{
4086
+ spans: t.Type<({
4087
+ data: ({
4088
+ __TYPE__: "ImageLink";
4089
+ } & {
4090
+ kind: "image";
4091
+ id: string;
4092
+ url: string;
4093
+ height: string;
4094
+ width: string;
4095
+ size: string;
4096
+ name: string;
4097
+ } & {
4098
+ date?: string | null | undefined;
4099
+ }) | ({
4100
+ __TYPE__: "FileLink";
4101
+ } & {
4102
+ kind: "file";
4103
+ id: string;
4104
+ url: string;
4105
+ name: string;
4106
+ size: string;
4107
+ } & {
4108
+ date?: string | null | undefined;
4109
+ }) | ({
4110
+ __TYPE__: "DocumentLink";
4111
+ } & {
4112
+ id: string;
4113
+ }) | ({
4114
+ __TYPE__: "ExternalLink";
4115
+ } & {
4116
+ url: string;
4117
+ } & {
4118
+ kind?: "web";
4119
+ target?: string | null | undefined;
4120
+ preview?: {
4121
+ title?: string;
4122
+ } | null | undefined;
4123
+ });
4124
+ start: number;
4125
+ end: number;
4126
+ type: "hyperlink";
4127
+ } | {
4128
+ data: string;
4129
+ start: number;
4130
+ end: number;
4131
+ type: "label";
4132
+ } | {
4133
+ start: number;
4134
+ end: number;
4135
+ type: "strong" | "em" | "list-item";
4136
+ })[], ({
4137
+ data: ({
4138
+ __TYPE__: "ImageLink";
4139
+ } & {
4140
+ kind: "image";
4141
+ id: string;
4142
+ url: string;
4143
+ height: string;
4144
+ width: string;
4145
+ size: string;
4146
+ name: string;
4147
+ } & {
4148
+ date?: string | null | undefined;
4149
+ }) | ({
4150
+ __TYPE__: "FileLink";
4151
+ } & {
4152
+ kind: "file";
4153
+ id: string;
4154
+ url: string;
4155
+ name: string;
4156
+ size: string;
4157
+ } & {
4158
+ date?: string | null | undefined;
4159
+ }) | ({
4160
+ __TYPE__: "DocumentLink";
4161
+ } & {
4162
+ id: string;
4163
+ }) | ({
4164
+ __TYPE__: "ExternalLink";
4165
+ } & {
4166
+ url: string;
4167
+ } & {
4168
+ kind?: "web";
4169
+ target?: string | null | undefined;
4170
+ preview?: {
4171
+ title?: string;
4172
+ } | null | undefined;
4173
+ });
4174
+ start: number;
4175
+ end: number;
4176
+ type: "hyperlink";
4177
+ } | {
4178
+ data: string;
4179
+ start: number;
4180
+ end: number;
4181
+ type: "label";
4182
+ } | {
4183
+ start: number;
4184
+ end: number;
4185
+ type: "strong" | "em" | "list-item";
4186
+ })[], unknown>;
4187
+ }>]>;
4093
4188
  }>, t.PartialC<{
4094
- spans: t.Type<({
4095
- data: ({
4096
- __TYPE__: "ImageLink";
4097
- } & {
4098
- kind: "image";
4099
- id: string;
4100
- url: string;
4101
- height: string;
4102
- width: string;
4103
- size: string;
4104
- name: string;
4105
- } & {
4106
- date?: string | null | undefined;
4107
- }) | ({
4108
- __TYPE__: "FileLink";
4109
- } & {
4110
- kind: "file";
4111
- id: string;
4112
- url: string;
4113
- name: string;
4114
- size: string;
4115
- } & {
4116
- date?: string | null | undefined;
4117
- }) | ({
4118
- __TYPE__: "DocumentLink";
4119
- } & {
4120
- id: string;
4121
- }) | ({
4122
- __TYPE__: "ExternalLink";
4123
- } & {
4124
- url: string;
4125
- } & {
4126
- kind?: "web";
4127
- target?: string | null | undefined;
4128
- preview?: {
4129
- title?: string;
4130
- } | null | undefined;
4131
- });
4132
- start: number;
4133
- end: number;
4134
- type: "hyperlink";
4135
- } | {
4136
- data: string;
4137
- start: number;
4138
- end: number;
4139
- type: "label";
4140
- } | {
4141
- start: number;
4142
- end: number;
4143
- type: "strong" | "em" | "list-item";
4144
- })[], ({
4145
- data: ({
4146
- __TYPE__: "ImageLink";
4147
- } & {
4148
- kind: "image";
4149
- id: string;
4150
- url: string;
4151
- height: string;
4152
- width: string;
4153
- size: string;
4154
- name: string;
4155
- } & {
4156
- date?: string | null | undefined;
4157
- }) | ({
4158
- __TYPE__: "FileLink";
4159
- } & {
4160
- kind: "file";
4161
- id: string;
4162
- url: string;
4163
- name: string;
4164
- size: string;
4165
- } & {
4166
- date?: string | null | undefined;
4167
- }) | ({
4168
- __TYPE__: "DocumentLink";
4169
- } & {
4170
- id: string;
4171
- }) | ({
4172
- __TYPE__: "ExternalLink";
4173
- } & {
4174
- url: string;
4175
- } & {
4176
- kind?: "web";
4177
- target?: string | null | undefined;
4178
- preview?: {
4179
- title?: string;
4180
- } | null | undefined;
4181
- });
4182
- start: number;
4183
- end: number;
4184
- type: "hyperlink";
4185
- } | {
4186
- data: string;
4187
- start: number;
4188
- end: number;
4189
- type: "label";
4190
- } | {
4191
- start: number;
4192
- end: number;
4193
- type: "strong" | "em" | "list-item";
4194
- })[], unknown>;
4195
- }>]>;
4196
- }>, t.PartialC<{
4197
- label: t.StringC;
4198
- direction: t.StringC;
4199
- }>]>>>;
4200
- }>>]>>;
4201
- }>>>;
4189
+ label: t.StringC;
4190
+ direction: t.StringC;
4191
+ }>]>>>;
4192
+ }>>]>>;
4193
+ }>>>;
4194
+ }>>]>>;
4195
+ }>>, t.ExactC<t.TypeC<{
4196
+ __TYPE__: t.LiteralC<"SeparatorContent">;
4202
4197
  }>>, t.ExactC<t.TypeC<{
4203
- __TYPE__: t.LiteralC<"TableContent">;
4204
- }>>]>, t.ExactC<t.TypeC<{
4205
4198
  __TYPE__: t.LiteralC<"RepeatableContent">;
4206
4199
  type: t.LiteralC<"Link">;
4207
4200
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -4603,7 +4596,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
4603
4596
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4604
4597
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4605
4598
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4606
- 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>;
4599
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4607
4600
  content: t.IntersectionC<[t.TypeC<{
4608
4601
  text: t.StringC;
4609
4602
  }>, t.PartialC<{
@@ -4712,243 +4705,242 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
4712
4705
  }>, t.PartialC<{
4713
4706
  label: t.StringC;
4714
4707
  direction: t.StringC;
4715
- }>]>>]>>;
4716
- }>>, t.ExactC<t.TypeC<{
4717
- __TYPE__: t.LiteralC<"SeparatorContent">;
4718
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4719
- content: t.ArrayC<t.ExactC<t.TypeC<{
4720
- type: t.LiteralC<"tableRow">;
4721
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4722
- type: t.LiteralC<"tableHeader">;
4723
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4724
- 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>;
4725
- content: t.IntersectionC<[t.TypeC<{
4726
- text: t.StringC;
4708
+ }>]>>, t.ExactC<t.TypeC<{
4709
+ type: t.LiteralC<"table">;
4710
+ content: t.ArrayC<t.ExactC<t.TypeC<{
4711
+ type: t.LiteralC<"tableRow">;
4712
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4713
+ type: t.LiteralC<"tableHeader">;
4714
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4715
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4716
+ content: t.IntersectionC<[t.TypeC<{
4717
+ text: t.StringC;
4718
+ }>, t.PartialC<{
4719
+ spans: t.Type<({
4720
+ data: ({
4721
+ __TYPE__: "ImageLink";
4722
+ } & {
4723
+ kind: "image";
4724
+ id: string;
4725
+ url: string;
4726
+ height: string;
4727
+ width: string;
4728
+ size: string;
4729
+ name: string;
4730
+ } & {
4731
+ date?: string | null | undefined;
4732
+ }) | ({
4733
+ __TYPE__: "FileLink";
4734
+ } & {
4735
+ kind: "file";
4736
+ id: string;
4737
+ url: string;
4738
+ name: string;
4739
+ size: string;
4740
+ } & {
4741
+ date?: string | null | undefined;
4742
+ }) | ({
4743
+ __TYPE__: "DocumentLink";
4744
+ } & {
4745
+ id: string;
4746
+ }) | ({
4747
+ __TYPE__: "ExternalLink";
4748
+ } & {
4749
+ url: string;
4750
+ } & {
4751
+ kind?: "web";
4752
+ target?: string | null | undefined;
4753
+ preview?: {
4754
+ title?: string;
4755
+ } | null | undefined;
4756
+ });
4757
+ start: number;
4758
+ end: number;
4759
+ type: "hyperlink";
4760
+ } | {
4761
+ data: string;
4762
+ start: number;
4763
+ end: number;
4764
+ type: "label";
4765
+ } | {
4766
+ start: number;
4767
+ end: number;
4768
+ type: "strong" | "em" | "list-item";
4769
+ })[], ({
4770
+ data: ({
4771
+ __TYPE__: "ImageLink";
4772
+ } & {
4773
+ kind: "image";
4774
+ id: string;
4775
+ url: string;
4776
+ height: string;
4777
+ width: string;
4778
+ size: string;
4779
+ name: string;
4780
+ } & {
4781
+ date?: string | null | undefined;
4782
+ }) | ({
4783
+ __TYPE__: "FileLink";
4784
+ } & {
4785
+ kind: "file";
4786
+ id: string;
4787
+ url: string;
4788
+ name: string;
4789
+ size: string;
4790
+ } & {
4791
+ date?: string | null | undefined;
4792
+ }) | ({
4793
+ __TYPE__: "DocumentLink";
4794
+ } & {
4795
+ id: string;
4796
+ }) | ({
4797
+ __TYPE__: "ExternalLink";
4798
+ } & {
4799
+ url: string;
4800
+ } & {
4801
+ kind?: "web";
4802
+ target?: string | null | undefined;
4803
+ preview?: {
4804
+ title?: string;
4805
+ } | null | undefined;
4806
+ });
4807
+ start: number;
4808
+ end: number;
4809
+ type: "hyperlink";
4810
+ } | {
4811
+ data: string;
4812
+ start: number;
4813
+ end: number;
4814
+ type: "label";
4815
+ } | {
4816
+ start: number;
4817
+ end: number;
4818
+ type: "strong" | "em" | "list-item";
4819
+ })[], unknown>;
4820
+ }>]>;
4727
4821
  }>, t.PartialC<{
4728
- spans: t.Type<({
4729
- data: ({
4730
- __TYPE__: "ImageLink";
4731
- } & {
4732
- kind: "image";
4733
- id: string;
4734
- url: string;
4735
- height: string;
4736
- width: string;
4737
- size: string;
4738
- name: string;
4739
- } & {
4740
- date?: string | null | undefined;
4741
- }) | ({
4742
- __TYPE__: "FileLink";
4743
- } & {
4744
- kind: "file";
4745
- id: string;
4746
- url: string;
4747
- name: string;
4748
- size: string;
4749
- } & {
4750
- date?: string | null | undefined;
4751
- }) | ({
4752
- __TYPE__: "DocumentLink";
4753
- } & {
4754
- id: string;
4755
- }) | ({
4756
- __TYPE__: "ExternalLink";
4757
- } & {
4758
- url: string;
4759
- } & {
4760
- kind?: "web";
4761
- target?: string | null | undefined;
4762
- preview?: {
4763
- title?: string;
4764
- } | null | undefined;
4765
- });
4766
- start: number;
4767
- end: number;
4768
- type: "hyperlink";
4769
- } | {
4770
- data: string;
4771
- start: number;
4772
- end: number;
4773
- type: "label";
4774
- } | {
4775
- start: number;
4776
- end: number;
4777
- type: "strong" | "em" | "list-item";
4778
- })[], ({
4779
- data: ({
4780
- __TYPE__: "ImageLink";
4781
- } & {
4782
- kind: "image";
4783
- id: string;
4784
- url: string;
4785
- height: string;
4786
- width: string;
4787
- size: string;
4788
- name: string;
4789
- } & {
4790
- date?: string | null | undefined;
4791
- }) | ({
4792
- __TYPE__: "FileLink";
4793
- } & {
4794
- kind: "file";
4795
- id: string;
4796
- url: string;
4797
- name: string;
4798
- size: string;
4799
- } & {
4800
- date?: string | null | undefined;
4801
- }) | ({
4802
- __TYPE__: "DocumentLink";
4803
- } & {
4804
- id: string;
4805
- }) | ({
4806
- __TYPE__: "ExternalLink";
4807
- } & {
4808
- url: string;
4809
- } & {
4810
- kind?: "web";
4811
- target?: string | null | undefined;
4812
- preview?: {
4813
- title?: string;
4814
- } | null | undefined;
4815
- });
4816
- start: number;
4817
- end: number;
4818
- type: "hyperlink";
4819
- } | {
4820
- data: string;
4821
- start: number;
4822
- end: number;
4823
- type: "label";
4824
- } | {
4825
- start: number;
4826
- end: number;
4827
- type: "strong" | "em" | "list-item";
4828
- })[], unknown>;
4829
- }>]>;
4830
- }>, t.PartialC<{
4831
- label: t.StringC;
4832
- direction: t.StringC;
4833
- }>]>>>;
4834
- }>>, t.ExactC<t.TypeC<{
4835
- type: t.LiteralC<"tableCell">;
4836
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4837
- 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>;
4838
- content: t.IntersectionC<[t.TypeC<{
4839
- text: t.StringC;
4822
+ label: t.StringC;
4823
+ direction: t.StringC;
4824
+ }>]>>>;
4825
+ }>>, t.ExactC<t.TypeC<{
4826
+ type: t.LiteralC<"tableCell">;
4827
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4828
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4829
+ content: t.IntersectionC<[t.TypeC<{
4830
+ text: t.StringC;
4831
+ }>, t.PartialC<{
4832
+ spans: t.Type<({
4833
+ data: ({
4834
+ __TYPE__: "ImageLink";
4835
+ } & {
4836
+ kind: "image";
4837
+ id: string;
4838
+ url: string;
4839
+ height: string;
4840
+ width: string;
4841
+ size: string;
4842
+ name: string;
4843
+ } & {
4844
+ date?: string | null | undefined;
4845
+ }) | ({
4846
+ __TYPE__: "FileLink";
4847
+ } & {
4848
+ kind: "file";
4849
+ id: string;
4850
+ url: string;
4851
+ name: string;
4852
+ size: string;
4853
+ } & {
4854
+ date?: string | null | undefined;
4855
+ }) | ({
4856
+ __TYPE__: "DocumentLink";
4857
+ } & {
4858
+ id: string;
4859
+ }) | ({
4860
+ __TYPE__: "ExternalLink";
4861
+ } & {
4862
+ url: string;
4863
+ } & {
4864
+ kind?: "web";
4865
+ target?: string | null | undefined;
4866
+ preview?: {
4867
+ title?: string;
4868
+ } | null | undefined;
4869
+ });
4870
+ start: number;
4871
+ end: number;
4872
+ type: "hyperlink";
4873
+ } | {
4874
+ data: string;
4875
+ start: number;
4876
+ end: number;
4877
+ type: "label";
4878
+ } | {
4879
+ start: number;
4880
+ end: number;
4881
+ type: "strong" | "em" | "list-item";
4882
+ })[], ({
4883
+ data: ({
4884
+ __TYPE__: "ImageLink";
4885
+ } & {
4886
+ kind: "image";
4887
+ id: string;
4888
+ url: string;
4889
+ height: string;
4890
+ width: string;
4891
+ size: string;
4892
+ name: string;
4893
+ } & {
4894
+ date?: string | null | undefined;
4895
+ }) | ({
4896
+ __TYPE__: "FileLink";
4897
+ } & {
4898
+ kind: "file";
4899
+ id: string;
4900
+ url: string;
4901
+ name: string;
4902
+ size: string;
4903
+ } & {
4904
+ date?: string | null | undefined;
4905
+ }) | ({
4906
+ __TYPE__: "DocumentLink";
4907
+ } & {
4908
+ id: string;
4909
+ }) | ({
4910
+ __TYPE__: "ExternalLink";
4911
+ } & {
4912
+ url: string;
4913
+ } & {
4914
+ kind?: "web";
4915
+ target?: string | null | undefined;
4916
+ preview?: {
4917
+ title?: string;
4918
+ } | null | undefined;
4919
+ });
4920
+ start: number;
4921
+ end: number;
4922
+ type: "hyperlink";
4923
+ } | {
4924
+ data: string;
4925
+ start: number;
4926
+ end: number;
4927
+ type: "label";
4928
+ } | {
4929
+ start: number;
4930
+ end: number;
4931
+ type: "strong" | "em" | "list-item";
4932
+ })[], unknown>;
4933
+ }>]>;
4840
4934
  }>, t.PartialC<{
4841
- spans: t.Type<({
4842
- data: ({
4843
- __TYPE__: "ImageLink";
4844
- } & {
4845
- kind: "image";
4846
- id: string;
4847
- url: string;
4848
- height: string;
4849
- width: string;
4850
- size: string;
4851
- name: string;
4852
- } & {
4853
- date?: string | null | undefined;
4854
- }) | ({
4855
- __TYPE__: "FileLink";
4856
- } & {
4857
- kind: "file";
4858
- id: string;
4859
- url: string;
4860
- name: string;
4861
- size: string;
4862
- } & {
4863
- date?: string | null | undefined;
4864
- }) | ({
4865
- __TYPE__: "DocumentLink";
4866
- } & {
4867
- id: string;
4868
- }) | ({
4869
- __TYPE__: "ExternalLink";
4870
- } & {
4871
- url: string;
4872
- } & {
4873
- kind?: "web";
4874
- target?: string | null | undefined;
4875
- preview?: {
4876
- title?: string;
4877
- } | null | undefined;
4878
- });
4879
- start: number;
4880
- end: number;
4881
- type: "hyperlink";
4882
- } | {
4883
- data: string;
4884
- start: number;
4885
- end: number;
4886
- type: "label";
4887
- } | {
4888
- start: number;
4889
- end: number;
4890
- type: "strong" | "em" | "list-item";
4891
- })[], ({
4892
- data: ({
4893
- __TYPE__: "ImageLink";
4894
- } & {
4895
- kind: "image";
4896
- id: string;
4897
- url: string;
4898
- height: string;
4899
- width: string;
4900
- size: string;
4901
- name: string;
4902
- } & {
4903
- date?: string | null | undefined;
4904
- }) | ({
4905
- __TYPE__: "FileLink";
4906
- } & {
4907
- kind: "file";
4908
- id: string;
4909
- url: string;
4910
- name: string;
4911
- size: string;
4912
- } & {
4913
- date?: string | null | undefined;
4914
- }) | ({
4915
- __TYPE__: "DocumentLink";
4916
- } & {
4917
- id: string;
4918
- }) | ({
4919
- __TYPE__: "ExternalLink";
4920
- } & {
4921
- url: string;
4922
- } & {
4923
- kind?: "web";
4924
- target?: string | null | undefined;
4925
- preview?: {
4926
- title?: string;
4927
- } | null | undefined;
4928
- });
4929
- start: number;
4930
- end: number;
4931
- type: "hyperlink";
4932
- } | {
4933
- data: string;
4934
- start: number;
4935
- end: number;
4936
- type: "label";
4937
- } | {
4938
- start: number;
4939
- end: number;
4940
- type: "strong" | "em" | "list-item";
4941
- })[], unknown>;
4942
- }>]>;
4943
- }>, t.PartialC<{
4944
- label: t.StringC;
4945
- direction: t.StringC;
4946
- }>]>>>;
4947
- }>>]>>;
4948
- }>>>;
4935
+ label: t.StringC;
4936
+ direction: t.StringC;
4937
+ }>]>>>;
4938
+ }>>]>>;
4939
+ }>>>;
4940
+ }>>]>>;
4941
+ }>>, t.ExactC<t.TypeC<{
4942
+ __TYPE__: t.LiteralC<"SeparatorContent">;
4949
4943
  }>>, t.ExactC<t.TypeC<{
4950
- __TYPE__: t.LiteralC<"TableContent">;
4951
- }>>]>, t.ExactC<t.TypeC<{
4952
4944
  __TYPE__: t.LiteralC<"RepeatableContent">;
4953
4945
  type: t.LiteralC<"Link">;
4954
4946
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -5348,7 +5340,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
5348
5340
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5349
5341
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5350
5342
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5351
- 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>;
5343
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
5352
5344
  content: t.IntersectionC<[t.TypeC<{
5353
5345
  text: t.StringC;
5354
5346
  }>, t.PartialC<{
@@ -5452,248 +5444,247 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
5452
5444
  start: number;
5453
5445
  end: number;
5454
5446
  type: "strong" | "em" | "list-item";
5455
- })[], unknown>;
5456
- }>]>;
5457
- }>, t.PartialC<{
5458
- label: t.StringC;
5459
- direction: t.StringC;
5460
- }>]>>]>>;
5461
- }>>, t.ExactC<t.TypeC<{
5462
- __TYPE__: t.LiteralC<"SeparatorContent">;
5463
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
5464
- content: t.ArrayC<t.ExactC<t.TypeC<{
5465
- type: t.LiteralC<"tableRow">;
5466
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
5467
- type: t.LiteralC<"tableHeader">;
5468
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5469
- 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>;
5470
- content: t.IntersectionC<[t.TypeC<{
5471
- text: t.StringC;
5472
- }>, t.PartialC<{
5473
- spans: t.Type<({
5474
- data: ({
5475
- __TYPE__: "ImageLink";
5476
- } & {
5477
- kind: "image";
5478
- id: string;
5479
- url: string;
5480
- height: string;
5481
- width: string;
5482
- size: string;
5483
- name: string;
5484
- } & {
5485
- date?: string | null | undefined;
5486
- }) | ({
5487
- __TYPE__: "FileLink";
5488
- } & {
5489
- kind: "file";
5490
- id: string;
5491
- url: string;
5492
- name: string;
5493
- size: string;
5494
- } & {
5495
- date?: string | null | undefined;
5496
- }) | ({
5497
- __TYPE__: "DocumentLink";
5498
- } & {
5499
- id: string;
5500
- }) | ({
5501
- __TYPE__: "ExternalLink";
5502
- } & {
5503
- url: string;
5504
- } & {
5505
- kind?: "web";
5506
- target?: string | null | undefined;
5507
- preview?: {
5508
- title?: string;
5509
- } | null | undefined;
5510
- });
5511
- start: number;
5512
- end: number;
5513
- type: "hyperlink";
5514
- } | {
5515
- data: string;
5516
- start: number;
5517
- end: number;
5518
- type: "label";
5519
- } | {
5520
- start: number;
5521
- end: number;
5522
- type: "strong" | "em" | "list-item";
5523
- })[], ({
5524
- data: ({
5525
- __TYPE__: "ImageLink";
5526
- } & {
5527
- kind: "image";
5528
- id: string;
5529
- url: string;
5530
- height: string;
5531
- width: string;
5532
- size: string;
5533
- name: string;
5534
- } & {
5535
- date?: string | null | undefined;
5536
- }) | ({
5537
- __TYPE__: "FileLink";
5538
- } & {
5539
- kind: "file";
5540
- id: string;
5541
- url: string;
5542
- name: string;
5543
- size: string;
5544
- } & {
5545
- date?: string | null | undefined;
5546
- }) | ({
5547
- __TYPE__: "DocumentLink";
5548
- } & {
5549
- id: string;
5550
- }) | ({
5551
- __TYPE__: "ExternalLink";
5552
- } & {
5553
- url: string;
5554
- } & {
5555
- kind?: "web";
5556
- target?: string | null | undefined;
5557
- preview?: {
5558
- title?: string;
5559
- } | null | undefined;
5560
- });
5561
- start: number;
5562
- end: number;
5563
- type: "hyperlink";
5564
- } | {
5565
- data: string;
5566
- start: number;
5567
- end: number;
5568
- type: "label";
5569
- } | {
5570
- start: number;
5571
- end: number;
5572
- type: "strong" | "em" | "list-item";
5573
- })[], unknown>;
5574
- }>]>;
5575
- }>, t.PartialC<{
5576
- label: t.StringC;
5577
- direction: t.StringC;
5578
- }>]>>>;
5579
- }>>, t.ExactC<t.TypeC<{
5580
- type: t.LiteralC<"tableCell">;
5581
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5582
- 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>;
5583
- content: t.IntersectionC<[t.TypeC<{
5584
- text: t.StringC;
5447
+ })[], unknown>;
5448
+ }>]>;
5449
+ }>, t.PartialC<{
5450
+ label: t.StringC;
5451
+ direction: t.StringC;
5452
+ }>]>>, t.ExactC<t.TypeC<{
5453
+ type: t.LiteralC<"table">;
5454
+ content: t.ArrayC<t.ExactC<t.TypeC<{
5455
+ type: t.LiteralC<"tableRow">;
5456
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
5457
+ type: t.LiteralC<"tableHeader">;
5458
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5459
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
5460
+ content: t.IntersectionC<[t.TypeC<{
5461
+ text: t.StringC;
5462
+ }>, t.PartialC<{
5463
+ spans: t.Type<({
5464
+ data: ({
5465
+ __TYPE__: "ImageLink";
5466
+ } & {
5467
+ kind: "image";
5468
+ id: string;
5469
+ url: string;
5470
+ height: string;
5471
+ width: string;
5472
+ size: string;
5473
+ name: string;
5474
+ } & {
5475
+ date?: string | null | undefined;
5476
+ }) | ({
5477
+ __TYPE__: "FileLink";
5478
+ } & {
5479
+ kind: "file";
5480
+ id: string;
5481
+ url: string;
5482
+ name: string;
5483
+ size: string;
5484
+ } & {
5485
+ date?: string | null | undefined;
5486
+ }) | ({
5487
+ __TYPE__: "DocumentLink";
5488
+ } & {
5489
+ id: string;
5490
+ }) | ({
5491
+ __TYPE__: "ExternalLink";
5492
+ } & {
5493
+ url: string;
5494
+ } & {
5495
+ kind?: "web";
5496
+ target?: string | null | undefined;
5497
+ preview?: {
5498
+ title?: string;
5499
+ } | null | undefined;
5500
+ });
5501
+ start: number;
5502
+ end: number;
5503
+ type: "hyperlink";
5504
+ } | {
5505
+ data: string;
5506
+ start: number;
5507
+ end: number;
5508
+ type: "label";
5509
+ } | {
5510
+ start: number;
5511
+ end: number;
5512
+ type: "strong" | "em" | "list-item";
5513
+ })[], ({
5514
+ data: ({
5515
+ __TYPE__: "ImageLink";
5516
+ } & {
5517
+ kind: "image";
5518
+ id: string;
5519
+ url: string;
5520
+ height: string;
5521
+ width: string;
5522
+ size: string;
5523
+ name: string;
5524
+ } & {
5525
+ date?: string | null | undefined;
5526
+ }) | ({
5527
+ __TYPE__: "FileLink";
5528
+ } & {
5529
+ kind: "file";
5530
+ id: string;
5531
+ url: string;
5532
+ name: string;
5533
+ size: string;
5534
+ } & {
5535
+ date?: string | null | undefined;
5536
+ }) | ({
5537
+ __TYPE__: "DocumentLink";
5538
+ } & {
5539
+ id: string;
5540
+ }) | ({
5541
+ __TYPE__: "ExternalLink";
5542
+ } & {
5543
+ url: string;
5544
+ } & {
5545
+ kind?: "web";
5546
+ target?: string | null | undefined;
5547
+ preview?: {
5548
+ title?: string;
5549
+ } | null | undefined;
5550
+ });
5551
+ start: number;
5552
+ end: number;
5553
+ type: "hyperlink";
5554
+ } | {
5555
+ data: string;
5556
+ start: number;
5557
+ end: number;
5558
+ type: "label";
5559
+ } | {
5560
+ start: number;
5561
+ end: number;
5562
+ type: "strong" | "em" | "list-item";
5563
+ })[], unknown>;
5564
+ }>]>;
5585
5565
  }>, t.PartialC<{
5586
- spans: t.Type<({
5587
- data: ({
5588
- __TYPE__: "ImageLink";
5589
- } & {
5590
- kind: "image";
5591
- id: string;
5592
- url: string;
5593
- height: string;
5594
- width: string;
5595
- size: string;
5596
- name: string;
5597
- } & {
5598
- date?: string | null | undefined;
5599
- }) | ({
5600
- __TYPE__: "FileLink";
5601
- } & {
5602
- kind: "file";
5603
- id: string;
5604
- url: string;
5605
- name: string;
5606
- size: string;
5607
- } & {
5608
- date?: string | null | undefined;
5609
- }) | ({
5610
- __TYPE__: "DocumentLink";
5611
- } & {
5612
- id: string;
5613
- }) | ({
5614
- __TYPE__: "ExternalLink";
5615
- } & {
5616
- url: string;
5617
- } & {
5618
- kind?: "web";
5619
- target?: string | null | undefined;
5620
- preview?: {
5621
- title?: string;
5622
- } | null | undefined;
5623
- });
5624
- start: number;
5625
- end: number;
5626
- type: "hyperlink";
5627
- } | {
5628
- data: string;
5629
- start: number;
5630
- end: number;
5631
- type: "label";
5632
- } | {
5633
- start: number;
5634
- end: number;
5635
- type: "strong" | "em" | "list-item";
5636
- })[], ({
5637
- data: ({
5638
- __TYPE__: "ImageLink";
5639
- } & {
5640
- kind: "image";
5641
- id: string;
5642
- url: string;
5643
- height: string;
5644
- width: string;
5645
- size: string;
5646
- name: string;
5647
- } & {
5648
- date?: string | null | undefined;
5649
- }) | ({
5650
- __TYPE__: "FileLink";
5651
- } & {
5652
- kind: "file";
5653
- id: string;
5654
- url: string;
5655
- name: string;
5656
- size: string;
5657
- } & {
5658
- date?: string | null | undefined;
5659
- }) | ({
5660
- __TYPE__: "DocumentLink";
5661
- } & {
5662
- id: string;
5663
- }) | ({
5664
- __TYPE__: "ExternalLink";
5665
- } & {
5666
- url: string;
5667
- } & {
5668
- kind?: "web";
5669
- target?: string | null | undefined;
5670
- preview?: {
5671
- title?: string;
5672
- } | null | undefined;
5673
- });
5674
- start: number;
5675
- end: number;
5676
- type: "hyperlink";
5677
- } | {
5678
- data: string;
5679
- start: number;
5680
- end: number;
5681
- type: "label";
5682
- } | {
5683
- start: number;
5684
- end: number;
5685
- type: "strong" | "em" | "list-item";
5686
- })[], unknown>;
5687
- }>]>;
5688
- }>, t.PartialC<{
5689
- label: t.StringC;
5690
- direction: t.StringC;
5691
- }>]>>>;
5692
- }>>]>>;
5693
- }>>>;
5566
+ label: t.StringC;
5567
+ direction: t.StringC;
5568
+ }>]>>>;
5569
+ }>>, t.ExactC<t.TypeC<{
5570
+ type: t.LiteralC<"tableCell">;
5571
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
5572
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
5573
+ content: t.IntersectionC<[t.TypeC<{
5574
+ text: t.StringC;
5575
+ }>, t.PartialC<{
5576
+ spans: t.Type<({
5577
+ data: ({
5578
+ __TYPE__: "ImageLink";
5579
+ } & {
5580
+ kind: "image";
5581
+ id: string;
5582
+ url: string;
5583
+ height: string;
5584
+ width: string;
5585
+ size: string;
5586
+ name: string;
5587
+ } & {
5588
+ date?: string | null | undefined;
5589
+ }) | ({
5590
+ __TYPE__: "FileLink";
5591
+ } & {
5592
+ kind: "file";
5593
+ id: string;
5594
+ url: string;
5595
+ name: string;
5596
+ size: string;
5597
+ } & {
5598
+ date?: string | null | undefined;
5599
+ }) | ({
5600
+ __TYPE__: "DocumentLink";
5601
+ } & {
5602
+ id: string;
5603
+ }) | ({
5604
+ __TYPE__: "ExternalLink";
5605
+ } & {
5606
+ url: string;
5607
+ } & {
5608
+ kind?: "web";
5609
+ target?: string | null | undefined;
5610
+ preview?: {
5611
+ title?: string;
5612
+ } | null | undefined;
5613
+ });
5614
+ start: number;
5615
+ end: number;
5616
+ type: "hyperlink";
5617
+ } | {
5618
+ data: string;
5619
+ start: number;
5620
+ end: number;
5621
+ type: "label";
5622
+ } | {
5623
+ start: number;
5624
+ end: number;
5625
+ type: "strong" | "em" | "list-item";
5626
+ })[], ({
5627
+ data: ({
5628
+ __TYPE__: "ImageLink";
5629
+ } & {
5630
+ kind: "image";
5631
+ id: string;
5632
+ url: string;
5633
+ height: string;
5634
+ width: string;
5635
+ size: string;
5636
+ name: string;
5637
+ } & {
5638
+ date?: string | null | undefined;
5639
+ }) | ({
5640
+ __TYPE__: "FileLink";
5641
+ } & {
5642
+ kind: "file";
5643
+ id: string;
5644
+ url: string;
5645
+ name: string;
5646
+ size: string;
5647
+ } & {
5648
+ date?: string | null | undefined;
5649
+ }) | ({
5650
+ __TYPE__: "DocumentLink";
5651
+ } & {
5652
+ id: string;
5653
+ }) | ({
5654
+ __TYPE__: "ExternalLink";
5655
+ } & {
5656
+ url: string;
5657
+ } & {
5658
+ kind?: "web";
5659
+ target?: string | null | undefined;
5660
+ preview?: {
5661
+ title?: string;
5662
+ } | null | undefined;
5663
+ });
5664
+ start: number;
5665
+ end: number;
5666
+ type: "hyperlink";
5667
+ } | {
5668
+ data: string;
5669
+ start: number;
5670
+ end: number;
5671
+ type: "label";
5672
+ } | {
5673
+ start: number;
5674
+ end: number;
5675
+ type: "strong" | "em" | "list-item";
5676
+ })[], unknown>;
5677
+ }>]>;
5678
+ }>, t.PartialC<{
5679
+ label: t.StringC;
5680
+ direction: t.StringC;
5681
+ }>]>>>;
5682
+ }>>]>>;
5683
+ }>>>;
5684
+ }>>]>>;
5685
+ }>>, t.ExactC<t.TypeC<{
5686
+ __TYPE__: t.LiteralC<"SeparatorContent">;
5694
5687
  }>>, t.ExactC<t.TypeC<{
5695
- __TYPE__: t.LiteralC<"TableContent">;
5696
- }>>]>, t.ExactC<t.TypeC<{
5697
5688
  __TYPE__: t.LiteralC<"RepeatableContent">;
5698
5689
  type: t.LiteralC<"Link">;
5699
5690
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -6092,7 +6083,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
6092
6083
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
6093
6084
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
6094
6085
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
6095
- 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>;
6086
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
6096
6087
  content: t.IntersectionC<[t.TypeC<{
6097
6088
  text: t.StringC;
6098
6089
  }>, t.PartialC<{
@@ -6201,243 +6192,242 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
6201
6192
  }>, t.PartialC<{
6202
6193
  label: t.StringC;
6203
6194
  direction: t.StringC;
6204
- }>]>>]>>;
6195
+ }>]>>, t.ExactC<t.TypeC<{
6196
+ type: t.LiteralC<"table">;
6197
+ content: t.ArrayC<t.ExactC<t.TypeC<{
6198
+ type: t.LiteralC<"tableRow">;
6199
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
6200
+ type: t.LiteralC<"tableHeader">;
6201
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
6202
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
6203
+ content: t.IntersectionC<[t.TypeC<{
6204
+ text: t.StringC;
6205
+ }>, t.PartialC<{
6206
+ spans: t.Type<({
6207
+ data: ({
6208
+ __TYPE__: "ImageLink";
6209
+ } & {
6210
+ kind: "image";
6211
+ id: string;
6212
+ url: string;
6213
+ height: string;
6214
+ width: string;
6215
+ size: string;
6216
+ name: string;
6217
+ } & {
6218
+ date?: string | null | undefined;
6219
+ }) | ({
6220
+ __TYPE__: "FileLink";
6221
+ } & {
6222
+ kind: "file";
6223
+ id: string;
6224
+ url: string;
6225
+ name: string;
6226
+ size: string;
6227
+ } & {
6228
+ date?: string | null | undefined;
6229
+ }) | ({
6230
+ __TYPE__: "DocumentLink";
6231
+ } & {
6232
+ id: string;
6233
+ }) | ({
6234
+ __TYPE__: "ExternalLink";
6235
+ } & {
6236
+ url: string;
6237
+ } & {
6238
+ kind?: "web";
6239
+ target?: string | null | undefined;
6240
+ preview?: {
6241
+ title?: string;
6242
+ } | null | undefined;
6243
+ });
6244
+ start: number;
6245
+ end: number;
6246
+ type: "hyperlink";
6247
+ } | {
6248
+ data: string;
6249
+ start: number;
6250
+ end: number;
6251
+ type: "label";
6252
+ } | {
6253
+ start: number;
6254
+ end: number;
6255
+ type: "strong" | "em" | "list-item";
6256
+ })[], ({
6257
+ data: ({
6258
+ __TYPE__: "ImageLink";
6259
+ } & {
6260
+ kind: "image";
6261
+ id: string;
6262
+ url: string;
6263
+ height: string;
6264
+ width: string;
6265
+ size: string;
6266
+ name: string;
6267
+ } & {
6268
+ date?: string | null | undefined;
6269
+ }) | ({
6270
+ __TYPE__: "FileLink";
6271
+ } & {
6272
+ kind: "file";
6273
+ id: string;
6274
+ url: string;
6275
+ name: string;
6276
+ size: string;
6277
+ } & {
6278
+ date?: string | null | undefined;
6279
+ }) | ({
6280
+ __TYPE__: "DocumentLink";
6281
+ } & {
6282
+ id: string;
6283
+ }) | ({
6284
+ __TYPE__: "ExternalLink";
6285
+ } & {
6286
+ url: string;
6287
+ } & {
6288
+ kind?: "web";
6289
+ target?: string | null | undefined;
6290
+ preview?: {
6291
+ title?: string;
6292
+ } | null | undefined;
6293
+ });
6294
+ start: number;
6295
+ end: number;
6296
+ type: "hyperlink";
6297
+ } | {
6298
+ data: string;
6299
+ start: number;
6300
+ end: number;
6301
+ type: "label";
6302
+ } | {
6303
+ start: number;
6304
+ end: number;
6305
+ type: "strong" | "em" | "list-item";
6306
+ })[], unknown>;
6307
+ }>]>;
6308
+ }>, t.PartialC<{
6309
+ label: t.StringC;
6310
+ direction: t.StringC;
6311
+ }>]>>>;
6312
+ }>>, t.ExactC<t.TypeC<{
6313
+ type: t.LiteralC<"tableCell">;
6314
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
6315
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
6316
+ content: t.IntersectionC<[t.TypeC<{
6317
+ text: t.StringC;
6318
+ }>, t.PartialC<{
6319
+ spans: t.Type<({
6320
+ data: ({
6321
+ __TYPE__: "ImageLink";
6322
+ } & {
6323
+ kind: "image";
6324
+ id: string;
6325
+ url: string;
6326
+ height: string;
6327
+ width: string;
6328
+ size: string;
6329
+ name: string;
6330
+ } & {
6331
+ date?: string | null | undefined;
6332
+ }) | ({
6333
+ __TYPE__: "FileLink";
6334
+ } & {
6335
+ kind: "file";
6336
+ id: string;
6337
+ url: string;
6338
+ name: string;
6339
+ size: string;
6340
+ } & {
6341
+ date?: string | null | undefined;
6342
+ }) | ({
6343
+ __TYPE__: "DocumentLink";
6344
+ } & {
6345
+ id: string;
6346
+ }) | ({
6347
+ __TYPE__: "ExternalLink";
6348
+ } & {
6349
+ url: string;
6350
+ } & {
6351
+ kind?: "web";
6352
+ target?: string | null | undefined;
6353
+ preview?: {
6354
+ title?: string;
6355
+ } | null | undefined;
6356
+ });
6357
+ start: number;
6358
+ end: number;
6359
+ type: "hyperlink";
6360
+ } | {
6361
+ data: string;
6362
+ start: number;
6363
+ end: number;
6364
+ type: "label";
6365
+ } | {
6366
+ start: number;
6367
+ end: number;
6368
+ type: "strong" | "em" | "list-item";
6369
+ })[], ({
6370
+ data: ({
6371
+ __TYPE__: "ImageLink";
6372
+ } & {
6373
+ kind: "image";
6374
+ id: string;
6375
+ url: string;
6376
+ height: string;
6377
+ width: string;
6378
+ size: string;
6379
+ name: string;
6380
+ } & {
6381
+ date?: string | null | undefined;
6382
+ }) | ({
6383
+ __TYPE__: "FileLink";
6384
+ } & {
6385
+ kind: "file";
6386
+ id: string;
6387
+ url: string;
6388
+ name: string;
6389
+ size: string;
6390
+ } & {
6391
+ date?: string | null | undefined;
6392
+ }) | ({
6393
+ __TYPE__: "DocumentLink";
6394
+ } & {
6395
+ id: string;
6396
+ }) | ({
6397
+ __TYPE__: "ExternalLink";
6398
+ } & {
6399
+ url: string;
6400
+ } & {
6401
+ kind?: "web";
6402
+ target?: string | null | undefined;
6403
+ preview?: {
6404
+ title?: string;
6405
+ } | null | undefined;
6406
+ });
6407
+ start: number;
6408
+ end: number;
6409
+ type: "hyperlink";
6410
+ } | {
6411
+ data: string;
6412
+ start: number;
6413
+ end: number;
6414
+ type: "label";
6415
+ } | {
6416
+ start: number;
6417
+ end: number;
6418
+ type: "strong" | "em" | "list-item";
6419
+ })[], unknown>;
6420
+ }>]>;
6421
+ }>, t.PartialC<{
6422
+ label: t.StringC;
6423
+ direction: t.StringC;
6424
+ }>]>>>;
6425
+ }>>]>>;
6426
+ }>>>;
6427
+ }>>]>>;
6205
6428
  }>>, t.ExactC<t.TypeC<{
6206
6429
  __TYPE__: t.LiteralC<"SeparatorContent">;
6207
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
6208
- content: t.ArrayC<t.ExactC<t.TypeC<{
6209
- type: t.LiteralC<"tableRow">;
6210
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
6211
- type: t.LiteralC<"tableHeader">;
6212
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
6213
- 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>;
6214
- content: t.IntersectionC<[t.TypeC<{
6215
- text: t.StringC;
6216
- }>, t.PartialC<{
6217
- spans: t.Type<({
6218
- data: ({
6219
- __TYPE__: "ImageLink";
6220
- } & {
6221
- kind: "image";
6222
- id: string;
6223
- url: string;
6224
- height: string;
6225
- width: string;
6226
- size: string;
6227
- name: string;
6228
- } & {
6229
- date?: string | null | undefined;
6230
- }) | ({
6231
- __TYPE__: "FileLink";
6232
- } & {
6233
- kind: "file";
6234
- id: string;
6235
- url: string;
6236
- name: string;
6237
- size: string;
6238
- } & {
6239
- date?: string | null | undefined;
6240
- }) | ({
6241
- __TYPE__: "DocumentLink";
6242
- } & {
6243
- id: string;
6244
- }) | ({
6245
- __TYPE__: "ExternalLink";
6246
- } & {
6247
- url: string;
6248
- } & {
6249
- kind?: "web";
6250
- target?: string | null | undefined;
6251
- preview?: {
6252
- title?: string;
6253
- } | null | undefined;
6254
- });
6255
- start: number;
6256
- end: number;
6257
- type: "hyperlink";
6258
- } | {
6259
- data: string;
6260
- start: number;
6261
- end: number;
6262
- type: "label";
6263
- } | {
6264
- start: number;
6265
- end: number;
6266
- type: "strong" | "em" | "list-item";
6267
- })[], ({
6268
- data: ({
6269
- __TYPE__: "ImageLink";
6270
- } & {
6271
- kind: "image";
6272
- id: string;
6273
- url: string;
6274
- height: string;
6275
- width: string;
6276
- size: string;
6277
- name: string;
6278
- } & {
6279
- date?: string | null | undefined;
6280
- }) | ({
6281
- __TYPE__: "FileLink";
6282
- } & {
6283
- kind: "file";
6284
- id: string;
6285
- url: string;
6286
- name: string;
6287
- size: string;
6288
- } & {
6289
- date?: string | null | undefined;
6290
- }) | ({
6291
- __TYPE__: "DocumentLink";
6292
- } & {
6293
- id: string;
6294
- }) | ({
6295
- __TYPE__: "ExternalLink";
6296
- } & {
6297
- url: string;
6298
- } & {
6299
- kind?: "web";
6300
- target?: string | null | undefined;
6301
- preview?: {
6302
- title?: string;
6303
- } | null | undefined;
6304
- });
6305
- start: number;
6306
- end: number;
6307
- type: "hyperlink";
6308
- } | {
6309
- data: string;
6310
- start: number;
6311
- end: number;
6312
- type: "label";
6313
- } | {
6314
- start: number;
6315
- end: number;
6316
- type: "strong" | "em" | "list-item";
6317
- })[], unknown>;
6318
- }>]>;
6319
- }>, t.PartialC<{
6320
- label: t.StringC;
6321
- direction: t.StringC;
6322
- }>]>>>;
6323
- }>>, t.ExactC<t.TypeC<{
6324
- type: t.LiteralC<"tableCell">;
6325
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
6326
- 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>;
6327
- content: t.IntersectionC<[t.TypeC<{
6328
- text: t.StringC;
6329
- }>, t.PartialC<{
6330
- spans: t.Type<({
6331
- data: ({
6332
- __TYPE__: "ImageLink";
6333
- } & {
6334
- kind: "image";
6335
- id: string;
6336
- url: string;
6337
- height: string;
6338
- width: string;
6339
- size: string;
6340
- name: string;
6341
- } & {
6342
- date?: string | null | undefined;
6343
- }) | ({
6344
- __TYPE__: "FileLink";
6345
- } & {
6346
- kind: "file";
6347
- id: string;
6348
- url: string;
6349
- name: string;
6350
- size: string;
6351
- } & {
6352
- date?: string | null | undefined;
6353
- }) | ({
6354
- __TYPE__: "DocumentLink";
6355
- } & {
6356
- id: string;
6357
- }) | ({
6358
- __TYPE__: "ExternalLink";
6359
- } & {
6360
- url: string;
6361
- } & {
6362
- kind?: "web";
6363
- target?: string | null | undefined;
6364
- preview?: {
6365
- title?: string;
6366
- } | null | undefined;
6367
- });
6368
- start: number;
6369
- end: number;
6370
- type: "hyperlink";
6371
- } | {
6372
- data: string;
6373
- start: number;
6374
- end: number;
6375
- type: "label";
6376
- } | {
6377
- start: number;
6378
- end: number;
6379
- type: "strong" | "em" | "list-item";
6380
- })[], ({
6381
- data: ({
6382
- __TYPE__: "ImageLink";
6383
- } & {
6384
- kind: "image";
6385
- id: string;
6386
- url: string;
6387
- height: string;
6388
- width: string;
6389
- size: string;
6390
- name: string;
6391
- } & {
6392
- date?: string | null | undefined;
6393
- }) | ({
6394
- __TYPE__: "FileLink";
6395
- } & {
6396
- kind: "file";
6397
- id: string;
6398
- url: string;
6399
- name: string;
6400
- size: string;
6401
- } & {
6402
- date?: string | null | undefined;
6403
- }) | ({
6404
- __TYPE__: "DocumentLink";
6405
- } & {
6406
- id: string;
6407
- }) | ({
6408
- __TYPE__: "ExternalLink";
6409
- } & {
6410
- url: string;
6411
- } & {
6412
- kind?: "web";
6413
- target?: string | null | undefined;
6414
- preview?: {
6415
- title?: string;
6416
- } | null | undefined;
6417
- });
6418
- start: number;
6419
- end: number;
6420
- type: "hyperlink";
6421
- } | {
6422
- data: string;
6423
- start: number;
6424
- end: number;
6425
- type: "label";
6426
- } | {
6427
- start: number;
6428
- end: number;
6429
- type: "strong" | "em" | "list-item";
6430
- })[], unknown>;
6431
- }>]>;
6432
- }>, t.PartialC<{
6433
- label: t.StringC;
6434
- direction: t.StringC;
6435
- }>]>>>;
6436
- }>>]>>;
6437
- }>>>;
6438
6430
  }>>, t.ExactC<t.TypeC<{
6439
- __TYPE__: t.LiteralC<"TableContent">;
6440
- }>>]>, t.ExactC<t.TypeC<{
6441
6431
  __TYPE__: t.LiteralC<"RepeatableContent">;
6442
6432
  type: t.LiteralC<"Link">;
6443
6433
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{