epub-codec 1.3.6 → 1.3.8

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.
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
147
147
  paragraph: z.ZodOptional<z.ZodObject<{
148
148
  alignment: z.ZodOptional<z.ZodEnum<{
149
149
  left: "left";
150
- right: "right";
151
150
  center: "center";
151
+ right: "right";
152
152
  justify: "justify";
153
153
  }>>;
154
154
  list: z.ZodOptional<z.ZodObject<{
@@ -233,9 +233,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
233
233
  symbol: z.ZodString;
234
234
  name: z.ZodOptional<z.ZodString>;
235
235
  dimension: z.ZodRecord<z.ZodEnum<{
236
+ time: "time";
236
237
  length: "length";
237
238
  mass: "mass";
238
- time: "time";
239
239
  electricCurrent: "electricCurrent";
240
240
  thermodynamicTemperature: "thermodynamicTemperature";
241
241
  amountOfSubstance: "amountOfSubstance";
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
296
296
  paragraph: z.ZodOptional<z.ZodObject<{
297
297
  alignment: z.ZodOptional<z.ZodEnum<{
298
298
  left: "left";
299
- right: "right";
300
299
  center: "center";
300
+ right: "right";
301
301
  justify: "justify";
302
302
  }>>;
303
303
  list: z.ZodOptional<z.ZodObject<{
@@ -382,9 +382,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
382
382
  symbol: z.ZodString;
383
383
  name: z.ZodOptional<z.ZodString>;
384
384
  dimension: z.ZodRecord<z.ZodEnum<{
385
+ time: "time";
385
386
  length: "length";
386
387
  mass: "mass";
387
- time: "time";
388
388
  electricCurrent: "electricCurrent";
389
389
  thermodynamicTemperature: "thermodynamicTemperature";
390
390
  amountOfSubstance: "amountOfSubstance";
@@ -450,8 +450,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
450
450
  paragraph: z.ZodOptional<z.ZodObject<{
451
451
  alignment: z.ZodOptional<z.ZodEnum<{
452
452
  left: "left";
453
- right: "right";
454
453
  center: "center";
454
+ right: "right";
455
455
  justify: "justify";
456
456
  }>>;
457
457
  list: z.ZodOptional<z.ZodObject<{
@@ -536,9 +536,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
536
536
  symbol: z.ZodString;
537
537
  name: z.ZodOptional<z.ZodString>;
538
538
  dimension: z.ZodRecord<z.ZodEnum<{
539
+ time: "time";
539
540
  length: "length";
540
541
  mass: "mass";
541
- time: "time";
542
542
  electricCurrent: "electricCurrent";
543
543
  thermodynamicTemperature: "thermodynamicTemperature";
544
544
  amountOfSubstance: "amountOfSubstance";
@@ -599,8 +599,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
599
599
  paragraph: z.ZodOptional<z.ZodObject<{
600
600
  alignment: z.ZodOptional<z.ZodEnum<{
601
601
  left: "left";
602
- right: "right";
603
602
  center: "center";
603
+ right: "right";
604
604
  justify: "justify";
605
605
  }>>;
606
606
  list: z.ZodOptional<z.ZodObject<{
@@ -685,9 +685,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
685
685
  symbol: z.ZodString;
686
686
  name: z.ZodOptional<z.ZodString>;
687
687
  dimension: z.ZodRecord<z.ZodEnum<{
688
+ time: "time";
688
689
  length: "length";
689
690
  mass: "mass";
690
- time: "time";
691
691
  electricCurrent: "electricCurrent";
692
692
  thermodynamicTemperature: "thermodynamicTemperature";
693
693
  amountOfSubstance: "amountOfSubstance";
@@ -740,6 +740,33 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
740
740
  kind: z.ZodLiteral<"drawing">;
741
741
  }, z.core.$strip>, z.ZodObject<{
742
742
  children: z.ZodArray<z.ZodObject<{
743
+ origin: z.ZodOptional<z.ZodEnum<{
744
+ chart: "chart";
745
+ diagram: "diagram";
746
+ table: "table";
747
+ image: "image";
748
+ notes: "notes";
749
+ body: "body";
750
+ }>>;
751
+ interpretation: z.ZodOptional<z.ZodObject<{
752
+ transcript: z.ZodOptional<z.ZodObject<{
753
+ text: z.ZodString;
754
+ confidence: z.ZodEnum<{
755
+ high: "high";
756
+ medium: "medium";
757
+ low: "low";
758
+ }>;
759
+ mechanism: z.ZodEnum<{
760
+ deterministic: "deterministic";
761
+ model: "model";
762
+ }>;
763
+ }, z.core.$strip>>;
764
+ description: z.ZodOptional<z.ZodString>;
765
+ by: z.ZodOptional<z.ZodObject<{
766
+ model: z.ZodString;
767
+ at: z.ZodString;
768
+ }, z.core.$strip>>;
769
+ }, z.core.$strip>>;
743
770
  mathml: z.ZodArray<z.ZodType<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode, z.core.$ZodTypeInternals<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode>>>;
744
771
  starMath: z.ZodOptional<z.ZodString>;
745
772
  presentation: z.ZodOptional<z.ZodObject<{
@@ -780,8 +807,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
780
807
  paragraph: z.ZodOptional<z.ZodObject<{
781
808
  alignment: z.ZodOptional<z.ZodEnum<{
782
809
  left: "left";
783
- right: "right";
784
810
  center: "center";
811
+ right: "right";
785
812
  justify: "justify";
786
813
  }>>;
787
814
  list: z.ZodOptional<z.ZodObject<{
@@ -866,9 +893,9 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
866
893
  symbol: z.ZodString;
867
894
  name: z.ZodOptional<z.ZodString>;
868
895
  dimension: z.ZodRecord<z.ZodEnum<{
896
+ time: "time";
869
897
  length: "length";
870
898
  mass: "mass";
871
- time: "time";
872
899
  electricCurrent: "electricCurrent";
873
900
  thermodynamicTemperature: "thermodynamicTemperature";
874
901
  amountOfSubstance: "amountOfSubstance";
@@ -922,6 +949,33 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
922
949
  }, z.core.$strip>], "kind">>;
923
950
  declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
924
951
  sections: z.ZodArray<z.ZodObject<{
952
+ origin: z.ZodOptional<z.ZodEnum<{
953
+ chart: "chart";
954
+ diagram: "diagram";
955
+ table: "table";
956
+ image: "image";
957
+ notes: "notes";
958
+ body: "body";
959
+ }>>;
960
+ interpretation: z.ZodOptional<z.ZodObject<{
961
+ transcript: z.ZodOptional<z.ZodObject<{
962
+ text: z.ZodString;
963
+ confidence: z.ZodEnum<{
964
+ high: "high";
965
+ medium: "medium";
966
+ low: "low";
967
+ }>;
968
+ mechanism: z.ZodEnum<{
969
+ deterministic: "deterministic";
970
+ model: "model";
971
+ }>;
972
+ }, z.core.$strip>>;
973
+ description: z.ZodOptional<z.ZodString>;
974
+ by: z.ZodOptional<z.ZodObject<{
975
+ model: z.ZodString;
976
+ at: z.ZodString;
977
+ }, z.core.$strip>>;
978
+ }, z.core.$strip>>;
925
979
  pageSize: z.ZodObject<{
926
980
  widthPt: z.ZodNumber;
927
981
  heightPt: z.ZodNumber;
@@ -984,9 +1038,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
984
1038
  symbol: z.ZodString;
985
1039
  name: z.ZodOptional<z.ZodString>;
986
1040
  dimension: z.ZodRecord<z.ZodEnum<{
1041
+ time: "time";
987
1042
  length: "length";
988
1043
  mass: "mass";
989
- time: "time";
990
1044
  electricCurrent: "electricCurrent";
991
1045
  thermodynamicTemperature: "thermodynamicTemperature";
992
1046
  amountOfSubstance: "amountOfSubstance";
@@ -1039,11 +1093,66 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1039
1093
  }, z.core.$strip>;
1040
1094
  }, z.core.$strip>, z.ZodObject<{
1041
1095
  slides: z.ZodArray<z.ZodObject<{
1096
+ origin: z.ZodOptional<z.ZodEnum<{
1097
+ chart: "chart";
1098
+ diagram: "diagram";
1099
+ table: "table";
1100
+ image: "image";
1101
+ notes: "notes";
1102
+ body: "body";
1103
+ }>>;
1104
+ interpretation: z.ZodOptional<z.ZodObject<{
1105
+ transcript: z.ZodOptional<z.ZodObject<{
1106
+ text: z.ZodString;
1107
+ confidence: z.ZodEnum<{
1108
+ high: "high";
1109
+ medium: "medium";
1110
+ low: "low";
1111
+ }>;
1112
+ mechanism: z.ZodEnum<{
1113
+ deterministic: "deterministic";
1114
+ model: "model";
1115
+ }>;
1116
+ }, z.core.$strip>>;
1117
+ description: z.ZodOptional<z.ZodString>;
1118
+ by: z.ZodOptional<z.ZodObject<{
1119
+ model: z.ZodString;
1120
+ at: z.ZodString;
1121
+ }, z.core.$strip>>;
1122
+ }, z.core.$strip>>;
1042
1123
  size: z.ZodObject<{
1043
1124
  widthPt: z.ZodNumber;
1044
1125
  heightPt: z.ZodNumber;
1045
1126
  }, z.core.$strip>;
1046
1127
  shapes: z.ZodArray<z.ZodObject<{
1128
+ blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
1129
+ origin: z.ZodOptional<z.ZodEnum<{
1130
+ chart: "chart";
1131
+ diagram: "diagram";
1132
+ table: "table";
1133
+ image: "image";
1134
+ notes: "notes";
1135
+ body: "body";
1136
+ }>>;
1137
+ interpretation: z.ZodOptional<z.ZodObject<{
1138
+ transcript: z.ZodOptional<z.ZodObject<{
1139
+ text: z.ZodString;
1140
+ confidence: z.ZodEnum<{
1141
+ high: "high";
1142
+ medium: "medium";
1143
+ low: "low";
1144
+ }>;
1145
+ mechanism: z.ZodEnum<{
1146
+ deterministic: "deterministic";
1147
+ model: "model";
1148
+ }>;
1149
+ }, z.core.$strip>>;
1150
+ description: z.ZodOptional<z.ZodString>;
1151
+ by: z.ZodOptional<z.ZodObject<{
1152
+ model: z.ZodString;
1153
+ at: z.ZodString;
1154
+ }, z.core.$strip>>;
1155
+ }, z.core.$strip>>;
1047
1156
  name: z.ZodOptional<z.ZodString>;
1048
1157
  frame: z.ZodObject<{
1049
1158
  xPt: z.ZodNumber;
@@ -1087,7 +1196,6 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1087
1196
  widthPt: z.ZodNumber;
1088
1197
  heightPt: z.ZodNumber;
1089
1198
  }, z.core.$strip>>>;
1090
- blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
1091
1199
  }, z.core.$strip>>;
1092
1200
  notes: z.ZodString;
1093
1201
  source: z.ZodOptional<z.ZodObject<{
@@ -1125,9 +1233,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1125
1233
  symbol: z.ZodString;
1126
1234
  name: z.ZodOptional<z.ZodString>;
1127
1235
  dimension: z.ZodRecord<z.ZodEnum<{
1236
+ time: "time";
1128
1237
  length: "length";
1129
1238
  mass: "mass";
1130
- time: "time";
1131
1239
  electricCurrent: "electricCurrent";
1132
1240
  thermodynamicTemperature: "thermodynamicTemperature";
1133
1241
  amountOfSubstance: "amountOfSubstance";
@@ -1180,8 +1288,62 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1180
1288
  }, z.core.$strip>;
1181
1289
  }, z.core.$strip>, z.ZodObject<{
1182
1290
  sheets: z.ZodArray<z.ZodObject<{
1291
+ origin: z.ZodOptional<z.ZodEnum<{
1292
+ chart: "chart";
1293
+ diagram: "diagram";
1294
+ table: "table";
1295
+ image: "image";
1296
+ notes: "notes";
1297
+ body: "body";
1298
+ }>>;
1299
+ interpretation: z.ZodOptional<z.ZodObject<{
1300
+ transcript: z.ZodOptional<z.ZodObject<{
1301
+ text: z.ZodString;
1302
+ confidence: z.ZodEnum<{
1303
+ high: "high";
1304
+ medium: "medium";
1305
+ low: "low";
1306
+ }>;
1307
+ mechanism: z.ZodEnum<{
1308
+ deterministic: "deterministic";
1309
+ model: "model";
1310
+ }>;
1311
+ }, z.core.$strip>>;
1312
+ description: z.ZodOptional<z.ZodString>;
1313
+ by: z.ZodOptional<z.ZodObject<{
1314
+ model: z.ZodString;
1315
+ at: z.ZodString;
1316
+ }, z.core.$strip>>;
1317
+ }, z.core.$strip>>;
1183
1318
  name: z.ZodString;
1184
1319
  cells: z.ZodArray<z.ZodObject<{
1320
+ origin: z.ZodOptional<z.ZodEnum<{
1321
+ chart: "chart";
1322
+ diagram: "diagram";
1323
+ table: "table";
1324
+ image: "image";
1325
+ notes: "notes";
1326
+ body: "body";
1327
+ }>>;
1328
+ interpretation: z.ZodOptional<z.ZodObject<{
1329
+ transcript: z.ZodOptional<z.ZodObject<{
1330
+ text: z.ZodString;
1331
+ confidence: z.ZodEnum<{
1332
+ high: "high";
1333
+ medium: "medium";
1334
+ low: "low";
1335
+ }>;
1336
+ mechanism: z.ZodEnum<{
1337
+ deterministic: "deterministic";
1338
+ model: "model";
1339
+ }>;
1340
+ }, z.core.$strip>>;
1341
+ description: z.ZodOptional<z.ZodString>;
1342
+ by: z.ZodOptional<z.ZodObject<{
1343
+ model: z.ZodString;
1344
+ at: z.ZodString;
1345
+ }, z.core.$strip>>;
1346
+ }, z.core.$strip>>;
1185
1347
  row: z.ZodNumber;
1186
1348
  column: z.ZodNumber;
1187
1349
  value: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1235,6 +1397,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1235
1397
  }, z.core.$strip>>;
1236
1398
  }, z.core.$strip>>;
1237
1399
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1400
+ origin: z.ZodOptional<z.ZodEnum<{
1401
+ chart: "chart";
1402
+ diagram: "diagram";
1403
+ table: "table";
1404
+ image: "image";
1405
+ notes: "notes";
1406
+ body: "body";
1407
+ }>>;
1408
+ interpretation: z.ZodOptional<z.ZodObject<{
1409
+ transcript: z.ZodOptional<z.ZodObject<{
1410
+ text: z.ZodString;
1411
+ confidence: z.ZodEnum<{
1412
+ high: "high";
1413
+ medium: "medium";
1414
+ low: "low";
1415
+ }>;
1416
+ mechanism: z.ZodEnum<{
1417
+ deterministic: "deterministic";
1418
+ model: "model";
1419
+ }>;
1420
+ }, z.core.$strip>>;
1421
+ description: z.ZodOptional<z.ZodString>;
1422
+ by: z.ZodOptional<z.ZodObject<{
1423
+ model: z.ZodString;
1424
+ at: z.ZodString;
1425
+ }, z.core.$strip>>;
1426
+ }, z.core.$strip>>;
1238
1427
  hyperlink: z.ZodOptional<z.ZodString>;
1239
1428
  verticalAlign: z.ZodOptional<z.ZodEnum<{
1240
1429
  superscript: "superscript";
@@ -1449,8 +1638,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1449
1638
  }, z.core.$strip>>;
1450
1639
  alignment: z.ZodOptional<z.ZodEnum<{
1451
1640
  left: "left";
1452
- right: "right";
1453
1641
  center: "center";
1642
+ right: "right";
1454
1643
  justify: "justify";
1455
1644
  }>>;
1456
1645
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1507,6 +1696,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1507
1696
  hidden: z.ZodOptional<z.ZodBoolean>;
1508
1697
  }, z.core.$strip>>;
1509
1698
  images: z.ZodArray<z.ZodObject<{
1699
+ origin: z.ZodOptional<z.ZodEnum<{
1700
+ chart: "chart";
1701
+ diagram: "diagram";
1702
+ table: "table";
1703
+ image: "image";
1704
+ notes: "notes";
1705
+ body: "body";
1706
+ }>>;
1707
+ interpretation: z.ZodOptional<z.ZodObject<{
1708
+ transcript: z.ZodOptional<z.ZodObject<{
1709
+ text: z.ZodString;
1710
+ confidence: z.ZodEnum<{
1711
+ high: "high";
1712
+ medium: "medium";
1713
+ low: "low";
1714
+ }>;
1715
+ mechanism: z.ZodEnum<{
1716
+ deterministic: "deterministic";
1717
+ model: "model";
1718
+ }>;
1719
+ }, z.core.$strip>>;
1720
+ description: z.ZodOptional<z.ZodString>;
1721
+ by: z.ZodOptional<z.ZodObject<{
1722
+ model: z.ZodString;
1723
+ at: z.ZodString;
1724
+ }, z.core.$strip>>;
1725
+ }, z.core.$strip>>;
1510
1726
  kind: z.ZodLiteral<"image">;
1511
1727
  format: z.ZodEnum<{
1512
1728
  png: "png";
@@ -1526,6 +1742,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1526
1742
  base64: z.ZodString;
1527
1743
  jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
1528
1744
  }, z.core.$strip>>;
1745
+ anchorRunIndex: z.ZodOptional<z.ZodNumber>;
1746
+ anchorOffset: z.ZodOptional<z.ZodNumber>;
1747
+ caption: z.ZodOptional<z.ZodString>;
1529
1748
  floatPosition: z.ZodOptional<z.ZodObject<{
1530
1749
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1531
1750
  relativeTo: z.ZodEnum<{
@@ -1562,10 +1781,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1562
1781
  }>;
1563
1782
  align: z.ZodEnum<{
1564
1783
  left: "left";
1784
+ center: "center";
1565
1785
  right: "right";
1566
1786
  top: "top";
1567
1787
  bottom: "bottom";
1568
- center: "center";
1569
1788
  inside: "inside";
1570
1789
  outside: "outside";
1571
1790
  }>;
@@ -1605,10 +1824,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1605
1824
  }>;
1606
1825
  align: z.ZodEnum<{
1607
1826
  left: "left";
1827
+ center: "center";
1608
1828
  right: "right";
1609
1829
  top: "top";
1610
1830
  bottom: "bottom";
1611
- center: "center";
1612
1831
  inside: "inside";
1613
1832
  outside: "outside";
1614
1833
  }>;
@@ -2359,9 +2578,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2359
2578
  symbol: z.ZodString;
2360
2579
  name: z.ZodOptional<z.ZodString>;
2361
2580
  dimension: z.ZodRecord<z.ZodEnum<{
2581
+ time: "time";
2362
2582
  length: "length";
2363
2583
  mass: "mass";
2364
- time: "time";
2365
2584
  electricCurrent: "electricCurrent";
2366
2585
  thermodynamicTemperature: "thermodynamicTemperature";
2367
2586
  amountOfSubstance: "amountOfSubstance";
@@ -2414,11 +2633,66 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2414
2633
  }, z.core.$strip>;
2415
2634
  }, z.core.$strip>, z.ZodObject<{
2416
2635
  pages: z.ZodArray<z.ZodObject<{
2636
+ origin: z.ZodOptional<z.ZodEnum<{
2637
+ chart: "chart";
2638
+ diagram: "diagram";
2639
+ table: "table";
2640
+ image: "image";
2641
+ notes: "notes";
2642
+ body: "body";
2643
+ }>>;
2644
+ interpretation: z.ZodOptional<z.ZodObject<{
2645
+ transcript: z.ZodOptional<z.ZodObject<{
2646
+ text: z.ZodString;
2647
+ confidence: z.ZodEnum<{
2648
+ high: "high";
2649
+ medium: "medium";
2650
+ low: "low";
2651
+ }>;
2652
+ mechanism: z.ZodEnum<{
2653
+ deterministic: "deterministic";
2654
+ model: "model";
2655
+ }>;
2656
+ }, z.core.$strip>>;
2657
+ description: z.ZodOptional<z.ZodString>;
2658
+ by: z.ZodOptional<z.ZodObject<{
2659
+ model: z.ZodString;
2660
+ at: z.ZodString;
2661
+ }, z.core.$strip>>;
2662
+ }, z.core.$strip>>;
2417
2663
  size: z.ZodObject<{
2418
2664
  widthPt: z.ZodNumber;
2419
2665
  heightPt: z.ZodNumber;
2420
2666
  }, z.core.$strip>;
2421
2667
  shapes: z.ZodArray<z.ZodObject<{
2668
+ blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
2669
+ origin: z.ZodOptional<z.ZodEnum<{
2670
+ chart: "chart";
2671
+ diagram: "diagram";
2672
+ table: "table";
2673
+ image: "image";
2674
+ notes: "notes";
2675
+ body: "body";
2676
+ }>>;
2677
+ interpretation: z.ZodOptional<z.ZodObject<{
2678
+ transcript: z.ZodOptional<z.ZodObject<{
2679
+ text: z.ZodString;
2680
+ confidence: z.ZodEnum<{
2681
+ high: "high";
2682
+ medium: "medium";
2683
+ low: "low";
2684
+ }>;
2685
+ mechanism: z.ZodEnum<{
2686
+ deterministic: "deterministic";
2687
+ model: "model";
2688
+ }>;
2689
+ }, z.core.$strip>>;
2690
+ description: z.ZodOptional<z.ZodString>;
2691
+ by: z.ZodOptional<z.ZodObject<{
2692
+ model: z.ZodString;
2693
+ at: z.ZodString;
2694
+ }, z.core.$strip>>;
2695
+ }, z.core.$strip>>;
2422
2696
  name: z.ZodOptional<z.ZodString>;
2423
2697
  frame: z.ZodObject<{
2424
2698
  xPt: z.ZodNumber;
@@ -2462,9 +2736,35 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2462
2736
  widthPt: z.ZodNumber;
2463
2737
  heightPt: z.ZodNumber;
2464
2738
  }, z.core.$strip>>>;
2465
- blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
2466
2739
  }, z.core.$strip>>;
2467
2740
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2741
+ origin: z.ZodOptional<z.ZodEnum<{
2742
+ chart: "chart";
2743
+ diagram: "diagram";
2744
+ table: "table";
2745
+ image: "image";
2746
+ notes: "notes";
2747
+ body: "body";
2748
+ }>>;
2749
+ interpretation: z.ZodOptional<z.ZodObject<{
2750
+ transcript: z.ZodOptional<z.ZodObject<{
2751
+ text: z.ZodString;
2752
+ confidence: z.ZodEnum<{
2753
+ high: "high";
2754
+ medium: "medium";
2755
+ low: "low";
2756
+ }>;
2757
+ mechanism: z.ZodEnum<{
2758
+ deterministic: "deterministic";
2759
+ model: "model";
2760
+ }>;
2761
+ }, z.core.$strip>>;
2762
+ description: z.ZodOptional<z.ZodString>;
2763
+ by: z.ZodOptional<z.ZodObject<{
2764
+ model: z.ZodString;
2765
+ at: z.ZodString;
2766
+ }, z.core.$strip>>;
2767
+ }, z.core.$strip>>;
2468
2768
  kind: z.ZodLiteral<"rect">;
2469
2769
  frame: z.ZodObject<{
2470
2770
  xPt: z.ZodNumber;
@@ -2576,6 +2876,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2576
2876
  heightPt: z.ZodNumber;
2577
2877
  }, z.core.$strip>>>;
2578
2878
  }, z.core.$strip>, z.ZodObject<{
2879
+ origin: z.ZodOptional<z.ZodEnum<{
2880
+ chart: "chart";
2881
+ diagram: "diagram";
2882
+ table: "table";
2883
+ image: "image";
2884
+ notes: "notes";
2885
+ body: "body";
2886
+ }>>;
2887
+ interpretation: z.ZodOptional<z.ZodObject<{
2888
+ transcript: z.ZodOptional<z.ZodObject<{
2889
+ text: z.ZodString;
2890
+ confidence: z.ZodEnum<{
2891
+ high: "high";
2892
+ medium: "medium";
2893
+ low: "low";
2894
+ }>;
2895
+ mechanism: z.ZodEnum<{
2896
+ deterministic: "deterministic";
2897
+ model: "model";
2898
+ }>;
2899
+ }, z.core.$strip>>;
2900
+ description: z.ZodOptional<z.ZodString>;
2901
+ by: z.ZodOptional<z.ZodObject<{
2902
+ model: z.ZodString;
2903
+ at: z.ZodString;
2904
+ }, z.core.$strip>>;
2905
+ }, z.core.$strip>>;
2579
2906
  kind: z.ZodLiteral<"ellipse">;
2580
2907
  frame: z.ZodObject<{
2581
2908
  xPt: z.ZodNumber;
@@ -2687,6 +3014,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2687
3014
  heightPt: z.ZodNumber;
2688
3015
  }, z.core.$strip>>>;
2689
3016
  }, z.core.$strip>, z.ZodObject<{
3017
+ origin: z.ZodOptional<z.ZodEnum<{
3018
+ chart: "chart";
3019
+ diagram: "diagram";
3020
+ table: "table";
3021
+ image: "image";
3022
+ notes: "notes";
3023
+ body: "body";
3024
+ }>>;
3025
+ interpretation: z.ZodOptional<z.ZodObject<{
3026
+ transcript: z.ZodOptional<z.ZodObject<{
3027
+ text: z.ZodString;
3028
+ confidence: z.ZodEnum<{
3029
+ high: "high";
3030
+ medium: "medium";
3031
+ low: "low";
3032
+ }>;
3033
+ mechanism: z.ZodEnum<{
3034
+ deterministic: "deterministic";
3035
+ model: "model";
3036
+ }>;
3037
+ }, z.core.$strip>>;
3038
+ description: z.ZodOptional<z.ZodString>;
3039
+ by: z.ZodOptional<z.ZodObject<{
3040
+ model: z.ZodString;
3041
+ at: z.ZodString;
3042
+ }, z.core.$strip>>;
3043
+ }, z.core.$strip>>;
2690
3044
  kind: z.ZodLiteral<"line">;
2691
3045
  from: z.ZodObject<{
2692
3046
  xPt: z.ZodNumber;
@@ -2748,6 +3102,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2748
3102
  heightPt: z.ZodNumber;
2749
3103
  }, z.core.$strip>>>;
2750
3104
  }, z.core.$strip>, z.ZodObject<{
3105
+ origin: z.ZodOptional<z.ZodEnum<{
3106
+ chart: "chart";
3107
+ diagram: "diagram";
3108
+ table: "table";
3109
+ image: "image";
3110
+ notes: "notes";
3111
+ body: "body";
3112
+ }>>;
3113
+ interpretation: z.ZodOptional<z.ZodObject<{
3114
+ transcript: z.ZodOptional<z.ZodObject<{
3115
+ text: z.ZodString;
3116
+ confidence: z.ZodEnum<{
3117
+ high: "high";
3118
+ medium: "medium";
3119
+ low: "low";
3120
+ }>;
3121
+ mechanism: z.ZodEnum<{
3122
+ deterministic: "deterministic";
3123
+ model: "model";
3124
+ }>;
3125
+ }, z.core.$strip>>;
3126
+ description: z.ZodOptional<z.ZodString>;
3127
+ by: z.ZodOptional<z.ZodObject<{
3128
+ model: z.ZodString;
3129
+ at: z.ZodString;
3130
+ }, z.core.$strip>>;
3131
+ }, z.core.$strip>>;
2751
3132
  kind: z.ZodLiteral<"path">;
2752
3133
  frame: z.ZodObject<{
2753
3134
  xPt: z.ZodNumber;
@@ -2926,9 +3307,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2926
3307
  symbol: z.ZodString;
2927
3308
  name: z.ZodOptional<z.ZodString>;
2928
3309
  dimension: z.ZodRecord<z.ZodEnum<{
3310
+ time: "time";
2929
3311
  length: "length";
2930
3312
  mass: "mass";
2931
- time: "time";
2932
3313
  electricCurrent: "electricCurrent";
2933
3314
  thermodynamicTemperature: "thermodynamicTemperature";
2934
3315
  amountOfSubstance: "amountOfSubstance";
@@ -2981,6 +3362,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2981
3362
  }, z.core.$strip>;
2982
3363
  }, z.core.$strip>, z.ZodObject<{
2983
3364
  formula: z.ZodObject<{
3365
+ origin: z.ZodOptional<z.ZodEnum<{
3366
+ chart: "chart";
3367
+ diagram: "diagram";
3368
+ table: "table";
3369
+ image: "image";
3370
+ notes: "notes";
3371
+ body: "body";
3372
+ }>>;
3373
+ interpretation: z.ZodOptional<z.ZodObject<{
3374
+ transcript: z.ZodOptional<z.ZodObject<{
3375
+ text: z.ZodString;
3376
+ confidence: z.ZodEnum<{
3377
+ high: "high";
3378
+ medium: "medium";
3379
+ low: "low";
3380
+ }>;
3381
+ mechanism: z.ZodEnum<{
3382
+ deterministic: "deterministic";
3383
+ model: "model";
3384
+ }>;
3385
+ }, z.core.$strip>>;
3386
+ description: z.ZodOptional<z.ZodString>;
3387
+ by: z.ZodOptional<z.ZodObject<{
3388
+ model: z.ZodString;
3389
+ at: z.ZodString;
3390
+ }, z.core.$strip>>;
3391
+ }, z.core.$strip>>;
2984
3392
  mathml: z.ZodArray<z.ZodType<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode, z.core.$ZodTypeInternals<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode>>>;
2985
3393
  starMath: z.ZodOptional<z.ZodString>;
2986
3394
  presentation: z.ZodOptional<z.ZodObject<{
@@ -3027,9 +3435,9 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
3027
3435
  symbol: z.ZodString;
3028
3436
  name: z.ZodOptional<z.ZodString>;
3029
3437
  dimension: z.ZodRecord<z.ZodEnum<{
3438
+ time: "time";
3030
3439
  length: "length";
3031
3440
  mass: "mass";
3032
- time: "time";
3033
3441
  electricCurrent: "electricCurrent";
3034
3442
  thermodynamicTemperature: "thermodynamicTemperature";
3035
3443
  amountOfSubstance: "amountOfSubstance";