epub-codec 0.0.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +184 -0
  3. package/dist/codec.cjs +28 -0
  4. package/dist/codec.d.cts +2308 -0
  5. package/dist/codec.d.ts +2308 -0
  6. package/dist/codec.js +25 -0
  7. package/dist/diagnostics-Ee4kG7mw.d.cts +60 -0
  8. package/dist/diagnostics-Ee4kG7mw.d.ts +60 -0
  9. package/dist/diagnostics.cjs +96 -0
  10. package/dist/diagnostics.d.cts +2 -0
  11. package/dist/diagnostics.d.ts +2 -0
  12. package/dist/diagnostics.js +85 -0
  13. package/dist/format.cjs +9 -0
  14. package/dist/format.d.cts +6 -0
  15. package/dist/format.d.ts +6 -0
  16. package/dist/format.js +6 -0
  17. package/dist/image/dimensions.cjs +82 -0
  18. package/dist/image/dimensions.d.cts +11 -0
  19. package/dist/image/dimensions.d.ts +11 -0
  20. package/dist/image/dimensions.js +79 -0
  21. package/dist/index.cjs +105 -0
  22. package/dist/index.d.cts +32 -0
  23. package/dist/index.d.ts +32 -0
  24. package/dist/index.js +32 -0
  25. package/dist/nav/nav3.cjs +19 -0
  26. package/dist/nav/nav3.d.cts +4 -0
  27. package/dist/nav/nav3.d.ts +4 -0
  28. package/dist/nav/nav3.js +18 -0
  29. package/dist/nav/ncx.cjs +17 -0
  30. package/dist/nav/ncx.d.cts +4 -0
  31. package/dist/nav/ncx.d.ts +4 -0
  32. package/dist/nav/ncx.js +16 -0
  33. package/dist/nav/reconcile.cjs +8 -0
  34. package/dist/nav/reconcile.d.cts +4 -0
  35. package/dist/nav/reconcile.d.ts +4 -0
  36. package/dist/nav/reconcile.js +7 -0
  37. package/dist/nav/write.cjs +39 -0
  38. package/dist/nav/write.d.cts +10 -0
  39. package/dist/nav/write.d.ts +10 -0
  40. package/dist/nav/write.js +37 -0
  41. package/dist/ocf/container.cjs +20 -0
  42. package/dist/ocf/container.d.cts +4 -0
  43. package/dist/ocf/container.d.ts +4 -0
  44. package/dist/ocf/container.js +19 -0
  45. package/dist/ocf/write.cjs +13 -0
  46. package/dist/ocf/write.d.cts +4 -0
  47. package/dist/ocf/write.d.ts +4 -0
  48. package/dist/ocf/write.js +12 -0
  49. package/dist/opf/metadata.cjs +51 -0
  50. package/dist/opf/metadata.d.cts +7 -0
  51. package/dist/opf/metadata.d.ts +7 -0
  52. package/dist/opf/metadata.js +50 -0
  53. package/dist/opf/parse.cjs +47 -0
  54. package/dist/opf/parse.d.cts +6 -0
  55. package/dist/opf/parse.d.ts +6 -0
  56. package/dist/opf/parse.js +46 -0
  57. package/dist/opf/types.cjs +0 -0
  58. package/dist/opf/types.d.cts +20 -0
  59. package/dist/opf/types.d.ts +20 -0
  60. package/dist/opf/types.js +0 -0
  61. package/dist/opf/write.cjs +55 -0
  62. package/dist/opf/write.d.cts +12 -0
  63. package/dist/opf/write.d.ts +12 -0
  64. package/dist/opf/write.js +54 -0
  65. package/dist/path.cjs +22 -0
  66. package/dist/path.d.cts +5 -0
  67. package/dist/path.d.ts +5 -0
  68. package/dist/path.js +20 -0
  69. package/dist/read.cjs +166 -0
  70. package/dist/read.d.cts +10 -0
  71. package/dist/read.d.ts +10 -0
  72. package/dist/read.js +164 -0
  73. package/dist/util/base64.cjs +51 -0
  74. package/dist/util/base64.d.cts +5 -0
  75. package/dist/util/base64.d.ts +5 -0
  76. package/dist/util/base64.js +49 -0
  77. package/dist/write.cjs +136 -0
  78. package/dist/write.d.cts +10 -0
  79. package/dist/write.d.ts +10 -0
  80. package/dist/write.js +134 -0
  81. package/dist/xhtml/context.cjs +0 -0
  82. package/dist/xhtml/context.d.cts +20 -0
  83. package/dist/xhtml/context.d.ts +20 -0
  84. package/dist/xhtml/context.js +0 -0
  85. package/dist/xhtml/footnote.cjs +32 -0
  86. package/dist/xhtml/footnote.d.cts +7 -0
  87. package/dist/xhtml/footnote.d.ts +7 -0
  88. package/dist/xhtml/footnote.js +29 -0
  89. package/dist/xhtml/inline.cjs +128 -0
  90. package/dist/xhtml/inline.d.cts +11 -0
  91. package/dist/xhtml/inline.d.ts +11 -0
  92. package/dist/xhtml/inline.js +127 -0
  93. package/dist/xhtml/list-id.cjs +22 -0
  94. package/dist/xhtml/list-id.d.cts +13 -0
  95. package/dist/xhtml/list-id.d.ts +13 -0
  96. package/dist/xhtml/list-id.js +20 -0
  97. package/dist/xhtml/read.cjs +423 -0
  98. package/dist/xhtml/read.d.cts +20 -0
  99. package/dist/xhtml/read.d.ts +20 -0
  100. package/dist/xhtml/read.js +422 -0
  101. package/dist/xhtml/style-constants.cjs +13 -0
  102. package/dist/xhtml/style-constants.d.cts +8 -0
  103. package/dist/xhtml/style-constants.d.ts +8 -0
  104. package/dist/xhtml/style-constants.js +8 -0
  105. package/dist/xhtml/write.cjs +183 -0
  106. package/dist/xhtml/write.d.cts +12 -0
  107. package/dist/xhtml/write.d.ts +12 -0
  108. package/dist/xhtml/write.js +182 -0
  109. package/dist/xml/build.cjs +46 -0
  110. package/dist/xml/build.d.cts +5 -0
  111. package/dist/xml/build.d.ts +5 -0
  112. package/dist/xml/build.js +46 -0
  113. package/dist/xml/entities.cjs +20 -0
  114. package/dist/xml/entities.d.cts +5 -0
  115. package/dist/xml/entities.d.ts +5 -0
  116. package/dist/xml/entities.js +18 -0
  117. package/dist/xml/node.cjs +67 -0
  118. package/dist/xml/node.d.cts +83 -0
  119. package/dist/xml/node.d.ts +83 -0
  120. package/dist/xml/node.js +58 -0
  121. package/dist/xml/parse.cjs +88 -0
  122. package/dist/xml/parse.d.cts +5 -0
  123. package/dist/xml/parse.d.ts +5 -0
  124. package/dist/xml/parse.js +88 -0
  125. package/dist/xml/query.cjs +44 -0
  126. package/dist/xml/query.d.cts +11 -0
  127. package/dist/xml/query.d.ts +11 -0
  128. package/dist/xml/query.js +37 -0
  129. package/dist/zip.cjs +19 -0
  130. package/dist/zip.d.cts +9 -0
  131. package/dist/zip.d.ts +9 -0
  132. package/dist/zip.js +17 -0
  133. package/package.json +95 -2
@@ -0,0 +1,2308 @@
1
+ import { z } from "zod";
2
+ //#region src/codec.d.ts
3
+ declare const EpubBytesSchema: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
4
+ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").SectionGroupNode, import("document-schema.js").SectionGroupNode>>;
6
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ widthPt: z.ZodNumber;
8
+ heightPt: z.ZodNumber;
9
+ }, z.core.$strip>>>;
10
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11
+ paragraph: z.ZodOptional<z.ZodObject<{
12
+ alignment: z.ZodOptional<z.ZodEnum<{
13
+ left: "left";
14
+ center: "center";
15
+ right: "right";
16
+ justify: "justify";
17
+ }>>;
18
+ list: z.ZodOptional<z.ZodObject<{
19
+ numId: z.ZodOptional<z.ZodString>;
20
+ level: z.ZodNumber;
21
+ checked: z.ZodOptional<z.ZodBoolean>;
22
+ itemId: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
25
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
26
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
27
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
28
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
29
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
30
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
31
+ }, z.core.$strict>>;
32
+ run: z.ZodOptional<z.ZodObject<{
33
+ bold: z.ZodOptional<z.ZodBoolean>;
34
+ italic: z.ZodOptional<z.ZodBoolean>;
35
+ underline: z.ZodOptional<z.ZodBoolean>;
36
+ strike: z.ZodOptional<z.ZodBoolean>;
37
+ fontFamily: z.ZodOptional<z.ZodString>;
38
+ sizePt: z.ZodOptional<z.ZodNumber>;
39
+ color: z.ZodOptional<z.ZodObject<{
40
+ r: z.ZodNumber;
41
+ g: z.ZodNumber;
42
+ b: z.ZodNumber;
43
+ }, z.core.$strip>>;
44
+ }, z.core.$strict>>;
45
+ }, z.core.$strict>>>;
46
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
47
+ kind: z.ZodString;
48
+ }, z.core.$loose>>>;
49
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
50
+ kind: z.ZodString;
51
+ }, z.core.$loose>>>;
52
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
53
+ kind: z.ZodString;
54
+ }, z.core.$loose>>>;
55
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
56
+ kind: z.ZodString;
57
+ }, z.core.$loose>>>;
58
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
59
+ format: z.ZodEnum<{
60
+ docx: "docx";
61
+ pptx: "pptx";
62
+ xlsx: "xlsx";
63
+ odt: "odt";
64
+ ods: "ods";
65
+ odp: "odp";
66
+ odg: "odg";
67
+ odm: "odm";
68
+ odb: "odb";
69
+ odf: "odf";
70
+ markdown: "markdown";
71
+ pdf: "pdf";
72
+ epub: "epub";
73
+ }>;
74
+ xml: z.ZodString;
75
+ }, z.core.$strict>>>;
76
+ symbolTable: z.ZodOptional<z.ZodObject<{
77
+ symbols: z.ZodArray<z.ZodObject<{
78
+ glyph: z.ZodString;
79
+ scope: z.ZodString;
80
+ id: z.ZodString;
81
+ quantityKind: z.ZodOptional<z.ZodString>;
82
+ preferredUnit: z.ZodOptional<z.ZodString>;
83
+ definitionSource: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$strip>>;
85
+ units: z.ZodArray<z.ZodObject<{
86
+ id: z.ZodString;
87
+ symbol: z.ZodString;
88
+ name: z.ZodOptional<z.ZodString>;
89
+ dimension: z.ZodRecord<z.ZodEnum<{
90
+ time: "time";
91
+ length: "length";
92
+ mass: "mass";
93
+ electricCurrent: "electricCurrent";
94
+ thermodynamicTemperature: "thermodynamicTemperature";
95
+ amountOfSubstance: "amountOfSubstance";
96
+ luminousIntensity: "luminousIntensity";
97
+ }> & z.core.$partial, z.ZodNumber>;
98
+ factorToSi: z.ZodObject<{
99
+ numerator: z.ZodString;
100
+ denominator: z.ZodString;
101
+ }, z.core.$strip>;
102
+ offsetToSi: z.ZodOptional<z.ZodObject<{
103
+ numerator: z.ZodString;
104
+ denominator: z.ZodString;
105
+ }, z.core.$strip>>;
106
+ context: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strip>>;
108
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
109
+ id: z.ZodString;
110
+ bases: z.ZodArray<z.ZodObject<{
111
+ unit: z.ZodString;
112
+ value: z.ZodObject<{
113
+ numerator: z.ZodString;
114
+ denominator: z.ZodString;
115
+ }, z.core.$strip>;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>>>;
118
+ }, z.core.$strip>>;
119
+ metadata: z.ZodObject<{
120
+ title: z.ZodOptional<z.ZodString>;
121
+ author: z.ZodOptional<z.ZodString>;
122
+ subject: z.ZodOptional<z.ZodString>;
123
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
+ creator: z.ZodOptional<z.ZodString>;
125
+ producer: z.ZodOptional<z.ZodString>;
126
+ createdIso: z.ZodOptional<z.ZodString>;
127
+ modifiedIso: z.ZodOptional<z.ZodString>;
128
+ language: z.ZodOptional<z.ZodString>;
129
+ }, z.core.$strip>;
130
+ kind: z.ZodLiteral<"wordprocessing">;
131
+ }, z.core.$strip>, z.ZodObject<{
132
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").SlideGroupNode, import("document-schema.js").SlideGroupNode>>;
133
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
+ widthPt: z.ZodNumber;
135
+ heightPt: z.ZodNumber;
136
+ }, z.core.$strip>>>;
137
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
138
+ paragraph: z.ZodOptional<z.ZodObject<{
139
+ alignment: z.ZodOptional<z.ZodEnum<{
140
+ left: "left";
141
+ center: "center";
142
+ right: "right";
143
+ justify: "justify";
144
+ }>>;
145
+ list: z.ZodOptional<z.ZodObject<{
146
+ numId: z.ZodOptional<z.ZodString>;
147
+ level: z.ZodNumber;
148
+ checked: z.ZodOptional<z.ZodBoolean>;
149
+ itemId: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strip>>;
151
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
152
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
153
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
154
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
155
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
156
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
157
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
158
+ }, z.core.$strict>>;
159
+ run: z.ZodOptional<z.ZodObject<{
160
+ bold: z.ZodOptional<z.ZodBoolean>;
161
+ italic: z.ZodOptional<z.ZodBoolean>;
162
+ underline: z.ZodOptional<z.ZodBoolean>;
163
+ strike: z.ZodOptional<z.ZodBoolean>;
164
+ fontFamily: z.ZodOptional<z.ZodString>;
165
+ sizePt: z.ZodOptional<z.ZodNumber>;
166
+ color: z.ZodOptional<z.ZodObject<{
167
+ r: z.ZodNumber;
168
+ g: z.ZodNumber;
169
+ b: z.ZodNumber;
170
+ }, z.core.$strip>>;
171
+ }, z.core.$strict>>;
172
+ }, z.core.$strict>>>;
173
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
174
+ kind: z.ZodString;
175
+ }, z.core.$loose>>>;
176
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
177
+ kind: z.ZodString;
178
+ }, z.core.$loose>>>;
179
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
180
+ kind: z.ZodString;
181
+ }, z.core.$loose>>>;
182
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
183
+ kind: z.ZodString;
184
+ }, z.core.$loose>>>;
185
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
186
+ format: z.ZodEnum<{
187
+ docx: "docx";
188
+ pptx: "pptx";
189
+ xlsx: "xlsx";
190
+ odt: "odt";
191
+ ods: "ods";
192
+ odp: "odp";
193
+ odg: "odg";
194
+ odm: "odm";
195
+ odb: "odb";
196
+ odf: "odf";
197
+ markdown: "markdown";
198
+ pdf: "pdf";
199
+ epub: "epub";
200
+ }>;
201
+ xml: z.ZodString;
202
+ }, z.core.$strict>>>;
203
+ symbolTable: z.ZodOptional<z.ZodObject<{
204
+ symbols: z.ZodArray<z.ZodObject<{
205
+ glyph: z.ZodString;
206
+ scope: z.ZodString;
207
+ id: z.ZodString;
208
+ quantityKind: z.ZodOptional<z.ZodString>;
209
+ preferredUnit: z.ZodOptional<z.ZodString>;
210
+ definitionSource: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strip>>;
212
+ units: z.ZodArray<z.ZodObject<{
213
+ id: z.ZodString;
214
+ symbol: z.ZodString;
215
+ name: z.ZodOptional<z.ZodString>;
216
+ dimension: z.ZodRecord<z.ZodEnum<{
217
+ time: "time";
218
+ length: "length";
219
+ mass: "mass";
220
+ electricCurrent: "electricCurrent";
221
+ thermodynamicTemperature: "thermodynamicTemperature";
222
+ amountOfSubstance: "amountOfSubstance";
223
+ luminousIntensity: "luminousIntensity";
224
+ }> & z.core.$partial, z.ZodNumber>;
225
+ factorToSi: z.ZodObject<{
226
+ numerator: z.ZodString;
227
+ denominator: z.ZodString;
228
+ }, z.core.$strip>;
229
+ offsetToSi: z.ZodOptional<z.ZodObject<{
230
+ numerator: z.ZodString;
231
+ denominator: z.ZodString;
232
+ }, z.core.$strip>>;
233
+ context: z.ZodOptional<z.ZodString>;
234
+ }, z.core.$strip>>;
235
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
236
+ id: z.ZodString;
237
+ bases: z.ZodArray<z.ZodObject<{
238
+ unit: z.ZodString;
239
+ value: z.ZodObject<{
240
+ numerator: z.ZodString;
241
+ denominator: z.ZodString;
242
+ }, z.core.$strip>;
243
+ }, z.core.$strip>>;
244
+ }, z.core.$strip>>>;
245
+ }, z.core.$strip>>;
246
+ metadata: z.ZodObject<{
247
+ title: z.ZodOptional<z.ZodString>;
248
+ author: z.ZodOptional<z.ZodString>;
249
+ subject: z.ZodOptional<z.ZodString>;
250
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
251
+ creator: z.ZodOptional<z.ZodString>;
252
+ producer: z.ZodOptional<z.ZodString>;
253
+ createdIso: z.ZodOptional<z.ZodString>;
254
+ modifiedIso: z.ZodOptional<z.ZodString>;
255
+ language: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strip>;
257
+ kind: z.ZodLiteral<"presentation">;
258
+ }, z.core.$strip>, z.ZodObject<{
259
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
260
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
261
+ widthPt: z.ZodNumber;
262
+ heightPt: z.ZodNumber;
263
+ }, z.core.$strip>>>;
264
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
265
+ paragraph: z.ZodOptional<z.ZodObject<{
266
+ alignment: z.ZodOptional<z.ZodEnum<{
267
+ left: "left";
268
+ center: "center";
269
+ right: "right";
270
+ justify: "justify";
271
+ }>>;
272
+ list: z.ZodOptional<z.ZodObject<{
273
+ numId: z.ZodOptional<z.ZodString>;
274
+ level: z.ZodNumber;
275
+ checked: z.ZodOptional<z.ZodBoolean>;
276
+ itemId: z.ZodOptional<z.ZodString>;
277
+ }, z.core.$strip>>;
278
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
279
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
280
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
281
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
282
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
283
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
284
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
285
+ }, z.core.$strict>>;
286
+ run: z.ZodOptional<z.ZodObject<{
287
+ bold: z.ZodOptional<z.ZodBoolean>;
288
+ italic: z.ZodOptional<z.ZodBoolean>;
289
+ underline: z.ZodOptional<z.ZodBoolean>;
290
+ strike: z.ZodOptional<z.ZodBoolean>;
291
+ fontFamily: z.ZodOptional<z.ZodString>;
292
+ sizePt: z.ZodOptional<z.ZodNumber>;
293
+ color: z.ZodOptional<z.ZodObject<{
294
+ r: z.ZodNumber;
295
+ g: z.ZodNumber;
296
+ b: z.ZodNumber;
297
+ }, z.core.$strip>>;
298
+ }, z.core.$strict>>;
299
+ }, z.core.$strict>>>;
300
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
301
+ kind: z.ZodString;
302
+ }, z.core.$loose>>>;
303
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
304
+ kind: z.ZodString;
305
+ }, z.core.$loose>>>;
306
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
307
+ kind: z.ZodString;
308
+ }, z.core.$loose>>>;
309
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
310
+ kind: z.ZodString;
311
+ }, z.core.$loose>>>;
312
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
313
+ format: z.ZodEnum<{
314
+ docx: "docx";
315
+ pptx: "pptx";
316
+ xlsx: "xlsx";
317
+ odt: "odt";
318
+ ods: "ods";
319
+ odp: "odp";
320
+ odg: "odg";
321
+ odm: "odm";
322
+ odb: "odb";
323
+ odf: "odf";
324
+ markdown: "markdown";
325
+ pdf: "pdf";
326
+ epub: "epub";
327
+ }>;
328
+ xml: z.ZodString;
329
+ }, z.core.$strict>>>;
330
+ symbolTable: z.ZodOptional<z.ZodObject<{
331
+ symbols: z.ZodArray<z.ZodObject<{
332
+ glyph: z.ZodString;
333
+ scope: z.ZodString;
334
+ id: z.ZodString;
335
+ quantityKind: z.ZodOptional<z.ZodString>;
336
+ preferredUnit: z.ZodOptional<z.ZodString>;
337
+ definitionSource: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strip>>;
339
+ units: z.ZodArray<z.ZodObject<{
340
+ id: z.ZodString;
341
+ symbol: z.ZodString;
342
+ name: z.ZodOptional<z.ZodString>;
343
+ dimension: z.ZodRecord<z.ZodEnum<{
344
+ time: "time";
345
+ length: "length";
346
+ mass: "mass";
347
+ electricCurrent: "electricCurrent";
348
+ thermodynamicTemperature: "thermodynamicTemperature";
349
+ amountOfSubstance: "amountOfSubstance";
350
+ luminousIntensity: "luminousIntensity";
351
+ }> & z.core.$partial, z.ZodNumber>;
352
+ factorToSi: z.ZodObject<{
353
+ numerator: z.ZodString;
354
+ denominator: z.ZodString;
355
+ }, z.core.$strip>;
356
+ offsetToSi: z.ZodOptional<z.ZodObject<{
357
+ numerator: z.ZodString;
358
+ denominator: z.ZodString;
359
+ }, z.core.$strip>>;
360
+ context: z.ZodOptional<z.ZodString>;
361
+ }, z.core.$strip>>;
362
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
+ id: z.ZodString;
364
+ bases: z.ZodArray<z.ZodObject<{
365
+ unit: z.ZodString;
366
+ value: z.ZodObject<{
367
+ numerator: z.ZodString;
368
+ denominator: z.ZodString;
369
+ }, z.core.$strip>;
370
+ }, z.core.$strip>>;
371
+ }, z.core.$strip>>>;
372
+ }, z.core.$strip>>;
373
+ metadata: z.ZodObject<{
374
+ title: z.ZodOptional<z.ZodString>;
375
+ author: z.ZodOptional<z.ZodString>;
376
+ subject: z.ZodOptional<z.ZodString>;
377
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
378
+ creator: z.ZodOptional<z.ZodString>;
379
+ producer: z.ZodOptional<z.ZodString>;
380
+ createdIso: z.ZodOptional<z.ZodString>;
381
+ modifiedIso: z.ZodOptional<z.ZodString>;
382
+ language: z.ZodOptional<z.ZodString>;
383
+ }, z.core.$strip>;
384
+ kind: z.ZodLiteral<"spreadsheet">;
385
+ }, z.core.$strip>, z.ZodObject<{
386
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").DrawPageGroupNode, import("document-schema.js").DrawPageGroupNode>>;
387
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
388
+ widthPt: z.ZodNumber;
389
+ heightPt: z.ZodNumber;
390
+ }, z.core.$strip>>>;
391
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
392
+ paragraph: z.ZodOptional<z.ZodObject<{
393
+ alignment: z.ZodOptional<z.ZodEnum<{
394
+ left: "left";
395
+ center: "center";
396
+ right: "right";
397
+ justify: "justify";
398
+ }>>;
399
+ list: z.ZodOptional<z.ZodObject<{
400
+ numId: z.ZodOptional<z.ZodString>;
401
+ level: z.ZodNumber;
402
+ checked: z.ZodOptional<z.ZodBoolean>;
403
+ itemId: z.ZodOptional<z.ZodString>;
404
+ }, z.core.$strip>>;
405
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
406
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
407
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
408
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
409
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
410
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
411
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
412
+ }, z.core.$strict>>;
413
+ run: z.ZodOptional<z.ZodObject<{
414
+ bold: z.ZodOptional<z.ZodBoolean>;
415
+ italic: z.ZodOptional<z.ZodBoolean>;
416
+ underline: z.ZodOptional<z.ZodBoolean>;
417
+ strike: z.ZodOptional<z.ZodBoolean>;
418
+ fontFamily: z.ZodOptional<z.ZodString>;
419
+ sizePt: z.ZodOptional<z.ZodNumber>;
420
+ color: z.ZodOptional<z.ZodObject<{
421
+ r: z.ZodNumber;
422
+ g: z.ZodNumber;
423
+ b: z.ZodNumber;
424
+ }, z.core.$strip>>;
425
+ }, z.core.$strict>>;
426
+ }, z.core.$strict>>>;
427
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
428
+ kind: z.ZodString;
429
+ }, z.core.$loose>>>;
430
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
431
+ kind: z.ZodString;
432
+ }, z.core.$loose>>>;
433
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
434
+ kind: z.ZodString;
435
+ }, z.core.$loose>>>;
436
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
437
+ kind: z.ZodString;
438
+ }, z.core.$loose>>>;
439
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
440
+ format: z.ZodEnum<{
441
+ docx: "docx";
442
+ pptx: "pptx";
443
+ xlsx: "xlsx";
444
+ odt: "odt";
445
+ ods: "ods";
446
+ odp: "odp";
447
+ odg: "odg";
448
+ odm: "odm";
449
+ odb: "odb";
450
+ odf: "odf";
451
+ markdown: "markdown";
452
+ pdf: "pdf";
453
+ epub: "epub";
454
+ }>;
455
+ xml: z.ZodString;
456
+ }, z.core.$strict>>>;
457
+ symbolTable: z.ZodOptional<z.ZodObject<{
458
+ symbols: z.ZodArray<z.ZodObject<{
459
+ glyph: z.ZodString;
460
+ scope: z.ZodString;
461
+ id: z.ZodString;
462
+ quantityKind: z.ZodOptional<z.ZodString>;
463
+ preferredUnit: z.ZodOptional<z.ZodString>;
464
+ definitionSource: z.ZodOptional<z.ZodString>;
465
+ }, z.core.$strip>>;
466
+ units: z.ZodArray<z.ZodObject<{
467
+ id: z.ZodString;
468
+ symbol: z.ZodString;
469
+ name: z.ZodOptional<z.ZodString>;
470
+ dimension: z.ZodRecord<z.ZodEnum<{
471
+ time: "time";
472
+ length: "length";
473
+ mass: "mass";
474
+ electricCurrent: "electricCurrent";
475
+ thermodynamicTemperature: "thermodynamicTemperature";
476
+ amountOfSubstance: "amountOfSubstance";
477
+ luminousIntensity: "luminousIntensity";
478
+ }> & z.core.$partial, z.ZodNumber>;
479
+ factorToSi: z.ZodObject<{
480
+ numerator: z.ZodString;
481
+ denominator: z.ZodString;
482
+ }, z.core.$strip>;
483
+ offsetToSi: z.ZodOptional<z.ZodObject<{
484
+ numerator: z.ZodString;
485
+ denominator: z.ZodString;
486
+ }, z.core.$strip>>;
487
+ context: z.ZodOptional<z.ZodString>;
488
+ }, z.core.$strip>>;
489
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
490
+ id: z.ZodString;
491
+ bases: z.ZodArray<z.ZodObject<{
492
+ unit: z.ZodString;
493
+ value: z.ZodObject<{
494
+ numerator: z.ZodString;
495
+ denominator: z.ZodString;
496
+ }, z.core.$strip>;
497
+ }, z.core.$strip>>;
498
+ }, z.core.$strip>>>;
499
+ }, z.core.$strip>>;
500
+ metadata: z.ZodObject<{
501
+ title: z.ZodOptional<z.ZodString>;
502
+ author: z.ZodOptional<z.ZodString>;
503
+ subject: z.ZodOptional<z.ZodString>;
504
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
505
+ creator: z.ZodOptional<z.ZodString>;
506
+ producer: z.ZodOptional<z.ZodString>;
507
+ createdIso: z.ZodOptional<z.ZodString>;
508
+ modifiedIso: z.ZodOptional<z.ZodString>;
509
+ language: z.ZodOptional<z.ZodString>;
510
+ }, z.core.$strip>;
511
+ kind: z.ZodLiteral<"drawing">;
512
+ }, z.core.$strip>, z.ZodObject<{
513
+ children: z.ZodArray<z.ZodObject<{
514
+ mathml: z.ZodArray<z.ZodCustom<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode>>;
515
+ starMath: z.ZodOptional<z.ZodString>;
516
+ presentation: z.ZodOptional<z.ZodObject<{
517
+ latex: z.ZodString;
518
+ }, z.core.$strip>>;
519
+ content: z.ZodOptional<z.ZodCustom<import("document-schema.js").MathExpression, import("document-schema.js").MathExpression>>;
520
+ provenance: z.ZodOptional<z.ZodObject<{
521
+ source: z.ZodString;
522
+ pageRef: z.ZodOptional<z.ZodString>;
523
+ editTrail: z.ZodArray<z.ZodString>;
524
+ }, z.core.$strip>>;
525
+ source: z.ZodOptional<z.ZodObject<{
526
+ format: z.ZodEnum<{
527
+ docx: "docx";
528
+ pptx: "pptx";
529
+ xlsx: "xlsx";
530
+ odt: "odt";
531
+ ods: "ods";
532
+ odp: "odp";
533
+ odg: "odg";
534
+ odm: "odm";
535
+ odb: "odb";
536
+ odf: "odf";
537
+ markdown: "markdown";
538
+ pdf: "pdf";
539
+ epub: "epub";
540
+ }>;
541
+ xml: z.ZodString;
542
+ }, z.core.$strict>>;
543
+ }, z.core.$strip>>;
544
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
+ widthPt: z.ZodNumber;
546
+ heightPt: z.ZodNumber;
547
+ }, z.core.$strip>>>;
548
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
549
+ paragraph: z.ZodOptional<z.ZodObject<{
550
+ alignment: z.ZodOptional<z.ZodEnum<{
551
+ left: "left";
552
+ center: "center";
553
+ right: "right";
554
+ justify: "justify";
555
+ }>>;
556
+ list: z.ZodOptional<z.ZodObject<{
557
+ numId: z.ZodOptional<z.ZodString>;
558
+ level: z.ZodNumber;
559
+ checked: z.ZodOptional<z.ZodBoolean>;
560
+ itemId: z.ZodOptional<z.ZodString>;
561
+ }, z.core.$strip>>;
562
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
563
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
564
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
565
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
566
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
567
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
568
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
569
+ }, z.core.$strict>>;
570
+ run: z.ZodOptional<z.ZodObject<{
571
+ bold: z.ZodOptional<z.ZodBoolean>;
572
+ italic: z.ZodOptional<z.ZodBoolean>;
573
+ underline: z.ZodOptional<z.ZodBoolean>;
574
+ strike: z.ZodOptional<z.ZodBoolean>;
575
+ fontFamily: z.ZodOptional<z.ZodString>;
576
+ sizePt: z.ZodOptional<z.ZodNumber>;
577
+ color: z.ZodOptional<z.ZodObject<{
578
+ r: z.ZodNumber;
579
+ g: z.ZodNumber;
580
+ b: z.ZodNumber;
581
+ }, z.core.$strip>>;
582
+ }, z.core.$strict>>;
583
+ }, z.core.$strict>>>;
584
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
585
+ kind: z.ZodString;
586
+ }, z.core.$loose>>>;
587
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
588
+ kind: z.ZodString;
589
+ }, z.core.$loose>>>;
590
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
591
+ kind: z.ZodString;
592
+ }, z.core.$loose>>>;
593
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
594
+ kind: z.ZodString;
595
+ }, z.core.$loose>>>;
596
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
597
+ format: z.ZodEnum<{
598
+ docx: "docx";
599
+ pptx: "pptx";
600
+ xlsx: "xlsx";
601
+ odt: "odt";
602
+ ods: "ods";
603
+ odp: "odp";
604
+ odg: "odg";
605
+ odm: "odm";
606
+ odb: "odb";
607
+ odf: "odf";
608
+ markdown: "markdown";
609
+ pdf: "pdf";
610
+ epub: "epub";
611
+ }>;
612
+ xml: z.ZodString;
613
+ }, z.core.$strict>>>;
614
+ symbolTable: z.ZodOptional<z.ZodObject<{
615
+ symbols: z.ZodArray<z.ZodObject<{
616
+ glyph: z.ZodString;
617
+ scope: z.ZodString;
618
+ id: z.ZodString;
619
+ quantityKind: z.ZodOptional<z.ZodString>;
620
+ preferredUnit: z.ZodOptional<z.ZodString>;
621
+ definitionSource: z.ZodOptional<z.ZodString>;
622
+ }, z.core.$strip>>;
623
+ units: z.ZodArray<z.ZodObject<{
624
+ id: z.ZodString;
625
+ symbol: z.ZodString;
626
+ name: z.ZodOptional<z.ZodString>;
627
+ dimension: z.ZodRecord<z.ZodEnum<{
628
+ time: "time";
629
+ length: "length";
630
+ mass: "mass";
631
+ electricCurrent: "electricCurrent";
632
+ thermodynamicTemperature: "thermodynamicTemperature";
633
+ amountOfSubstance: "amountOfSubstance";
634
+ luminousIntensity: "luminousIntensity";
635
+ }> & z.core.$partial, z.ZodNumber>;
636
+ factorToSi: z.ZodObject<{
637
+ numerator: z.ZodString;
638
+ denominator: z.ZodString;
639
+ }, z.core.$strip>;
640
+ offsetToSi: z.ZodOptional<z.ZodObject<{
641
+ numerator: z.ZodString;
642
+ denominator: z.ZodString;
643
+ }, z.core.$strip>>;
644
+ context: z.ZodOptional<z.ZodString>;
645
+ }, z.core.$strip>>;
646
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
647
+ id: z.ZodString;
648
+ bases: z.ZodArray<z.ZodObject<{
649
+ unit: z.ZodString;
650
+ value: z.ZodObject<{
651
+ numerator: z.ZodString;
652
+ denominator: z.ZodString;
653
+ }, z.core.$strip>;
654
+ }, z.core.$strip>>;
655
+ }, z.core.$strip>>>;
656
+ }, z.core.$strip>>;
657
+ metadata: z.ZodObject<{
658
+ title: z.ZodOptional<z.ZodString>;
659
+ author: z.ZodOptional<z.ZodString>;
660
+ subject: z.ZodOptional<z.ZodString>;
661
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
662
+ creator: z.ZodOptional<z.ZodString>;
663
+ producer: z.ZodOptional<z.ZodString>;
664
+ createdIso: z.ZodOptional<z.ZodString>;
665
+ modifiedIso: z.ZodOptional<z.ZodString>;
666
+ language: z.ZodOptional<z.ZodString>;
667
+ }, z.core.$strip>;
668
+ kind: z.ZodLiteral<"formula">;
669
+ }, z.core.$strip>], "kind">>;
670
+ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
671
+ sections: z.ZodArray<z.ZodObject<{
672
+ pageSize: z.ZodObject<{
673
+ widthPt: z.ZodNumber;
674
+ heightPt: z.ZodNumber;
675
+ }, z.core.$strip>;
676
+ margins: z.ZodObject<{
677
+ topPt: z.ZodNumber;
678
+ rightPt: z.ZodNumber;
679
+ bottomPt: z.ZodNumber;
680
+ leftPt: z.ZodNumber;
681
+ }, z.core.$strip>;
682
+ blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
683
+ breakType: z.ZodOptional<z.ZodEnum<{
684
+ nextPage: "nextPage";
685
+ continuous: "continuous";
686
+ evenPage: "evenPage";
687
+ oddPage: "oddPage";
688
+ }>>;
689
+ source: z.ZodOptional<z.ZodObject<{
690
+ format: z.ZodEnum<{
691
+ docx: "docx";
692
+ pptx: "pptx";
693
+ xlsx: "xlsx";
694
+ odt: "odt";
695
+ ods: "ods";
696
+ odp: "odp";
697
+ odg: "odg";
698
+ odm: "odm";
699
+ odb: "odb";
700
+ odf: "odf";
701
+ markdown: "markdown";
702
+ pdf: "pdf";
703
+ epub: "epub";
704
+ }>;
705
+ xml: z.ZodString;
706
+ }, z.core.$strict>>;
707
+ }, z.core.$strip>>;
708
+ symbolTable: z.ZodOptional<z.ZodObject<{
709
+ symbols: z.ZodArray<z.ZodObject<{
710
+ glyph: z.ZodString;
711
+ scope: z.ZodString;
712
+ id: z.ZodString;
713
+ quantityKind: z.ZodOptional<z.ZodString>;
714
+ preferredUnit: z.ZodOptional<z.ZodString>;
715
+ definitionSource: z.ZodOptional<z.ZodString>;
716
+ }, z.core.$strip>>;
717
+ units: z.ZodArray<z.ZodObject<{
718
+ id: z.ZodString;
719
+ symbol: z.ZodString;
720
+ name: z.ZodOptional<z.ZodString>;
721
+ dimension: z.ZodRecord<z.ZodEnum<{
722
+ time: "time";
723
+ length: "length";
724
+ mass: "mass";
725
+ electricCurrent: "electricCurrent";
726
+ thermodynamicTemperature: "thermodynamicTemperature";
727
+ amountOfSubstance: "amountOfSubstance";
728
+ luminousIntensity: "luminousIntensity";
729
+ }> & z.core.$partial, z.ZodNumber>;
730
+ factorToSi: z.ZodObject<{
731
+ numerator: z.ZodString;
732
+ denominator: z.ZodString;
733
+ }, z.core.$strip>;
734
+ offsetToSi: z.ZodOptional<z.ZodObject<{
735
+ numerator: z.ZodString;
736
+ denominator: z.ZodString;
737
+ }, z.core.$strip>>;
738
+ context: z.ZodOptional<z.ZodString>;
739
+ }, z.core.$strip>>;
740
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
741
+ id: z.ZodString;
742
+ bases: z.ZodArray<z.ZodObject<{
743
+ unit: z.ZodString;
744
+ value: z.ZodObject<{
745
+ numerator: z.ZodString;
746
+ denominator: z.ZodString;
747
+ }, z.core.$strip>;
748
+ }, z.core.$strip>>;
749
+ }, z.core.$strip>>>;
750
+ }, z.core.$strip>>;
751
+ kind: z.ZodLiteral<"wordprocessing">;
752
+ metadata: z.ZodObject<{
753
+ title: z.ZodOptional<z.ZodString>;
754
+ author: z.ZodOptional<z.ZodString>;
755
+ subject: z.ZodOptional<z.ZodString>;
756
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
757
+ creator: z.ZodOptional<z.ZodString>;
758
+ producer: z.ZodOptional<z.ZodString>;
759
+ createdIso: z.ZodOptional<z.ZodString>;
760
+ modifiedIso: z.ZodOptional<z.ZodString>;
761
+ language: z.ZodOptional<z.ZodString>;
762
+ }, z.core.$strip>;
763
+ }, z.core.$strip>, z.ZodObject<{
764
+ slides: z.ZodArray<z.ZodObject<{
765
+ size: z.ZodObject<{
766
+ widthPt: z.ZodNumber;
767
+ heightPt: z.ZodNumber;
768
+ }, z.core.$strip>;
769
+ shapes: z.ZodArray<z.ZodObject<{
770
+ name: z.ZodOptional<z.ZodString>;
771
+ frame: z.ZodObject<{
772
+ xPt: z.ZodNumber;
773
+ yPt: z.ZodNumber;
774
+ widthPt: z.ZodNumber;
775
+ heightPt: z.ZodNumber;
776
+ }, z.core.$strip>;
777
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
778
+ insetLeftPt: z.ZodNumber;
779
+ insetTopPt: z.ZodNumber;
780
+ insetRightPt: z.ZodNumber;
781
+ insetBottomPt: z.ZodNumber;
782
+ fontScale: z.ZodOptional<z.ZodNumber>;
783
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
784
+ paintOrder: z.ZodOptional<z.ZodNumber>;
785
+ sourcePath: z.ZodOptional<z.ZodString>;
786
+ source: z.ZodOptional<z.ZodObject<{
787
+ format: z.ZodEnum<{
788
+ docx: "docx";
789
+ pptx: "pptx";
790
+ xlsx: "xlsx";
791
+ odt: "odt";
792
+ ods: "ods";
793
+ odp: "odp";
794
+ odg: "odg";
795
+ odm: "odm";
796
+ odb: "odb";
797
+ odf: "odf";
798
+ markdown: "markdown";
799
+ pdf: "pdf";
800
+ epub: "epub";
801
+ }>;
802
+ xml: z.ZodString;
803
+ }, z.core.$strict>>;
804
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
805
+ pageIndex: z.ZodNumber;
806
+ xPt: z.ZodNumber;
807
+ yPt: z.ZodNumber;
808
+ widthPt: z.ZodNumber;
809
+ heightPt: z.ZodNumber;
810
+ }, z.core.$strip>>>;
811
+ blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
812
+ }, z.core.$strip>>;
813
+ notes: z.ZodString;
814
+ source: z.ZodOptional<z.ZodObject<{
815
+ format: z.ZodEnum<{
816
+ docx: "docx";
817
+ pptx: "pptx";
818
+ xlsx: "xlsx";
819
+ odt: "odt";
820
+ ods: "ods";
821
+ odp: "odp";
822
+ odg: "odg";
823
+ odm: "odm";
824
+ odb: "odb";
825
+ odf: "odf";
826
+ markdown: "markdown";
827
+ pdf: "pdf";
828
+ epub: "epub";
829
+ }>;
830
+ xml: z.ZodString;
831
+ }, z.core.$strict>>;
832
+ }, z.core.$strip>>;
833
+ symbolTable: z.ZodOptional<z.ZodObject<{
834
+ symbols: z.ZodArray<z.ZodObject<{
835
+ glyph: z.ZodString;
836
+ scope: z.ZodString;
837
+ id: z.ZodString;
838
+ quantityKind: z.ZodOptional<z.ZodString>;
839
+ preferredUnit: z.ZodOptional<z.ZodString>;
840
+ definitionSource: z.ZodOptional<z.ZodString>;
841
+ }, z.core.$strip>>;
842
+ units: z.ZodArray<z.ZodObject<{
843
+ id: z.ZodString;
844
+ symbol: z.ZodString;
845
+ name: z.ZodOptional<z.ZodString>;
846
+ dimension: z.ZodRecord<z.ZodEnum<{
847
+ time: "time";
848
+ length: "length";
849
+ mass: "mass";
850
+ electricCurrent: "electricCurrent";
851
+ thermodynamicTemperature: "thermodynamicTemperature";
852
+ amountOfSubstance: "amountOfSubstance";
853
+ luminousIntensity: "luminousIntensity";
854
+ }> & z.core.$partial, z.ZodNumber>;
855
+ factorToSi: z.ZodObject<{
856
+ numerator: z.ZodString;
857
+ denominator: z.ZodString;
858
+ }, z.core.$strip>;
859
+ offsetToSi: z.ZodOptional<z.ZodObject<{
860
+ numerator: z.ZodString;
861
+ denominator: z.ZodString;
862
+ }, z.core.$strip>>;
863
+ context: z.ZodOptional<z.ZodString>;
864
+ }, z.core.$strip>>;
865
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
866
+ id: z.ZodString;
867
+ bases: z.ZodArray<z.ZodObject<{
868
+ unit: z.ZodString;
869
+ value: z.ZodObject<{
870
+ numerator: z.ZodString;
871
+ denominator: z.ZodString;
872
+ }, z.core.$strip>;
873
+ }, z.core.$strip>>;
874
+ }, z.core.$strip>>>;
875
+ }, z.core.$strip>>;
876
+ kind: z.ZodLiteral<"presentation">;
877
+ metadata: z.ZodObject<{
878
+ title: z.ZodOptional<z.ZodString>;
879
+ author: z.ZodOptional<z.ZodString>;
880
+ subject: z.ZodOptional<z.ZodString>;
881
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
882
+ creator: z.ZodOptional<z.ZodString>;
883
+ producer: z.ZodOptional<z.ZodString>;
884
+ createdIso: z.ZodOptional<z.ZodString>;
885
+ modifiedIso: z.ZodOptional<z.ZodString>;
886
+ language: z.ZodOptional<z.ZodString>;
887
+ }, z.core.$strip>;
888
+ }, z.core.$strip>, z.ZodObject<{
889
+ sheets: z.ZodArray<z.ZodObject<{
890
+ name: z.ZodString;
891
+ cells: z.ZodArray<z.ZodObject<{
892
+ row: z.ZodNumber;
893
+ column: z.ZodNumber;
894
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
895
+ kind: z.ZodLiteral<"number">;
896
+ value: z.ZodNumber;
897
+ exactValue: z.ZodOptional<z.ZodString>;
898
+ }, z.core.$strip>, z.ZodObject<{
899
+ kind: z.ZodLiteral<"percentage">;
900
+ value: z.ZodNumber;
901
+ exactValue: z.ZodOptional<z.ZodString>;
902
+ }, z.core.$strip>, z.ZodObject<{
903
+ kind: z.ZodLiteral<"currency">;
904
+ value: z.ZodNumber;
905
+ currency: z.ZodOptional<z.ZodString>;
906
+ exactValue: z.ZodOptional<z.ZodString>;
907
+ }, z.core.$strip>, z.ZodObject<{
908
+ kind: z.ZodLiteral<"boolean">;
909
+ value: z.ZodBoolean;
910
+ }, z.core.$strip>, z.ZodObject<{
911
+ kind: z.ZodLiteral<"date">;
912
+ value: z.ZodString;
913
+ }, z.core.$strip>, z.ZodObject<{
914
+ kind: z.ZodLiteral<"time">;
915
+ value: z.ZodString;
916
+ }, z.core.$strip>, z.ZodObject<{
917
+ kind: z.ZodLiteral<"dateTime">;
918
+ value: z.ZodString;
919
+ }, z.core.$strip>, z.ZodObject<{
920
+ kind: z.ZodLiteral<"string">;
921
+ value: z.ZodString;
922
+ }, z.core.$strip>, z.ZodObject<{
923
+ kind: z.ZodLiteral<"error">;
924
+ value: z.ZodString;
925
+ }, z.core.$strip>, z.ZodObject<{
926
+ kind: z.ZodLiteral<"empty">;
927
+ }, z.core.$strip>], "kind">;
928
+ formula: z.ZodOptional<z.ZodString>;
929
+ displayText: z.ZodString;
930
+ numberFormatCode: z.ZodOptional<z.ZodString>;
931
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
932
+ text: z.ZodString;
933
+ bold: z.ZodOptional<z.ZodBoolean>;
934
+ italic: z.ZodOptional<z.ZodBoolean>;
935
+ underline: z.ZodOptional<z.ZodBoolean>;
936
+ strike: z.ZodOptional<z.ZodBoolean>;
937
+ fontFamily: z.ZodOptional<z.ZodString>;
938
+ sizePt: z.ZodOptional<z.ZodNumber>;
939
+ color: z.ZodOptional<z.ZodObject<{
940
+ r: z.ZodNumber;
941
+ g: z.ZodNumber;
942
+ b: z.ZodNumber;
943
+ }, z.core.$strip>>;
944
+ hyperlink: z.ZodOptional<z.ZodString>;
945
+ sourcePath: z.ZodOptional<z.ZodString>;
946
+ source: z.ZodOptional<z.ZodObject<{
947
+ format: z.ZodEnum<{
948
+ docx: "docx";
949
+ pptx: "pptx";
950
+ xlsx: "xlsx";
951
+ odt: "odt";
952
+ ods: "ods";
953
+ odp: "odp";
954
+ odg: "odg";
955
+ odm: "odm";
956
+ odb: "odb";
957
+ odf: "odf";
958
+ markdown: "markdown";
959
+ pdf: "pdf";
960
+ epub: "epub";
961
+ }>;
962
+ xml: z.ZodString;
963
+ }, z.core.$strict>>;
964
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
965
+ pageIndex: z.ZodNumber;
966
+ xPt: z.ZodNumber;
967
+ yPt: z.ZodNumber;
968
+ widthPt: z.ZodNumber;
969
+ heightPt: z.ZodNumber;
970
+ }, z.core.$strip>>>;
971
+ }, z.core.$strip>>>;
972
+ colSpan: z.ZodOptional<z.ZodNumber>;
973
+ rowSpan: z.ZodOptional<z.ZodNumber>;
974
+ background: z.ZodOptional<z.ZodObject<{
975
+ r: z.ZodNumber;
976
+ g: z.ZodNumber;
977
+ b: z.ZodNumber;
978
+ }, z.core.$strip>>;
979
+ borders: z.ZodOptional<z.ZodObject<{
980
+ left: z.ZodOptional<z.ZodObject<{
981
+ color: z.ZodObject<{
982
+ r: z.ZodNumber;
983
+ g: z.ZodNumber;
984
+ b: z.ZodNumber;
985
+ }, z.core.$strip>;
986
+ widthPt: z.ZodNumber;
987
+ style: z.ZodOptional<z.ZodEnum<{
988
+ solid: "solid";
989
+ dashed: "dashed";
990
+ dotted: "dotted";
991
+ double: "double";
992
+ }>>;
993
+ }, z.core.$strip>>;
994
+ right: z.ZodOptional<z.ZodObject<{
995
+ color: z.ZodObject<{
996
+ r: z.ZodNumber;
997
+ g: z.ZodNumber;
998
+ b: z.ZodNumber;
999
+ }, z.core.$strip>;
1000
+ widthPt: z.ZodNumber;
1001
+ style: z.ZodOptional<z.ZodEnum<{
1002
+ solid: "solid";
1003
+ dashed: "dashed";
1004
+ dotted: "dotted";
1005
+ double: "double";
1006
+ }>>;
1007
+ }, z.core.$strip>>;
1008
+ top: z.ZodOptional<z.ZodObject<{
1009
+ color: z.ZodObject<{
1010
+ r: z.ZodNumber;
1011
+ g: z.ZodNumber;
1012
+ b: z.ZodNumber;
1013
+ }, z.core.$strip>;
1014
+ widthPt: z.ZodNumber;
1015
+ style: z.ZodOptional<z.ZodEnum<{
1016
+ solid: "solid";
1017
+ dashed: "dashed";
1018
+ dotted: "dotted";
1019
+ double: "double";
1020
+ }>>;
1021
+ }, z.core.$strip>>;
1022
+ bottom: z.ZodOptional<z.ZodObject<{
1023
+ color: z.ZodObject<{
1024
+ r: z.ZodNumber;
1025
+ g: z.ZodNumber;
1026
+ b: z.ZodNumber;
1027
+ }, z.core.$strip>;
1028
+ widthPt: z.ZodNumber;
1029
+ style: z.ZodOptional<z.ZodEnum<{
1030
+ solid: "solid";
1031
+ dashed: "dashed";
1032
+ dotted: "dotted";
1033
+ double: "double";
1034
+ }>>;
1035
+ }, z.core.$strip>>;
1036
+ }, z.core.$strip>>;
1037
+ alignment: z.ZodOptional<z.ZodEnum<{
1038
+ left: "left";
1039
+ center: "center";
1040
+ right: "right";
1041
+ justify: "justify";
1042
+ }>>;
1043
+ verticalAlignment: z.ZodOptional<z.ZodEnum<{
1044
+ top: "top";
1045
+ bottom: "bottom";
1046
+ middle: "middle";
1047
+ }>>;
1048
+ comment: z.ZodOptional<z.ZodObject<{
1049
+ text: z.ZodString;
1050
+ author: z.ZodOptional<z.ZodString>;
1051
+ createdAt: z.ZodOptional<z.ZodString>;
1052
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1053
+ text: z.ZodString;
1054
+ author: z.ZodOptional<z.ZodString>;
1055
+ }, z.core.$strip>>>;
1056
+ }, z.core.$strip>>;
1057
+ sourcePath: z.ZodOptional<z.ZodString>;
1058
+ source: z.ZodOptional<z.ZodObject<{
1059
+ format: z.ZodEnum<{
1060
+ docx: "docx";
1061
+ pptx: "pptx";
1062
+ xlsx: "xlsx";
1063
+ odt: "odt";
1064
+ ods: "ods";
1065
+ odp: "odp";
1066
+ odg: "odg";
1067
+ odm: "odm";
1068
+ odb: "odb";
1069
+ odf: "odf";
1070
+ markdown: "markdown";
1071
+ pdf: "pdf";
1072
+ epub: "epub";
1073
+ }>;
1074
+ xml: z.ZodString;
1075
+ }, z.core.$strict>>;
1076
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1077
+ pageIndex: z.ZodNumber;
1078
+ xPt: z.ZodNumber;
1079
+ yPt: z.ZodNumber;
1080
+ widthPt: z.ZodNumber;
1081
+ heightPt: z.ZodNumber;
1082
+ }, z.core.$strip>>>;
1083
+ }, z.core.$strip>>;
1084
+ columns: z.ZodArray<z.ZodObject<{
1085
+ index: z.ZodNumber;
1086
+ widthPt: z.ZodOptional<z.ZodNumber>;
1087
+ hidden: z.ZodOptional<z.ZodBoolean>;
1088
+ }, z.core.$strip>>;
1089
+ rows: z.ZodArray<z.ZodObject<{
1090
+ index: z.ZodNumber;
1091
+ heightPt: z.ZodOptional<z.ZodNumber>;
1092
+ hidden: z.ZodOptional<z.ZodBoolean>;
1093
+ }, z.core.$strip>>;
1094
+ images: z.ZodArray<z.ZodObject<{
1095
+ kind: z.ZodLiteral<"image">;
1096
+ format: z.ZodEnum<{
1097
+ png: "png";
1098
+ jpeg: "jpeg";
1099
+ }>;
1100
+ base64: z.ZodString;
1101
+ widthPt: z.ZodNumber;
1102
+ heightPt: z.ZodNumber;
1103
+ altText: z.ZodOptional<z.ZodString>;
1104
+ sourcePath: z.ZodOptional<z.ZodString>;
1105
+ source: z.ZodOptional<z.ZodObject<{
1106
+ format: z.ZodEnum<{
1107
+ docx: "docx";
1108
+ pptx: "pptx";
1109
+ xlsx: "xlsx";
1110
+ odt: "odt";
1111
+ ods: "ods";
1112
+ odp: "odp";
1113
+ odg: "odg";
1114
+ odm: "odm";
1115
+ odb: "odb";
1116
+ odf: "odf";
1117
+ markdown: "markdown";
1118
+ pdf: "pdf";
1119
+ epub: "epub";
1120
+ }>;
1121
+ xml: z.ZodString;
1122
+ }, z.core.$strict>>;
1123
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1124
+ pageIndex: z.ZodNumber;
1125
+ xPt: z.ZodNumber;
1126
+ yPt: z.ZodNumber;
1127
+ widthPt: z.ZodNumber;
1128
+ heightPt: z.ZodNumber;
1129
+ }, z.core.$strip>>>;
1130
+ anchorRow: z.ZodNumber;
1131
+ anchorColumn: z.ZodNumber;
1132
+ offsetXPt: z.ZodNumber;
1133
+ offsetYPt: z.ZodNumber;
1134
+ }, z.core.$strip>>;
1135
+ printSettings: z.ZodObject<{
1136
+ pageSize: z.ZodObject<{
1137
+ widthPt: z.ZodNumber;
1138
+ heightPt: z.ZodNumber;
1139
+ }, z.core.$strip>;
1140
+ margins: z.ZodObject<{
1141
+ topPt: z.ZodNumber;
1142
+ rightPt: z.ZodNumber;
1143
+ bottomPt: z.ZodNumber;
1144
+ leftPt: z.ZodNumber;
1145
+ }, z.core.$strip>;
1146
+ printRange: z.ZodOptional<z.ZodObject<{
1147
+ startRow: z.ZodNumber;
1148
+ startColumn: z.ZodNumber;
1149
+ endRow: z.ZodNumber;
1150
+ endColumn: z.ZodNumber;
1151
+ }, z.core.$strip>>;
1152
+ scalePercent: z.ZodOptional<z.ZodNumber>;
1153
+ fitToPages: z.ZodOptional<z.ZodObject<{
1154
+ width: z.ZodNumber;
1155
+ height: z.ZodNumber;
1156
+ }, z.core.$strip>>;
1157
+ repeatRows: z.ZodOptional<z.ZodObject<{
1158
+ start: z.ZodNumber;
1159
+ end: z.ZodNumber;
1160
+ }, z.core.$strip>>;
1161
+ repeatColumns: z.ZodOptional<z.ZodObject<{
1162
+ start: z.ZodNumber;
1163
+ end: z.ZodNumber;
1164
+ }, z.core.$strip>>;
1165
+ gridlines: z.ZodBoolean;
1166
+ headers: z.ZodBoolean;
1167
+ pageOrder: z.ZodEnum<{
1168
+ downThenOver: "downThenOver";
1169
+ overThenDown: "overThenDown";
1170
+ }>;
1171
+ manualBreaks: z.ZodOptional<z.ZodObject<{
1172
+ rows: z.ZodArray<z.ZodNumber>;
1173
+ columns: z.ZodArray<z.ZodNumber>;
1174
+ }, z.core.$strip>>;
1175
+ }, z.core.$strip>;
1176
+ embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<import("document-schema.js").ContentEmbeddedObject, import("document-schema.js").ContentEmbeddedObject>>>;
1177
+ dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1178
+ ranges: z.ZodArray<z.ZodObject<{
1179
+ startRow: z.ZodNumber;
1180
+ startColumn: z.ZodNumber;
1181
+ endRow: z.ZodNumber;
1182
+ endColumn: z.ZodNumber;
1183
+ }, z.core.$strip>>;
1184
+ type: z.ZodEnum<{
1185
+ date: "date";
1186
+ custom: "custom";
1187
+ list: "list";
1188
+ time: "time";
1189
+ whole: "whole";
1190
+ decimal: "decimal";
1191
+ textLength: "textLength";
1192
+ }>;
1193
+ operator: z.ZodOptional<z.ZodEnum<{
1194
+ between: "between";
1195
+ notBetween: "notBetween";
1196
+ equal: "equal";
1197
+ notEqual: "notEqual";
1198
+ greaterThan: "greaterThan";
1199
+ greaterThanOrEqual: "greaterThanOrEqual";
1200
+ lessThan: "lessThan";
1201
+ lessThanOrEqual: "lessThanOrEqual";
1202
+ }>>;
1203
+ formula1: z.ZodOptional<z.ZodString>;
1204
+ formula2: z.ZodOptional<z.ZodString>;
1205
+ allowBlank: z.ZodOptional<z.ZodBoolean>;
1206
+ showInputMessage: z.ZodOptional<z.ZodBoolean>;
1207
+ promptTitle: z.ZodOptional<z.ZodString>;
1208
+ prompt: z.ZodOptional<z.ZodString>;
1209
+ showErrorMessage: z.ZodOptional<z.ZodBoolean>;
1210
+ errorStyle: z.ZodOptional<z.ZodEnum<{
1211
+ stop: "stop";
1212
+ warning: "warning";
1213
+ information: "information";
1214
+ }>>;
1215
+ errorTitle: z.ZodOptional<z.ZodString>;
1216
+ error: z.ZodOptional<z.ZodString>;
1217
+ source: z.ZodOptional<z.ZodObject<{
1218
+ format: z.ZodEnum<{
1219
+ docx: "docx";
1220
+ pptx: "pptx";
1221
+ xlsx: "xlsx";
1222
+ odt: "odt";
1223
+ ods: "ods";
1224
+ odp: "odp";
1225
+ odg: "odg";
1226
+ odm: "odm";
1227
+ odb: "odb";
1228
+ odf: "odf";
1229
+ markdown: "markdown";
1230
+ pdf: "pdf";
1231
+ epub: "epub";
1232
+ }>;
1233
+ xml: z.ZodString;
1234
+ }, z.core.$strict>>;
1235
+ }, z.core.$strip>>>;
1236
+ conditionalFormats: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1237
+ operator: z.ZodEnum<{
1238
+ between: "between";
1239
+ notBetween: "notBetween";
1240
+ equal: "equal";
1241
+ notEqual: "notEqual";
1242
+ greaterThan: "greaterThan";
1243
+ greaterThanOrEqual: "greaterThanOrEqual";
1244
+ lessThan: "lessThan";
1245
+ lessThanOrEqual: "lessThanOrEqual";
1246
+ }>;
1247
+ formula1: z.ZodString;
1248
+ formula2: z.ZodOptional<z.ZodString>;
1249
+ style: z.ZodOptional<z.ZodObject<{
1250
+ textColor: z.ZodOptional<z.ZodObject<{
1251
+ r: z.ZodNumber;
1252
+ g: z.ZodNumber;
1253
+ b: z.ZodNumber;
1254
+ }, z.core.$strip>>;
1255
+ background: z.ZodOptional<z.ZodObject<{
1256
+ r: z.ZodNumber;
1257
+ g: z.ZodNumber;
1258
+ b: z.ZodNumber;
1259
+ }, z.core.$strip>>;
1260
+ source: z.ZodOptional<z.ZodObject<{
1261
+ format: z.ZodEnum<{
1262
+ docx: "docx";
1263
+ pptx: "pptx";
1264
+ xlsx: "xlsx";
1265
+ odt: "odt";
1266
+ ods: "ods";
1267
+ odp: "odp";
1268
+ odg: "odg";
1269
+ odm: "odm";
1270
+ odb: "odb";
1271
+ odf: "odf";
1272
+ markdown: "markdown";
1273
+ pdf: "pdf";
1274
+ epub: "epub";
1275
+ }>;
1276
+ xml: z.ZodString;
1277
+ }, z.core.$strict>>;
1278
+ }, z.core.$strip>>;
1279
+ ranges: z.ZodArray<z.ZodObject<{
1280
+ startRow: z.ZodNumber;
1281
+ startColumn: z.ZodNumber;
1282
+ endRow: z.ZodNumber;
1283
+ endColumn: z.ZodNumber;
1284
+ }, z.core.$strip>>;
1285
+ priority: z.ZodOptional<z.ZodNumber>;
1286
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1287
+ source: z.ZodOptional<z.ZodObject<{
1288
+ format: z.ZodEnum<{
1289
+ docx: "docx";
1290
+ pptx: "pptx";
1291
+ xlsx: "xlsx";
1292
+ odt: "odt";
1293
+ ods: "ods";
1294
+ odp: "odp";
1295
+ odg: "odg";
1296
+ odm: "odm";
1297
+ odb: "odb";
1298
+ odf: "odf";
1299
+ markdown: "markdown";
1300
+ pdf: "pdf";
1301
+ epub: "epub";
1302
+ }>;
1303
+ xml: z.ZodString;
1304
+ }, z.core.$strict>>;
1305
+ type: z.ZodLiteral<"cellIs">;
1306
+ }, z.core.$strip>, z.ZodObject<{
1307
+ text: z.ZodString;
1308
+ style: z.ZodOptional<z.ZodObject<{
1309
+ textColor: z.ZodOptional<z.ZodObject<{
1310
+ r: z.ZodNumber;
1311
+ g: z.ZodNumber;
1312
+ b: z.ZodNumber;
1313
+ }, z.core.$strip>>;
1314
+ background: z.ZodOptional<z.ZodObject<{
1315
+ r: z.ZodNumber;
1316
+ g: z.ZodNumber;
1317
+ b: z.ZodNumber;
1318
+ }, z.core.$strip>>;
1319
+ source: z.ZodOptional<z.ZodObject<{
1320
+ format: z.ZodEnum<{
1321
+ docx: "docx";
1322
+ pptx: "pptx";
1323
+ xlsx: "xlsx";
1324
+ odt: "odt";
1325
+ ods: "ods";
1326
+ odp: "odp";
1327
+ odg: "odg";
1328
+ odm: "odm";
1329
+ odb: "odb";
1330
+ odf: "odf";
1331
+ markdown: "markdown";
1332
+ pdf: "pdf";
1333
+ epub: "epub";
1334
+ }>;
1335
+ xml: z.ZodString;
1336
+ }, z.core.$strict>>;
1337
+ }, z.core.$strip>>;
1338
+ ranges: z.ZodArray<z.ZodObject<{
1339
+ startRow: z.ZodNumber;
1340
+ startColumn: z.ZodNumber;
1341
+ endRow: z.ZodNumber;
1342
+ endColumn: z.ZodNumber;
1343
+ }, z.core.$strip>>;
1344
+ priority: z.ZodOptional<z.ZodNumber>;
1345
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1346
+ source: z.ZodOptional<z.ZodObject<{
1347
+ format: z.ZodEnum<{
1348
+ docx: "docx";
1349
+ pptx: "pptx";
1350
+ xlsx: "xlsx";
1351
+ odt: "odt";
1352
+ ods: "ods";
1353
+ odp: "odp";
1354
+ odg: "odg";
1355
+ odm: "odm";
1356
+ odb: "odb";
1357
+ odf: "odf";
1358
+ markdown: "markdown";
1359
+ pdf: "pdf";
1360
+ epub: "epub";
1361
+ }>;
1362
+ xml: z.ZodString;
1363
+ }, z.core.$strict>>;
1364
+ type: z.ZodEnum<{
1365
+ containsText: "containsText";
1366
+ notContainsText: "notContainsText";
1367
+ beginsWith: "beginsWith";
1368
+ endsWith: "endsWith";
1369
+ }>;
1370
+ }, z.core.$strip>, z.ZodObject<{
1371
+ style: z.ZodOptional<z.ZodObject<{
1372
+ textColor: z.ZodOptional<z.ZodObject<{
1373
+ r: z.ZodNumber;
1374
+ g: z.ZodNumber;
1375
+ b: z.ZodNumber;
1376
+ }, z.core.$strip>>;
1377
+ background: z.ZodOptional<z.ZodObject<{
1378
+ r: z.ZodNumber;
1379
+ g: z.ZodNumber;
1380
+ b: z.ZodNumber;
1381
+ }, z.core.$strip>>;
1382
+ source: z.ZodOptional<z.ZodObject<{
1383
+ format: z.ZodEnum<{
1384
+ docx: "docx";
1385
+ pptx: "pptx";
1386
+ xlsx: "xlsx";
1387
+ odt: "odt";
1388
+ ods: "ods";
1389
+ odp: "odp";
1390
+ odg: "odg";
1391
+ odm: "odm";
1392
+ odb: "odb";
1393
+ odf: "odf";
1394
+ markdown: "markdown";
1395
+ pdf: "pdf";
1396
+ epub: "epub";
1397
+ }>;
1398
+ xml: z.ZodString;
1399
+ }, z.core.$strict>>;
1400
+ }, z.core.$strip>>;
1401
+ ranges: z.ZodArray<z.ZodObject<{
1402
+ startRow: z.ZodNumber;
1403
+ startColumn: z.ZodNumber;
1404
+ endRow: z.ZodNumber;
1405
+ endColumn: z.ZodNumber;
1406
+ }, z.core.$strip>>;
1407
+ priority: z.ZodOptional<z.ZodNumber>;
1408
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1409
+ source: z.ZodOptional<z.ZodObject<{
1410
+ format: z.ZodEnum<{
1411
+ docx: "docx";
1412
+ pptx: "pptx";
1413
+ xlsx: "xlsx";
1414
+ odt: "odt";
1415
+ ods: "ods";
1416
+ odp: "odp";
1417
+ odg: "odg";
1418
+ odm: "odm";
1419
+ odb: "odb";
1420
+ odf: "odf";
1421
+ markdown: "markdown";
1422
+ pdf: "pdf";
1423
+ epub: "epub";
1424
+ }>;
1425
+ xml: z.ZodString;
1426
+ }, z.core.$strict>>;
1427
+ type: z.ZodEnum<{
1428
+ containsBlanks: "containsBlanks";
1429
+ notContainsBlanks: "notContainsBlanks";
1430
+ containsErrors: "containsErrors";
1431
+ notContainsErrors: "notContainsErrors";
1432
+ uniqueValues: "uniqueValues";
1433
+ duplicateValues: "duplicateValues";
1434
+ }>;
1435
+ }, z.core.$strip>, z.ZodObject<{
1436
+ rank: z.ZodNumber;
1437
+ percent: z.ZodOptional<z.ZodBoolean>;
1438
+ bottom: z.ZodOptional<z.ZodBoolean>;
1439
+ style: z.ZodOptional<z.ZodObject<{
1440
+ textColor: z.ZodOptional<z.ZodObject<{
1441
+ r: z.ZodNumber;
1442
+ g: z.ZodNumber;
1443
+ b: z.ZodNumber;
1444
+ }, z.core.$strip>>;
1445
+ background: z.ZodOptional<z.ZodObject<{
1446
+ r: z.ZodNumber;
1447
+ g: z.ZodNumber;
1448
+ b: z.ZodNumber;
1449
+ }, z.core.$strip>>;
1450
+ source: z.ZodOptional<z.ZodObject<{
1451
+ format: z.ZodEnum<{
1452
+ docx: "docx";
1453
+ pptx: "pptx";
1454
+ xlsx: "xlsx";
1455
+ odt: "odt";
1456
+ ods: "ods";
1457
+ odp: "odp";
1458
+ odg: "odg";
1459
+ odm: "odm";
1460
+ odb: "odb";
1461
+ odf: "odf";
1462
+ markdown: "markdown";
1463
+ pdf: "pdf";
1464
+ epub: "epub";
1465
+ }>;
1466
+ xml: z.ZodString;
1467
+ }, z.core.$strict>>;
1468
+ }, z.core.$strip>>;
1469
+ ranges: z.ZodArray<z.ZodObject<{
1470
+ startRow: z.ZodNumber;
1471
+ startColumn: z.ZodNumber;
1472
+ endRow: z.ZodNumber;
1473
+ endColumn: z.ZodNumber;
1474
+ }, z.core.$strip>>;
1475
+ priority: z.ZodOptional<z.ZodNumber>;
1476
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1477
+ source: z.ZodOptional<z.ZodObject<{
1478
+ format: z.ZodEnum<{
1479
+ docx: "docx";
1480
+ pptx: "pptx";
1481
+ xlsx: "xlsx";
1482
+ odt: "odt";
1483
+ ods: "ods";
1484
+ odp: "odp";
1485
+ odg: "odg";
1486
+ odm: "odm";
1487
+ odb: "odb";
1488
+ odf: "odf";
1489
+ markdown: "markdown";
1490
+ pdf: "pdf";
1491
+ epub: "epub";
1492
+ }>;
1493
+ xml: z.ZodString;
1494
+ }, z.core.$strict>>;
1495
+ type: z.ZodLiteral<"top10">;
1496
+ }, z.core.$strip>, z.ZodObject<{
1497
+ aboveAverage: z.ZodOptional<z.ZodBoolean>;
1498
+ equalAverage: z.ZodOptional<z.ZodBoolean>;
1499
+ stdDev: z.ZodOptional<z.ZodNumber>;
1500
+ style: z.ZodOptional<z.ZodObject<{
1501
+ textColor: z.ZodOptional<z.ZodObject<{
1502
+ r: z.ZodNumber;
1503
+ g: z.ZodNumber;
1504
+ b: z.ZodNumber;
1505
+ }, z.core.$strip>>;
1506
+ background: z.ZodOptional<z.ZodObject<{
1507
+ r: z.ZodNumber;
1508
+ g: z.ZodNumber;
1509
+ b: z.ZodNumber;
1510
+ }, z.core.$strip>>;
1511
+ source: z.ZodOptional<z.ZodObject<{
1512
+ format: z.ZodEnum<{
1513
+ docx: "docx";
1514
+ pptx: "pptx";
1515
+ xlsx: "xlsx";
1516
+ odt: "odt";
1517
+ ods: "ods";
1518
+ odp: "odp";
1519
+ odg: "odg";
1520
+ odm: "odm";
1521
+ odb: "odb";
1522
+ odf: "odf";
1523
+ markdown: "markdown";
1524
+ pdf: "pdf";
1525
+ epub: "epub";
1526
+ }>;
1527
+ xml: z.ZodString;
1528
+ }, z.core.$strict>>;
1529
+ }, z.core.$strip>>;
1530
+ ranges: z.ZodArray<z.ZodObject<{
1531
+ startRow: z.ZodNumber;
1532
+ startColumn: z.ZodNumber;
1533
+ endRow: z.ZodNumber;
1534
+ endColumn: z.ZodNumber;
1535
+ }, z.core.$strip>>;
1536
+ priority: z.ZodOptional<z.ZodNumber>;
1537
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1538
+ source: z.ZodOptional<z.ZodObject<{
1539
+ format: z.ZodEnum<{
1540
+ docx: "docx";
1541
+ pptx: "pptx";
1542
+ xlsx: "xlsx";
1543
+ odt: "odt";
1544
+ ods: "ods";
1545
+ odp: "odp";
1546
+ odg: "odg";
1547
+ odm: "odm";
1548
+ odb: "odb";
1549
+ odf: "odf";
1550
+ markdown: "markdown";
1551
+ pdf: "pdf";
1552
+ epub: "epub";
1553
+ }>;
1554
+ xml: z.ZodString;
1555
+ }, z.core.$strict>>;
1556
+ type: z.ZodLiteral<"aboveAverage">;
1557
+ }, z.core.$strip>, z.ZodObject<{
1558
+ timePeriod: z.ZodEnum<{
1559
+ yesterday: "yesterday";
1560
+ today: "today";
1561
+ tomorrow: "tomorrow";
1562
+ last7Days: "last7Days";
1563
+ thisMonth: "thisMonth";
1564
+ lastMonth: "lastMonth";
1565
+ nextMonth: "nextMonth";
1566
+ thisWeek: "thisWeek";
1567
+ lastWeek: "lastWeek";
1568
+ nextWeek: "nextWeek";
1569
+ }>;
1570
+ style: z.ZodOptional<z.ZodObject<{
1571
+ textColor: z.ZodOptional<z.ZodObject<{
1572
+ r: z.ZodNumber;
1573
+ g: z.ZodNumber;
1574
+ b: z.ZodNumber;
1575
+ }, z.core.$strip>>;
1576
+ background: z.ZodOptional<z.ZodObject<{
1577
+ r: z.ZodNumber;
1578
+ g: z.ZodNumber;
1579
+ b: z.ZodNumber;
1580
+ }, z.core.$strip>>;
1581
+ source: z.ZodOptional<z.ZodObject<{
1582
+ format: z.ZodEnum<{
1583
+ docx: "docx";
1584
+ pptx: "pptx";
1585
+ xlsx: "xlsx";
1586
+ odt: "odt";
1587
+ ods: "ods";
1588
+ odp: "odp";
1589
+ odg: "odg";
1590
+ odm: "odm";
1591
+ odb: "odb";
1592
+ odf: "odf";
1593
+ markdown: "markdown";
1594
+ pdf: "pdf";
1595
+ epub: "epub";
1596
+ }>;
1597
+ xml: z.ZodString;
1598
+ }, z.core.$strict>>;
1599
+ }, z.core.$strip>>;
1600
+ ranges: z.ZodArray<z.ZodObject<{
1601
+ startRow: z.ZodNumber;
1602
+ startColumn: z.ZodNumber;
1603
+ endRow: z.ZodNumber;
1604
+ endColumn: z.ZodNumber;
1605
+ }, z.core.$strip>>;
1606
+ priority: z.ZodOptional<z.ZodNumber>;
1607
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1608
+ source: z.ZodOptional<z.ZodObject<{
1609
+ format: z.ZodEnum<{
1610
+ docx: "docx";
1611
+ pptx: "pptx";
1612
+ xlsx: "xlsx";
1613
+ odt: "odt";
1614
+ ods: "ods";
1615
+ odp: "odp";
1616
+ odg: "odg";
1617
+ odm: "odm";
1618
+ odb: "odb";
1619
+ odf: "odf";
1620
+ markdown: "markdown";
1621
+ pdf: "pdf";
1622
+ epub: "epub";
1623
+ }>;
1624
+ xml: z.ZodString;
1625
+ }, z.core.$strict>>;
1626
+ type: z.ZodLiteral<"timePeriod">;
1627
+ }, z.core.$strip>, z.ZodObject<{
1628
+ stops: z.ZodArray<z.ZodObject<{
1629
+ value: z.ZodObject<{
1630
+ type: z.ZodEnum<{
1631
+ formula: "formula";
1632
+ num: "num";
1633
+ percent: "percent";
1634
+ max: "max";
1635
+ min: "min";
1636
+ percentile: "percentile";
1637
+ }>;
1638
+ value: z.ZodOptional<z.ZodString>;
1639
+ }, z.core.$strip>;
1640
+ color: z.ZodObject<{
1641
+ r: z.ZodNumber;
1642
+ g: z.ZodNumber;
1643
+ b: z.ZodNumber;
1644
+ }, z.core.$strip>;
1645
+ }, z.core.$strip>>;
1646
+ ranges: z.ZodArray<z.ZodObject<{
1647
+ startRow: z.ZodNumber;
1648
+ startColumn: z.ZodNumber;
1649
+ endRow: z.ZodNumber;
1650
+ endColumn: z.ZodNumber;
1651
+ }, z.core.$strip>>;
1652
+ priority: z.ZodOptional<z.ZodNumber>;
1653
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1654
+ source: z.ZodOptional<z.ZodObject<{
1655
+ format: z.ZodEnum<{
1656
+ docx: "docx";
1657
+ pptx: "pptx";
1658
+ xlsx: "xlsx";
1659
+ odt: "odt";
1660
+ ods: "ods";
1661
+ odp: "odp";
1662
+ odg: "odg";
1663
+ odm: "odm";
1664
+ odb: "odb";
1665
+ odf: "odf";
1666
+ markdown: "markdown";
1667
+ pdf: "pdf";
1668
+ epub: "epub";
1669
+ }>;
1670
+ xml: z.ZodString;
1671
+ }, z.core.$strict>>;
1672
+ type: z.ZodLiteral<"colorScale">;
1673
+ }, z.core.$strip>, z.ZodObject<{
1674
+ min: z.ZodObject<{
1675
+ type: z.ZodEnum<{
1676
+ formula: "formula";
1677
+ num: "num";
1678
+ percent: "percent";
1679
+ max: "max";
1680
+ min: "min";
1681
+ percentile: "percentile";
1682
+ }>;
1683
+ value: z.ZodOptional<z.ZodString>;
1684
+ }, z.core.$strip>;
1685
+ max: z.ZodObject<{
1686
+ type: z.ZodEnum<{
1687
+ formula: "formula";
1688
+ num: "num";
1689
+ percent: "percent";
1690
+ max: "max";
1691
+ min: "min";
1692
+ percentile: "percentile";
1693
+ }>;
1694
+ value: z.ZodOptional<z.ZodString>;
1695
+ }, z.core.$strip>;
1696
+ color: z.ZodObject<{
1697
+ r: z.ZodNumber;
1698
+ g: z.ZodNumber;
1699
+ b: z.ZodNumber;
1700
+ }, z.core.$strip>;
1701
+ showValue: z.ZodOptional<z.ZodBoolean>;
1702
+ ranges: z.ZodArray<z.ZodObject<{
1703
+ startRow: z.ZodNumber;
1704
+ startColumn: z.ZodNumber;
1705
+ endRow: z.ZodNumber;
1706
+ endColumn: z.ZodNumber;
1707
+ }, z.core.$strip>>;
1708
+ priority: z.ZodOptional<z.ZodNumber>;
1709
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1710
+ source: z.ZodOptional<z.ZodObject<{
1711
+ format: z.ZodEnum<{
1712
+ docx: "docx";
1713
+ pptx: "pptx";
1714
+ xlsx: "xlsx";
1715
+ odt: "odt";
1716
+ ods: "ods";
1717
+ odp: "odp";
1718
+ odg: "odg";
1719
+ odm: "odm";
1720
+ odb: "odb";
1721
+ odf: "odf";
1722
+ markdown: "markdown";
1723
+ pdf: "pdf";
1724
+ epub: "epub";
1725
+ }>;
1726
+ xml: z.ZodString;
1727
+ }, z.core.$strict>>;
1728
+ type: z.ZodLiteral<"dataBar">;
1729
+ }, z.core.$strip>, z.ZodObject<{
1730
+ iconSetType: z.ZodString;
1731
+ thresholds: z.ZodArray<z.ZodObject<{
1732
+ type: z.ZodEnum<{
1733
+ formula: "formula";
1734
+ num: "num";
1735
+ percent: "percent";
1736
+ max: "max";
1737
+ min: "min";
1738
+ percentile: "percentile";
1739
+ }>;
1740
+ value: z.ZodOptional<z.ZodString>;
1741
+ }, z.core.$strip>>;
1742
+ reverse: z.ZodOptional<z.ZodBoolean>;
1743
+ showValue: z.ZodOptional<z.ZodBoolean>;
1744
+ ranges: z.ZodArray<z.ZodObject<{
1745
+ startRow: z.ZodNumber;
1746
+ startColumn: z.ZodNumber;
1747
+ endRow: z.ZodNumber;
1748
+ endColumn: z.ZodNumber;
1749
+ }, z.core.$strip>>;
1750
+ priority: z.ZodOptional<z.ZodNumber>;
1751
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1752
+ source: z.ZodOptional<z.ZodObject<{
1753
+ format: z.ZodEnum<{
1754
+ docx: "docx";
1755
+ pptx: "pptx";
1756
+ xlsx: "xlsx";
1757
+ odt: "odt";
1758
+ ods: "ods";
1759
+ odp: "odp";
1760
+ odg: "odg";
1761
+ odm: "odm";
1762
+ odb: "odb";
1763
+ odf: "odf";
1764
+ markdown: "markdown";
1765
+ pdf: "pdf";
1766
+ epub: "epub";
1767
+ }>;
1768
+ xml: z.ZodString;
1769
+ }, z.core.$strict>>;
1770
+ type: z.ZodLiteral<"iconSet">;
1771
+ }, z.core.$strip>], "type">>>;
1772
+ source: z.ZodOptional<z.ZodObject<{
1773
+ format: z.ZodEnum<{
1774
+ docx: "docx";
1775
+ pptx: "pptx";
1776
+ xlsx: "xlsx";
1777
+ odt: "odt";
1778
+ ods: "ods";
1779
+ odp: "odp";
1780
+ odg: "odg";
1781
+ odm: "odm";
1782
+ odb: "odb";
1783
+ odf: "odf";
1784
+ markdown: "markdown";
1785
+ pdf: "pdf";
1786
+ epub: "epub";
1787
+ }>;
1788
+ xml: z.ZodString;
1789
+ }, z.core.$strict>>;
1790
+ }, z.core.$strip>>;
1791
+ symbolTable: z.ZodOptional<z.ZodObject<{
1792
+ symbols: z.ZodArray<z.ZodObject<{
1793
+ glyph: z.ZodString;
1794
+ scope: z.ZodString;
1795
+ id: z.ZodString;
1796
+ quantityKind: z.ZodOptional<z.ZodString>;
1797
+ preferredUnit: z.ZodOptional<z.ZodString>;
1798
+ definitionSource: z.ZodOptional<z.ZodString>;
1799
+ }, z.core.$strip>>;
1800
+ units: z.ZodArray<z.ZodObject<{
1801
+ id: z.ZodString;
1802
+ symbol: z.ZodString;
1803
+ name: z.ZodOptional<z.ZodString>;
1804
+ dimension: z.ZodRecord<z.ZodEnum<{
1805
+ time: "time";
1806
+ length: "length";
1807
+ mass: "mass";
1808
+ electricCurrent: "electricCurrent";
1809
+ thermodynamicTemperature: "thermodynamicTemperature";
1810
+ amountOfSubstance: "amountOfSubstance";
1811
+ luminousIntensity: "luminousIntensity";
1812
+ }> & z.core.$partial, z.ZodNumber>;
1813
+ factorToSi: z.ZodObject<{
1814
+ numerator: z.ZodString;
1815
+ denominator: z.ZodString;
1816
+ }, z.core.$strip>;
1817
+ offsetToSi: z.ZodOptional<z.ZodObject<{
1818
+ numerator: z.ZodString;
1819
+ denominator: z.ZodString;
1820
+ }, z.core.$strip>>;
1821
+ context: z.ZodOptional<z.ZodString>;
1822
+ }, z.core.$strip>>;
1823
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1824
+ id: z.ZodString;
1825
+ bases: z.ZodArray<z.ZodObject<{
1826
+ unit: z.ZodString;
1827
+ value: z.ZodObject<{
1828
+ numerator: z.ZodString;
1829
+ denominator: z.ZodString;
1830
+ }, z.core.$strip>;
1831
+ }, z.core.$strip>>;
1832
+ }, z.core.$strip>>>;
1833
+ }, z.core.$strip>>;
1834
+ kind: z.ZodLiteral<"spreadsheet">;
1835
+ metadata: z.ZodObject<{
1836
+ title: z.ZodOptional<z.ZodString>;
1837
+ author: z.ZodOptional<z.ZodString>;
1838
+ subject: z.ZodOptional<z.ZodString>;
1839
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1840
+ creator: z.ZodOptional<z.ZodString>;
1841
+ producer: z.ZodOptional<z.ZodString>;
1842
+ createdIso: z.ZodOptional<z.ZodString>;
1843
+ modifiedIso: z.ZodOptional<z.ZodString>;
1844
+ language: z.ZodOptional<z.ZodString>;
1845
+ }, z.core.$strip>;
1846
+ }, z.core.$strip>, z.ZodObject<{
1847
+ pages: z.ZodArray<z.ZodObject<{
1848
+ size: z.ZodObject<{
1849
+ widthPt: z.ZodNumber;
1850
+ heightPt: z.ZodNumber;
1851
+ }, z.core.$strip>;
1852
+ shapes: z.ZodArray<z.ZodObject<{
1853
+ name: z.ZodOptional<z.ZodString>;
1854
+ frame: z.ZodObject<{
1855
+ xPt: z.ZodNumber;
1856
+ yPt: z.ZodNumber;
1857
+ widthPt: z.ZodNumber;
1858
+ heightPt: z.ZodNumber;
1859
+ }, z.core.$strip>;
1860
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1861
+ insetLeftPt: z.ZodNumber;
1862
+ insetTopPt: z.ZodNumber;
1863
+ insetRightPt: z.ZodNumber;
1864
+ insetBottomPt: z.ZodNumber;
1865
+ fontScale: z.ZodOptional<z.ZodNumber>;
1866
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1867
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1868
+ sourcePath: z.ZodOptional<z.ZodString>;
1869
+ source: z.ZodOptional<z.ZodObject<{
1870
+ format: z.ZodEnum<{
1871
+ docx: "docx";
1872
+ pptx: "pptx";
1873
+ xlsx: "xlsx";
1874
+ odt: "odt";
1875
+ ods: "ods";
1876
+ odp: "odp";
1877
+ odg: "odg";
1878
+ odm: "odm";
1879
+ odb: "odb";
1880
+ odf: "odf";
1881
+ markdown: "markdown";
1882
+ pdf: "pdf";
1883
+ epub: "epub";
1884
+ }>;
1885
+ xml: z.ZodString;
1886
+ }, z.core.$strict>>;
1887
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1888
+ pageIndex: z.ZodNumber;
1889
+ xPt: z.ZodNumber;
1890
+ yPt: z.ZodNumber;
1891
+ widthPt: z.ZodNumber;
1892
+ heightPt: z.ZodNumber;
1893
+ }, z.core.$strip>>>;
1894
+ blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
1895
+ }, z.core.$strip>>;
1896
+ vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1897
+ kind: z.ZodLiteral<"rect">;
1898
+ frame: z.ZodObject<{
1899
+ xPt: z.ZodNumber;
1900
+ yPt: z.ZodNumber;
1901
+ widthPt: z.ZodNumber;
1902
+ heightPt: z.ZodNumber;
1903
+ }, z.core.$strip>;
1904
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1905
+ fill: z.ZodOptional<z.ZodObject<{
1906
+ r: z.ZodNumber;
1907
+ g: z.ZodNumber;
1908
+ b: z.ZodNumber;
1909
+ }, z.core.$strip>>;
1910
+ stroke: z.ZodOptional<z.ZodObject<{
1911
+ color: z.ZodObject<{
1912
+ r: z.ZodNumber;
1913
+ g: z.ZodNumber;
1914
+ b: z.ZodNumber;
1915
+ }, z.core.$strip>;
1916
+ widthPt: z.ZodNumber;
1917
+ style: z.ZodOptional<z.ZodEnum<{
1918
+ solid: "solid";
1919
+ dashed: "dashed";
1920
+ dotted: "dotted";
1921
+ double: "double";
1922
+ }>>;
1923
+ }, z.core.$strip>>;
1924
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1925
+ sourcePath: z.ZodOptional<z.ZodString>;
1926
+ source: z.ZodOptional<z.ZodObject<{
1927
+ format: z.ZodEnum<{
1928
+ docx: "docx";
1929
+ pptx: "pptx";
1930
+ xlsx: "xlsx";
1931
+ odt: "odt";
1932
+ ods: "ods";
1933
+ odp: "odp";
1934
+ odg: "odg";
1935
+ odm: "odm";
1936
+ odb: "odb";
1937
+ odf: "odf";
1938
+ markdown: "markdown";
1939
+ pdf: "pdf";
1940
+ epub: "epub";
1941
+ }>;
1942
+ xml: z.ZodString;
1943
+ }, z.core.$strict>>;
1944
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1945
+ pageIndex: z.ZodNumber;
1946
+ xPt: z.ZodNumber;
1947
+ yPt: z.ZodNumber;
1948
+ widthPt: z.ZodNumber;
1949
+ heightPt: z.ZodNumber;
1950
+ }, z.core.$strip>>>;
1951
+ }, z.core.$strip>, z.ZodObject<{
1952
+ kind: z.ZodLiteral<"ellipse">;
1953
+ frame: z.ZodObject<{
1954
+ xPt: z.ZodNumber;
1955
+ yPt: z.ZodNumber;
1956
+ widthPt: z.ZodNumber;
1957
+ heightPt: z.ZodNumber;
1958
+ }, z.core.$strip>;
1959
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1960
+ fill: z.ZodOptional<z.ZodObject<{
1961
+ r: z.ZodNumber;
1962
+ g: z.ZodNumber;
1963
+ b: z.ZodNumber;
1964
+ }, z.core.$strip>>;
1965
+ stroke: z.ZodOptional<z.ZodObject<{
1966
+ color: z.ZodObject<{
1967
+ r: z.ZodNumber;
1968
+ g: z.ZodNumber;
1969
+ b: z.ZodNumber;
1970
+ }, z.core.$strip>;
1971
+ widthPt: z.ZodNumber;
1972
+ style: z.ZodOptional<z.ZodEnum<{
1973
+ solid: "solid";
1974
+ dashed: "dashed";
1975
+ dotted: "dotted";
1976
+ double: "double";
1977
+ }>>;
1978
+ }, z.core.$strip>>;
1979
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1980
+ sourcePath: z.ZodOptional<z.ZodString>;
1981
+ source: z.ZodOptional<z.ZodObject<{
1982
+ format: z.ZodEnum<{
1983
+ docx: "docx";
1984
+ pptx: "pptx";
1985
+ xlsx: "xlsx";
1986
+ odt: "odt";
1987
+ ods: "ods";
1988
+ odp: "odp";
1989
+ odg: "odg";
1990
+ odm: "odm";
1991
+ odb: "odb";
1992
+ odf: "odf";
1993
+ markdown: "markdown";
1994
+ pdf: "pdf";
1995
+ epub: "epub";
1996
+ }>;
1997
+ xml: z.ZodString;
1998
+ }, z.core.$strict>>;
1999
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2000
+ pageIndex: z.ZodNumber;
2001
+ xPt: z.ZodNumber;
2002
+ yPt: z.ZodNumber;
2003
+ widthPt: z.ZodNumber;
2004
+ heightPt: z.ZodNumber;
2005
+ }, z.core.$strip>>>;
2006
+ }, z.core.$strip>, z.ZodObject<{
2007
+ kind: z.ZodLiteral<"line">;
2008
+ from: z.ZodObject<{
2009
+ xPt: z.ZodNumber;
2010
+ yPt: z.ZodNumber;
2011
+ }, z.core.$strip>;
2012
+ to: z.ZodObject<{
2013
+ xPt: z.ZodNumber;
2014
+ yPt: z.ZodNumber;
2015
+ }, z.core.$strip>;
2016
+ stroke: z.ZodObject<{
2017
+ color: z.ZodObject<{
2018
+ r: z.ZodNumber;
2019
+ g: z.ZodNumber;
2020
+ b: z.ZodNumber;
2021
+ }, z.core.$strip>;
2022
+ widthPt: z.ZodNumber;
2023
+ style: z.ZodOptional<z.ZodEnum<{
2024
+ solid: "solid";
2025
+ dashed: "dashed";
2026
+ dotted: "dotted";
2027
+ double: "double";
2028
+ }>>;
2029
+ }, z.core.$strip>;
2030
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2031
+ sourcePath: z.ZodOptional<z.ZodString>;
2032
+ source: z.ZodOptional<z.ZodObject<{
2033
+ format: z.ZodEnum<{
2034
+ docx: "docx";
2035
+ pptx: "pptx";
2036
+ xlsx: "xlsx";
2037
+ odt: "odt";
2038
+ ods: "ods";
2039
+ odp: "odp";
2040
+ odg: "odg";
2041
+ odm: "odm";
2042
+ odb: "odb";
2043
+ odf: "odf";
2044
+ markdown: "markdown";
2045
+ pdf: "pdf";
2046
+ epub: "epub";
2047
+ }>;
2048
+ xml: z.ZodString;
2049
+ }, z.core.$strict>>;
2050
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2051
+ pageIndex: z.ZodNumber;
2052
+ xPt: z.ZodNumber;
2053
+ yPt: z.ZodNumber;
2054
+ widthPt: z.ZodNumber;
2055
+ heightPt: z.ZodNumber;
2056
+ }, z.core.$strip>>>;
2057
+ }, z.core.$strip>, z.ZodObject<{
2058
+ kind: z.ZodLiteral<"path">;
2059
+ frame: z.ZodObject<{
2060
+ xPt: z.ZodNumber;
2061
+ yPt: z.ZodNumber;
2062
+ widthPt: z.ZodNumber;
2063
+ heightPt: z.ZodNumber;
2064
+ }, z.core.$strip>;
2065
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2066
+ subpaths: z.ZodArray<z.ZodObject<{
2067
+ start: z.ZodObject<{
2068
+ xPt: z.ZodNumber;
2069
+ yPt: z.ZodNumber;
2070
+ }, z.core.$strip>;
2071
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2072
+ kind: z.ZodLiteral<"line">;
2073
+ to: z.ZodObject<{
2074
+ xPt: z.ZodNumber;
2075
+ yPt: z.ZodNumber;
2076
+ }, z.core.$strip>;
2077
+ }, z.core.$strip>, z.ZodObject<{
2078
+ kind: z.ZodLiteral<"cubic">;
2079
+ control1: z.ZodObject<{
2080
+ xPt: z.ZodNumber;
2081
+ yPt: z.ZodNumber;
2082
+ }, z.core.$strip>;
2083
+ control2: z.ZodObject<{
2084
+ xPt: z.ZodNumber;
2085
+ yPt: z.ZodNumber;
2086
+ }, z.core.$strip>;
2087
+ to: z.ZodObject<{
2088
+ xPt: z.ZodNumber;
2089
+ yPt: z.ZodNumber;
2090
+ }, z.core.$strip>;
2091
+ }, z.core.$strip>], "kind">>;
2092
+ closed: z.ZodBoolean;
2093
+ }, z.core.$strip>>;
2094
+ fill: z.ZodOptional<z.ZodObject<{
2095
+ r: z.ZodNumber;
2096
+ g: z.ZodNumber;
2097
+ b: z.ZodNumber;
2098
+ }, z.core.$strip>>;
2099
+ fillRule: z.ZodOptional<z.ZodEnum<{
2100
+ nonzero: "nonzero";
2101
+ evenodd: "evenodd";
2102
+ }>>;
2103
+ stroke: z.ZodOptional<z.ZodObject<{
2104
+ color: z.ZodObject<{
2105
+ r: z.ZodNumber;
2106
+ g: z.ZodNumber;
2107
+ b: z.ZodNumber;
2108
+ }, z.core.$strip>;
2109
+ widthPt: z.ZodNumber;
2110
+ style: z.ZodOptional<z.ZodEnum<{
2111
+ solid: "solid";
2112
+ dashed: "dashed";
2113
+ dotted: "dotted";
2114
+ double: "double";
2115
+ }>>;
2116
+ }, z.core.$strip>>;
2117
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2118
+ sourcePath: z.ZodOptional<z.ZodString>;
2119
+ source: z.ZodOptional<z.ZodObject<{
2120
+ format: z.ZodEnum<{
2121
+ docx: "docx";
2122
+ pptx: "pptx";
2123
+ xlsx: "xlsx";
2124
+ odt: "odt";
2125
+ ods: "ods";
2126
+ odp: "odp";
2127
+ odg: "odg";
2128
+ odm: "odm";
2129
+ odb: "odb";
2130
+ odf: "odf";
2131
+ markdown: "markdown";
2132
+ pdf: "pdf";
2133
+ epub: "epub";
2134
+ }>;
2135
+ xml: z.ZodString;
2136
+ }, z.core.$strict>>;
2137
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2138
+ pageIndex: z.ZodNumber;
2139
+ xPt: z.ZodNumber;
2140
+ yPt: z.ZodNumber;
2141
+ widthPt: z.ZodNumber;
2142
+ heightPt: z.ZodNumber;
2143
+ }, z.core.$strip>>>;
2144
+ }, z.core.$strip>], "kind">>;
2145
+ source: z.ZodOptional<z.ZodObject<{
2146
+ format: z.ZodEnum<{
2147
+ docx: "docx";
2148
+ pptx: "pptx";
2149
+ xlsx: "xlsx";
2150
+ odt: "odt";
2151
+ ods: "ods";
2152
+ odp: "odp";
2153
+ odg: "odg";
2154
+ odm: "odm";
2155
+ odb: "odb";
2156
+ odf: "odf";
2157
+ markdown: "markdown";
2158
+ pdf: "pdf";
2159
+ epub: "epub";
2160
+ }>;
2161
+ xml: z.ZodString;
2162
+ }, z.core.$strict>>;
2163
+ }, z.core.$strip>>;
2164
+ symbolTable: z.ZodOptional<z.ZodObject<{
2165
+ symbols: z.ZodArray<z.ZodObject<{
2166
+ glyph: z.ZodString;
2167
+ scope: z.ZodString;
2168
+ id: z.ZodString;
2169
+ quantityKind: z.ZodOptional<z.ZodString>;
2170
+ preferredUnit: z.ZodOptional<z.ZodString>;
2171
+ definitionSource: z.ZodOptional<z.ZodString>;
2172
+ }, z.core.$strip>>;
2173
+ units: z.ZodArray<z.ZodObject<{
2174
+ id: z.ZodString;
2175
+ symbol: z.ZodString;
2176
+ name: z.ZodOptional<z.ZodString>;
2177
+ dimension: z.ZodRecord<z.ZodEnum<{
2178
+ time: "time";
2179
+ length: "length";
2180
+ mass: "mass";
2181
+ electricCurrent: "electricCurrent";
2182
+ thermodynamicTemperature: "thermodynamicTemperature";
2183
+ amountOfSubstance: "amountOfSubstance";
2184
+ luminousIntensity: "luminousIntensity";
2185
+ }> & z.core.$partial, z.ZodNumber>;
2186
+ factorToSi: z.ZodObject<{
2187
+ numerator: z.ZodString;
2188
+ denominator: z.ZodString;
2189
+ }, z.core.$strip>;
2190
+ offsetToSi: z.ZodOptional<z.ZodObject<{
2191
+ numerator: z.ZodString;
2192
+ denominator: z.ZodString;
2193
+ }, z.core.$strip>>;
2194
+ context: z.ZodOptional<z.ZodString>;
2195
+ }, z.core.$strip>>;
2196
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2197
+ id: z.ZodString;
2198
+ bases: z.ZodArray<z.ZodObject<{
2199
+ unit: z.ZodString;
2200
+ value: z.ZodObject<{
2201
+ numerator: z.ZodString;
2202
+ denominator: z.ZodString;
2203
+ }, z.core.$strip>;
2204
+ }, z.core.$strip>>;
2205
+ }, z.core.$strip>>>;
2206
+ }, z.core.$strip>>;
2207
+ kind: z.ZodLiteral<"drawing">;
2208
+ metadata: z.ZodObject<{
2209
+ title: z.ZodOptional<z.ZodString>;
2210
+ author: z.ZodOptional<z.ZodString>;
2211
+ subject: z.ZodOptional<z.ZodString>;
2212
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2213
+ creator: z.ZodOptional<z.ZodString>;
2214
+ producer: z.ZodOptional<z.ZodString>;
2215
+ createdIso: z.ZodOptional<z.ZodString>;
2216
+ modifiedIso: z.ZodOptional<z.ZodString>;
2217
+ language: z.ZodOptional<z.ZodString>;
2218
+ }, z.core.$strip>;
2219
+ }, z.core.$strip>, z.ZodObject<{
2220
+ formula: z.ZodObject<{
2221
+ mathml: z.ZodArray<z.ZodCustom<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode>>;
2222
+ starMath: z.ZodOptional<z.ZodString>;
2223
+ presentation: z.ZodOptional<z.ZodObject<{
2224
+ latex: z.ZodString;
2225
+ }, z.core.$strip>>;
2226
+ content: z.ZodOptional<z.ZodCustom<import("document-schema.js").MathExpression, import("document-schema.js").MathExpression>>;
2227
+ provenance: z.ZodOptional<z.ZodObject<{
2228
+ source: z.ZodString;
2229
+ pageRef: z.ZodOptional<z.ZodString>;
2230
+ editTrail: z.ZodArray<z.ZodString>;
2231
+ }, z.core.$strip>>;
2232
+ source: z.ZodOptional<z.ZodObject<{
2233
+ format: z.ZodEnum<{
2234
+ docx: "docx";
2235
+ pptx: "pptx";
2236
+ xlsx: "xlsx";
2237
+ odt: "odt";
2238
+ ods: "ods";
2239
+ odp: "odp";
2240
+ odg: "odg";
2241
+ odm: "odm";
2242
+ odb: "odb";
2243
+ odf: "odf";
2244
+ markdown: "markdown";
2245
+ pdf: "pdf";
2246
+ epub: "epub";
2247
+ }>;
2248
+ xml: z.ZodString;
2249
+ }, z.core.$strict>>;
2250
+ }, z.core.$strip>;
2251
+ symbolTable: z.ZodOptional<z.ZodObject<{
2252
+ symbols: z.ZodArray<z.ZodObject<{
2253
+ glyph: z.ZodString;
2254
+ scope: z.ZodString;
2255
+ id: z.ZodString;
2256
+ quantityKind: z.ZodOptional<z.ZodString>;
2257
+ preferredUnit: z.ZodOptional<z.ZodString>;
2258
+ definitionSource: z.ZodOptional<z.ZodString>;
2259
+ }, z.core.$strip>>;
2260
+ units: z.ZodArray<z.ZodObject<{
2261
+ id: z.ZodString;
2262
+ symbol: z.ZodString;
2263
+ name: z.ZodOptional<z.ZodString>;
2264
+ dimension: z.ZodRecord<z.ZodEnum<{
2265
+ time: "time";
2266
+ length: "length";
2267
+ mass: "mass";
2268
+ electricCurrent: "electricCurrent";
2269
+ thermodynamicTemperature: "thermodynamicTemperature";
2270
+ amountOfSubstance: "amountOfSubstance";
2271
+ luminousIntensity: "luminousIntensity";
2272
+ }> & z.core.$partial, z.ZodNumber>;
2273
+ factorToSi: z.ZodObject<{
2274
+ numerator: z.ZodString;
2275
+ denominator: z.ZodString;
2276
+ }, z.core.$strip>;
2277
+ offsetToSi: z.ZodOptional<z.ZodObject<{
2278
+ numerator: z.ZodString;
2279
+ denominator: z.ZodString;
2280
+ }, z.core.$strip>>;
2281
+ context: z.ZodOptional<z.ZodString>;
2282
+ }, z.core.$strip>>;
2283
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2284
+ id: z.ZodString;
2285
+ bases: z.ZodArray<z.ZodObject<{
2286
+ unit: z.ZodString;
2287
+ value: z.ZodObject<{
2288
+ numerator: z.ZodString;
2289
+ denominator: z.ZodString;
2290
+ }, z.core.$strip>;
2291
+ }, z.core.$strip>>;
2292
+ }, z.core.$strip>>>;
2293
+ }, z.core.$strip>>;
2294
+ kind: z.ZodLiteral<"formula">;
2295
+ metadata: z.ZodObject<{
2296
+ title: z.ZodOptional<z.ZodString>;
2297
+ author: z.ZodOptional<z.ZodString>;
2298
+ subject: z.ZodOptional<z.ZodString>;
2299
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2300
+ creator: z.ZodOptional<z.ZodString>;
2301
+ producer: z.ZodOptional<z.ZodString>;
2302
+ createdIso: z.ZodOptional<z.ZodString>;
2303
+ modifiedIso: z.ZodOptional<z.ZodString>;
2304
+ language: z.ZodOptional<z.ZodString>;
2305
+ }, z.core.$strip>;
2306
+ }, z.core.$strip>], "kind">>;
2307
+ //#endregion
2308
+ export { EpubBytesSchema, epubCodec, epubContentCodec };