@seed-hypermedia/client 0.0.34 → 0.0.36

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.
@@ -235,11 +235,11 @@ export declare const HighlightAnnotationSchema: z.ZodObject<{
235
235
  }>;
236
236
  export declare const TextColorAnnotationSchema: z.ZodObject<{
237
237
  attributes: z.ZodOptional<z.ZodObject<{
238
- color: z.ZodString;
238
+ value: z.ZodString;
239
239
  }, "strip", z.ZodTypeAny, {
240
- color: string;
240
+ value: string;
241
241
  }, {
242
- color: string;
242
+ value: string;
243
243
  }>>;
244
244
  starts: z.ZodArray<z.ZodNumber, "many">;
245
245
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -251,7 +251,7 @@ export declare const TextColorAnnotationSchema: z.ZodObject<{
251
251
  ends: number[];
252
252
  link?: "" | undefined;
253
253
  attributes?: {
254
- color: string;
254
+ value: string;
255
255
  } | undefined;
256
256
  }, {
257
257
  type: "TextColor";
@@ -259,16 +259,16 @@ export declare const TextColorAnnotationSchema: z.ZodObject<{
259
259
  ends: number[];
260
260
  link?: "" | undefined;
261
261
  attributes?: {
262
- color: string;
262
+ value: string;
263
263
  } | undefined;
264
264
  }>;
265
265
  export declare const BackgroundColorAnnotationSchema: z.ZodObject<{
266
266
  attributes: z.ZodOptional<z.ZodObject<{
267
- color: z.ZodString;
267
+ value: z.ZodString;
268
268
  }, "strip", z.ZodTypeAny, {
269
- color: string;
269
+ value: string;
270
270
  }, {
271
- color: string;
271
+ value: string;
272
272
  }>>;
273
273
  starts: z.ZodArray<z.ZodNumber, "many">;
274
274
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -280,7 +280,7 @@ export declare const BackgroundColorAnnotationSchema: z.ZodObject<{
280
280
  ends: number[];
281
281
  link?: "" | undefined;
282
282
  attributes?: {
283
- color: string;
283
+ value: string;
284
284
  } | undefined;
285
285
  }, {
286
286
  type: "BackgroundColor";
@@ -288,7 +288,65 @@ export declare const BackgroundColorAnnotationSchema: z.ZodObject<{
288
288
  ends: number[];
289
289
  link?: "" | undefined;
290
290
  attributes?: {
291
- color: string;
291
+ value: string;
292
+ } | undefined;
293
+ }>;
294
+ export declare const TextSizeAnnotationSchema: z.ZodObject<{
295
+ attributes: z.ZodOptional<z.ZodObject<{
296
+ value: z.ZodString;
297
+ }, "strip", z.ZodTypeAny, {
298
+ value: string;
299
+ }, {
300
+ value: string;
301
+ }>>;
302
+ starts: z.ZodArray<z.ZodNumber, "many">;
303
+ ends: z.ZodArray<z.ZodNumber, "many">;
304
+ link: z.ZodOptional<z.ZodLiteral<"">>;
305
+ type: z.ZodLiteral<"TextSize">;
306
+ }, "strict", z.ZodTypeAny, {
307
+ type: "TextSize";
308
+ starts: number[];
309
+ ends: number[];
310
+ link?: "" | undefined;
311
+ attributes?: {
312
+ value: string;
313
+ } | undefined;
314
+ }, {
315
+ type: "TextSize";
316
+ starts: number[];
317
+ ends: number[];
318
+ link?: "" | undefined;
319
+ attributes?: {
320
+ value: string;
321
+ } | undefined;
322
+ }>;
323
+ export declare const TextFamilyAnnotationSchema: z.ZodObject<{
324
+ attributes: z.ZodOptional<z.ZodObject<{
325
+ value: z.ZodString;
326
+ }, "strip", z.ZodTypeAny, {
327
+ value: string;
328
+ }, {
329
+ value: string;
330
+ }>>;
331
+ starts: z.ZodArray<z.ZodNumber, "many">;
332
+ ends: z.ZodArray<z.ZodNumber, "many">;
333
+ link: z.ZodOptional<z.ZodLiteral<"">>;
334
+ type: z.ZodLiteral<"TextFamily">;
335
+ }, "strict", z.ZodTypeAny, {
336
+ type: "TextFamily";
337
+ starts: number[];
338
+ ends: number[];
339
+ link?: "" | undefined;
340
+ attributes?: {
341
+ value: string;
342
+ } | undefined;
343
+ }, {
344
+ type: "TextFamily";
345
+ starts: number[];
346
+ ends: number[];
347
+ link?: "" | undefined;
348
+ attributes?: {
349
+ value: string;
292
350
  } | undefined;
293
351
  }>;
294
352
  export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -437,11 +495,11 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
437
495
  attributes?: {} | undefined;
438
496
  }>, z.ZodObject<{
439
497
  attributes: z.ZodOptional<z.ZodObject<{
440
- color: z.ZodString;
498
+ value: z.ZodString;
441
499
  }, "strip", z.ZodTypeAny, {
442
- color: string;
500
+ value: string;
443
501
  }, {
444
- color: string;
502
+ value: string;
445
503
  }>>;
446
504
  starts: z.ZodArray<z.ZodNumber, "many">;
447
505
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -453,7 +511,7 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
453
511
  ends: number[];
454
512
  link?: "" | undefined;
455
513
  attributes?: {
456
- color: string;
514
+ value: string;
457
515
  } | undefined;
458
516
  }, {
459
517
  type: "TextColor";
@@ -461,15 +519,15 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
461
519
  ends: number[];
462
520
  link?: "" | undefined;
463
521
  attributes?: {
464
- color: string;
522
+ value: string;
465
523
  } | undefined;
466
524
  }>, z.ZodObject<{
467
525
  attributes: z.ZodOptional<z.ZodObject<{
468
- color: z.ZodString;
526
+ value: z.ZodString;
469
527
  }, "strip", z.ZodTypeAny, {
470
- color: string;
528
+ value: string;
471
529
  }, {
472
- color: string;
530
+ value: string;
473
531
  }>>;
474
532
  starts: z.ZodArray<z.ZodNumber, "many">;
475
533
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -481,7 +539,7 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
481
539
  ends: number[];
482
540
  link?: "" | undefined;
483
541
  attributes?: {
484
- color: string;
542
+ value: string;
485
543
  } | undefined;
486
544
  }, {
487
545
  type: "BackgroundColor";
@@ -489,7 +547,63 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
489
547
  ends: number[];
490
548
  link?: "" | undefined;
491
549
  attributes?: {
492
- color: string;
550
+ value: string;
551
+ } | undefined;
552
+ }>, z.ZodObject<{
553
+ attributes: z.ZodOptional<z.ZodObject<{
554
+ value: z.ZodString;
555
+ }, "strip", z.ZodTypeAny, {
556
+ value: string;
557
+ }, {
558
+ value: string;
559
+ }>>;
560
+ starts: z.ZodArray<z.ZodNumber, "many">;
561
+ ends: z.ZodArray<z.ZodNumber, "many">;
562
+ link: z.ZodOptional<z.ZodLiteral<"">>;
563
+ type: z.ZodLiteral<"TextSize">;
564
+ }, "strict", z.ZodTypeAny, {
565
+ type: "TextSize";
566
+ starts: number[];
567
+ ends: number[];
568
+ link?: "" | undefined;
569
+ attributes?: {
570
+ value: string;
571
+ } | undefined;
572
+ }, {
573
+ type: "TextSize";
574
+ starts: number[];
575
+ ends: number[];
576
+ link?: "" | undefined;
577
+ attributes?: {
578
+ value: string;
579
+ } | undefined;
580
+ }>, z.ZodObject<{
581
+ attributes: z.ZodOptional<z.ZodObject<{
582
+ value: z.ZodString;
583
+ }, "strip", z.ZodTypeAny, {
584
+ value: string;
585
+ }, {
586
+ value: string;
587
+ }>>;
588
+ starts: z.ZodArray<z.ZodNumber, "many">;
589
+ ends: z.ZodArray<z.ZodNumber, "many">;
590
+ link: z.ZodOptional<z.ZodLiteral<"">>;
591
+ type: z.ZodLiteral<"TextFamily">;
592
+ }, "strict", z.ZodTypeAny, {
593
+ type: "TextFamily";
594
+ starts: number[];
595
+ ends: number[];
596
+ link?: "" | undefined;
597
+ attributes?: {
598
+ value: string;
599
+ } | undefined;
600
+ }, {
601
+ type: "TextFamily";
602
+ starts: number[];
603
+ ends: number[];
604
+ link?: "" | undefined;
605
+ attributes?: {
606
+ value: string;
493
607
  } | undefined;
494
608
  }>]>;
495
609
  export type HMAnnotation = z.infer<typeof HMAnnotationSchema>;
@@ -502,6 +616,8 @@ export type LinkAnnotation = z.infer<typeof LinkAnnotationSchema>;
502
616
  export type InlineEmbedAnnotation = z.infer<typeof InlineEmbedAnnotationSchema>;
503
617
  export type TextColorAnnotation = z.infer<typeof TextColorAnnotationSchema>;
504
618
  export type BackgroundColorAnnotation = z.infer<typeof BackgroundColorAnnotationSchema>;
619
+ export type TextSizeAnnotation = z.infer<typeof TextSizeAnnotationSchema>;
620
+ export type TextFamilyAnnotation = z.infer<typeof TextFamilyAnnotationSchema>;
505
621
  export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
506
622
  starts: z.ZodArray<z.ZodNumber, "many">;
507
623
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -648,11 +764,11 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
648
764
  attributes?: {} | undefined;
649
765
  }>, z.ZodObject<{
650
766
  attributes: z.ZodOptional<z.ZodObject<{
651
- color: z.ZodString;
767
+ value: z.ZodString;
652
768
  }, "strip", z.ZodTypeAny, {
653
- color: string;
769
+ value: string;
654
770
  }, {
655
- color: string;
771
+ value: string;
656
772
  }>>;
657
773
  starts: z.ZodArray<z.ZodNumber, "many">;
658
774
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -664,7 +780,7 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
664
780
  ends: number[];
665
781
  link?: "" | undefined;
666
782
  attributes?: {
667
- color: string;
783
+ value: string;
668
784
  } | undefined;
669
785
  }, {
670
786
  type: "TextColor";
@@ -672,15 +788,15 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
672
788
  ends: number[];
673
789
  link?: "" | undefined;
674
790
  attributes?: {
675
- color: string;
791
+ value: string;
676
792
  } | undefined;
677
793
  }>, z.ZodObject<{
678
794
  attributes: z.ZodOptional<z.ZodObject<{
679
- color: z.ZodString;
795
+ value: z.ZodString;
680
796
  }, "strip", z.ZodTypeAny, {
681
- color: string;
797
+ value: string;
682
798
  }, {
683
- color: string;
799
+ value: string;
684
800
  }>>;
685
801
  starts: z.ZodArray<z.ZodNumber, "many">;
686
802
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -692,7 +808,7 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
692
808
  ends: number[];
693
809
  link?: "" | undefined;
694
810
  attributes?: {
695
- color: string;
811
+ value: string;
696
812
  } | undefined;
697
813
  }, {
698
814
  type: "BackgroundColor";
@@ -700,7 +816,63 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
700
816
  ends: number[];
701
817
  link?: "" | undefined;
702
818
  attributes?: {
703
- color: string;
819
+ value: string;
820
+ } | undefined;
821
+ }>, z.ZodObject<{
822
+ attributes: z.ZodOptional<z.ZodObject<{
823
+ value: z.ZodString;
824
+ }, "strip", z.ZodTypeAny, {
825
+ value: string;
826
+ }, {
827
+ value: string;
828
+ }>>;
829
+ starts: z.ZodArray<z.ZodNumber, "many">;
830
+ ends: z.ZodArray<z.ZodNumber, "many">;
831
+ link: z.ZodOptional<z.ZodLiteral<"">>;
832
+ type: z.ZodLiteral<"TextSize">;
833
+ }, "strict", z.ZodTypeAny, {
834
+ type: "TextSize";
835
+ starts: number[];
836
+ ends: number[];
837
+ link?: "" | undefined;
838
+ attributes?: {
839
+ value: string;
840
+ } | undefined;
841
+ }, {
842
+ type: "TextSize";
843
+ starts: number[];
844
+ ends: number[];
845
+ link?: "" | undefined;
846
+ attributes?: {
847
+ value: string;
848
+ } | undefined;
849
+ }>, z.ZodObject<{
850
+ attributes: z.ZodOptional<z.ZodObject<{
851
+ value: z.ZodString;
852
+ }, "strip", z.ZodTypeAny, {
853
+ value: string;
854
+ }, {
855
+ value: string;
856
+ }>>;
857
+ starts: z.ZodArray<z.ZodNumber, "many">;
858
+ ends: z.ZodArray<z.ZodNumber, "many">;
859
+ link: z.ZodOptional<z.ZodLiteral<"">>;
860
+ type: z.ZodLiteral<"TextFamily">;
861
+ }, "strict", z.ZodTypeAny, {
862
+ type: "TextFamily";
863
+ starts: number[];
864
+ ends: number[];
865
+ link?: "" | undefined;
866
+ attributes?: {
867
+ value: string;
868
+ } | undefined;
869
+ }, {
870
+ type: "TextFamily";
871
+ starts: number[];
872
+ ends: number[];
873
+ link?: "" | undefined;
874
+ attributes?: {
875
+ value: string;
704
876
  } | undefined;
705
877
  }>]>, "many">>;
706
878
  export type HMAnnotations = z.infer<typeof HMAnnotationsSchema>;
@@ -862,11 +1034,11 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
862
1034
  attributes?: {} | undefined;
863
1035
  }>, z.ZodObject<{
864
1036
  attributes: z.ZodOptional<z.ZodObject<{
865
- color: z.ZodString;
1037
+ value: z.ZodString;
866
1038
  }, "strip", z.ZodTypeAny, {
867
- color: string;
1039
+ value: string;
868
1040
  }, {
869
- color: string;
1041
+ value: string;
870
1042
  }>>;
871
1043
  starts: z.ZodArray<z.ZodNumber, "many">;
872
1044
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -878,7 +1050,7 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
878
1050
  ends: number[];
879
1051
  link?: "" | undefined;
880
1052
  attributes?: {
881
- color: string;
1053
+ value: string;
882
1054
  } | undefined;
883
1055
  }, {
884
1056
  type: "TextColor";
@@ -886,15 +1058,15 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
886
1058
  ends: number[];
887
1059
  link?: "" | undefined;
888
1060
  attributes?: {
889
- color: string;
1061
+ value: string;
890
1062
  } | undefined;
891
1063
  }>, z.ZodObject<{
892
1064
  attributes: z.ZodOptional<z.ZodObject<{
893
- color: z.ZodString;
1065
+ value: z.ZodString;
894
1066
  }, "strip", z.ZodTypeAny, {
895
- color: string;
1067
+ value: string;
896
1068
  }, {
897
- color: string;
1069
+ value: string;
898
1070
  }>>;
899
1071
  starts: z.ZodArray<z.ZodNumber, "many">;
900
1072
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -906,7 +1078,7 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
906
1078
  ends: number[];
907
1079
  link?: "" | undefined;
908
1080
  attributes?: {
909
- color: string;
1081
+ value: string;
910
1082
  } | undefined;
911
1083
  }, {
912
1084
  type: "BackgroundColor";
@@ -914,7 +1086,63 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
914
1086
  ends: number[];
915
1087
  link?: "" | undefined;
916
1088
  attributes?: {
917
- color: string;
1089
+ value: string;
1090
+ } | undefined;
1091
+ }>, z.ZodObject<{
1092
+ attributes: z.ZodOptional<z.ZodObject<{
1093
+ value: z.ZodString;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ value: string;
1096
+ }, {
1097
+ value: string;
1098
+ }>>;
1099
+ starts: z.ZodArray<z.ZodNumber, "many">;
1100
+ ends: z.ZodArray<z.ZodNumber, "many">;
1101
+ link: z.ZodOptional<z.ZodLiteral<"">>;
1102
+ type: z.ZodLiteral<"TextSize">;
1103
+ }, "strict", z.ZodTypeAny, {
1104
+ type: "TextSize";
1105
+ starts: number[];
1106
+ ends: number[];
1107
+ link?: "" | undefined;
1108
+ attributes?: {
1109
+ value: string;
1110
+ } | undefined;
1111
+ }, {
1112
+ type: "TextSize";
1113
+ starts: number[];
1114
+ ends: number[];
1115
+ link?: "" | undefined;
1116
+ attributes?: {
1117
+ value: string;
1118
+ } | undefined;
1119
+ }>, z.ZodObject<{
1120
+ attributes: z.ZodOptional<z.ZodObject<{
1121
+ value: z.ZodString;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ value: string;
1124
+ }, {
1125
+ value: string;
1126
+ }>>;
1127
+ starts: z.ZodArray<z.ZodNumber, "many">;
1128
+ ends: z.ZodArray<z.ZodNumber, "many">;
1129
+ link: z.ZodOptional<z.ZodLiteral<"">>;
1130
+ type: z.ZodLiteral<"TextFamily">;
1131
+ }, "strict", z.ZodTypeAny, {
1132
+ type: "TextFamily";
1133
+ starts: number[];
1134
+ ends: number[];
1135
+ link?: "" | undefined;
1136
+ attributes?: {
1137
+ value: string;
1138
+ } | undefined;
1139
+ }, {
1140
+ type: "TextFamily";
1141
+ starts: number[];
1142
+ ends: number[];
1143
+ link?: "" | undefined;
1144
+ attributes?: {
1145
+ value: string;
918
1146
  } | undefined;
919
1147
  }>]>, "many">>;
920
1148
  id: z.ZodString;
@@ -984,7 +1212,7 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
984
1212
  ends: number[];
985
1213
  link?: "" | undefined;
986
1214
  attributes?: {
987
- color: string;
1215
+ value: string;
988
1216
  } | undefined;
989
1217
  } | {
990
1218
  type: "BackgroundColor";
@@ -992,7 +1220,23 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
992
1220
  ends: number[];
993
1221
  link?: "" | undefined;
994
1222
  attributes?: {
995
- color: string;
1223
+ value: string;
1224
+ } | undefined;
1225
+ } | {
1226
+ type: "TextSize";
1227
+ starts: number[];
1228
+ ends: number[];
1229
+ link?: "" | undefined;
1230
+ attributes?: {
1231
+ value: string;
1232
+ } | undefined;
1233
+ } | {
1234
+ type: "TextFamily";
1235
+ starts: number[];
1236
+ ends: number[];
1237
+ link?: "" | undefined;
1238
+ attributes?: {
1239
+ value: string;
996
1240
  } | undefined;
997
1241
  })[] | undefined;
998
1242
  revision?: string | undefined;
@@ -1059,7 +1303,7 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
1059
1303
  ends: number[];
1060
1304
  link?: "" | undefined;
1061
1305
  attributes?: {
1062
- color: string;
1306
+ value: string;
1063
1307
  } | undefined;
1064
1308
  } | {
1065
1309
  type: "BackgroundColor";
@@ -1067,7 +1311,23 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
1067
1311
  ends: number[];
1068
1312
  link?: "" | undefined;
1069
1313
  attributes?: {
1070
- color: string;
1314
+ value: string;
1315
+ } | undefined;
1316
+ } | {
1317
+ type: "TextSize";
1318
+ starts: number[];
1319
+ ends: number[];
1320
+ link?: "" | undefined;
1321
+ attributes?: {
1322
+ value: string;
1323
+ } | undefined;
1324
+ } | {
1325
+ type: "TextFamily";
1326
+ starts: number[];
1327
+ ends: number[];
1328
+ link?: "" | undefined;
1329
+ attributes?: {
1330
+ value: string;
1071
1331
  } | undefined;
1072
1332
  })[] | undefined;
1073
1333
  revision?: string | undefined;
@@ -1230,11 +1490,11 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1230
1490
  attributes?: {} | undefined;
1231
1491
  }>, z.ZodObject<{
1232
1492
  attributes: z.ZodOptional<z.ZodObject<{
1233
- color: z.ZodString;
1493
+ value: z.ZodString;
1234
1494
  }, "strip", z.ZodTypeAny, {
1235
- color: string;
1495
+ value: string;
1236
1496
  }, {
1237
- color: string;
1497
+ value: string;
1238
1498
  }>>;
1239
1499
  starts: z.ZodArray<z.ZodNumber, "many">;
1240
1500
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -1246,7 +1506,7 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1246
1506
  ends: number[];
1247
1507
  link?: "" | undefined;
1248
1508
  attributes?: {
1249
- color: string;
1509
+ value: string;
1250
1510
  } | undefined;
1251
1511
  }, {
1252
1512
  type: "TextColor";
@@ -1254,15 +1514,15 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1254
1514
  ends: number[];
1255
1515
  link?: "" | undefined;
1256
1516
  attributes?: {
1257
- color: string;
1517
+ value: string;
1258
1518
  } | undefined;
1259
1519
  }>, z.ZodObject<{
1260
1520
  attributes: z.ZodOptional<z.ZodObject<{
1261
- color: z.ZodString;
1521
+ value: z.ZodString;
1262
1522
  }, "strip", z.ZodTypeAny, {
1263
- color: string;
1523
+ value: string;
1264
1524
  }, {
1265
- color: string;
1525
+ value: string;
1266
1526
  }>>;
1267
1527
  starts: z.ZodArray<z.ZodNumber, "many">;
1268
1528
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -1274,7 +1534,7 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1274
1534
  ends: number[];
1275
1535
  link?: "" | undefined;
1276
1536
  attributes?: {
1277
- color: string;
1537
+ value: string;
1278
1538
  } | undefined;
1279
1539
  }, {
1280
1540
  type: "BackgroundColor";
@@ -1282,7 +1542,63 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1282
1542
  ends: number[];
1283
1543
  link?: "" | undefined;
1284
1544
  attributes?: {
1285
- color: string;
1545
+ value: string;
1546
+ } | undefined;
1547
+ }>, z.ZodObject<{
1548
+ attributes: z.ZodOptional<z.ZodObject<{
1549
+ value: z.ZodString;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ value: string;
1552
+ }, {
1553
+ value: string;
1554
+ }>>;
1555
+ starts: z.ZodArray<z.ZodNumber, "many">;
1556
+ ends: z.ZodArray<z.ZodNumber, "many">;
1557
+ link: z.ZodOptional<z.ZodLiteral<"">>;
1558
+ type: z.ZodLiteral<"TextSize">;
1559
+ }, "strict", z.ZodTypeAny, {
1560
+ type: "TextSize";
1561
+ starts: number[];
1562
+ ends: number[];
1563
+ link?: "" | undefined;
1564
+ attributes?: {
1565
+ value: string;
1566
+ } | undefined;
1567
+ }, {
1568
+ type: "TextSize";
1569
+ starts: number[];
1570
+ ends: number[];
1571
+ link?: "" | undefined;
1572
+ attributes?: {
1573
+ value: string;
1574
+ } | undefined;
1575
+ }>, z.ZodObject<{
1576
+ attributes: z.ZodOptional<z.ZodObject<{
1577
+ value: z.ZodString;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ value: string;
1580
+ }, {
1581
+ value: string;
1582
+ }>>;
1583
+ starts: z.ZodArray<z.ZodNumber, "many">;
1584
+ ends: z.ZodArray<z.ZodNumber, "many">;
1585
+ link: z.ZodOptional<z.ZodLiteral<"">>;
1586
+ type: z.ZodLiteral<"TextFamily">;
1587
+ }, "strict", z.ZodTypeAny, {
1588
+ type: "TextFamily";
1589
+ starts: number[];
1590
+ ends: number[];
1591
+ link?: "" | undefined;
1592
+ attributes?: {
1593
+ value: string;
1594
+ } | undefined;
1595
+ }, {
1596
+ type: "TextFamily";
1597
+ starts: number[];
1598
+ ends: number[];
1599
+ link?: "" | undefined;
1600
+ attributes?: {
1601
+ value: string;
1286
1602
  } | undefined;
1287
1603
  }>]>, "many">>;
1288
1604
  id: z.ZodString;
@@ -1352,7 +1668,7 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1352
1668
  ends: number[];
1353
1669
  link?: "" | undefined;
1354
1670
  attributes?: {
1355
- color: string;
1671
+ value: string;
1356
1672
  } | undefined;
1357
1673
  } | {
1358
1674
  type: "BackgroundColor";
@@ -1360,7 +1676,23 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1360
1676
  ends: number[];
1361
1677
  link?: "" | undefined;
1362
1678
  attributes?: {
1363
- color: string;
1679
+ value: string;
1680
+ } | undefined;
1681
+ } | {
1682
+ type: "TextSize";
1683
+ starts: number[];
1684
+ ends: number[];
1685
+ link?: "" | undefined;
1686
+ attributes?: {
1687
+ value: string;
1688
+ } | undefined;
1689
+ } | {
1690
+ type: "TextFamily";
1691
+ starts: number[];
1692
+ ends: number[];
1693
+ link?: "" | undefined;
1694
+ attributes?: {
1695
+ value: string;
1364
1696
  } | undefined;
1365
1697
  })[] | undefined;
1366
1698
  revision?: string | undefined;
@@ -1427,7 +1759,7 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1427
1759
  ends: number[];
1428
1760
  link?: "" | undefined;
1429
1761
  attributes?: {
1430
- color: string;
1762
+ value: string;
1431
1763
  } | undefined;
1432
1764
  } | {
1433
1765
  type: "BackgroundColor";
@@ -1435,7 +1767,23 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1435
1767
  ends: number[];
1436
1768
  link?: "" | undefined;
1437
1769
  attributes?: {
1438
- color: string;
1770
+ value: string;
1771
+ } | undefined;
1772
+ } | {
1773
+ type: "TextSize";
1774
+ starts: number[];
1775
+ ends: number[];
1776
+ link?: "" | undefined;
1777
+ attributes?: {
1778
+ value: string;
1779
+ } | undefined;
1780
+ } | {
1781
+ type: "TextFamily";
1782
+ starts: number[];
1783
+ ends: number[];
1784
+ link?: "" | undefined;
1785
+ attributes?: {
1786
+ value: string;
1439
1787
  } | undefined;
1440
1788
  })[] | undefined;
1441
1789
  revision?: string | undefined;
@@ -1691,11 +2039,11 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1691
2039
  attributes?: {} | undefined;
1692
2040
  }>, z.ZodObject<{
1693
2041
  attributes: z.ZodOptional<z.ZodObject<{
1694
- color: z.ZodString;
2042
+ value: z.ZodString;
1695
2043
  }, "strip", z.ZodTypeAny, {
1696
- color: string;
2044
+ value: string;
1697
2045
  }, {
1698
- color: string;
2046
+ value: string;
1699
2047
  }>>;
1700
2048
  starts: z.ZodArray<z.ZodNumber, "many">;
1701
2049
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -1707,7 +2055,7 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1707
2055
  ends: number[];
1708
2056
  link?: "" | undefined;
1709
2057
  attributes?: {
1710
- color: string;
2058
+ value: string;
1711
2059
  } | undefined;
1712
2060
  }, {
1713
2061
  type: "TextColor";
@@ -1715,15 +2063,15 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1715
2063
  ends: number[];
1716
2064
  link?: "" | undefined;
1717
2065
  attributes?: {
1718
- color: string;
2066
+ value: string;
1719
2067
  } | undefined;
1720
2068
  }>, z.ZodObject<{
1721
2069
  attributes: z.ZodOptional<z.ZodObject<{
1722
- color: z.ZodString;
2070
+ value: z.ZodString;
1723
2071
  }, "strip", z.ZodTypeAny, {
1724
- color: string;
2072
+ value: string;
1725
2073
  }, {
1726
- color: string;
2074
+ value: string;
1727
2075
  }>>;
1728
2076
  starts: z.ZodArray<z.ZodNumber, "many">;
1729
2077
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -1735,7 +2083,7 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1735
2083
  ends: number[];
1736
2084
  link?: "" | undefined;
1737
2085
  attributes?: {
1738
- color: string;
2086
+ value: string;
1739
2087
  } | undefined;
1740
2088
  }, {
1741
2089
  type: "BackgroundColor";
@@ -1743,7 +2091,63 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1743
2091
  ends: number[];
1744
2092
  link?: "" | undefined;
1745
2093
  attributes?: {
1746
- color: string;
2094
+ value: string;
2095
+ } | undefined;
2096
+ }>, z.ZodObject<{
2097
+ attributes: z.ZodOptional<z.ZodObject<{
2098
+ value: z.ZodString;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ value: string;
2101
+ }, {
2102
+ value: string;
2103
+ }>>;
2104
+ starts: z.ZodArray<z.ZodNumber, "many">;
2105
+ ends: z.ZodArray<z.ZodNumber, "many">;
2106
+ link: z.ZodOptional<z.ZodLiteral<"">>;
2107
+ type: z.ZodLiteral<"TextSize">;
2108
+ }, "strict", z.ZodTypeAny, {
2109
+ type: "TextSize";
2110
+ starts: number[];
2111
+ ends: number[];
2112
+ link?: "" | undefined;
2113
+ attributes?: {
2114
+ value: string;
2115
+ } | undefined;
2116
+ }, {
2117
+ type: "TextSize";
2118
+ starts: number[];
2119
+ ends: number[];
2120
+ link?: "" | undefined;
2121
+ attributes?: {
2122
+ value: string;
2123
+ } | undefined;
2124
+ }>, z.ZodObject<{
2125
+ attributes: z.ZodOptional<z.ZodObject<{
2126
+ value: z.ZodString;
2127
+ }, "strip", z.ZodTypeAny, {
2128
+ value: string;
2129
+ }, {
2130
+ value: string;
2131
+ }>>;
2132
+ starts: z.ZodArray<z.ZodNumber, "many">;
2133
+ ends: z.ZodArray<z.ZodNumber, "many">;
2134
+ link: z.ZodOptional<z.ZodLiteral<"">>;
2135
+ type: z.ZodLiteral<"TextFamily">;
2136
+ }, "strict", z.ZodTypeAny, {
2137
+ type: "TextFamily";
2138
+ starts: number[];
2139
+ ends: number[];
2140
+ link?: "" | undefined;
2141
+ attributes?: {
2142
+ value: string;
2143
+ } | undefined;
2144
+ }, {
2145
+ type: "TextFamily";
2146
+ starts: number[];
2147
+ ends: number[];
2148
+ link?: "" | undefined;
2149
+ attributes?: {
2150
+ value: string;
1747
2151
  } | undefined;
1748
2152
  }>]>, "many">>;
1749
2153
  id: z.ZodString;
@@ -1814,7 +2218,7 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1814
2218
  ends: number[];
1815
2219
  link?: "" | undefined;
1816
2220
  attributes?: {
1817
- color: string;
2221
+ value: string;
1818
2222
  } | undefined;
1819
2223
  } | {
1820
2224
  type: "BackgroundColor";
@@ -1822,7 +2226,23 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1822
2226
  ends: number[];
1823
2227
  link?: "" | undefined;
1824
2228
  attributes?: {
1825
- color: string;
2229
+ value: string;
2230
+ } | undefined;
2231
+ } | {
2232
+ type: "TextSize";
2233
+ starts: number[];
2234
+ ends: number[];
2235
+ link?: "" | undefined;
2236
+ attributes?: {
2237
+ value: string;
2238
+ } | undefined;
2239
+ } | {
2240
+ type: "TextFamily";
2241
+ starts: number[];
2242
+ ends: number[];
2243
+ link?: "" | undefined;
2244
+ attributes?: {
2245
+ value: string;
1826
2246
  } | undefined;
1827
2247
  })[] | undefined;
1828
2248
  revision?: string | undefined;
@@ -1891,7 +2311,7 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1891
2311
  ends: number[];
1892
2312
  link?: "" | undefined;
1893
2313
  attributes?: {
1894
- color: string;
2314
+ value: string;
1895
2315
  } | undefined;
1896
2316
  } | {
1897
2317
  type: "BackgroundColor";
@@ -1899,7 +2319,23 @@ export declare const HMBlockImageSchema: z.ZodObject<{
1899
2319
  ends: number[];
1900
2320
  link?: "" | undefined;
1901
2321
  attributes?: {
1902
- color: string;
2322
+ value: string;
2323
+ } | undefined;
2324
+ } | {
2325
+ type: "TextSize";
2326
+ starts: number[];
2327
+ ends: number[];
2328
+ link?: "" | undefined;
2329
+ attributes?: {
2330
+ value: string;
2331
+ } | undefined;
2332
+ } | {
2333
+ type: "TextFamily";
2334
+ starts: number[];
2335
+ ends: number[];
2336
+ link?: "" | undefined;
2337
+ attributes?: {
2338
+ value: string;
1903
2339
  } | undefined;
1904
2340
  })[] | undefined;
1905
2341
  revision?: string | undefined;
@@ -2180,6 +2616,13 @@ export type HMPublishableAnnotation = {
2180
2616
  starts: number[];
2181
2617
  ends: number[];
2182
2618
  link: string;
2619
+ } | {
2620
+ type: 'TextColor' | 'BackgroundColor' | 'TextSize' | 'TextFamily';
2621
+ starts: number[];
2622
+ ends: number[];
2623
+ attributes: {
2624
+ value: string;
2625
+ };
2183
2626
  };
2184
2627
  export type HMPublishableBlockParagraph = {
2185
2628
  id: string;
@@ -5495,11 +5938,11 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5495
5938
  attributes?: {} | undefined;
5496
5939
  }>, z.ZodObject<{
5497
5940
  attributes: z.ZodOptional<z.ZodObject<{
5498
- color: z.ZodString;
5941
+ value: z.ZodString;
5499
5942
  }, "strip", z.ZodTypeAny, {
5500
- color: string;
5943
+ value: string;
5501
5944
  }, {
5502
- color: string;
5945
+ value: string;
5503
5946
  }>>;
5504
5947
  starts: z.ZodArray<z.ZodNumber, "many">;
5505
5948
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -5511,7 +5954,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5511
5954
  ends: number[];
5512
5955
  link?: "" | undefined;
5513
5956
  attributes?: {
5514
- color: string;
5957
+ value: string;
5515
5958
  } | undefined;
5516
5959
  }, {
5517
5960
  type: "TextColor";
@@ -5519,15 +5962,15 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5519
5962
  ends: number[];
5520
5963
  link?: "" | undefined;
5521
5964
  attributes?: {
5522
- color: string;
5965
+ value: string;
5523
5966
  } | undefined;
5524
5967
  }>, z.ZodObject<{
5525
5968
  attributes: z.ZodOptional<z.ZodObject<{
5526
- color: z.ZodString;
5969
+ value: z.ZodString;
5527
5970
  }, "strip", z.ZodTypeAny, {
5528
- color: string;
5971
+ value: string;
5529
5972
  }, {
5530
- color: string;
5973
+ value: string;
5531
5974
  }>>;
5532
5975
  starts: z.ZodArray<z.ZodNumber, "many">;
5533
5976
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -5539,7 +5982,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5539
5982
  ends: number[];
5540
5983
  link?: "" | undefined;
5541
5984
  attributes?: {
5542
- color: string;
5985
+ value: string;
5543
5986
  } | undefined;
5544
5987
  }, {
5545
5988
  type: "BackgroundColor";
@@ -5547,7 +5990,63 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5547
5990
  ends: number[];
5548
5991
  link?: "" | undefined;
5549
5992
  attributes?: {
5550
- color: string;
5993
+ value: string;
5994
+ } | undefined;
5995
+ }>, z.ZodObject<{
5996
+ attributes: z.ZodOptional<z.ZodObject<{
5997
+ value: z.ZodString;
5998
+ }, "strip", z.ZodTypeAny, {
5999
+ value: string;
6000
+ }, {
6001
+ value: string;
6002
+ }>>;
6003
+ starts: z.ZodArray<z.ZodNumber, "many">;
6004
+ ends: z.ZodArray<z.ZodNumber, "many">;
6005
+ link: z.ZodOptional<z.ZodLiteral<"">>;
6006
+ type: z.ZodLiteral<"TextSize">;
6007
+ }, "strict", z.ZodTypeAny, {
6008
+ type: "TextSize";
6009
+ starts: number[];
6010
+ ends: number[];
6011
+ link?: "" | undefined;
6012
+ attributes?: {
6013
+ value: string;
6014
+ } | undefined;
6015
+ }, {
6016
+ type: "TextSize";
6017
+ starts: number[];
6018
+ ends: number[];
6019
+ link?: "" | undefined;
6020
+ attributes?: {
6021
+ value: string;
6022
+ } | undefined;
6023
+ }>, z.ZodObject<{
6024
+ attributes: z.ZodOptional<z.ZodObject<{
6025
+ value: z.ZodString;
6026
+ }, "strip", z.ZodTypeAny, {
6027
+ value: string;
6028
+ }, {
6029
+ value: string;
6030
+ }>>;
6031
+ starts: z.ZodArray<z.ZodNumber, "many">;
6032
+ ends: z.ZodArray<z.ZodNumber, "many">;
6033
+ link: z.ZodOptional<z.ZodLiteral<"">>;
6034
+ type: z.ZodLiteral<"TextFamily">;
6035
+ }, "strict", z.ZodTypeAny, {
6036
+ type: "TextFamily";
6037
+ starts: number[];
6038
+ ends: number[];
6039
+ link?: "" | undefined;
6040
+ attributes?: {
6041
+ value: string;
6042
+ } | undefined;
6043
+ }, {
6044
+ type: "TextFamily";
6045
+ starts: number[];
6046
+ ends: number[];
6047
+ link?: "" | undefined;
6048
+ attributes?: {
6049
+ value: string;
5551
6050
  } | undefined;
5552
6051
  }>]>, "many">>;
5553
6052
  id: z.ZodString;
@@ -5606,26 +6105,42 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5606
6105
  ends: number[];
5607
6106
  attributes?: {} | undefined;
5608
6107
  } | {
5609
- type: "Range";
6108
+ type: "Range";
6109
+ starts: number[];
6110
+ ends: number[];
6111
+ link?: "" | undefined;
6112
+ attributes?: {} | undefined;
6113
+ } | {
6114
+ type: "TextColor";
6115
+ starts: number[];
6116
+ ends: number[];
6117
+ link?: "" | undefined;
6118
+ attributes?: {
6119
+ value: string;
6120
+ } | undefined;
6121
+ } | {
6122
+ type: "BackgroundColor";
5610
6123
  starts: number[];
5611
6124
  ends: number[];
5612
6125
  link?: "" | undefined;
5613
- attributes?: {} | undefined;
6126
+ attributes?: {
6127
+ value: string;
6128
+ } | undefined;
5614
6129
  } | {
5615
- type: "TextColor";
6130
+ type: "TextSize";
5616
6131
  starts: number[];
5617
6132
  ends: number[];
5618
6133
  link?: "" | undefined;
5619
6134
  attributes?: {
5620
- color: string;
6135
+ value: string;
5621
6136
  } | undefined;
5622
6137
  } | {
5623
- type: "BackgroundColor";
6138
+ type: "TextFamily";
5624
6139
  starts: number[];
5625
6140
  ends: number[];
5626
6141
  link?: "" | undefined;
5627
6142
  attributes?: {
5628
- color: string;
6143
+ value: string;
5629
6144
  } | undefined;
5630
6145
  })[] | undefined;
5631
6146
  revision?: string | undefined;
@@ -5692,7 +6207,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5692
6207
  ends: number[];
5693
6208
  link?: "" | undefined;
5694
6209
  attributes?: {
5695
- color: string;
6210
+ value: string;
5696
6211
  } | undefined;
5697
6212
  } | {
5698
6213
  type: "BackgroundColor";
@@ -5700,7 +6215,23 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5700
6215
  ends: number[];
5701
6216
  link?: "" | undefined;
5702
6217
  attributes?: {
5703
- color: string;
6218
+ value: string;
6219
+ } | undefined;
6220
+ } | {
6221
+ type: "TextSize";
6222
+ starts: number[];
6223
+ ends: number[];
6224
+ link?: "" | undefined;
6225
+ attributes?: {
6226
+ value: string;
6227
+ } | undefined;
6228
+ } | {
6229
+ type: "TextFamily";
6230
+ starts: number[];
6231
+ ends: number[];
6232
+ link?: "" | undefined;
6233
+ attributes?: {
6234
+ value: string;
5704
6235
  } | undefined;
5705
6236
  })[] | undefined;
5706
6237
  revision?: string | undefined;
@@ -5862,11 +6393,11 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5862
6393
  attributes?: {} | undefined;
5863
6394
  }>, z.ZodObject<{
5864
6395
  attributes: z.ZodOptional<z.ZodObject<{
5865
- color: z.ZodString;
6396
+ value: z.ZodString;
5866
6397
  }, "strip", z.ZodTypeAny, {
5867
- color: string;
6398
+ value: string;
5868
6399
  }, {
5869
- color: string;
6400
+ value: string;
5870
6401
  }>>;
5871
6402
  starts: z.ZodArray<z.ZodNumber, "many">;
5872
6403
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -5878,7 +6409,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5878
6409
  ends: number[];
5879
6410
  link?: "" | undefined;
5880
6411
  attributes?: {
5881
- color: string;
6412
+ value: string;
5882
6413
  } | undefined;
5883
6414
  }, {
5884
6415
  type: "TextColor";
@@ -5886,15 +6417,15 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5886
6417
  ends: number[];
5887
6418
  link?: "" | undefined;
5888
6419
  attributes?: {
5889
- color: string;
6420
+ value: string;
5890
6421
  } | undefined;
5891
6422
  }>, z.ZodObject<{
5892
6423
  attributes: z.ZodOptional<z.ZodObject<{
5893
- color: z.ZodString;
6424
+ value: z.ZodString;
5894
6425
  }, "strip", z.ZodTypeAny, {
5895
- color: string;
6426
+ value: string;
5896
6427
  }, {
5897
- color: string;
6428
+ value: string;
5898
6429
  }>>;
5899
6430
  starts: z.ZodArray<z.ZodNumber, "many">;
5900
6431
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -5906,7 +6437,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5906
6437
  ends: number[];
5907
6438
  link?: "" | undefined;
5908
6439
  attributes?: {
5909
- color: string;
6440
+ value: string;
5910
6441
  } | undefined;
5911
6442
  }, {
5912
6443
  type: "BackgroundColor";
@@ -5914,7 +6445,63 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5914
6445
  ends: number[];
5915
6446
  link?: "" | undefined;
5916
6447
  attributes?: {
5917
- color: string;
6448
+ value: string;
6449
+ } | undefined;
6450
+ }>, z.ZodObject<{
6451
+ attributes: z.ZodOptional<z.ZodObject<{
6452
+ value: z.ZodString;
6453
+ }, "strip", z.ZodTypeAny, {
6454
+ value: string;
6455
+ }, {
6456
+ value: string;
6457
+ }>>;
6458
+ starts: z.ZodArray<z.ZodNumber, "many">;
6459
+ ends: z.ZodArray<z.ZodNumber, "many">;
6460
+ link: z.ZodOptional<z.ZodLiteral<"">>;
6461
+ type: z.ZodLiteral<"TextSize">;
6462
+ }, "strict", z.ZodTypeAny, {
6463
+ type: "TextSize";
6464
+ starts: number[];
6465
+ ends: number[];
6466
+ link?: "" | undefined;
6467
+ attributes?: {
6468
+ value: string;
6469
+ } | undefined;
6470
+ }, {
6471
+ type: "TextSize";
6472
+ starts: number[];
6473
+ ends: number[];
6474
+ link?: "" | undefined;
6475
+ attributes?: {
6476
+ value: string;
6477
+ } | undefined;
6478
+ }>, z.ZodObject<{
6479
+ attributes: z.ZodOptional<z.ZodObject<{
6480
+ value: z.ZodString;
6481
+ }, "strip", z.ZodTypeAny, {
6482
+ value: string;
6483
+ }, {
6484
+ value: string;
6485
+ }>>;
6486
+ starts: z.ZodArray<z.ZodNumber, "many">;
6487
+ ends: z.ZodArray<z.ZodNumber, "many">;
6488
+ link: z.ZodOptional<z.ZodLiteral<"">>;
6489
+ type: z.ZodLiteral<"TextFamily">;
6490
+ }, "strict", z.ZodTypeAny, {
6491
+ type: "TextFamily";
6492
+ starts: number[];
6493
+ ends: number[];
6494
+ link?: "" | undefined;
6495
+ attributes?: {
6496
+ value: string;
6497
+ } | undefined;
6498
+ }, {
6499
+ type: "TextFamily";
6500
+ starts: number[];
6501
+ ends: number[];
6502
+ link?: "" | undefined;
6503
+ attributes?: {
6504
+ value: string;
5918
6505
  } | undefined;
5919
6506
  }>]>, "many">>;
5920
6507
  id: z.ZodString;
@@ -5984,7 +6571,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5984
6571
  ends: number[];
5985
6572
  link?: "" | undefined;
5986
6573
  attributes?: {
5987
- color: string;
6574
+ value: string;
5988
6575
  } | undefined;
5989
6576
  } | {
5990
6577
  type: "BackgroundColor";
@@ -5992,7 +6579,23 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
5992
6579
  ends: number[];
5993
6580
  link?: "" | undefined;
5994
6581
  attributes?: {
5995
- color: string;
6582
+ value: string;
6583
+ } | undefined;
6584
+ } | {
6585
+ type: "TextSize";
6586
+ starts: number[];
6587
+ ends: number[];
6588
+ link?: "" | undefined;
6589
+ attributes?: {
6590
+ value: string;
6591
+ } | undefined;
6592
+ } | {
6593
+ type: "TextFamily";
6594
+ starts: number[];
6595
+ ends: number[];
6596
+ link?: "" | undefined;
6597
+ attributes?: {
6598
+ value: string;
5996
6599
  } | undefined;
5997
6600
  })[] | undefined;
5998
6601
  revision?: string | undefined;
@@ -6059,7 +6662,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6059
6662
  ends: number[];
6060
6663
  link?: "" | undefined;
6061
6664
  attributes?: {
6062
- color: string;
6665
+ value: string;
6063
6666
  } | undefined;
6064
6667
  } | {
6065
6668
  type: "BackgroundColor";
@@ -6067,7 +6670,23 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6067
6670
  ends: number[];
6068
6671
  link?: "" | undefined;
6069
6672
  attributes?: {
6070
- color: string;
6673
+ value: string;
6674
+ } | undefined;
6675
+ } | {
6676
+ type: "TextSize";
6677
+ starts: number[];
6678
+ ends: number[];
6679
+ link?: "" | undefined;
6680
+ attributes?: {
6681
+ value: string;
6682
+ } | undefined;
6683
+ } | {
6684
+ type: "TextFamily";
6685
+ starts: number[];
6686
+ ends: number[];
6687
+ link?: "" | undefined;
6688
+ attributes?: {
6689
+ value: string;
6071
6690
  } | undefined;
6072
6691
  })[] | undefined;
6073
6692
  revision?: string | undefined;
@@ -6319,11 +6938,11 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6319
6938
  attributes?: {} | undefined;
6320
6939
  }>, z.ZodObject<{
6321
6940
  attributes: z.ZodOptional<z.ZodObject<{
6322
- color: z.ZodString;
6941
+ value: z.ZodString;
6323
6942
  }, "strip", z.ZodTypeAny, {
6324
- color: string;
6943
+ value: string;
6325
6944
  }, {
6326
- color: string;
6945
+ value: string;
6327
6946
  }>>;
6328
6947
  starts: z.ZodArray<z.ZodNumber, "many">;
6329
6948
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -6335,7 +6954,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6335
6954
  ends: number[];
6336
6955
  link?: "" | undefined;
6337
6956
  attributes?: {
6338
- color: string;
6957
+ value: string;
6339
6958
  } | undefined;
6340
6959
  }, {
6341
6960
  type: "TextColor";
@@ -6343,15 +6962,15 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6343
6962
  ends: number[];
6344
6963
  link?: "" | undefined;
6345
6964
  attributes?: {
6346
- color: string;
6965
+ value: string;
6347
6966
  } | undefined;
6348
6967
  }>, z.ZodObject<{
6349
6968
  attributes: z.ZodOptional<z.ZodObject<{
6350
- color: z.ZodString;
6969
+ value: z.ZodString;
6351
6970
  }, "strip", z.ZodTypeAny, {
6352
- color: string;
6971
+ value: string;
6353
6972
  }, {
6354
- color: string;
6973
+ value: string;
6355
6974
  }>>;
6356
6975
  starts: z.ZodArray<z.ZodNumber, "many">;
6357
6976
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -6363,7 +6982,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6363
6982
  ends: number[];
6364
6983
  link?: "" | undefined;
6365
6984
  attributes?: {
6366
- color: string;
6985
+ value: string;
6367
6986
  } | undefined;
6368
6987
  }, {
6369
6988
  type: "BackgroundColor";
@@ -6371,7 +6990,63 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6371
6990
  ends: number[];
6372
6991
  link?: "" | undefined;
6373
6992
  attributes?: {
6374
- color: string;
6993
+ value: string;
6994
+ } | undefined;
6995
+ }>, z.ZodObject<{
6996
+ attributes: z.ZodOptional<z.ZodObject<{
6997
+ value: z.ZodString;
6998
+ }, "strip", z.ZodTypeAny, {
6999
+ value: string;
7000
+ }, {
7001
+ value: string;
7002
+ }>>;
7003
+ starts: z.ZodArray<z.ZodNumber, "many">;
7004
+ ends: z.ZodArray<z.ZodNumber, "many">;
7005
+ link: z.ZodOptional<z.ZodLiteral<"">>;
7006
+ type: z.ZodLiteral<"TextSize">;
7007
+ }, "strict", z.ZodTypeAny, {
7008
+ type: "TextSize";
7009
+ starts: number[];
7010
+ ends: number[];
7011
+ link?: "" | undefined;
7012
+ attributes?: {
7013
+ value: string;
7014
+ } | undefined;
7015
+ }, {
7016
+ type: "TextSize";
7017
+ starts: number[];
7018
+ ends: number[];
7019
+ link?: "" | undefined;
7020
+ attributes?: {
7021
+ value: string;
7022
+ } | undefined;
7023
+ }>, z.ZodObject<{
7024
+ attributes: z.ZodOptional<z.ZodObject<{
7025
+ value: z.ZodString;
7026
+ }, "strip", z.ZodTypeAny, {
7027
+ value: string;
7028
+ }, {
7029
+ value: string;
7030
+ }>>;
7031
+ starts: z.ZodArray<z.ZodNumber, "many">;
7032
+ ends: z.ZodArray<z.ZodNumber, "many">;
7033
+ link: z.ZodOptional<z.ZodLiteral<"">>;
7034
+ type: z.ZodLiteral<"TextFamily">;
7035
+ }, "strict", z.ZodTypeAny, {
7036
+ type: "TextFamily";
7037
+ starts: number[];
7038
+ ends: number[];
7039
+ link?: "" | undefined;
7040
+ attributes?: {
7041
+ value: string;
7042
+ } | undefined;
7043
+ }, {
7044
+ type: "TextFamily";
7045
+ starts: number[];
7046
+ ends: number[];
7047
+ link?: "" | undefined;
7048
+ attributes?: {
7049
+ value: string;
6375
7050
  } | undefined;
6376
7051
  }>]>, "many">>;
6377
7052
  id: z.ZodString;
@@ -6442,7 +7117,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6442
7117
  ends: number[];
6443
7118
  link?: "" | undefined;
6444
7119
  attributes?: {
6445
- color: string;
7120
+ value: string;
6446
7121
  } | undefined;
6447
7122
  } | {
6448
7123
  type: "BackgroundColor";
@@ -6450,7 +7125,23 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6450
7125
  ends: number[];
6451
7126
  link?: "" | undefined;
6452
7127
  attributes?: {
6453
- color: string;
7128
+ value: string;
7129
+ } | undefined;
7130
+ } | {
7131
+ type: "TextSize";
7132
+ starts: number[];
7133
+ ends: number[];
7134
+ link?: "" | undefined;
7135
+ attributes?: {
7136
+ value: string;
7137
+ } | undefined;
7138
+ } | {
7139
+ type: "TextFamily";
7140
+ starts: number[];
7141
+ ends: number[];
7142
+ link?: "" | undefined;
7143
+ attributes?: {
7144
+ value: string;
6454
7145
  } | undefined;
6455
7146
  })[] | undefined;
6456
7147
  revision?: string | undefined;
@@ -6519,7 +7210,7 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6519
7210
  ends: number[];
6520
7211
  link?: "" | undefined;
6521
7212
  attributes?: {
6522
- color: string;
7213
+ value: string;
6523
7214
  } | undefined;
6524
7215
  } | {
6525
7216
  type: "BackgroundColor";
@@ -6527,7 +7218,23 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6527
7218
  ends: number[];
6528
7219
  link?: "" | undefined;
6529
7220
  attributes?: {
6530
- color: string;
7221
+ value: string;
7222
+ } | undefined;
7223
+ } | {
7224
+ type: "TextSize";
7225
+ starts: number[];
7226
+ ends: number[];
7227
+ link?: "" | undefined;
7228
+ attributes?: {
7229
+ value: string;
7230
+ } | undefined;
7231
+ } | {
7232
+ type: "TextFamily";
7233
+ starts: number[];
7234
+ ends: number[];
7235
+ link?: "" | undefined;
7236
+ attributes?: {
7237
+ value: string;
6531
7238
  } | undefined;
6532
7239
  })[] | undefined;
6533
7240
  revision?: string | undefined;
@@ -7121,76 +7828,132 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7121
7828
  }>, z.ZodObject<{
7122
7829
  starts: z.ZodArray<z.ZodNumber, "many">;
7123
7830
  ends: z.ZodArray<z.ZodNumber, "many">;
7124
- attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
7831
+ attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
7832
+ link: z.ZodOptional<z.ZodLiteral<"">>;
7833
+ type: z.ZodLiteral<"Range">;
7834
+ }, "strict", z.ZodTypeAny, {
7835
+ type: "Range";
7836
+ starts: number[];
7837
+ ends: number[];
7838
+ link?: "" | undefined;
7839
+ attributes?: {} | undefined;
7840
+ }, {
7841
+ type: "Range";
7842
+ starts: number[];
7843
+ ends: number[];
7844
+ link?: "" | undefined;
7845
+ attributes?: {} | undefined;
7846
+ }>, z.ZodObject<{
7847
+ attributes: z.ZodOptional<z.ZodObject<{
7848
+ value: z.ZodString;
7849
+ }, "strip", z.ZodTypeAny, {
7850
+ value: string;
7851
+ }, {
7852
+ value: string;
7853
+ }>>;
7854
+ starts: z.ZodArray<z.ZodNumber, "many">;
7855
+ ends: z.ZodArray<z.ZodNumber, "many">;
7856
+ link: z.ZodOptional<z.ZodLiteral<"">>;
7857
+ type: z.ZodLiteral<"TextColor">;
7858
+ }, "strict", z.ZodTypeAny, {
7859
+ type: "TextColor";
7860
+ starts: number[];
7861
+ ends: number[];
7862
+ link?: "" | undefined;
7863
+ attributes?: {
7864
+ value: string;
7865
+ } | undefined;
7866
+ }, {
7867
+ type: "TextColor";
7868
+ starts: number[];
7869
+ ends: number[];
7870
+ link?: "" | undefined;
7871
+ attributes?: {
7872
+ value: string;
7873
+ } | undefined;
7874
+ }>, z.ZodObject<{
7875
+ attributes: z.ZodOptional<z.ZodObject<{
7876
+ value: z.ZodString;
7877
+ }, "strip", z.ZodTypeAny, {
7878
+ value: string;
7879
+ }, {
7880
+ value: string;
7881
+ }>>;
7882
+ starts: z.ZodArray<z.ZodNumber, "many">;
7883
+ ends: z.ZodArray<z.ZodNumber, "many">;
7125
7884
  link: z.ZodOptional<z.ZodLiteral<"">>;
7126
- type: z.ZodLiteral<"Range">;
7885
+ type: z.ZodLiteral<"BackgroundColor">;
7127
7886
  }, "strict", z.ZodTypeAny, {
7128
- type: "Range";
7887
+ type: "BackgroundColor";
7129
7888
  starts: number[];
7130
7889
  ends: number[];
7131
7890
  link?: "" | undefined;
7132
- attributes?: {} | undefined;
7891
+ attributes?: {
7892
+ value: string;
7893
+ } | undefined;
7133
7894
  }, {
7134
- type: "Range";
7895
+ type: "BackgroundColor";
7135
7896
  starts: number[];
7136
7897
  ends: number[];
7137
7898
  link?: "" | undefined;
7138
- attributes?: {} | undefined;
7899
+ attributes?: {
7900
+ value: string;
7901
+ } | undefined;
7139
7902
  }>, z.ZodObject<{
7140
7903
  attributes: z.ZodOptional<z.ZodObject<{
7141
- color: z.ZodString;
7904
+ value: z.ZodString;
7142
7905
  }, "strip", z.ZodTypeAny, {
7143
- color: string;
7906
+ value: string;
7144
7907
  }, {
7145
- color: string;
7908
+ value: string;
7146
7909
  }>>;
7147
7910
  starts: z.ZodArray<z.ZodNumber, "many">;
7148
7911
  ends: z.ZodArray<z.ZodNumber, "many">;
7149
7912
  link: z.ZodOptional<z.ZodLiteral<"">>;
7150
- type: z.ZodLiteral<"TextColor">;
7913
+ type: z.ZodLiteral<"TextSize">;
7151
7914
  }, "strict", z.ZodTypeAny, {
7152
- type: "TextColor";
7915
+ type: "TextSize";
7153
7916
  starts: number[];
7154
7917
  ends: number[];
7155
7918
  link?: "" | undefined;
7156
7919
  attributes?: {
7157
- color: string;
7920
+ value: string;
7158
7921
  } | undefined;
7159
7922
  }, {
7160
- type: "TextColor";
7923
+ type: "TextSize";
7161
7924
  starts: number[];
7162
7925
  ends: number[];
7163
7926
  link?: "" | undefined;
7164
7927
  attributes?: {
7165
- color: string;
7928
+ value: string;
7166
7929
  } | undefined;
7167
7930
  }>, z.ZodObject<{
7168
7931
  attributes: z.ZodOptional<z.ZodObject<{
7169
- color: z.ZodString;
7932
+ value: z.ZodString;
7170
7933
  }, "strip", z.ZodTypeAny, {
7171
- color: string;
7934
+ value: string;
7172
7935
  }, {
7173
- color: string;
7936
+ value: string;
7174
7937
  }>>;
7175
7938
  starts: z.ZodArray<z.ZodNumber, "many">;
7176
7939
  ends: z.ZodArray<z.ZodNumber, "many">;
7177
7940
  link: z.ZodOptional<z.ZodLiteral<"">>;
7178
- type: z.ZodLiteral<"BackgroundColor">;
7941
+ type: z.ZodLiteral<"TextFamily">;
7179
7942
  }, "strict", z.ZodTypeAny, {
7180
- type: "BackgroundColor";
7943
+ type: "TextFamily";
7181
7944
  starts: number[];
7182
7945
  ends: number[];
7183
7946
  link?: "" | undefined;
7184
7947
  attributes?: {
7185
- color: string;
7948
+ value: string;
7186
7949
  } | undefined;
7187
7950
  }, {
7188
- type: "BackgroundColor";
7951
+ type: "TextFamily";
7189
7952
  starts: number[];
7190
7953
  ends: number[];
7191
7954
  link?: "" | undefined;
7192
7955
  attributes?: {
7193
- color: string;
7956
+ value: string;
7194
7957
  } | undefined;
7195
7958
  }>]>, "many">>;
7196
7959
  id: z.ZodString;
@@ -7260,7 +8023,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7260
8023
  ends: number[];
7261
8024
  link?: "" | undefined;
7262
8025
  attributes?: {
7263
- color: string;
8026
+ value: string;
7264
8027
  } | undefined;
7265
8028
  } | {
7266
8029
  type: "BackgroundColor";
@@ -7268,7 +8031,23 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7268
8031
  ends: number[];
7269
8032
  link?: "" | undefined;
7270
8033
  attributes?: {
7271
- color: string;
8034
+ value: string;
8035
+ } | undefined;
8036
+ } | {
8037
+ type: "TextSize";
8038
+ starts: number[];
8039
+ ends: number[];
8040
+ link?: "" | undefined;
8041
+ attributes?: {
8042
+ value: string;
8043
+ } | undefined;
8044
+ } | {
8045
+ type: "TextFamily";
8046
+ starts: number[];
8047
+ ends: number[];
8048
+ link?: "" | undefined;
8049
+ attributes?: {
8050
+ value: string;
7272
8051
  } | undefined;
7273
8052
  })[] | undefined;
7274
8053
  revision?: string | undefined;
@@ -7335,7 +8114,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7335
8114
  ends: number[];
7336
8115
  link?: "" | undefined;
7337
8116
  attributes?: {
7338
- color: string;
8117
+ value: string;
7339
8118
  } | undefined;
7340
8119
  } | {
7341
8120
  type: "BackgroundColor";
@@ -7343,7 +8122,23 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7343
8122
  ends: number[];
7344
8123
  link?: "" | undefined;
7345
8124
  attributes?: {
7346
- color: string;
8125
+ value: string;
8126
+ } | undefined;
8127
+ } | {
8128
+ type: "TextSize";
8129
+ starts: number[];
8130
+ ends: number[];
8131
+ link?: "" | undefined;
8132
+ attributes?: {
8133
+ value: string;
8134
+ } | undefined;
8135
+ } | {
8136
+ type: "TextFamily";
8137
+ starts: number[];
8138
+ ends: number[];
8139
+ link?: "" | undefined;
8140
+ attributes?: {
8141
+ value: string;
7347
8142
  } | undefined;
7348
8143
  })[] | undefined;
7349
8144
  revision?: string | undefined;
@@ -7505,11 +8300,11 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7505
8300
  attributes?: {} | undefined;
7506
8301
  }>, z.ZodObject<{
7507
8302
  attributes: z.ZodOptional<z.ZodObject<{
7508
- color: z.ZodString;
8303
+ value: z.ZodString;
7509
8304
  }, "strip", z.ZodTypeAny, {
7510
- color: string;
8305
+ value: string;
7511
8306
  }, {
7512
- color: string;
8307
+ value: string;
7513
8308
  }>>;
7514
8309
  starts: z.ZodArray<z.ZodNumber, "many">;
7515
8310
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -7521,7 +8316,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7521
8316
  ends: number[];
7522
8317
  link?: "" | undefined;
7523
8318
  attributes?: {
7524
- color: string;
8319
+ value: string;
7525
8320
  } | undefined;
7526
8321
  }, {
7527
8322
  type: "TextColor";
@@ -7529,15 +8324,15 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7529
8324
  ends: number[];
7530
8325
  link?: "" | undefined;
7531
8326
  attributes?: {
7532
- color: string;
8327
+ value: string;
7533
8328
  } | undefined;
7534
8329
  }>, z.ZodObject<{
7535
8330
  attributes: z.ZodOptional<z.ZodObject<{
7536
- color: z.ZodString;
8331
+ value: z.ZodString;
7537
8332
  }, "strip", z.ZodTypeAny, {
7538
- color: string;
8333
+ value: string;
7539
8334
  }, {
7540
- color: string;
8335
+ value: string;
7541
8336
  }>>;
7542
8337
  starts: z.ZodArray<z.ZodNumber, "many">;
7543
8338
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -7549,7 +8344,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7549
8344
  ends: number[];
7550
8345
  link?: "" | undefined;
7551
8346
  attributes?: {
7552
- color: string;
8347
+ value: string;
7553
8348
  } | undefined;
7554
8349
  }, {
7555
8350
  type: "BackgroundColor";
@@ -7557,7 +8352,63 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7557
8352
  ends: number[];
7558
8353
  link?: "" | undefined;
7559
8354
  attributes?: {
7560
- color: string;
8355
+ value: string;
8356
+ } | undefined;
8357
+ }>, z.ZodObject<{
8358
+ attributes: z.ZodOptional<z.ZodObject<{
8359
+ value: z.ZodString;
8360
+ }, "strip", z.ZodTypeAny, {
8361
+ value: string;
8362
+ }, {
8363
+ value: string;
8364
+ }>>;
8365
+ starts: z.ZodArray<z.ZodNumber, "many">;
8366
+ ends: z.ZodArray<z.ZodNumber, "many">;
8367
+ link: z.ZodOptional<z.ZodLiteral<"">>;
8368
+ type: z.ZodLiteral<"TextSize">;
8369
+ }, "strict", z.ZodTypeAny, {
8370
+ type: "TextSize";
8371
+ starts: number[];
8372
+ ends: number[];
8373
+ link?: "" | undefined;
8374
+ attributes?: {
8375
+ value: string;
8376
+ } | undefined;
8377
+ }, {
8378
+ type: "TextSize";
8379
+ starts: number[];
8380
+ ends: number[];
8381
+ link?: "" | undefined;
8382
+ attributes?: {
8383
+ value: string;
8384
+ } | undefined;
8385
+ }>, z.ZodObject<{
8386
+ attributes: z.ZodOptional<z.ZodObject<{
8387
+ value: z.ZodString;
8388
+ }, "strip", z.ZodTypeAny, {
8389
+ value: string;
8390
+ }, {
8391
+ value: string;
8392
+ }>>;
8393
+ starts: z.ZodArray<z.ZodNumber, "many">;
8394
+ ends: z.ZodArray<z.ZodNumber, "many">;
8395
+ link: z.ZodOptional<z.ZodLiteral<"">>;
8396
+ type: z.ZodLiteral<"TextFamily">;
8397
+ }, "strict", z.ZodTypeAny, {
8398
+ type: "TextFamily";
8399
+ starts: number[];
8400
+ ends: number[];
8401
+ link?: "" | undefined;
8402
+ attributes?: {
8403
+ value: string;
8404
+ } | undefined;
8405
+ }, {
8406
+ type: "TextFamily";
8407
+ starts: number[];
8408
+ ends: number[];
8409
+ link?: "" | undefined;
8410
+ attributes?: {
8411
+ value: string;
7561
8412
  } | undefined;
7562
8413
  }>]>, "many">>;
7563
8414
  id: z.ZodString;
@@ -7627,7 +8478,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7627
8478
  ends: number[];
7628
8479
  link?: "" | undefined;
7629
8480
  attributes?: {
7630
- color: string;
8481
+ value: string;
7631
8482
  } | undefined;
7632
8483
  } | {
7633
8484
  type: "BackgroundColor";
@@ -7635,7 +8486,23 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7635
8486
  ends: number[];
7636
8487
  link?: "" | undefined;
7637
8488
  attributes?: {
7638
- color: string;
8489
+ value: string;
8490
+ } | undefined;
8491
+ } | {
8492
+ type: "TextSize";
8493
+ starts: number[];
8494
+ ends: number[];
8495
+ link?: "" | undefined;
8496
+ attributes?: {
8497
+ value: string;
8498
+ } | undefined;
8499
+ } | {
8500
+ type: "TextFamily";
8501
+ starts: number[];
8502
+ ends: number[];
8503
+ link?: "" | undefined;
8504
+ attributes?: {
8505
+ value: string;
7639
8506
  } | undefined;
7640
8507
  })[] | undefined;
7641
8508
  revision?: string | undefined;
@@ -7702,7 +8569,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7702
8569
  ends: number[];
7703
8570
  link?: "" | undefined;
7704
8571
  attributes?: {
7705
- color: string;
8572
+ value: string;
7706
8573
  } | undefined;
7707
8574
  } | {
7708
8575
  type: "BackgroundColor";
@@ -7710,7 +8577,23 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7710
8577
  ends: number[];
7711
8578
  link?: "" | undefined;
7712
8579
  attributes?: {
7713
- color: string;
8580
+ value: string;
8581
+ } | undefined;
8582
+ } | {
8583
+ type: "TextSize";
8584
+ starts: number[];
8585
+ ends: number[];
8586
+ link?: "" | undefined;
8587
+ attributes?: {
8588
+ value: string;
8589
+ } | undefined;
8590
+ } | {
8591
+ type: "TextFamily";
8592
+ starts: number[];
8593
+ ends: number[];
8594
+ link?: "" | undefined;
8595
+ attributes?: {
8596
+ value: string;
7714
8597
  } | undefined;
7715
8598
  })[] | undefined;
7716
8599
  revision?: string | undefined;
@@ -7962,11 +8845,11 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7962
8845
  attributes?: {} | undefined;
7963
8846
  }>, z.ZodObject<{
7964
8847
  attributes: z.ZodOptional<z.ZodObject<{
7965
- color: z.ZodString;
8848
+ value: z.ZodString;
7966
8849
  }, "strip", z.ZodTypeAny, {
7967
- color: string;
8850
+ value: string;
7968
8851
  }, {
7969
- color: string;
8852
+ value: string;
7970
8853
  }>>;
7971
8854
  starts: z.ZodArray<z.ZodNumber, "many">;
7972
8855
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -7978,7 +8861,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7978
8861
  ends: number[];
7979
8862
  link?: "" | undefined;
7980
8863
  attributes?: {
7981
- color: string;
8864
+ value: string;
7982
8865
  } | undefined;
7983
8866
  }, {
7984
8867
  type: "TextColor";
@@ -7986,15 +8869,15 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
7986
8869
  ends: number[];
7987
8870
  link?: "" | undefined;
7988
8871
  attributes?: {
7989
- color: string;
8872
+ value: string;
7990
8873
  } | undefined;
7991
8874
  }>, z.ZodObject<{
7992
8875
  attributes: z.ZodOptional<z.ZodObject<{
7993
- color: z.ZodString;
8876
+ value: z.ZodString;
7994
8877
  }, "strip", z.ZodTypeAny, {
7995
- color: string;
8878
+ value: string;
7996
8879
  }, {
7997
- color: string;
8880
+ value: string;
7998
8881
  }>>;
7999
8882
  starts: z.ZodArray<z.ZodNumber, "many">;
8000
8883
  ends: z.ZodArray<z.ZodNumber, "many">;
@@ -8006,7 +8889,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8006
8889
  ends: number[];
8007
8890
  link?: "" | undefined;
8008
8891
  attributes?: {
8009
- color: string;
8892
+ value: string;
8010
8893
  } | undefined;
8011
8894
  }, {
8012
8895
  type: "BackgroundColor";
@@ -8014,7 +8897,63 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8014
8897
  ends: number[];
8015
8898
  link?: "" | undefined;
8016
8899
  attributes?: {
8017
- color: string;
8900
+ value: string;
8901
+ } | undefined;
8902
+ }>, z.ZodObject<{
8903
+ attributes: z.ZodOptional<z.ZodObject<{
8904
+ value: z.ZodString;
8905
+ }, "strip", z.ZodTypeAny, {
8906
+ value: string;
8907
+ }, {
8908
+ value: string;
8909
+ }>>;
8910
+ starts: z.ZodArray<z.ZodNumber, "many">;
8911
+ ends: z.ZodArray<z.ZodNumber, "many">;
8912
+ link: z.ZodOptional<z.ZodLiteral<"">>;
8913
+ type: z.ZodLiteral<"TextSize">;
8914
+ }, "strict", z.ZodTypeAny, {
8915
+ type: "TextSize";
8916
+ starts: number[];
8917
+ ends: number[];
8918
+ link?: "" | undefined;
8919
+ attributes?: {
8920
+ value: string;
8921
+ } | undefined;
8922
+ }, {
8923
+ type: "TextSize";
8924
+ starts: number[];
8925
+ ends: number[];
8926
+ link?: "" | undefined;
8927
+ attributes?: {
8928
+ value: string;
8929
+ } | undefined;
8930
+ }>, z.ZodObject<{
8931
+ attributes: z.ZodOptional<z.ZodObject<{
8932
+ value: z.ZodString;
8933
+ }, "strip", z.ZodTypeAny, {
8934
+ value: string;
8935
+ }, {
8936
+ value: string;
8937
+ }>>;
8938
+ starts: z.ZodArray<z.ZodNumber, "many">;
8939
+ ends: z.ZodArray<z.ZodNumber, "many">;
8940
+ link: z.ZodOptional<z.ZodLiteral<"">>;
8941
+ type: z.ZodLiteral<"TextFamily">;
8942
+ }, "strict", z.ZodTypeAny, {
8943
+ type: "TextFamily";
8944
+ starts: number[];
8945
+ ends: number[];
8946
+ link?: "" | undefined;
8947
+ attributes?: {
8948
+ value: string;
8949
+ } | undefined;
8950
+ }, {
8951
+ type: "TextFamily";
8952
+ starts: number[];
8953
+ ends: number[];
8954
+ link?: "" | undefined;
8955
+ attributes?: {
8956
+ value: string;
8018
8957
  } | undefined;
8019
8958
  }>]>, "many">>;
8020
8959
  id: z.ZodString;
@@ -8085,7 +9024,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8085
9024
  ends: number[];
8086
9025
  link?: "" | undefined;
8087
9026
  attributes?: {
8088
- color: string;
9027
+ value: string;
8089
9028
  } | undefined;
8090
9029
  } | {
8091
9030
  type: "BackgroundColor";
@@ -8093,7 +9032,23 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8093
9032
  ends: number[];
8094
9033
  link?: "" | undefined;
8095
9034
  attributes?: {
8096
- color: string;
9035
+ value: string;
9036
+ } | undefined;
9037
+ } | {
9038
+ type: "TextSize";
9039
+ starts: number[];
9040
+ ends: number[];
9041
+ link?: "" | undefined;
9042
+ attributes?: {
9043
+ value: string;
9044
+ } | undefined;
9045
+ } | {
9046
+ type: "TextFamily";
9047
+ starts: number[];
9048
+ ends: number[];
9049
+ link?: "" | undefined;
9050
+ attributes?: {
9051
+ value: string;
8097
9052
  } | undefined;
8098
9053
  })[] | undefined;
8099
9054
  revision?: string | undefined;
@@ -8162,7 +9117,7 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8162
9117
  ends: number[];
8163
9118
  link?: "" | undefined;
8164
9119
  attributes?: {
8165
- color: string;
9120
+ value: string;
8166
9121
  } | undefined;
8167
9122
  } | {
8168
9123
  type: "BackgroundColor";
@@ -8170,7 +9125,23 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8170
9125
  ends: number[];
8171
9126
  link?: "" | undefined;
8172
9127
  attributes?: {
8173
- color: string;
9128
+ value: string;
9129
+ } | undefined;
9130
+ } | {
9131
+ type: "TextSize";
9132
+ starts: number[];
9133
+ ends: number[];
9134
+ link?: "" | undefined;
9135
+ attributes?: {
9136
+ value: string;
9137
+ } | undefined;
9138
+ } | {
9139
+ type: "TextFamily";
9140
+ starts: number[];
9141
+ ends: number[];
9142
+ link?: "" | undefined;
9143
+ attributes?: {
9144
+ value: string;
8174
9145
  } | undefined;
8175
9146
  })[] | undefined;
8176
9147
  revision?: string | undefined;