epub-codec 1.2.11 → 1.3.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 (170) hide show
  1. package/README.md +24 -10
  2. package/dist/base64--HuymRl_.d.cts +5 -0
  3. package/dist/base64--HuymRl_.d.ts +5 -0
  4. package/dist/build-B1UxbO20.d.cts +5 -0
  5. package/dist/build-BCUsHLYw.d.ts +5 -0
  6. package/dist/codec-CX2Pa6Jq.d.ts +2876 -0
  7. package/dist/codec-qyKMOMt6.d.cts +2876 -0
  8. package/dist/codec.cjs +16 -0
  9. package/dist/codec.d.cts +2 -2702
  10. package/dist/codec.d.ts +2 -2702
  11. package/dist/codec.js +14 -1
  12. package/dist/container-B6cHHiY9.d.cts +4 -0
  13. package/dist/container-B6cHHiY9.d.ts +4 -0
  14. package/dist/context-CTgx7PwU.d.ts +28 -0
  15. package/dist/context-CXs2Yc9w.d.cts +28 -0
  16. package/dist/dimensions-B7ogpvKQ.d.cts +11 -0
  17. package/dist/dimensions-B7ogpvKQ.d.ts +11 -0
  18. package/dist/entities-CfQKtI34.d.ts +7 -0
  19. package/dist/entities-wt9zCx5q.d.cts +7 -0
  20. package/dist/footnote-CxsO5tCV.d.cts +7 -0
  21. package/dist/footnote-iZAPC_NT.d.ts +7 -0
  22. package/dist/format-DxUddUPj.d.cts +6 -0
  23. package/dist/format-DxUddUPj.d.ts +6 -0
  24. package/dist/format.d.cts +1 -5
  25. package/dist/format.d.ts +1 -5
  26. package/dist/image/dimensions.d.cts +1 -10
  27. package/dist/image/dimensions.d.ts +1 -10
  28. package/dist/index.cjs +24 -8
  29. package/dist/index.d.cts +31 -31
  30. package/dist/index.d.ts +31 -31
  31. package/dist/index.js +13 -10
  32. package/dist/inline-DDj6Sl3e.d.ts +12 -0
  33. package/dist/inline-YZOQY2wR.d.cts +12 -0
  34. package/dist/list-id-BB_yxm1H.d.cts +13 -0
  35. package/dist/list-id-BB_yxm1H.d.ts +13 -0
  36. package/dist/metadata-DXto7sM6.d.cts +7 -0
  37. package/dist/metadata-T5V2ovtS.d.ts +7 -0
  38. package/dist/model/package.cjs +19 -0
  39. package/dist/model/package.d.cts +2 -0
  40. package/dist/model/package.d.ts +2 -0
  41. package/dist/model/package.js +15 -0
  42. package/dist/nav/nav3.cjs +1 -1
  43. package/dist/nav/nav3.d.cts +1 -3
  44. package/dist/nav/nav3.d.ts +1 -3
  45. package/dist/nav/nav3.js +1 -1
  46. package/dist/nav/ncx.cjs +1 -1
  47. package/dist/nav/ncx.d.cts +1 -3
  48. package/dist/nav/ncx.d.ts +1 -3
  49. package/dist/nav/ncx.js +1 -1
  50. package/dist/nav/reconcile.d.cts +1 -3
  51. package/dist/nav/reconcile.d.ts +1 -3
  52. package/dist/nav/write.cjs +1 -1
  53. package/dist/nav/write.d.cts +1 -9
  54. package/dist/nav/write.d.ts +1 -9
  55. package/dist/nav/write.js +1 -1
  56. package/dist/nav3-SbAp8zlu.d.cts +4 -0
  57. package/dist/nav3-SbAp8zlu.d.ts +4 -0
  58. package/dist/ncx-kYhlXucj.d.cts +4 -0
  59. package/dist/ncx-kYhlXucj.d.ts +4 -0
  60. package/dist/node-CJLSSs1k.d.cts +84 -0
  61. package/dist/node-CJLSSs1k.d.ts +84 -0
  62. package/dist/ocf/container.cjs +1 -1
  63. package/dist/ocf/container.d.cts +1 -3
  64. package/dist/ocf/container.d.ts +1 -3
  65. package/dist/ocf/container.js +1 -1
  66. package/dist/ocf/write.d.cts +1 -3
  67. package/dist/ocf/write.d.ts +1 -3
  68. package/dist/opf/metadata.d.cts +1 -6
  69. package/dist/opf/metadata.d.ts +1 -6
  70. package/dist/opf/parse.cjs +1 -1
  71. package/dist/opf/parse.d.cts +1 -5
  72. package/dist/opf/parse.d.ts +1 -5
  73. package/dist/opf/parse.js +1 -1
  74. package/dist/opf/types.d.cts +1 -19
  75. package/dist/opf/types.d.ts +1 -19
  76. package/dist/opf/write.cjs +1 -1
  77. package/dist/opf/write.d.cts +1 -11
  78. package/dist/opf/write.d.ts +1 -11
  79. package/dist/opf/write.js +1 -1
  80. package/dist/package-io/read.cjs +39 -0
  81. package/dist/package-io/read.d.cts +2 -0
  82. package/dist/package-io/read.d.ts +2 -0
  83. package/dist/package-io/read.js +37 -0
  84. package/dist/package-io/write.cjs +34 -0
  85. package/dist/package-io/write.d.cts +2 -0
  86. package/dist/package-io/write.d.ts +2 -0
  87. package/dist/package-io/write.js +32 -0
  88. package/dist/parse-Bkkb7qXz.d.cts +6 -0
  89. package/dist/parse-C5GxodcX.d.ts +6 -0
  90. package/dist/parse-CmCjyz8i.d.cts +5 -0
  91. package/dist/parse-Dc76LQIj.d.ts +5 -0
  92. package/dist/path-Cx8-QMD6.d.cts +5 -0
  93. package/dist/path-Cx8-QMD6.d.ts +5 -0
  94. package/dist/path.d.cts +1 -4
  95. package/dist/path.d.ts +1 -4
  96. package/dist/query-B79eElol.d.ts +12 -0
  97. package/dist/query-C6ftPqNQ.d.cts +12 -0
  98. package/dist/read-B7kc_MeO.d.cts +10 -0
  99. package/dist/read-BMGq_D9y.d.cts +30 -0
  100. package/dist/read-Czqr3aop.d.ts +30 -0
  101. package/dist/read-DPkpZsYG.d.ts +10 -0
  102. package/dist/read.cjs +51 -6
  103. package/dist/read.d.cts +1 -9
  104. package/dist/read.d.ts +1 -9
  105. package/dist/read.js +52 -7
  106. package/dist/reconcile-BHky0kta.d.cts +4 -0
  107. package/dist/reconcile-BHky0kta.d.ts +4 -0
  108. package/dist/style-constants-RVoHdmju.d.cts +8 -0
  109. package/dist/style-constants-RVoHdmju.d.ts +8 -0
  110. package/dist/types-BxmkPT_F.d.cts +20 -0
  111. package/dist/types-BxmkPT_F.d.ts +20 -0
  112. package/dist/util/base64.d.cts +1 -4
  113. package/dist/util/base64.d.ts +1 -4
  114. package/dist/write-B89sagtw.d.cts +12 -0
  115. package/dist/write-BQcrPQvx.d.ts +10 -0
  116. package/dist/write-Boxi3aK0.d.cts +10 -0
  117. package/dist/write-COdkb8lG.d.cts +10 -0
  118. package/dist/write-COdkb8lG.d.ts +10 -0
  119. package/dist/write-DwaEwwgZ.d.ts +12 -0
  120. package/dist/write-DxiR-9eH.d.cts +4 -0
  121. package/dist/write-DxiR-9eH.d.ts +4 -0
  122. package/dist/write-Klo0WDhT.d.ts +13 -0
  123. package/dist/write-WSIgARHT.d.cts +13 -0
  124. package/dist/write.cjs +28 -6
  125. package/dist/write.d.cts +1 -9
  126. package/dist/write.d.ts +1 -9
  127. package/dist/write.js +28 -6
  128. package/dist/xhtml/context.d.cts +2 -22
  129. package/dist/xhtml/context.d.ts +2 -22
  130. package/dist/xhtml/footnote.cjs +4 -8
  131. package/dist/xhtml/footnote.d.cts +2 -7
  132. package/dist/xhtml/footnote.d.ts +2 -7
  133. package/dist/xhtml/footnote.js +4 -8
  134. package/dist/xhtml/inline.cjs +13 -7
  135. package/dist/xhtml/inline.d.cts +1 -11
  136. package/dist/xhtml/inline.d.ts +1 -11
  137. package/dist/xhtml/inline.js +13 -7
  138. package/dist/xhtml/link-target.cjs +18 -0
  139. package/dist/xhtml/link-target.d.cts +8 -0
  140. package/dist/xhtml/link-target.d.ts +8 -0
  141. package/dist/xhtml/link-target.js +17 -0
  142. package/dist/xhtml/list-id.d.cts +1 -12
  143. package/dist/xhtml/list-id.d.ts +1 -12
  144. package/dist/xhtml/read.cjs +50 -18
  145. package/dist/xhtml/read.d.cts +2 -20
  146. package/dist/xhtml/read.d.ts +2 -20
  147. package/dist/xhtml/read.js +49 -19
  148. package/dist/xhtml/style-constants.d.cts +1 -7
  149. package/dist/xhtml/style-constants.d.ts +1 -7
  150. package/dist/xhtml/write.cjs +44 -19
  151. package/dist/xhtml/write.d.cts +1 -11
  152. package/dist/xhtml/write.d.ts +1 -11
  153. package/dist/xhtml/write.js +44 -19
  154. package/dist/xml/build.d.cts +1 -4
  155. package/dist/xml/build.d.ts +1 -4
  156. package/dist/xml/entities.d.cts +1 -6
  157. package/dist/xml/entities.d.ts +1 -6
  158. package/dist/xml/node.d.cts +1 -83
  159. package/dist/xml/node.d.ts +1 -83
  160. package/dist/xml/parse.d.cts +1 -4
  161. package/dist/xml/parse.d.ts +1 -4
  162. package/dist/xml/query.cjs +1 -1
  163. package/dist/xml/query.d.cts +1 -11
  164. package/dist/xml/query.d.ts +1 -11
  165. package/dist/xml/query.js +1 -1
  166. package/dist/zip-ie17sOo5.d.cts +9 -0
  167. package/dist/zip-ie17sOo5.d.ts +9 -0
  168. package/dist/zip.d.cts +1 -8
  169. package/dist/zip.d.ts +1 -8
  170. package/package.json +19 -22
@@ -0,0 +1,2876 @@
1
+ import "./types-BxmkPT_F.js";
2
+ import { d as XmlNode } from "./node-CJLSSs1k.js";
3
+ import "./metadata-T5V2ovtS.js";
4
+ import "./parse-C5GxodcX.js";
5
+ import "./write-DwaEwwgZ.js";
6
+ import "./context-CTgx7PwU.js";
7
+ import "./footnote-iZAPC_NT.js";
8
+ import "./inline-DDj6Sl3e.js";
9
+ import "./read-Czqr3aop.js";
10
+ import "./write-Klo0WDhT.js";
11
+ import "./write-COdkb8lG.js";
12
+ import "./read-DPkpZsYG.js";
13
+ import "./write-BQcrPQvx.js";
14
+ import "./parse-Dc76LQIj.js";
15
+ import "./build-BCUsHLYw.js";
16
+ import "./query-B79eElol.js";
17
+ import "./entities-CfQKtI34.js";
18
+ import { z } from "zod";
19
+ //#region src/model/package.d.ts
20
+ declare const XmlPartSchema: z.ZodObject<{
21
+ kind: z.ZodLiteral<"xml">;
22
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ type: z.ZodLiteral<"text">;
24
+ value: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ type: z.ZodLiteral<"cdata">;
27
+ value: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ type: z.ZodLiteral<"comment">;
30
+ value: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ type: z.ZodLiteral<"declaration">;
33
+ attributes: z.ZodArray<z.ZodObject<{
34
+ name: z.ZodString;
35
+ value: z.ZodString;
36
+ }, z.core.$strip>>;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ type: z.ZodLiteral<"pi">;
39
+ target: z.ZodString;
40
+ content: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ type: z.ZodLiteral<"element">;
43
+ tag: z.ZodString;
44
+ attributes: z.ZodArray<z.ZodObject<{
45
+ name: z.ZodString;
46
+ value: z.ZodString;
47
+ }, z.core.$strip>>;
48
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
49
+ }, z.core.$strip>], "type">>;
50
+ }, z.core.$strip>;
51
+ type XmlPart = z.infer<typeof XmlPartSchema>;
52
+ declare const BinaryPartSchema: z.ZodObject<{
53
+ kind: z.ZodLiteral<"binary">;
54
+ base64: z.ZodString;
55
+ }, z.core.$strip>;
56
+ type BinaryPart = z.infer<typeof BinaryPartSchema>;
57
+ declare const PartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
58
+ kind: z.ZodLiteral<"xml">;
59
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
60
+ type: z.ZodLiteral<"text">;
61
+ value: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ type: z.ZodLiteral<"cdata">;
64
+ value: z.ZodString;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ type: z.ZodLiteral<"comment">;
67
+ value: z.ZodString;
68
+ }, z.core.$strip>, z.ZodObject<{
69
+ type: z.ZodLiteral<"declaration">;
70
+ attributes: z.ZodArray<z.ZodObject<{
71
+ name: z.ZodString;
72
+ value: z.ZodString;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ type: z.ZodLiteral<"pi">;
76
+ target: z.ZodString;
77
+ content: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ type: z.ZodLiteral<"element">;
80
+ tag: z.ZodString;
81
+ attributes: z.ZodArray<z.ZodObject<{
82
+ name: z.ZodString;
83
+ value: z.ZodString;
84
+ }, z.core.$strip>>;
85
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
86
+ }, z.core.$strip>], "type">>;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"binary">;
89
+ base64: z.ZodString;
90
+ }, z.core.$strip>], "kind">;
91
+ type Part = z.infer<typeof PartSchema>;
92
+ declare const EpubPackageSchema: z.ZodObject<{
93
+ parts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
94
+ kind: z.ZodLiteral<"xml">;
95
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
96
+ type: z.ZodLiteral<"text">;
97
+ value: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ type: z.ZodLiteral<"cdata">;
100
+ value: z.ZodString;
101
+ }, z.core.$strip>, z.ZodObject<{
102
+ type: z.ZodLiteral<"comment">;
103
+ value: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ type: z.ZodLiteral<"declaration">;
106
+ attributes: z.ZodArray<z.ZodObject<{
107
+ name: z.ZodString;
108
+ value: z.ZodString;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ type: z.ZodLiteral<"pi">;
112
+ target: z.ZodString;
113
+ content: z.ZodString;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ type: z.ZodLiteral<"element">;
116
+ tag: z.ZodString;
117
+ attributes: z.ZodArray<z.ZodObject<{
118
+ name: z.ZodString;
119
+ value: z.ZodString;
120
+ }, z.core.$strip>>;
121
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
122
+ }, z.core.$strip>], "type">>;
123
+ }, z.core.$strip>, z.ZodObject<{
124
+ kind: z.ZodLiteral<"binary">;
125
+ base64: z.ZodString;
126
+ }, z.core.$strip>], "kind">>;
127
+ }, z.core.$strip>;
128
+ type EpubPackage = z.infer<typeof EpubPackageSchema>;
129
+ //#endregion
130
+ //#region src/package-io/read.d.ts
131
+ declare function parsePackage(bytes: Uint8Array<ArrayBuffer>): EpubPackage;
132
+ declare function packageFromEntries(entries: Record<string, Uint8Array<ArrayBuffer>>): EpubPackage;
133
+ //#endregion
134
+ //#region src/package-io/write.d.ts
135
+ declare function serializePackage(pkg: EpubPackage): Uint8Array<ArrayBuffer>;
136
+ declare function packageToEntries(pkg: EpubPackage): Record<string, Uint8Array<ArrayBuffer>>;
137
+ //#endregion
138
+ //#region src/codec.d.ts
139
+ declare const EpubBytesSchema: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
140
+ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
141
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").SectionGroupNode, import("document-schema.js").SectionGroupNode>>;
142
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
143
+ widthPt: z.ZodNumber;
144
+ heightPt: z.ZodNumber;
145
+ }, z.core.$strip>>>;
146
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
147
+ paragraph: z.ZodOptional<z.ZodObject<{
148
+ alignment: z.ZodOptional<z.ZodEnum<{
149
+ left: "left";
150
+ right: "right";
151
+ center: "center";
152
+ justify: "justify";
153
+ }>>;
154
+ list: z.ZodOptional<z.ZodObject<{
155
+ numId: z.ZodOptional<z.ZodString>;
156
+ level: z.ZodNumber;
157
+ checked: z.ZodOptional<z.ZodBoolean>;
158
+ itemId: z.ZodOptional<z.ZodString>;
159
+ format: z.ZodOptional<z.ZodEnum<{
160
+ bullet: "bullet";
161
+ decimal: "decimal";
162
+ lowerLetter: "lowerLetter";
163
+ upperLetter: "upperLetter";
164
+ lowerRoman: "lowerRoman";
165
+ upperRoman: "upperRoman";
166
+ }>>;
167
+ }, z.core.$strip>>;
168
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
169
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
170
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
171
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
172
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
173
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
174
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
175
+ }, z.core.$strict>>;
176
+ run: z.ZodOptional<z.ZodObject<{
177
+ bold: z.ZodOptional<z.ZodBoolean>;
178
+ italic: z.ZodOptional<z.ZodBoolean>;
179
+ underline: z.ZodOptional<z.ZodBoolean>;
180
+ strike: z.ZodOptional<z.ZodBoolean>;
181
+ fontFamily: z.ZodOptional<z.ZodString>;
182
+ sizePt: z.ZodOptional<z.ZodNumber>;
183
+ color: z.ZodOptional<z.ZodObject<{
184
+ r: z.ZodNumber;
185
+ g: z.ZodNumber;
186
+ b: z.ZodNumber;
187
+ }, z.core.$strip>>;
188
+ }, z.core.$strict>>;
189
+ }, z.core.$strict>>>;
190
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
191
+ kind: z.ZodString;
192
+ }, z.core.$loose>>>;
193
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
194
+ kind: z.ZodString;
195
+ }, z.core.$loose>>>;
196
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
197
+ kind: z.ZodString;
198
+ }, z.core.$loose>>>;
199
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
200
+ kind: z.ZodString;
201
+ }, z.core.$loose>>>;
202
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
203
+ format: z.ZodEnum<{
204
+ docx: "docx";
205
+ pptx: "pptx";
206
+ xlsx: "xlsx";
207
+ odt: "odt";
208
+ ods: "ods";
209
+ odp: "odp";
210
+ odg: "odg";
211
+ odm: "odm";
212
+ odb: "odb";
213
+ odf: "odf";
214
+ markdown: "markdown";
215
+ pdf: "pdf";
216
+ epub: "epub";
217
+ rtf: "rtf";
218
+ }>;
219
+ xml: z.ZodString;
220
+ }, z.core.$strict>>>;
221
+ symbolTable: z.ZodOptional<z.ZodObject<{
222
+ symbols: z.ZodArray<z.ZodObject<{
223
+ glyph: z.ZodString;
224
+ scope: z.ZodString;
225
+ id: z.ZodString;
226
+ quantityKind: z.ZodOptional<z.ZodString>;
227
+ preferredUnit: z.ZodOptional<z.ZodString>;
228
+ definitionSource: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strip>>;
230
+ units: z.ZodArray<z.ZodObject<{
231
+ id: z.ZodString;
232
+ symbol: z.ZodString;
233
+ name: z.ZodOptional<z.ZodString>;
234
+ dimension: z.ZodRecord<z.ZodEnum<{
235
+ length: "length";
236
+ mass: "mass";
237
+ time: "time";
238
+ electricCurrent: "electricCurrent";
239
+ thermodynamicTemperature: "thermodynamicTemperature";
240
+ amountOfSubstance: "amountOfSubstance";
241
+ luminousIntensity: "luminousIntensity";
242
+ }> & z.core.$partial, z.ZodNumber>;
243
+ factorToSi: z.ZodObject<{
244
+ numerator: z.ZodString;
245
+ denominator: z.ZodString;
246
+ }, z.core.$strip>;
247
+ offsetToSi: z.ZodOptional<z.ZodObject<{
248
+ numerator: z.ZodString;
249
+ denominator: z.ZodString;
250
+ }, z.core.$strip>>;
251
+ context: z.ZodOptional<z.ZodString>;
252
+ }, z.core.$strip>>;
253
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ id: z.ZodString;
255
+ bases: z.ZodArray<z.ZodObject<{
256
+ unit: z.ZodString;
257
+ value: z.ZodObject<{
258
+ numerator: z.ZodString;
259
+ denominator: z.ZodString;
260
+ }, z.core.$strip>;
261
+ }, z.core.$strip>>;
262
+ }, z.core.$strip>>>;
263
+ }, z.core.$strip>>;
264
+ metadata: z.ZodObject<{
265
+ title: z.ZodOptional<z.ZodString>;
266
+ author: z.ZodOptional<z.ZodString>;
267
+ subject: z.ZodOptional<z.ZodString>;
268
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
269
+ creator: z.ZodOptional<z.ZodString>;
270
+ producer: z.ZodOptional<z.ZodString>;
271
+ createdIso: z.ZodOptional<z.ZodString>;
272
+ modifiedIso: z.ZodOptional<z.ZodString>;
273
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
274
+ language: z.ZodOptional<z.ZodString>;
275
+ direction: z.ZodOptional<z.ZodEnum<{
276
+ ltr: "ltr";
277
+ rtl: "rtl";
278
+ }>>;
279
+ publisher: z.ZodOptional<z.ZodString>;
280
+ contributor: z.ZodOptional<z.ZodString>;
281
+ rights: z.ZodOptional<z.ZodString>;
282
+ identifier: z.ZodOptional<z.ZodString>;
283
+ comments: z.ZodOptional<z.ZodString>;
284
+ company: z.ZodOptional<z.ZodString>;
285
+ manager: z.ZodOptional<z.ZodString>;
286
+ }, z.core.$strip>;
287
+ kind: z.ZodLiteral<"wordprocessing">;
288
+ }, z.core.$strip>, z.ZodObject<{
289
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").SlideGroupNode, import("document-schema.js").SlideGroupNode>>;
290
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
291
+ widthPt: z.ZodNumber;
292
+ heightPt: z.ZodNumber;
293
+ }, z.core.$strip>>>;
294
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
295
+ paragraph: z.ZodOptional<z.ZodObject<{
296
+ alignment: z.ZodOptional<z.ZodEnum<{
297
+ left: "left";
298
+ right: "right";
299
+ center: "center";
300
+ justify: "justify";
301
+ }>>;
302
+ list: z.ZodOptional<z.ZodObject<{
303
+ numId: z.ZodOptional<z.ZodString>;
304
+ level: z.ZodNumber;
305
+ checked: z.ZodOptional<z.ZodBoolean>;
306
+ itemId: z.ZodOptional<z.ZodString>;
307
+ format: z.ZodOptional<z.ZodEnum<{
308
+ bullet: "bullet";
309
+ decimal: "decimal";
310
+ lowerLetter: "lowerLetter";
311
+ upperLetter: "upperLetter";
312
+ lowerRoman: "lowerRoman";
313
+ upperRoman: "upperRoman";
314
+ }>>;
315
+ }, z.core.$strip>>;
316
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
317
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
318
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
319
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
320
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
321
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
322
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
323
+ }, z.core.$strict>>;
324
+ run: z.ZodOptional<z.ZodObject<{
325
+ bold: z.ZodOptional<z.ZodBoolean>;
326
+ italic: z.ZodOptional<z.ZodBoolean>;
327
+ underline: z.ZodOptional<z.ZodBoolean>;
328
+ strike: z.ZodOptional<z.ZodBoolean>;
329
+ fontFamily: z.ZodOptional<z.ZodString>;
330
+ sizePt: z.ZodOptional<z.ZodNumber>;
331
+ color: z.ZodOptional<z.ZodObject<{
332
+ r: z.ZodNumber;
333
+ g: z.ZodNumber;
334
+ b: z.ZodNumber;
335
+ }, z.core.$strip>>;
336
+ }, z.core.$strict>>;
337
+ }, z.core.$strict>>>;
338
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
339
+ kind: z.ZodString;
340
+ }, z.core.$loose>>>;
341
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
342
+ kind: z.ZodString;
343
+ }, z.core.$loose>>>;
344
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
345
+ kind: z.ZodString;
346
+ }, z.core.$loose>>>;
347
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
348
+ kind: z.ZodString;
349
+ }, z.core.$loose>>>;
350
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
351
+ format: z.ZodEnum<{
352
+ docx: "docx";
353
+ pptx: "pptx";
354
+ xlsx: "xlsx";
355
+ odt: "odt";
356
+ ods: "ods";
357
+ odp: "odp";
358
+ odg: "odg";
359
+ odm: "odm";
360
+ odb: "odb";
361
+ odf: "odf";
362
+ markdown: "markdown";
363
+ pdf: "pdf";
364
+ epub: "epub";
365
+ rtf: "rtf";
366
+ }>;
367
+ xml: z.ZodString;
368
+ }, z.core.$strict>>>;
369
+ symbolTable: z.ZodOptional<z.ZodObject<{
370
+ symbols: z.ZodArray<z.ZodObject<{
371
+ glyph: z.ZodString;
372
+ scope: z.ZodString;
373
+ id: z.ZodString;
374
+ quantityKind: z.ZodOptional<z.ZodString>;
375
+ preferredUnit: z.ZodOptional<z.ZodString>;
376
+ definitionSource: z.ZodOptional<z.ZodString>;
377
+ }, z.core.$strip>>;
378
+ units: z.ZodArray<z.ZodObject<{
379
+ id: z.ZodString;
380
+ symbol: z.ZodString;
381
+ name: z.ZodOptional<z.ZodString>;
382
+ dimension: z.ZodRecord<z.ZodEnum<{
383
+ length: "length";
384
+ mass: "mass";
385
+ time: "time";
386
+ electricCurrent: "electricCurrent";
387
+ thermodynamicTemperature: "thermodynamicTemperature";
388
+ amountOfSubstance: "amountOfSubstance";
389
+ luminousIntensity: "luminousIntensity";
390
+ }> & z.core.$partial, z.ZodNumber>;
391
+ factorToSi: z.ZodObject<{
392
+ numerator: z.ZodString;
393
+ denominator: z.ZodString;
394
+ }, z.core.$strip>;
395
+ offsetToSi: z.ZodOptional<z.ZodObject<{
396
+ numerator: z.ZodString;
397
+ denominator: z.ZodString;
398
+ }, z.core.$strip>>;
399
+ context: z.ZodOptional<z.ZodString>;
400
+ }, z.core.$strip>>;
401
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
+ id: z.ZodString;
403
+ bases: z.ZodArray<z.ZodObject<{
404
+ unit: z.ZodString;
405
+ value: z.ZodObject<{
406
+ numerator: z.ZodString;
407
+ denominator: z.ZodString;
408
+ }, z.core.$strip>;
409
+ }, z.core.$strip>>;
410
+ }, z.core.$strip>>>;
411
+ }, z.core.$strip>>;
412
+ metadata: z.ZodObject<{
413
+ title: z.ZodOptional<z.ZodString>;
414
+ author: z.ZodOptional<z.ZodString>;
415
+ subject: z.ZodOptional<z.ZodString>;
416
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
417
+ creator: z.ZodOptional<z.ZodString>;
418
+ producer: z.ZodOptional<z.ZodString>;
419
+ createdIso: z.ZodOptional<z.ZodString>;
420
+ modifiedIso: z.ZodOptional<z.ZodString>;
421
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
422
+ language: z.ZodOptional<z.ZodString>;
423
+ direction: z.ZodOptional<z.ZodEnum<{
424
+ ltr: "ltr";
425
+ rtl: "rtl";
426
+ }>>;
427
+ publisher: z.ZodOptional<z.ZodString>;
428
+ contributor: z.ZodOptional<z.ZodString>;
429
+ rights: z.ZodOptional<z.ZodString>;
430
+ identifier: z.ZodOptional<z.ZodString>;
431
+ comments: z.ZodOptional<z.ZodString>;
432
+ company: z.ZodOptional<z.ZodString>;
433
+ manager: z.ZodOptional<z.ZodString>;
434
+ }, z.core.$strip>;
435
+ kind: z.ZodLiteral<"presentation">;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
438
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
439
+ widthPt: z.ZodNumber;
440
+ heightPt: z.ZodNumber;
441
+ }, z.core.$strip>>>;
442
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
443
+ paragraph: z.ZodOptional<z.ZodObject<{
444
+ alignment: z.ZodOptional<z.ZodEnum<{
445
+ left: "left";
446
+ right: "right";
447
+ center: "center";
448
+ justify: "justify";
449
+ }>>;
450
+ list: z.ZodOptional<z.ZodObject<{
451
+ numId: z.ZodOptional<z.ZodString>;
452
+ level: z.ZodNumber;
453
+ checked: z.ZodOptional<z.ZodBoolean>;
454
+ itemId: z.ZodOptional<z.ZodString>;
455
+ format: z.ZodOptional<z.ZodEnum<{
456
+ bullet: "bullet";
457
+ decimal: "decimal";
458
+ lowerLetter: "lowerLetter";
459
+ upperLetter: "upperLetter";
460
+ lowerRoman: "lowerRoman";
461
+ upperRoman: "upperRoman";
462
+ }>>;
463
+ }, z.core.$strip>>;
464
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
465
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
466
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
467
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
468
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
469
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
470
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
471
+ }, z.core.$strict>>;
472
+ run: z.ZodOptional<z.ZodObject<{
473
+ bold: z.ZodOptional<z.ZodBoolean>;
474
+ italic: z.ZodOptional<z.ZodBoolean>;
475
+ underline: z.ZodOptional<z.ZodBoolean>;
476
+ strike: z.ZodOptional<z.ZodBoolean>;
477
+ fontFamily: z.ZodOptional<z.ZodString>;
478
+ sizePt: z.ZodOptional<z.ZodNumber>;
479
+ color: z.ZodOptional<z.ZodObject<{
480
+ r: z.ZodNumber;
481
+ g: z.ZodNumber;
482
+ b: z.ZodNumber;
483
+ }, z.core.$strip>>;
484
+ }, z.core.$strict>>;
485
+ }, z.core.$strict>>>;
486
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
487
+ kind: z.ZodString;
488
+ }, z.core.$loose>>>;
489
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
490
+ kind: z.ZodString;
491
+ }, z.core.$loose>>>;
492
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
493
+ kind: z.ZodString;
494
+ }, z.core.$loose>>>;
495
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
496
+ kind: z.ZodString;
497
+ }, z.core.$loose>>>;
498
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
499
+ format: z.ZodEnum<{
500
+ docx: "docx";
501
+ pptx: "pptx";
502
+ xlsx: "xlsx";
503
+ odt: "odt";
504
+ ods: "ods";
505
+ odp: "odp";
506
+ odg: "odg";
507
+ odm: "odm";
508
+ odb: "odb";
509
+ odf: "odf";
510
+ markdown: "markdown";
511
+ pdf: "pdf";
512
+ epub: "epub";
513
+ rtf: "rtf";
514
+ }>;
515
+ xml: z.ZodString;
516
+ }, z.core.$strict>>>;
517
+ symbolTable: z.ZodOptional<z.ZodObject<{
518
+ symbols: z.ZodArray<z.ZodObject<{
519
+ glyph: z.ZodString;
520
+ scope: z.ZodString;
521
+ id: z.ZodString;
522
+ quantityKind: z.ZodOptional<z.ZodString>;
523
+ preferredUnit: z.ZodOptional<z.ZodString>;
524
+ definitionSource: z.ZodOptional<z.ZodString>;
525
+ }, z.core.$strip>>;
526
+ units: z.ZodArray<z.ZodObject<{
527
+ id: z.ZodString;
528
+ symbol: z.ZodString;
529
+ name: z.ZodOptional<z.ZodString>;
530
+ dimension: z.ZodRecord<z.ZodEnum<{
531
+ length: "length";
532
+ mass: "mass";
533
+ time: "time";
534
+ electricCurrent: "electricCurrent";
535
+ thermodynamicTemperature: "thermodynamicTemperature";
536
+ amountOfSubstance: "amountOfSubstance";
537
+ luminousIntensity: "luminousIntensity";
538
+ }> & z.core.$partial, z.ZodNumber>;
539
+ factorToSi: z.ZodObject<{
540
+ numerator: z.ZodString;
541
+ denominator: z.ZodString;
542
+ }, z.core.$strip>;
543
+ offsetToSi: z.ZodOptional<z.ZodObject<{
544
+ numerator: z.ZodString;
545
+ denominator: z.ZodString;
546
+ }, z.core.$strip>>;
547
+ context: z.ZodOptional<z.ZodString>;
548
+ }, z.core.$strip>>;
549
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
550
+ id: z.ZodString;
551
+ bases: z.ZodArray<z.ZodObject<{
552
+ unit: z.ZodString;
553
+ value: z.ZodObject<{
554
+ numerator: z.ZodString;
555
+ denominator: z.ZodString;
556
+ }, z.core.$strip>;
557
+ }, z.core.$strip>>;
558
+ }, z.core.$strip>>>;
559
+ }, z.core.$strip>>;
560
+ metadata: z.ZodObject<{
561
+ title: z.ZodOptional<z.ZodString>;
562
+ author: z.ZodOptional<z.ZodString>;
563
+ subject: z.ZodOptional<z.ZodString>;
564
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
565
+ creator: z.ZodOptional<z.ZodString>;
566
+ producer: z.ZodOptional<z.ZodString>;
567
+ createdIso: z.ZodOptional<z.ZodString>;
568
+ modifiedIso: z.ZodOptional<z.ZodString>;
569
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
570
+ language: z.ZodOptional<z.ZodString>;
571
+ direction: z.ZodOptional<z.ZodEnum<{
572
+ ltr: "ltr";
573
+ rtl: "rtl";
574
+ }>>;
575
+ publisher: z.ZodOptional<z.ZodString>;
576
+ contributor: z.ZodOptional<z.ZodString>;
577
+ rights: z.ZodOptional<z.ZodString>;
578
+ identifier: z.ZodOptional<z.ZodString>;
579
+ comments: z.ZodOptional<z.ZodString>;
580
+ company: z.ZodOptional<z.ZodString>;
581
+ manager: z.ZodOptional<z.ZodString>;
582
+ }, z.core.$strip>;
583
+ kind: z.ZodLiteral<"spreadsheet">;
584
+ }, z.core.$strip>, z.ZodObject<{
585
+ children: z.ZodArray<z.ZodCustom<import("document-schema.js").DrawPageGroupNode, import("document-schema.js").DrawPageGroupNode>>;
586
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
587
+ widthPt: z.ZodNumber;
588
+ heightPt: z.ZodNumber;
589
+ }, z.core.$strip>>>;
590
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
591
+ paragraph: z.ZodOptional<z.ZodObject<{
592
+ alignment: z.ZodOptional<z.ZodEnum<{
593
+ left: "left";
594
+ right: "right";
595
+ center: "center";
596
+ justify: "justify";
597
+ }>>;
598
+ list: z.ZodOptional<z.ZodObject<{
599
+ numId: z.ZodOptional<z.ZodString>;
600
+ level: z.ZodNumber;
601
+ checked: z.ZodOptional<z.ZodBoolean>;
602
+ itemId: z.ZodOptional<z.ZodString>;
603
+ format: z.ZodOptional<z.ZodEnum<{
604
+ bullet: "bullet";
605
+ decimal: "decimal";
606
+ lowerLetter: "lowerLetter";
607
+ upperLetter: "upperLetter";
608
+ lowerRoman: "lowerRoman";
609
+ upperRoman: "upperRoman";
610
+ }>>;
611
+ }, z.core.$strip>>;
612
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
613
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
614
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
615
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
616
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
617
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
618
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
619
+ }, z.core.$strict>>;
620
+ run: z.ZodOptional<z.ZodObject<{
621
+ bold: z.ZodOptional<z.ZodBoolean>;
622
+ italic: z.ZodOptional<z.ZodBoolean>;
623
+ underline: z.ZodOptional<z.ZodBoolean>;
624
+ strike: z.ZodOptional<z.ZodBoolean>;
625
+ fontFamily: z.ZodOptional<z.ZodString>;
626
+ sizePt: z.ZodOptional<z.ZodNumber>;
627
+ color: z.ZodOptional<z.ZodObject<{
628
+ r: z.ZodNumber;
629
+ g: z.ZodNumber;
630
+ b: z.ZodNumber;
631
+ }, z.core.$strip>>;
632
+ }, z.core.$strict>>;
633
+ }, z.core.$strict>>>;
634
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
635
+ kind: z.ZodString;
636
+ }, z.core.$loose>>>;
637
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
638
+ kind: z.ZodString;
639
+ }, z.core.$loose>>>;
640
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
641
+ kind: z.ZodString;
642
+ }, z.core.$loose>>>;
643
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
644
+ kind: z.ZodString;
645
+ }, z.core.$loose>>>;
646
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
647
+ format: z.ZodEnum<{
648
+ docx: "docx";
649
+ pptx: "pptx";
650
+ xlsx: "xlsx";
651
+ odt: "odt";
652
+ ods: "ods";
653
+ odp: "odp";
654
+ odg: "odg";
655
+ odm: "odm";
656
+ odb: "odb";
657
+ odf: "odf";
658
+ markdown: "markdown";
659
+ pdf: "pdf";
660
+ epub: "epub";
661
+ rtf: "rtf";
662
+ }>;
663
+ xml: z.ZodString;
664
+ }, z.core.$strict>>>;
665
+ symbolTable: z.ZodOptional<z.ZodObject<{
666
+ symbols: z.ZodArray<z.ZodObject<{
667
+ glyph: z.ZodString;
668
+ scope: z.ZodString;
669
+ id: z.ZodString;
670
+ quantityKind: z.ZodOptional<z.ZodString>;
671
+ preferredUnit: z.ZodOptional<z.ZodString>;
672
+ definitionSource: z.ZodOptional<z.ZodString>;
673
+ }, z.core.$strip>>;
674
+ units: z.ZodArray<z.ZodObject<{
675
+ id: z.ZodString;
676
+ symbol: z.ZodString;
677
+ name: z.ZodOptional<z.ZodString>;
678
+ dimension: z.ZodRecord<z.ZodEnum<{
679
+ length: "length";
680
+ mass: "mass";
681
+ time: "time";
682
+ electricCurrent: "electricCurrent";
683
+ thermodynamicTemperature: "thermodynamicTemperature";
684
+ amountOfSubstance: "amountOfSubstance";
685
+ luminousIntensity: "luminousIntensity";
686
+ }> & z.core.$partial, z.ZodNumber>;
687
+ factorToSi: z.ZodObject<{
688
+ numerator: z.ZodString;
689
+ denominator: z.ZodString;
690
+ }, z.core.$strip>;
691
+ offsetToSi: z.ZodOptional<z.ZodObject<{
692
+ numerator: z.ZodString;
693
+ denominator: z.ZodString;
694
+ }, z.core.$strip>>;
695
+ context: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$strip>>;
697
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
698
+ id: z.ZodString;
699
+ bases: z.ZodArray<z.ZodObject<{
700
+ unit: z.ZodString;
701
+ value: z.ZodObject<{
702
+ numerator: z.ZodString;
703
+ denominator: z.ZodString;
704
+ }, z.core.$strip>;
705
+ }, z.core.$strip>>;
706
+ }, z.core.$strip>>>;
707
+ }, z.core.$strip>>;
708
+ metadata: z.ZodObject<{
709
+ title: z.ZodOptional<z.ZodString>;
710
+ author: z.ZodOptional<z.ZodString>;
711
+ subject: z.ZodOptional<z.ZodString>;
712
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
713
+ creator: z.ZodOptional<z.ZodString>;
714
+ producer: z.ZodOptional<z.ZodString>;
715
+ createdIso: z.ZodOptional<z.ZodString>;
716
+ modifiedIso: z.ZodOptional<z.ZodString>;
717
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
718
+ language: z.ZodOptional<z.ZodString>;
719
+ direction: z.ZodOptional<z.ZodEnum<{
720
+ ltr: "ltr";
721
+ rtl: "rtl";
722
+ }>>;
723
+ publisher: z.ZodOptional<z.ZodString>;
724
+ contributor: z.ZodOptional<z.ZodString>;
725
+ rights: z.ZodOptional<z.ZodString>;
726
+ identifier: z.ZodOptional<z.ZodString>;
727
+ comments: z.ZodOptional<z.ZodString>;
728
+ company: z.ZodOptional<z.ZodString>;
729
+ manager: z.ZodOptional<z.ZodString>;
730
+ }, z.core.$strip>;
731
+ kind: z.ZodLiteral<"drawing">;
732
+ }, z.core.$strip>, z.ZodObject<{
733
+ children: z.ZodArray<z.ZodObject<{
734
+ 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>>>;
735
+ starMath: z.ZodOptional<z.ZodString>;
736
+ presentation: z.ZodOptional<z.ZodObject<{
737
+ latex: z.ZodString;
738
+ }, z.core.$strip>>;
739
+ content: z.ZodOptional<z.ZodType<import("document-schema.js").MathExpression, import("document-schema.js").MathExpression, z.core.$ZodTypeInternals<import("document-schema.js").MathExpression, import("document-schema.js").MathExpression>>>;
740
+ provenance: z.ZodOptional<z.ZodObject<{
741
+ source: z.ZodString;
742
+ pageRef: z.ZodOptional<z.ZodString>;
743
+ editTrail: z.ZodArray<z.ZodString>;
744
+ }, z.core.$strip>>;
745
+ source: z.ZodOptional<z.ZodObject<{
746
+ format: z.ZodEnum<{
747
+ docx: "docx";
748
+ pptx: "pptx";
749
+ xlsx: "xlsx";
750
+ odt: "odt";
751
+ ods: "ods";
752
+ odp: "odp";
753
+ odg: "odg";
754
+ odm: "odm";
755
+ odb: "odb";
756
+ odf: "odf";
757
+ markdown: "markdown";
758
+ pdf: "pdf";
759
+ epub: "epub";
760
+ rtf: "rtf";
761
+ }>;
762
+ xml: z.ZodString;
763
+ }, z.core.$strict>>;
764
+ }, z.core.$strip>>;
765
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
766
+ widthPt: z.ZodNumber;
767
+ heightPt: z.ZodNumber;
768
+ }, z.core.$strip>>>;
769
+ styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
770
+ paragraph: z.ZodOptional<z.ZodObject<{
771
+ alignment: z.ZodOptional<z.ZodEnum<{
772
+ left: "left";
773
+ right: "right";
774
+ center: "center";
775
+ justify: "justify";
776
+ }>>;
777
+ list: z.ZodOptional<z.ZodObject<{
778
+ numId: z.ZodOptional<z.ZodString>;
779
+ level: z.ZodNumber;
780
+ checked: z.ZodOptional<z.ZodBoolean>;
781
+ itemId: z.ZodOptional<z.ZodString>;
782
+ format: z.ZodOptional<z.ZodEnum<{
783
+ bullet: "bullet";
784
+ decimal: "decimal";
785
+ lowerLetter: "lowerLetter";
786
+ upperLetter: "upperLetter";
787
+ lowerRoman: "lowerRoman";
788
+ upperRoman: "upperRoman";
789
+ }>>;
790
+ }, z.core.$strip>>;
791
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
792
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
793
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
794
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
795
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
796
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
797
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
798
+ }, z.core.$strict>>;
799
+ run: z.ZodOptional<z.ZodObject<{
800
+ bold: z.ZodOptional<z.ZodBoolean>;
801
+ italic: z.ZodOptional<z.ZodBoolean>;
802
+ underline: z.ZodOptional<z.ZodBoolean>;
803
+ strike: z.ZodOptional<z.ZodBoolean>;
804
+ fontFamily: z.ZodOptional<z.ZodString>;
805
+ sizePt: z.ZodOptional<z.ZodNumber>;
806
+ color: z.ZodOptional<z.ZodObject<{
807
+ r: z.ZodNumber;
808
+ g: z.ZodNumber;
809
+ b: z.ZodNumber;
810
+ }, z.core.$strip>>;
811
+ }, z.core.$strict>>;
812
+ }, z.core.$strict>>>;
813
+ definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
814
+ kind: z.ZodString;
815
+ }, z.core.$loose>>>;
816
+ layers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
817
+ kind: z.ZodString;
818
+ }, z.core.$loose>>>;
819
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
820
+ kind: z.ZodString;
821
+ }, z.core.$loose>>>;
822
+ destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
823
+ kind: z.ZodString;
824
+ }, z.core.$loose>>>;
825
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
826
+ format: z.ZodEnum<{
827
+ docx: "docx";
828
+ pptx: "pptx";
829
+ xlsx: "xlsx";
830
+ odt: "odt";
831
+ ods: "ods";
832
+ odp: "odp";
833
+ odg: "odg";
834
+ odm: "odm";
835
+ odb: "odb";
836
+ odf: "odf";
837
+ markdown: "markdown";
838
+ pdf: "pdf";
839
+ epub: "epub";
840
+ rtf: "rtf";
841
+ }>;
842
+ xml: z.ZodString;
843
+ }, z.core.$strict>>>;
844
+ symbolTable: z.ZodOptional<z.ZodObject<{
845
+ symbols: z.ZodArray<z.ZodObject<{
846
+ glyph: z.ZodString;
847
+ scope: z.ZodString;
848
+ id: z.ZodString;
849
+ quantityKind: z.ZodOptional<z.ZodString>;
850
+ preferredUnit: z.ZodOptional<z.ZodString>;
851
+ definitionSource: z.ZodOptional<z.ZodString>;
852
+ }, z.core.$strip>>;
853
+ units: z.ZodArray<z.ZodObject<{
854
+ id: z.ZodString;
855
+ symbol: z.ZodString;
856
+ name: z.ZodOptional<z.ZodString>;
857
+ dimension: z.ZodRecord<z.ZodEnum<{
858
+ length: "length";
859
+ mass: "mass";
860
+ time: "time";
861
+ electricCurrent: "electricCurrent";
862
+ thermodynamicTemperature: "thermodynamicTemperature";
863
+ amountOfSubstance: "amountOfSubstance";
864
+ luminousIntensity: "luminousIntensity";
865
+ }> & z.core.$partial, z.ZodNumber>;
866
+ factorToSi: z.ZodObject<{
867
+ numerator: z.ZodString;
868
+ denominator: z.ZodString;
869
+ }, z.core.$strip>;
870
+ offsetToSi: z.ZodOptional<z.ZodObject<{
871
+ numerator: z.ZodString;
872
+ denominator: z.ZodString;
873
+ }, z.core.$strip>>;
874
+ context: z.ZodOptional<z.ZodString>;
875
+ }, z.core.$strip>>;
876
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
877
+ id: z.ZodString;
878
+ bases: z.ZodArray<z.ZodObject<{
879
+ unit: z.ZodString;
880
+ value: z.ZodObject<{
881
+ numerator: z.ZodString;
882
+ denominator: z.ZodString;
883
+ }, z.core.$strip>;
884
+ }, z.core.$strip>>;
885
+ }, z.core.$strip>>>;
886
+ }, z.core.$strip>>;
887
+ metadata: z.ZodObject<{
888
+ title: z.ZodOptional<z.ZodString>;
889
+ author: z.ZodOptional<z.ZodString>;
890
+ subject: z.ZodOptional<z.ZodString>;
891
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
892
+ creator: z.ZodOptional<z.ZodString>;
893
+ producer: z.ZodOptional<z.ZodString>;
894
+ createdIso: z.ZodOptional<z.ZodString>;
895
+ modifiedIso: z.ZodOptional<z.ZodString>;
896
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
897
+ language: z.ZodOptional<z.ZodString>;
898
+ direction: z.ZodOptional<z.ZodEnum<{
899
+ ltr: "ltr";
900
+ rtl: "rtl";
901
+ }>>;
902
+ publisher: z.ZodOptional<z.ZodString>;
903
+ contributor: z.ZodOptional<z.ZodString>;
904
+ rights: z.ZodOptional<z.ZodString>;
905
+ identifier: z.ZodOptional<z.ZodString>;
906
+ comments: z.ZodOptional<z.ZodString>;
907
+ company: z.ZodOptional<z.ZodString>;
908
+ manager: z.ZodOptional<z.ZodString>;
909
+ }, z.core.$strip>;
910
+ kind: z.ZodLiteral<"formula">;
911
+ }, z.core.$strip>], "kind">>;
912
+ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
913
+ sections: z.ZodArray<z.ZodObject<{
914
+ pageSize: z.ZodObject<{
915
+ widthPt: z.ZodNumber;
916
+ heightPt: z.ZodNumber;
917
+ }, z.core.$strip>;
918
+ margins: z.ZodObject<{
919
+ topPt: z.ZodNumber;
920
+ rightPt: z.ZodNumber;
921
+ bottomPt: z.ZodNumber;
922
+ leftPt: z.ZodNumber;
923
+ }, z.core.$strip>;
924
+ 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>>>>;
925
+ breakType: z.ZodOptional<z.ZodEnum<{
926
+ nextPage: "nextPage";
927
+ continuous: "continuous";
928
+ evenPage: "evenPage";
929
+ oddPage: "oddPage";
930
+ }>>;
931
+ source: z.ZodOptional<z.ZodObject<{
932
+ format: z.ZodEnum<{
933
+ docx: "docx";
934
+ pptx: "pptx";
935
+ xlsx: "xlsx";
936
+ odt: "odt";
937
+ ods: "ods";
938
+ odp: "odp";
939
+ odg: "odg";
940
+ odm: "odm";
941
+ odb: "odb";
942
+ odf: "odf";
943
+ markdown: "markdown";
944
+ pdf: "pdf";
945
+ epub: "epub";
946
+ rtf: "rtf";
947
+ }>;
948
+ xml: z.ZodString;
949
+ }, z.core.$strict>>;
950
+ }, z.core.$strip>>;
951
+ symbolTable: z.ZodOptional<z.ZodObject<{
952
+ symbols: z.ZodArray<z.ZodObject<{
953
+ glyph: z.ZodString;
954
+ scope: z.ZodString;
955
+ id: z.ZodString;
956
+ quantityKind: z.ZodOptional<z.ZodString>;
957
+ preferredUnit: z.ZodOptional<z.ZodString>;
958
+ definitionSource: z.ZodOptional<z.ZodString>;
959
+ }, z.core.$strip>>;
960
+ units: z.ZodArray<z.ZodObject<{
961
+ id: z.ZodString;
962
+ symbol: z.ZodString;
963
+ name: z.ZodOptional<z.ZodString>;
964
+ dimension: z.ZodRecord<z.ZodEnum<{
965
+ length: "length";
966
+ mass: "mass";
967
+ time: "time";
968
+ electricCurrent: "electricCurrent";
969
+ thermodynamicTemperature: "thermodynamicTemperature";
970
+ amountOfSubstance: "amountOfSubstance";
971
+ luminousIntensity: "luminousIntensity";
972
+ }> & z.core.$partial, z.ZodNumber>;
973
+ factorToSi: z.ZodObject<{
974
+ numerator: z.ZodString;
975
+ denominator: z.ZodString;
976
+ }, z.core.$strip>;
977
+ offsetToSi: z.ZodOptional<z.ZodObject<{
978
+ numerator: z.ZodString;
979
+ denominator: z.ZodString;
980
+ }, z.core.$strip>>;
981
+ context: z.ZodOptional<z.ZodString>;
982
+ }, z.core.$strip>>;
983
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
984
+ id: z.ZodString;
985
+ bases: z.ZodArray<z.ZodObject<{
986
+ unit: z.ZodString;
987
+ value: z.ZodObject<{
988
+ numerator: z.ZodString;
989
+ denominator: z.ZodString;
990
+ }, z.core.$strip>;
991
+ }, z.core.$strip>>;
992
+ }, z.core.$strip>>>;
993
+ }, z.core.$strip>>;
994
+ kind: z.ZodLiteral<"wordprocessing">;
995
+ metadata: z.ZodObject<{
996
+ title: z.ZodOptional<z.ZodString>;
997
+ author: z.ZodOptional<z.ZodString>;
998
+ subject: z.ZodOptional<z.ZodString>;
999
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1000
+ creator: z.ZodOptional<z.ZodString>;
1001
+ producer: z.ZodOptional<z.ZodString>;
1002
+ createdIso: z.ZodOptional<z.ZodString>;
1003
+ modifiedIso: z.ZodOptional<z.ZodString>;
1004
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
1005
+ language: z.ZodOptional<z.ZodString>;
1006
+ direction: z.ZodOptional<z.ZodEnum<{
1007
+ ltr: "ltr";
1008
+ rtl: "rtl";
1009
+ }>>;
1010
+ publisher: z.ZodOptional<z.ZodString>;
1011
+ contributor: z.ZodOptional<z.ZodString>;
1012
+ rights: z.ZodOptional<z.ZodString>;
1013
+ identifier: z.ZodOptional<z.ZodString>;
1014
+ comments: z.ZodOptional<z.ZodString>;
1015
+ company: z.ZodOptional<z.ZodString>;
1016
+ manager: z.ZodOptional<z.ZodString>;
1017
+ }, z.core.$strip>;
1018
+ }, z.core.$strip>, z.ZodObject<{
1019
+ slides: z.ZodArray<z.ZodObject<{
1020
+ size: z.ZodObject<{
1021
+ widthPt: z.ZodNumber;
1022
+ heightPt: z.ZodNumber;
1023
+ }, z.core.$strip>;
1024
+ shapes: z.ZodArray<z.ZodObject<{
1025
+ name: z.ZodOptional<z.ZodString>;
1026
+ frame: z.ZodObject<{
1027
+ xPt: z.ZodNumber;
1028
+ yPt: z.ZodNumber;
1029
+ widthPt: z.ZodNumber;
1030
+ heightPt: z.ZodNumber;
1031
+ }, z.core.$strip>;
1032
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1033
+ insetLeftPt: z.ZodNumber;
1034
+ insetTopPt: z.ZodNumber;
1035
+ insetRightPt: z.ZodNumber;
1036
+ insetBottomPt: z.ZodNumber;
1037
+ fontScale: z.ZodOptional<z.ZodNumber>;
1038
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1039
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1040
+ sourcePath: z.ZodOptional<z.ZodString>;
1041
+ source: z.ZodOptional<z.ZodObject<{
1042
+ format: z.ZodEnum<{
1043
+ docx: "docx";
1044
+ pptx: "pptx";
1045
+ xlsx: "xlsx";
1046
+ odt: "odt";
1047
+ ods: "ods";
1048
+ odp: "odp";
1049
+ odg: "odg";
1050
+ odm: "odm";
1051
+ odb: "odb";
1052
+ odf: "odf";
1053
+ markdown: "markdown";
1054
+ pdf: "pdf";
1055
+ epub: "epub";
1056
+ rtf: "rtf";
1057
+ }>;
1058
+ xml: z.ZodString;
1059
+ }, z.core.$strict>>;
1060
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1061
+ pageIndex: z.ZodNumber;
1062
+ xPt: z.ZodNumber;
1063
+ yPt: z.ZodNumber;
1064
+ widthPt: z.ZodNumber;
1065
+ heightPt: z.ZodNumber;
1066
+ }, z.core.$strip>>>;
1067
+ 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>>>>;
1068
+ }, z.core.$strip>>;
1069
+ notes: z.ZodString;
1070
+ source: z.ZodOptional<z.ZodObject<{
1071
+ format: z.ZodEnum<{
1072
+ docx: "docx";
1073
+ pptx: "pptx";
1074
+ xlsx: "xlsx";
1075
+ odt: "odt";
1076
+ ods: "ods";
1077
+ odp: "odp";
1078
+ odg: "odg";
1079
+ odm: "odm";
1080
+ odb: "odb";
1081
+ odf: "odf";
1082
+ markdown: "markdown";
1083
+ pdf: "pdf";
1084
+ epub: "epub";
1085
+ rtf: "rtf";
1086
+ }>;
1087
+ xml: z.ZodString;
1088
+ }, z.core.$strict>>;
1089
+ }, z.core.$strip>>;
1090
+ symbolTable: z.ZodOptional<z.ZodObject<{
1091
+ symbols: z.ZodArray<z.ZodObject<{
1092
+ glyph: z.ZodString;
1093
+ scope: z.ZodString;
1094
+ id: z.ZodString;
1095
+ quantityKind: z.ZodOptional<z.ZodString>;
1096
+ preferredUnit: z.ZodOptional<z.ZodString>;
1097
+ definitionSource: z.ZodOptional<z.ZodString>;
1098
+ }, z.core.$strip>>;
1099
+ units: z.ZodArray<z.ZodObject<{
1100
+ id: z.ZodString;
1101
+ symbol: z.ZodString;
1102
+ name: z.ZodOptional<z.ZodString>;
1103
+ dimension: z.ZodRecord<z.ZodEnum<{
1104
+ length: "length";
1105
+ mass: "mass";
1106
+ time: "time";
1107
+ electricCurrent: "electricCurrent";
1108
+ thermodynamicTemperature: "thermodynamicTemperature";
1109
+ amountOfSubstance: "amountOfSubstance";
1110
+ luminousIntensity: "luminousIntensity";
1111
+ }> & z.core.$partial, z.ZodNumber>;
1112
+ factorToSi: z.ZodObject<{
1113
+ numerator: z.ZodString;
1114
+ denominator: z.ZodString;
1115
+ }, z.core.$strip>;
1116
+ offsetToSi: z.ZodOptional<z.ZodObject<{
1117
+ numerator: z.ZodString;
1118
+ denominator: z.ZodString;
1119
+ }, z.core.$strip>>;
1120
+ context: z.ZodOptional<z.ZodString>;
1121
+ }, z.core.$strip>>;
1122
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1123
+ id: z.ZodString;
1124
+ bases: z.ZodArray<z.ZodObject<{
1125
+ unit: z.ZodString;
1126
+ value: z.ZodObject<{
1127
+ numerator: z.ZodString;
1128
+ denominator: z.ZodString;
1129
+ }, z.core.$strip>;
1130
+ }, z.core.$strip>>;
1131
+ }, z.core.$strip>>>;
1132
+ }, z.core.$strip>>;
1133
+ kind: z.ZodLiteral<"presentation">;
1134
+ metadata: z.ZodObject<{
1135
+ title: z.ZodOptional<z.ZodString>;
1136
+ author: z.ZodOptional<z.ZodString>;
1137
+ subject: z.ZodOptional<z.ZodString>;
1138
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1139
+ creator: z.ZodOptional<z.ZodString>;
1140
+ producer: z.ZodOptional<z.ZodString>;
1141
+ createdIso: z.ZodOptional<z.ZodString>;
1142
+ modifiedIso: z.ZodOptional<z.ZodString>;
1143
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
1144
+ language: z.ZodOptional<z.ZodString>;
1145
+ direction: z.ZodOptional<z.ZodEnum<{
1146
+ ltr: "ltr";
1147
+ rtl: "rtl";
1148
+ }>>;
1149
+ publisher: z.ZodOptional<z.ZodString>;
1150
+ contributor: z.ZodOptional<z.ZodString>;
1151
+ rights: z.ZodOptional<z.ZodString>;
1152
+ identifier: z.ZodOptional<z.ZodString>;
1153
+ comments: z.ZodOptional<z.ZodString>;
1154
+ company: z.ZodOptional<z.ZodString>;
1155
+ manager: z.ZodOptional<z.ZodString>;
1156
+ }, z.core.$strip>;
1157
+ }, z.core.$strip>, z.ZodObject<{
1158
+ sheets: z.ZodArray<z.ZodObject<{
1159
+ name: z.ZodString;
1160
+ cells: z.ZodArray<z.ZodObject<{
1161
+ row: z.ZodNumber;
1162
+ column: z.ZodNumber;
1163
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1164
+ kind: z.ZodLiteral<"number">;
1165
+ value: z.ZodNumber;
1166
+ exactValue: z.ZodOptional<z.ZodString>;
1167
+ }, z.core.$strip>, z.ZodObject<{
1168
+ kind: z.ZodLiteral<"percentage">;
1169
+ value: z.ZodNumber;
1170
+ exactValue: z.ZodOptional<z.ZodString>;
1171
+ }, z.core.$strip>, z.ZodObject<{
1172
+ kind: z.ZodLiteral<"currency">;
1173
+ value: z.ZodNumber;
1174
+ currency: z.ZodOptional<z.ZodString>;
1175
+ exactValue: z.ZodOptional<z.ZodString>;
1176
+ }, z.core.$strip>, z.ZodObject<{
1177
+ kind: z.ZodLiteral<"boolean">;
1178
+ value: z.ZodBoolean;
1179
+ }, z.core.$strip>, z.ZodObject<{
1180
+ kind: z.ZodLiteral<"date">;
1181
+ value: z.ZodString;
1182
+ }, z.core.$strip>, z.ZodObject<{
1183
+ kind: z.ZodLiteral<"time">;
1184
+ value: z.ZodString;
1185
+ }, z.core.$strip>, z.ZodObject<{
1186
+ kind: z.ZodLiteral<"dateTime">;
1187
+ value: z.ZodString;
1188
+ }, z.core.$strip>, z.ZodObject<{
1189
+ kind: z.ZodLiteral<"string">;
1190
+ value: z.ZodString;
1191
+ }, z.core.$strip>, z.ZodObject<{
1192
+ kind: z.ZodLiteral<"error">;
1193
+ value: z.ZodString;
1194
+ }, z.core.$strip>, z.ZodObject<{
1195
+ kind: z.ZodLiteral<"empty">;
1196
+ }, z.core.$strip>], "kind">;
1197
+ formula: z.ZodOptional<z.ZodString>;
1198
+ displayText: z.ZodString;
1199
+ numberFormatCode: z.ZodOptional<z.ZodString>;
1200
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1201
+ text: z.ZodString;
1202
+ bold: z.ZodOptional<z.ZodBoolean>;
1203
+ italic: z.ZodOptional<z.ZodBoolean>;
1204
+ underline: z.ZodOptional<z.ZodBoolean>;
1205
+ strike: z.ZodOptional<z.ZodBoolean>;
1206
+ fontFamily: z.ZodOptional<z.ZodString>;
1207
+ sizePt: z.ZodOptional<z.ZodNumber>;
1208
+ color: z.ZodOptional<z.ZodObject<{
1209
+ r: z.ZodNumber;
1210
+ g: z.ZodNumber;
1211
+ b: z.ZodNumber;
1212
+ }, z.core.$strip>>;
1213
+ hyperlink: z.ZodOptional<z.ZodString>;
1214
+ verticalAlign: z.ZodOptional<z.ZodEnum<{
1215
+ superscript: "superscript";
1216
+ subscript: "subscript";
1217
+ }>>;
1218
+ direction: z.ZodOptional<z.ZodEnum<{
1219
+ ltr: "ltr";
1220
+ rtl: "rtl";
1221
+ }>>;
1222
+ sourcePath: z.ZodOptional<z.ZodString>;
1223
+ source: z.ZodOptional<z.ZodObject<{
1224
+ format: z.ZodEnum<{
1225
+ docx: "docx";
1226
+ pptx: "pptx";
1227
+ xlsx: "xlsx";
1228
+ odt: "odt";
1229
+ ods: "ods";
1230
+ odp: "odp";
1231
+ odg: "odg";
1232
+ odm: "odm";
1233
+ odb: "odb";
1234
+ odf: "odf";
1235
+ markdown: "markdown";
1236
+ pdf: "pdf";
1237
+ epub: "epub";
1238
+ rtf: "rtf";
1239
+ }>;
1240
+ xml: z.ZodString;
1241
+ }, z.core.$strict>>;
1242
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1243
+ pageIndex: z.ZodNumber;
1244
+ xPt: z.ZodNumber;
1245
+ yPt: z.ZodNumber;
1246
+ widthPt: z.ZodNumber;
1247
+ heightPt: z.ZodNumber;
1248
+ }, z.core.$strip>>>;
1249
+ }, z.core.$strip>>>;
1250
+ colSpan: z.ZodOptional<z.ZodNumber>;
1251
+ rowSpan: z.ZodOptional<z.ZodNumber>;
1252
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1253
+ kind: z.ZodLiteral<"solid">;
1254
+ color: z.ZodObject<{
1255
+ r: z.ZodNumber;
1256
+ g: z.ZodNumber;
1257
+ b: z.ZodNumber;
1258
+ }, z.core.$strip>;
1259
+ }, z.core.$strip>, z.ZodObject<{
1260
+ kind: z.ZodLiteral<"pattern">;
1261
+ patternType: z.ZodEnum<{
1262
+ percent5: "percent5";
1263
+ percent10: "percent10";
1264
+ percent12: "percent12";
1265
+ percent15: "percent15";
1266
+ percent20: "percent20";
1267
+ percent25: "percent25";
1268
+ percent30: "percent30";
1269
+ percent35: "percent35";
1270
+ percent37: "percent37";
1271
+ percent40: "percent40";
1272
+ percent45: "percent45";
1273
+ percent50: "percent50";
1274
+ percent55: "percent55";
1275
+ percent60: "percent60";
1276
+ percent62: "percent62";
1277
+ percent65: "percent65";
1278
+ percent70: "percent70";
1279
+ percent75: "percent75";
1280
+ percent80: "percent80";
1281
+ percent85: "percent85";
1282
+ percent87: "percent87";
1283
+ percent90: "percent90";
1284
+ percent95: "percent95";
1285
+ horizontalStripe: "horizontalStripe";
1286
+ verticalStripe: "verticalStripe";
1287
+ diagonalStripe: "diagonalStripe";
1288
+ reverseDiagonalStripe: "reverseDiagonalStripe";
1289
+ horizontalCross: "horizontalCross";
1290
+ diagonalCross: "diagonalCross";
1291
+ thinHorizontalStripe: "thinHorizontalStripe";
1292
+ thinVerticalStripe: "thinVerticalStripe";
1293
+ thinDiagonalStripe: "thinDiagonalStripe";
1294
+ thinReverseDiagonalStripe: "thinReverseDiagonalStripe";
1295
+ thinHorizontalCross: "thinHorizontalCross";
1296
+ thinDiagonalCross: "thinDiagonalCross";
1297
+ mediumGray: "mediumGray";
1298
+ darkGray: "darkGray";
1299
+ lightGray: "lightGray";
1300
+ darkHorizontal: "darkHorizontal";
1301
+ darkVertical: "darkVertical";
1302
+ darkDown: "darkDown";
1303
+ darkUp: "darkUp";
1304
+ darkGrid: "darkGrid";
1305
+ darkTrellis: "darkTrellis";
1306
+ lightHorizontal: "lightHorizontal";
1307
+ lightVertical: "lightVertical";
1308
+ lightDown: "lightDown";
1309
+ lightUp: "lightUp";
1310
+ lightGrid: "lightGrid";
1311
+ lightTrellis: "lightTrellis";
1312
+ gray125: "gray125";
1313
+ gray0625: "gray0625";
1314
+ }>;
1315
+ foregroundColor: z.ZodOptional<z.ZodObject<{
1316
+ r: z.ZodNumber;
1317
+ g: z.ZodNumber;
1318
+ b: z.ZodNumber;
1319
+ }, z.core.$strip>>;
1320
+ backgroundColor: z.ZodOptional<z.ZodObject<{
1321
+ r: z.ZodNumber;
1322
+ g: z.ZodNumber;
1323
+ b: z.ZodNumber;
1324
+ }, z.core.$strip>>;
1325
+ }, z.core.$strip>], "kind">>;
1326
+ borders: z.ZodOptional<z.ZodObject<{
1327
+ left: z.ZodOptional<z.ZodObject<{
1328
+ color: z.ZodObject<{
1329
+ r: z.ZodNumber;
1330
+ g: z.ZodNumber;
1331
+ b: z.ZodNumber;
1332
+ }, z.core.$strip>;
1333
+ widthPt: z.ZodNumber;
1334
+ style: z.ZodOptional<z.ZodEnum<{
1335
+ solid: "solid";
1336
+ dashed: "dashed";
1337
+ dotted: "dotted";
1338
+ double: "double";
1339
+ }>>;
1340
+ }, z.core.$strip>>;
1341
+ right: z.ZodOptional<z.ZodObject<{
1342
+ color: z.ZodObject<{
1343
+ r: z.ZodNumber;
1344
+ g: z.ZodNumber;
1345
+ b: z.ZodNumber;
1346
+ }, z.core.$strip>;
1347
+ widthPt: z.ZodNumber;
1348
+ style: z.ZodOptional<z.ZodEnum<{
1349
+ solid: "solid";
1350
+ dashed: "dashed";
1351
+ dotted: "dotted";
1352
+ double: "double";
1353
+ }>>;
1354
+ }, z.core.$strip>>;
1355
+ top: z.ZodOptional<z.ZodObject<{
1356
+ color: z.ZodObject<{
1357
+ r: z.ZodNumber;
1358
+ g: z.ZodNumber;
1359
+ b: z.ZodNumber;
1360
+ }, z.core.$strip>;
1361
+ widthPt: z.ZodNumber;
1362
+ style: z.ZodOptional<z.ZodEnum<{
1363
+ solid: "solid";
1364
+ dashed: "dashed";
1365
+ dotted: "dotted";
1366
+ double: "double";
1367
+ }>>;
1368
+ }, z.core.$strip>>;
1369
+ bottom: z.ZodOptional<z.ZodObject<{
1370
+ color: z.ZodObject<{
1371
+ r: z.ZodNumber;
1372
+ g: z.ZodNumber;
1373
+ b: z.ZodNumber;
1374
+ }, z.core.$strip>;
1375
+ widthPt: z.ZodNumber;
1376
+ style: z.ZodOptional<z.ZodEnum<{
1377
+ solid: "solid";
1378
+ dashed: "dashed";
1379
+ dotted: "dotted";
1380
+ double: "double";
1381
+ }>>;
1382
+ }, z.core.$strip>>;
1383
+ diagonalUp: z.ZodOptional<z.ZodObject<{
1384
+ color: z.ZodObject<{
1385
+ r: z.ZodNumber;
1386
+ g: z.ZodNumber;
1387
+ b: z.ZodNumber;
1388
+ }, z.core.$strip>;
1389
+ widthPt: z.ZodNumber;
1390
+ style: z.ZodOptional<z.ZodEnum<{
1391
+ solid: "solid";
1392
+ dashed: "dashed";
1393
+ dotted: "dotted";
1394
+ double: "double";
1395
+ }>>;
1396
+ }, z.core.$strip>>;
1397
+ diagonalDown: z.ZodOptional<z.ZodObject<{
1398
+ color: z.ZodObject<{
1399
+ r: z.ZodNumber;
1400
+ g: z.ZodNumber;
1401
+ b: z.ZodNumber;
1402
+ }, z.core.$strip>;
1403
+ widthPt: z.ZodNumber;
1404
+ style: z.ZodOptional<z.ZodEnum<{
1405
+ solid: "solid";
1406
+ dashed: "dashed";
1407
+ dotted: "dotted";
1408
+ double: "double";
1409
+ }>>;
1410
+ }, z.core.$strip>>;
1411
+ }, z.core.$strip>>;
1412
+ alignment: z.ZodOptional<z.ZodEnum<{
1413
+ left: "left";
1414
+ right: "right";
1415
+ center: "center";
1416
+ justify: "justify";
1417
+ }>>;
1418
+ verticalAlignment: z.ZodOptional<z.ZodEnum<{
1419
+ top: "top";
1420
+ bottom: "bottom";
1421
+ middle: "middle";
1422
+ }>>;
1423
+ comment: z.ZodOptional<z.ZodObject<{
1424
+ text: z.ZodString;
1425
+ author: z.ZodOptional<z.ZodString>;
1426
+ createdAt: z.ZodOptional<z.ZodString>;
1427
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1428
+ text: z.ZodString;
1429
+ author: z.ZodOptional<z.ZodString>;
1430
+ }, z.core.$strip>>>;
1431
+ }, z.core.$strip>>;
1432
+ sourcePath: z.ZodOptional<z.ZodString>;
1433
+ source: z.ZodOptional<z.ZodObject<{
1434
+ format: z.ZodEnum<{
1435
+ docx: "docx";
1436
+ pptx: "pptx";
1437
+ xlsx: "xlsx";
1438
+ odt: "odt";
1439
+ ods: "ods";
1440
+ odp: "odp";
1441
+ odg: "odg";
1442
+ odm: "odm";
1443
+ odb: "odb";
1444
+ odf: "odf";
1445
+ markdown: "markdown";
1446
+ pdf: "pdf";
1447
+ epub: "epub";
1448
+ rtf: "rtf";
1449
+ }>;
1450
+ xml: z.ZodString;
1451
+ }, z.core.$strict>>;
1452
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1453
+ pageIndex: z.ZodNumber;
1454
+ xPt: z.ZodNumber;
1455
+ yPt: z.ZodNumber;
1456
+ widthPt: z.ZodNumber;
1457
+ heightPt: z.ZodNumber;
1458
+ }, z.core.$strip>>>;
1459
+ }, z.core.$strip>>;
1460
+ columns: z.ZodArray<z.ZodObject<{
1461
+ index: z.ZodNumber;
1462
+ widthPt: z.ZodOptional<z.ZodNumber>;
1463
+ hidden: z.ZodOptional<z.ZodBoolean>;
1464
+ }, z.core.$strip>>;
1465
+ rows: z.ZodArray<z.ZodObject<{
1466
+ index: z.ZodNumber;
1467
+ heightPt: z.ZodOptional<z.ZodNumber>;
1468
+ hidden: z.ZodOptional<z.ZodBoolean>;
1469
+ }, z.core.$strip>>;
1470
+ images: z.ZodArray<z.ZodObject<{
1471
+ kind: z.ZodLiteral<"image">;
1472
+ format: z.ZodEnum<{
1473
+ png: "png";
1474
+ jpeg: "jpeg";
1475
+ svg: "svg";
1476
+ gif: "gif";
1477
+ }>;
1478
+ base64: z.ZodString;
1479
+ widthPt: z.ZodNumber;
1480
+ heightPt: z.ZodNumber;
1481
+ altText: z.ZodOptional<z.ZodString>;
1482
+ floatPosition: z.ZodOptional<z.ZodObject<{
1483
+ horizontal: z.ZodUnion<readonly [z.ZodObject<{
1484
+ relativeTo: z.ZodEnum<{
1485
+ paragraph: "paragraph";
1486
+ page: "page";
1487
+ margin: "margin";
1488
+ leftMargin: "leftMargin";
1489
+ rightMargin: "rightMargin";
1490
+ topMargin: "topMargin";
1491
+ bottomMargin: "bottomMargin";
1492
+ insideMargin: "insideMargin";
1493
+ outsideMargin: "outsideMargin";
1494
+ column: "column";
1495
+ character: "character";
1496
+ line: "line";
1497
+ frame: "frame";
1498
+ }>;
1499
+ offsetPt: z.ZodNumber;
1500
+ }, z.core.$strict>, z.ZodObject<{
1501
+ relativeTo: z.ZodEnum<{
1502
+ paragraph: "paragraph";
1503
+ page: "page";
1504
+ margin: "margin";
1505
+ leftMargin: "leftMargin";
1506
+ rightMargin: "rightMargin";
1507
+ topMargin: "topMargin";
1508
+ bottomMargin: "bottomMargin";
1509
+ insideMargin: "insideMargin";
1510
+ outsideMargin: "outsideMargin";
1511
+ column: "column";
1512
+ character: "character";
1513
+ line: "line";
1514
+ frame: "frame";
1515
+ }>;
1516
+ align: z.ZodEnum<{
1517
+ left: "left";
1518
+ right: "right";
1519
+ top: "top";
1520
+ bottom: "bottom";
1521
+ center: "center";
1522
+ inside: "inside";
1523
+ outside: "outside";
1524
+ }>;
1525
+ }, z.core.$strict>]>;
1526
+ vertical: z.ZodUnion<readonly [z.ZodObject<{
1527
+ relativeTo: z.ZodEnum<{
1528
+ paragraph: "paragraph";
1529
+ page: "page";
1530
+ margin: "margin";
1531
+ leftMargin: "leftMargin";
1532
+ rightMargin: "rightMargin";
1533
+ topMargin: "topMargin";
1534
+ bottomMargin: "bottomMargin";
1535
+ insideMargin: "insideMargin";
1536
+ outsideMargin: "outsideMargin";
1537
+ column: "column";
1538
+ character: "character";
1539
+ line: "line";
1540
+ frame: "frame";
1541
+ }>;
1542
+ offsetPt: z.ZodNumber;
1543
+ }, z.core.$strict>, z.ZodObject<{
1544
+ relativeTo: z.ZodEnum<{
1545
+ paragraph: "paragraph";
1546
+ page: "page";
1547
+ margin: "margin";
1548
+ leftMargin: "leftMargin";
1549
+ rightMargin: "rightMargin";
1550
+ topMargin: "topMargin";
1551
+ bottomMargin: "bottomMargin";
1552
+ insideMargin: "insideMargin";
1553
+ outsideMargin: "outsideMargin";
1554
+ column: "column";
1555
+ character: "character";
1556
+ line: "line";
1557
+ frame: "frame";
1558
+ }>;
1559
+ align: z.ZodEnum<{
1560
+ left: "left";
1561
+ right: "right";
1562
+ top: "top";
1563
+ bottom: "bottom";
1564
+ center: "center";
1565
+ inside: "inside";
1566
+ outside: "outside";
1567
+ }>;
1568
+ }, z.core.$strict>]>;
1569
+ }, z.core.$strip>>;
1570
+ sourcePath: z.ZodOptional<z.ZodString>;
1571
+ source: z.ZodOptional<z.ZodObject<{
1572
+ format: z.ZodEnum<{
1573
+ docx: "docx";
1574
+ pptx: "pptx";
1575
+ xlsx: "xlsx";
1576
+ odt: "odt";
1577
+ ods: "ods";
1578
+ odp: "odp";
1579
+ odg: "odg";
1580
+ odm: "odm";
1581
+ odb: "odb";
1582
+ odf: "odf";
1583
+ markdown: "markdown";
1584
+ pdf: "pdf";
1585
+ epub: "epub";
1586
+ rtf: "rtf";
1587
+ }>;
1588
+ xml: z.ZodString;
1589
+ }, z.core.$strict>>;
1590
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1591
+ pageIndex: z.ZodNumber;
1592
+ xPt: z.ZodNumber;
1593
+ yPt: z.ZodNumber;
1594
+ widthPt: z.ZodNumber;
1595
+ heightPt: z.ZodNumber;
1596
+ }, z.core.$strip>>>;
1597
+ anchorRow: z.ZodNumber;
1598
+ anchorColumn: z.ZodNumber;
1599
+ offsetXPt: z.ZodNumber;
1600
+ offsetYPt: z.ZodNumber;
1601
+ }, z.core.$strip>>;
1602
+ printSettings: z.ZodObject<{
1603
+ pageSize: z.ZodObject<{
1604
+ widthPt: z.ZodNumber;
1605
+ heightPt: z.ZodNumber;
1606
+ }, z.core.$strip>;
1607
+ margins: z.ZodObject<{
1608
+ topPt: z.ZodNumber;
1609
+ rightPt: z.ZodNumber;
1610
+ bottomPt: z.ZodNumber;
1611
+ leftPt: z.ZodNumber;
1612
+ }, z.core.$strip>;
1613
+ printRange: z.ZodOptional<z.ZodObject<{
1614
+ startRow: z.ZodNumber;
1615
+ startColumn: z.ZodNumber;
1616
+ endRow: z.ZodNumber;
1617
+ endColumn: z.ZodNumber;
1618
+ }, z.core.$strip>>;
1619
+ scalePercent: z.ZodOptional<z.ZodNumber>;
1620
+ fitToPages: z.ZodOptional<z.ZodObject<{
1621
+ width: z.ZodNumber;
1622
+ height: z.ZodNumber;
1623
+ }, z.core.$strip>>;
1624
+ repeatRows: z.ZodOptional<z.ZodObject<{
1625
+ start: z.ZodNumber;
1626
+ end: z.ZodNumber;
1627
+ }, z.core.$strip>>;
1628
+ repeatColumns: z.ZodOptional<z.ZodObject<{
1629
+ start: z.ZodNumber;
1630
+ end: z.ZodNumber;
1631
+ }, z.core.$strip>>;
1632
+ gridlines: z.ZodBoolean;
1633
+ headers: z.ZodBoolean;
1634
+ pageOrder: z.ZodEnum<{
1635
+ downThenOver: "downThenOver";
1636
+ overThenDown: "overThenDown";
1637
+ }>;
1638
+ manualBreaks: z.ZodOptional<z.ZodObject<{
1639
+ rows: z.ZodArray<z.ZodNumber>;
1640
+ columns: z.ZodArray<z.ZodNumber>;
1641
+ }, z.core.$strip>>;
1642
+ }, z.core.$strip>;
1643
+ embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodType<import("document-schema.js").ContentEmbeddedObject, import("document-schema.js").ContentEmbeddedObject, z.core.$ZodTypeInternals<import("document-schema.js").ContentEmbeddedObject, import("document-schema.js").ContentEmbeddedObject>>>>;
1644
+ dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1645
+ ranges: z.ZodArray<z.ZodObject<{
1646
+ startRow: z.ZodNumber;
1647
+ startColumn: z.ZodNumber;
1648
+ endRow: z.ZodNumber;
1649
+ endColumn: z.ZodNumber;
1650
+ }, z.core.$strip>>;
1651
+ type: z.ZodEnum<{
1652
+ date: "date";
1653
+ custom: "custom";
1654
+ decimal: "decimal";
1655
+ list: "list";
1656
+ time: "time";
1657
+ whole: "whole";
1658
+ textLength: "textLength";
1659
+ }>;
1660
+ operator: z.ZodOptional<z.ZodEnum<{
1661
+ between: "between";
1662
+ notBetween: "notBetween";
1663
+ equal: "equal";
1664
+ notEqual: "notEqual";
1665
+ greaterThan: "greaterThan";
1666
+ greaterThanOrEqual: "greaterThanOrEqual";
1667
+ lessThan: "lessThan";
1668
+ lessThanOrEqual: "lessThanOrEqual";
1669
+ }>>;
1670
+ formula1: z.ZodOptional<z.ZodString>;
1671
+ formula2: z.ZodOptional<z.ZodString>;
1672
+ allowBlank: z.ZodOptional<z.ZodBoolean>;
1673
+ showInputMessage: z.ZodOptional<z.ZodBoolean>;
1674
+ promptTitle: z.ZodOptional<z.ZodString>;
1675
+ prompt: z.ZodOptional<z.ZodString>;
1676
+ showErrorMessage: z.ZodOptional<z.ZodBoolean>;
1677
+ errorStyle: z.ZodOptional<z.ZodEnum<{
1678
+ stop: "stop";
1679
+ warning: "warning";
1680
+ information: "information";
1681
+ }>>;
1682
+ errorTitle: z.ZodOptional<z.ZodString>;
1683
+ error: z.ZodOptional<z.ZodString>;
1684
+ source: z.ZodOptional<z.ZodObject<{
1685
+ format: z.ZodEnum<{
1686
+ docx: "docx";
1687
+ pptx: "pptx";
1688
+ xlsx: "xlsx";
1689
+ odt: "odt";
1690
+ ods: "ods";
1691
+ odp: "odp";
1692
+ odg: "odg";
1693
+ odm: "odm";
1694
+ odb: "odb";
1695
+ odf: "odf";
1696
+ markdown: "markdown";
1697
+ pdf: "pdf";
1698
+ epub: "epub";
1699
+ rtf: "rtf";
1700
+ }>;
1701
+ xml: z.ZodString;
1702
+ }, z.core.$strict>>;
1703
+ }, z.core.$strip>>>;
1704
+ conditionalFormats: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1705
+ operator: z.ZodEnum<{
1706
+ between: "between";
1707
+ notBetween: "notBetween";
1708
+ equal: "equal";
1709
+ notEqual: "notEqual";
1710
+ greaterThan: "greaterThan";
1711
+ greaterThanOrEqual: "greaterThanOrEqual";
1712
+ lessThan: "lessThan";
1713
+ lessThanOrEqual: "lessThanOrEqual";
1714
+ }>;
1715
+ formula1: z.ZodString;
1716
+ formula2: z.ZodOptional<z.ZodString>;
1717
+ style: z.ZodOptional<z.ZodObject<{
1718
+ textColor: z.ZodOptional<z.ZodObject<{
1719
+ r: z.ZodNumber;
1720
+ g: z.ZodNumber;
1721
+ b: z.ZodNumber;
1722
+ }, z.core.$strip>>;
1723
+ background: z.ZodOptional<z.ZodObject<{
1724
+ r: z.ZodNumber;
1725
+ g: z.ZodNumber;
1726
+ b: z.ZodNumber;
1727
+ }, z.core.$strip>>;
1728
+ source: z.ZodOptional<z.ZodObject<{
1729
+ format: z.ZodEnum<{
1730
+ docx: "docx";
1731
+ pptx: "pptx";
1732
+ xlsx: "xlsx";
1733
+ odt: "odt";
1734
+ ods: "ods";
1735
+ odp: "odp";
1736
+ odg: "odg";
1737
+ odm: "odm";
1738
+ odb: "odb";
1739
+ odf: "odf";
1740
+ markdown: "markdown";
1741
+ pdf: "pdf";
1742
+ epub: "epub";
1743
+ rtf: "rtf";
1744
+ }>;
1745
+ xml: z.ZodString;
1746
+ }, z.core.$strict>>;
1747
+ }, z.core.$strip>>;
1748
+ ranges: z.ZodArray<z.ZodObject<{
1749
+ startRow: z.ZodNumber;
1750
+ startColumn: z.ZodNumber;
1751
+ endRow: z.ZodNumber;
1752
+ endColumn: z.ZodNumber;
1753
+ }, z.core.$strip>>;
1754
+ priority: z.ZodOptional<z.ZodNumber>;
1755
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1756
+ source: z.ZodOptional<z.ZodObject<{
1757
+ format: z.ZodEnum<{
1758
+ docx: "docx";
1759
+ pptx: "pptx";
1760
+ xlsx: "xlsx";
1761
+ odt: "odt";
1762
+ ods: "ods";
1763
+ odp: "odp";
1764
+ odg: "odg";
1765
+ odm: "odm";
1766
+ odb: "odb";
1767
+ odf: "odf";
1768
+ markdown: "markdown";
1769
+ pdf: "pdf";
1770
+ epub: "epub";
1771
+ rtf: "rtf";
1772
+ }>;
1773
+ xml: z.ZodString;
1774
+ }, z.core.$strict>>;
1775
+ type: z.ZodLiteral<"cellIs">;
1776
+ }, z.core.$strip>, z.ZodObject<{
1777
+ text: z.ZodString;
1778
+ style: z.ZodOptional<z.ZodObject<{
1779
+ textColor: z.ZodOptional<z.ZodObject<{
1780
+ r: z.ZodNumber;
1781
+ g: z.ZodNumber;
1782
+ b: z.ZodNumber;
1783
+ }, z.core.$strip>>;
1784
+ background: z.ZodOptional<z.ZodObject<{
1785
+ r: z.ZodNumber;
1786
+ g: z.ZodNumber;
1787
+ b: z.ZodNumber;
1788
+ }, z.core.$strip>>;
1789
+ source: z.ZodOptional<z.ZodObject<{
1790
+ format: z.ZodEnum<{
1791
+ docx: "docx";
1792
+ pptx: "pptx";
1793
+ xlsx: "xlsx";
1794
+ odt: "odt";
1795
+ ods: "ods";
1796
+ odp: "odp";
1797
+ odg: "odg";
1798
+ odm: "odm";
1799
+ odb: "odb";
1800
+ odf: "odf";
1801
+ markdown: "markdown";
1802
+ pdf: "pdf";
1803
+ epub: "epub";
1804
+ rtf: "rtf";
1805
+ }>;
1806
+ xml: z.ZodString;
1807
+ }, z.core.$strict>>;
1808
+ }, z.core.$strip>>;
1809
+ ranges: z.ZodArray<z.ZodObject<{
1810
+ startRow: z.ZodNumber;
1811
+ startColumn: z.ZodNumber;
1812
+ endRow: z.ZodNumber;
1813
+ endColumn: z.ZodNumber;
1814
+ }, z.core.$strip>>;
1815
+ priority: z.ZodOptional<z.ZodNumber>;
1816
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1817
+ source: z.ZodOptional<z.ZodObject<{
1818
+ format: z.ZodEnum<{
1819
+ docx: "docx";
1820
+ pptx: "pptx";
1821
+ xlsx: "xlsx";
1822
+ odt: "odt";
1823
+ ods: "ods";
1824
+ odp: "odp";
1825
+ odg: "odg";
1826
+ odm: "odm";
1827
+ odb: "odb";
1828
+ odf: "odf";
1829
+ markdown: "markdown";
1830
+ pdf: "pdf";
1831
+ epub: "epub";
1832
+ rtf: "rtf";
1833
+ }>;
1834
+ xml: z.ZodString;
1835
+ }, z.core.$strict>>;
1836
+ type: z.ZodEnum<{
1837
+ containsText: "containsText";
1838
+ notContainsText: "notContainsText";
1839
+ beginsWith: "beginsWith";
1840
+ endsWith: "endsWith";
1841
+ }>;
1842
+ }, z.core.$strip>, z.ZodObject<{
1843
+ style: z.ZodOptional<z.ZodObject<{
1844
+ textColor: z.ZodOptional<z.ZodObject<{
1845
+ r: z.ZodNumber;
1846
+ g: z.ZodNumber;
1847
+ b: z.ZodNumber;
1848
+ }, z.core.$strip>>;
1849
+ background: z.ZodOptional<z.ZodObject<{
1850
+ r: z.ZodNumber;
1851
+ g: z.ZodNumber;
1852
+ b: z.ZodNumber;
1853
+ }, z.core.$strip>>;
1854
+ source: z.ZodOptional<z.ZodObject<{
1855
+ format: z.ZodEnum<{
1856
+ docx: "docx";
1857
+ pptx: "pptx";
1858
+ xlsx: "xlsx";
1859
+ odt: "odt";
1860
+ ods: "ods";
1861
+ odp: "odp";
1862
+ odg: "odg";
1863
+ odm: "odm";
1864
+ odb: "odb";
1865
+ odf: "odf";
1866
+ markdown: "markdown";
1867
+ pdf: "pdf";
1868
+ epub: "epub";
1869
+ rtf: "rtf";
1870
+ }>;
1871
+ xml: z.ZodString;
1872
+ }, z.core.$strict>>;
1873
+ }, z.core.$strip>>;
1874
+ ranges: z.ZodArray<z.ZodObject<{
1875
+ startRow: z.ZodNumber;
1876
+ startColumn: z.ZodNumber;
1877
+ endRow: z.ZodNumber;
1878
+ endColumn: z.ZodNumber;
1879
+ }, z.core.$strip>>;
1880
+ priority: z.ZodOptional<z.ZodNumber>;
1881
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1882
+ source: z.ZodOptional<z.ZodObject<{
1883
+ format: z.ZodEnum<{
1884
+ docx: "docx";
1885
+ pptx: "pptx";
1886
+ xlsx: "xlsx";
1887
+ odt: "odt";
1888
+ ods: "ods";
1889
+ odp: "odp";
1890
+ odg: "odg";
1891
+ odm: "odm";
1892
+ odb: "odb";
1893
+ odf: "odf";
1894
+ markdown: "markdown";
1895
+ pdf: "pdf";
1896
+ epub: "epub";
1897
+ rtf: "rtf";
1898
+ }>;
1899
+ xml: z.ZodString;
1900
+ }, z.core.$strict>>;
1901
+ type: z.ZodEnum<{
1902
+ containsBlanks: "containsBlanks";
1903
+ notContainsBlanks: "notContainsBlanks";
1904
+ containsErrors: "containsErrors";
1905
+ notContainsErrors: "notContainsErrors";
1906
+ uniqueValues: "uniqueValues";
1907
+ duplicateValues: "duplicateValues";
1908
+ }>;
1909
+ }, z.core.$strip>, z.ZodObject<{
1910
+ rank: z.ZodNumber;
1911
+ percent: z.ZodOptional<z.ZodBoolean>;
1912
+ bottom: z.ZodOptional<z.ZodBoolean>;
1913
+ style: z.ZodOptional<z.ZodObject<{
1914
+ textColor: z.ZodOptional<z.ZodObject<{
1915
+ r: z.ZodNumber;
1916
+ g: z.ZodNumber;
1917
+ b: z.ZodNumber;
1918
+ }, z.core.$strip>>;
1919
+ background: z.ZodOptional<z.ZodObject<{
1920
+ r: z.ZodNumber;
1921
+ g: z.ZodNumber;
1922
+ b: z.ZodNumber;
1923
+ }, z.core.$strip>>;
1924
+ source: z.ZodOptional<z.ZodObject<{
1925
+ format: z.ZodEnum<{
1926
+ docx: "docx";
1927
+ pptx: "pptx";
1928
+ xlsx: "xlsx";
1929
+ odt: "odt";
1930
+ ods: "ods";
1931
+ odp: "odp";
1932
+ odg: "odg";
1933
+ odm: "odm";
1934
+ odb: "odb";
1935
+ odf: "odf";
1936
+ markdown: "markdown";
1937
+ pdf: "pdf";
1938
+ epub: "epub";
1939
+ rtf: "rtf";
1940
+ }>;
1941
+ xml: z.ZodString;
1942
+ }, z.core.$strict>>;
1943
+ }, z.core.$strip>>;
1944
+ ranges: z.ZodArray<z.ZodObject<{
1945
+ startRow: z.ZodNumber;
1946
+ startColumn: z.ZodNumber;
1947
+ endRow: z.ZodNumber;
1948
+ endColumn: z.ZodNumber;
1949
+ }, z.core.$strip>>;
1950
+ priority: z.ZodOptional<z.ZodNumber>;
1951
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1952
+ source: z.ZodOptional<z.ZodObject<{
1953
+ format: z.ZodEnum<{
1954
+ docx: "docx";
1955
+ pptx: "pptx";
1956
+ xlsx: "xlsx";
1957
+ odt: "odt";
1958
+ ods: "ods";
1959
+ odp: "odp";
1960
+ odg: "odg";
1961
+ odm: "odm";
1962
+ odb: "odb";
1963
+ odf: "odf";
1964
+ markdown: "markdown";
1965
+ pdf: "pdf";
1966
+ epub: "epub";
1967
+ rtf: "rtf";
1968
+ }>;
1969
+ xml: z.ZodString;
1970
+ }, z.core.$strict>>;
1971
+ type: z.ZodLiteral<"top10">;
1972
+ }, z.core.$strip>, z.ZodObject<{
1973
+ aboveAverage: z.ZodOptional<z.ZodBoolean>;
1974
+ equalAverage: z.ZodOptional<z.ZodBoolean>;
1975
+ stdDev: z.ZodOptional<z.ZodNumber>;
1976
+ style: z.ZodOptional<z.ZodObject<{
1977
+ textColor: z.ZodOptional<z.ZodObject<{
1978
+ r: z.ZodNumber;
1979
+ g: z.ZodNumber;
1980
+ b: z.ZodNumber;
1981
+ }, z.core.$strip>>;
1982
+ background: z.ZodOptional<z.ZodObject<{
1983
+ r: z.ZodNumber;
1984
+ g: z.ZodNumber;
1985
+ b: z.ZodNumber;
1986
+ }, z.core.$strip>>;
1987
+ source: z.ZodOptional<z.ZodObject<{
1988
+ format: z.ZodEnum<{
1989
+ docx: "docx";
1990
+ pptx: "pptx";
1991
+ xlsx: "xlsx";
1992
+ odt: "odt";
1993
+ ods: "ods";
1994
+ odp: "odp";
1995
+ odg: "odg";
1996
+ odm: "odm";
1997
+ odb: "odb";
1998
+ odf: "odf";
1999
+ markdown: "markdown";
2000
+ pdf: "pdf";
2001
+ epub: "epub";
2002
+ rtf: "rtf";
2003
+ }>;
2004
+ xml: z.ZodString;
2005
+ }, z.core.$strict>>;
2006
+ }, z.core.$strip>>;
2007
+ ranges: z.ZodArray<z.ZodObject<{
2008
+ startRow: z.ZodNumber;
2009
+ startColumn: z.ZodNumber;
2010
+ endRow: z.ZodNumber;
2011
+ endColumn: z.ZodNumber;
2012
+ }, z.core.$strip>>;
2013
+ priority: z.ZodOptional<z.ZodNumber>;
2014
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
2015
+ source: z.ZodOptional<z.ZodObject<{
2016
+ format: z.ZodEnum<{
2017
+ docx: "docx";
2018
+ pptx: "pptx";
2019
+ xlsx: "xlsx";
2020
+ odt: "odt";
2021
+ ods: "ods";
2022
+ odp: "odp";
2023
+ odg: "odg";
2024
+ odm: "odm";
2025
+ odb: "odb";
2026
+ odf: "odf";
2027
+ markdown: "markdown";
2028
+ pdf: "pdf";
2029
+ epub: "epub";
2030
+ rtf: "rtf";
2031
+ }>;
2032
+ xml: z.ZodString;
2033
+ }, z.core.$strict>>;
2034
+ type: z.ZodLiteral<"aboveAverage">;
2035
+ }, z.core.$strip>, z.ZodObject<{
2036
+ timePeriod: z.ZodEnum<{
2037
+ yesterday: "yesterday";
2038
+ today: "today";
2039
+ tomorrow: "tomorrow";
2040
+ last7Days: "last7Days";
2041
+ thisMonth: "thisMonth";
2042
+ lastMonth: "lastMonth";
2043
+ nextMonth: "nextMonth";
2044
+ thisWeek: "thisWeek";
2045
+ lastWeek: "lastWeek";
2046
+ nextWeek: "nextWeek";
2047
+ thisYear: "thisYear";
2048
+ lastYear: "lastYear";
2049
+ nextYear: "nextYear";
2050
+ }>;
2051
+ style: z.ZodOptional<z.ZodObject<{
2052
+ textColor: z.ZodOptional<z.ZodObject<{
2053
+ r: z.ZodNumber;
2054
+ g: z.ZodNumber;
2055
+ b: z.ZodNumber;
2056
+ }, z.core.$strip>>;
2057
+ background: z.ZodOptional<z.ZodObject<{
2058
+ r: z.ZodNumber;
2059
+ g: z.ZodNumber;
2060
+ b: z.ZodNumber;
2061
+ }, z.core.$strip>>;
2062
+ source: z.ZodOptional<z.ZodObject<{
2063
+ format: z.ZodEnum<{
2064
+ docx: "docx";
2065
+ pptx: "pptx";
2066
+ xlsx: "xlsx";
2067
+ odt: "odt";
2068
+ ods: "ods";
2069
+ odp: "odp";
2070
+ odg: "odg";
2071
+ odm: "odm";
2072
+ odb: "odb";
2073
+ odf: "odf";
2074
+ markdown: "markdown";
2075
+ pdf: "pdf";
2076
+ epub: "epub";
2077
+ rtf: "rtf";
2078
+ }>;
2079
+ xml: z.ZodString;
2080
+ }, z.core.$strict>>;
2081
+ }, z.core.$strip>>;
2082
+ ranges: z.ZodArray<z.ZodObject<{
2083
+ startRow: z.ZodNumber;
2084
+ startColumn: z.ZodNumber;
2085
+ endRow: z.ZodNumber;
2086
+ endColumn: z.ZodNumber;
2087
+ }, z.core.$strip>>;
2088
+ priority: z.ZodOptional<z.ZodNumber>;
2089
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
2090
+ source: z.ZodOptional<z.ZodObject<{
2091
+ format: z.ZodEnum<{
2092
+ docx: "docx";
2093
+ pptx: "pptx";
2094
+ xlsx: "xlsx";
2095
+ odt: "odt";
2096
+ ods: "ods";
2097
+ odp: "odp";
2098
+ odg: "odg";
2099
+ odm: "odm";
2100
+ odb: "odb";
2101
+ odf: "odf";
2102
+ markdown: "markdown";
2103
+ pdf: "pdf";
2104
+ epub: "epub";
2105
+ rtf: "rtf";
2106
+ }>;
2107
+ xml: z.ZodString;
2108
+ }, z.core.$strict>>;
2109
+ type: z.ZodLiteral<"timePeriod">;
2110
+ }, z.core.$strip>, z.ZodObject<{
2111
+ stops: z.ZodArray<z.ZodObject<{
2112
+ value: z.ZodObject<{
2113
+ type: z.ZodEnum<{
2114
+ formula: "formula";
2115
+ percent: "percent";
2116
+ num: "num";
2117
+ max: "max";
2118
+ min: "min";
2119
+ percentile: "percentile";
2120
+ }>;
2121
+ value: z.ZodOptional<z.ZodString>;
2122
+ }, z.core.$strip>;
2123
+ color: z.ZodObject<{
2124
+ r: z.ZodNumber;
2125
+ g: z.ZodNumber;
2126
+ b: z.ZodNumber;
2127
+ }, z.core.$strip>;
2128
+ }, z.core.$strip>>;
2129
+ ranges: z.ZodArray<z.ZodObject<{
2130
+ startRow: z.ZodNumber;
2131
+ startColumn: z.ZodNumber;
2132
+ endRow: z.ZodNumber;
2133
+ endColumn: z.ZodNumber;
2134
+ }, z.core.$strip>>;
2135
+ priority: z.ZodOptional<z.ZodNumber>;
2136
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
2137
+ source: z.ZodOptional<z.ZodObject<{
2138
+ format: z.ZodEnum<{
2139
+ docx: "docx";
2140
+ pptx: "pptx";
2141
+ xlsx: "xlsx";
2142
+ odt: "odt";
2143
+ ods: "ods";
2144
+ odp: "odp";
2145
+ odg: "odg";
2146
+ odm: "odm";
2147
+ odb: "odb";
2148
+ odf: "odf";
2149
+ markdown: "markdown";
2150
+ pdf: "pdf";
2151
+ epub: "epub";
2152
+ rtf: "rtf";
2153
+ }>;
2154
+ xml: z.ZodString;
2155
+ }, z.core.$strict>>;
2156
+ type: z.ZodLiteral<"colorScale">;
2157
+ }, z.core.$strip>, z.ZodObject<{
2158
+ min: z.ZodObject<{
2159
+ type: z.ZodEnum<{
2160
+ formula: "formula";
2161
+ percent: "percent";
2162
+ num: "num";
2163
+ max: "max";
2164
+ min: "min";
2165
+ percentile: "percentile";
2166
+ }>;
2167
+ value: z.ZodOptional<z.ZodString>;
2168
+ }, z.core.$strip>;
2169
+ max: z.ZodObject<{
2170
+ type: z.ZodEnum<{
2171
+ formula: "formula";
2172
+ percent: "percent";
2173
+ num: "num";
2174
+ max: "max";
2175
+ min: "min";
2176
+ percentile: "percentile";
2177
+ }>;
2178
+ value: z.ZodOptional<z.ZodString>;
2179
+ }, z.core.$strip>;
2180
+ color: z.ZodObject<{
2181
+ r: z.ZodNumber;
2182
+ g: z.ZodNumber;
2183
+ b: z.ZodNumber;
2184
+ }, z.core.$strip>;
2185
+ showValue: z.ZodOptional<z.ZodBoolean>;
2186
+ ranges: z.ZodArray<z.ZodObject<{
2187
+ startRow: z.ZodNumber;
2188
+ startColumn: z.ZodNumber;
2189
+ endRow: z.ZodNumber;
2190
+ endColumn: z.ZodNumber;
2191
+ }, z.core.$strip>>;
2192
+ priority: z.ZodOptional<z.ZodNumber>;
2193
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
2194
+ source: z.ZodOptional<z.ZodObject<{
2195
+ format: z.ZodEnum<{
2196
+ docx: "docx";
2197
+ pptx: "pptx";
2198
+ xlsx: "xlsx";
2199
+ odt: "odt";
2200
+ ods: "ods";
2201
+ odp: "odp";
2202
+ odg: "odg";
2203
+ odm: "odm";
2204
+ odb: "odb";
2205
+ odf: "odf";
2206
+ markdown: "markdown";
2207
+ pdf: "pdf";
2208
+ epub: "epub";
2209
+ rtf: "rtf";
2210
+ }>;
2211
+ xml: z.ZodString;
2212
+ }, z.core.$strict>>;
2213
+ type: z.ZodLiteral<"dataBar">;
2214
+ }, z.core.$strip>, z.ZodObject<{
2215
+ iconSetType: z.ZodString;
2216
+ thresholds: z.ZodArray<z.ZodObject<{
2217
+ type: z.ZodEnum<{
2218
+ formula: "formula";
2219
+ percent: "percent";
2220
+ num: "num";
2221
+ max: "max";
2222
+ min: "min";
2223
+ percentile: "percentile";
2224
+ }>;
2225
+ value: z.ZodOptional<z.ZodString>;
2226
+ }, z.core.$strip>>;
2227
+ reverse: z.ZodOptional<z.ZodBoolean>;
2228
+ showValue: z.ZodOptional<z.ZodBoolean>;
2229
+ ranges: z.ZodArray<z.ZodObject<{
2230
+ startRow: z.ZodNumber;
2231
+ startColumn: z.ZodNumber;
2232
+ endRow: z.ZodNumber;
2233
+ endColumn: z.ZodNumber;
2234
+ }, z.core.$strip>>;
2235
+ priority: z.ZodOptional<z.ZodNumber>;
2236
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
2237
+ source: z.ZodOptional<z.ZodObject<{
2238
+ format: z.ZodEnum<{
2239
+ docx: "docx";
2240
+ pptx: "pptx";
2241
+ xlsx: "xlsx";
2242
+ odt: "odt";
2243
+ ods: "ods";
2244
+ odp: "odp";
2245
+ odg: "odg";
2246
+ odm: "odm";
2247
+ odb: "odb";
2248
+ odf: "odf";
2249
+ markdown: "markdown";
2250
+ pdf: "pdf";
2251
+ epub: "epub";
2252
+ rtf: "rtf";
2253
+ }>;
2254
+ xml: z.ZodString;
2255
+ }, z.core.$strict>>;
2256
+ type: z.ZodLiteral<"iconSet">;
2257
+ }, z.core.$strip>], "type">>>;
2258
+ source: z.ZodOptional<z.ZodObject<{
2259
+ format: z.ZodEnum<{
2260
+ docx: "docx";
2261
+ pptx: "pptx";
2262
+ xlsx: "xlsx";
2263
+ odt: "odt";
2264
+ ods: "ods";
2265
+ odp: "odp";
2266
+ odg: "odg";
2267
+ odm: "odm";
2268
+ odb: "odb";
2269
+ odf: "odf";
2270
+ markdown: "markdown";
2271
+ pdf: "pdf";
2272
+ epub: "epub";
2273
+ rtf: "rtf";
2274
+ }>;
2275
+ xml: z.ZodString;
2276
+ }, z.core.$strict>>;
2277
+ }, z.core.$strip>>;
2278
+ symbolTable: z.ZodOptional<z.ZodObject<{
2279
+ symbols: z.ZodArray<z.ZodObject<{
2280
+ glyph: z.ZodString;
2281
+ scope: z.ZodString;
2282
+ id: z.ZodString;
2283
+ quantityKind: z.ZodOptional<z.ZodString>;
2284
+ preferredUnit: z.ZodOptional<z.ZodString>;
2285
+ definitionSource: z.ZodOptional<z.ZodString>;
2286
+ }, z.core.$strip>>;
2287
+ units: z.ZodArray<z.ZodObject<{
2288
+ id: z.ZodString;
2289
+ symbol: z.ZodString;
2290
+ name: z.ZodOptional<z.ZodString>;
2291
+ dimension: z.ZodRecord<z.ZodEnum<{
2292
+ length: "length";
2293
+ mass: "mass";
2294
+ time: "time";
2295
+ electricCurrent: "electricCurrent";
2296
+ thermodynamicTemperature: "thermodynamicTemperature";
2297
+ amountOfSubstance: "amountOfSubstance";
2298
+ luminousIntensity: "luminousIntensity";
2299
+ }> & z.core.$partial, z.ZodNumber>;
2300
+ factorToSi: z.ZodObject<{
2301
+ numerator: z.ZodString;
2302
+ denominator: z.ZodString;
2303
+ }, z.core.$strip>;
2304
+ offsetToSi: z.ZodOptional<z.ZodObject<{
2305
+ numerator: z.ZodString;
2306
+ denominator: z.ZodString;
2307
+ }, z.core.$strip>>;
2308
+ context: z.ZodOptional<z.ZodString>;
2309
+ }, z.core.$strip>>;
2310
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2311
+ id: z.ZodString;
2312
+ bases: z.ZodArray<z.ZodObject<{
2313
+ unit: z.ZodString;
2314
+ value: z.ZodObject<{
2315
+ numerator: z.ZodString;
2316
+ denominator: z.ZodString;
2317
+ }, z.core.$strip>;
2318
+ }, z.core.$strip>>;
2319
+ }, z.core.$strip>>>;
2320
+ }, z.core.$strip>>;
2321
+ kind: z.ZodLiteral<"spreadsheet">;
2322
+ metadata: z.ZodObject<{
2323
+ title: z.ZodOptional<z.ZodString>;
2324
+ author: z.ZodOptional<z.ZodString>;
2325
+ subject: z.ZodOptional<z.ZodString>;
2326
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2327
+ creator: z.ZodOptional<z.ZodString>;
2328
+ producer: z.ZodOptional<z.ZodString>;
2329
+ createdIso: z.ZodOptional<z.ZodString>;
2330
+ modifiedIso: z.ZodOptional<z.ZodString>;
2331
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
2332
+ language: z.ZodOptional<z.ZodString>;
2333
+ direction: z.ZodOptional<z.ZodEnum<{
2334
+ ltr: "ltr";
2335
+ rtl: "rtl";
2336
+ }>>;
2337
+ publisher: z.ZodOptional<z.ZodString>;
2338
+ contributor: z.ZodOptional<z.ZodString>;
2339
+ rights: z.ZodOptional<z.ZodString>;
2340
+ identifier: z.ZodOptional<z.ZodString>;
2341
+ comments: z.ZodOptional<z.ZodString>;
2342
+ company: z.ZodOptional<z.ZodString>;
2343
+ manager: z.ZodOptional<z.ZodString>;
2344
+ }, z.core.$strip>;
2345
+ }, z.core.$strip>, z.ZodObject<{
2346
+ pages: z.ZodArray<z.ZodObject<{
2347
+ size: z.ZodObject<{
2348
+ widthPt: z.ZodNumber;
2349
+ heightPt: z.ZodNumber;
2350
+ }, z.core.$strip>;
2351
+ shapes: z.ZodArray<z.ZodObject<{
2352
+ name: z.ZodOptional<z.ZodString>;
2353
+ frame: z.ZodObject<{
2354
+ xPt: z.ZodNumber;
2355
+ yPt: z.ZodNumber;
2356
+ widthPt: z.ZodNumber;
2357
+ heightPt: z.ZodNumber;
2358
+ }, z.core.$strip>;
2359
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2360
+ insetLeftPt: z.ZodNumber;
2361
+ insetTopPt: z.ZodNumber;
2362
+ insetRightPt: z.ZodNumber;
2363
+ insetBottomPt: z.ZodNumber;
2364
+ fontScale: z.ZodOptional<z.ZodNumber>;
2365
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
2366
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2367
+ sourcePath: z.ZodOptional<z.ZodString>;
2368
+ source: z.ZodOptional<z.ZodObject<{
2369
+ format: z.ZodEnum<{
2370
+ docx: "docx";
2371
+ pptx: "pptx";
2372
+ xlsx: "xlsx";
2373
+ odt: "odt";
2374
+ ods: "ods";
2375
+ odp: "odp";
2376
+ odg: "odg";
2377
+ odm: "odm";
2378
+ odb: "odb";
2379
+ odf: "odf";
2380
+ markdown: "markdown";
2381
+ pdf: "pdf";
2382
+ epub: "epub";
2383
+ rtf: "rtf";
2384
+ }>;
2385
+ xml: z.ZodString;
2386
+ }, z.core.$strict>>;
2387
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2388
+ pageIndex: z.ZodNumber;
2389
+ xPt: z.ZodNumber;
2390
+ yPt: z.ZodNumber;
2391
+ widthPt: z.ZodNumber;
2392
+ heightPt: z.ZodNumber;
2393
+ }, z.core.$strip>>>;
2394
+ 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>>>>;
2395
+ }, z.core.$strip>>;
2396
+ vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2397
+ kind: z.ZodLiteral<"rect">;
2398
+ frame: z.ZodObject<{
2399
+ xPt: z.ZodNumber;
2400
+ yPt: z.ZodNumber;
2401
+ widthPt: z.ZodNumber;
2402
+ heightPt: z.ZodNumber;
2403
+ }, z.core.$strip>;
2404
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2405
+ fill: z.ZodOptional<z.ZodObject<{
2406
+ r: z.ZodNumber;
2407
+ g: z.ZodNumber;
2408
+ b: z.ZodNumber;
2409
+ }, z.core.$strip>>;
2410
+ stroke: z.ZodOptional<z.ZodObject<{
2411
+ color: z.ZodObject<{
2412
+ r: z.ZodNumber;
2413
+ g: z.ZodNumber;
2414
+ b: z.ZodNumber;
2415
+ }, z.core.$strip>;
2416
+ widthPt: z.ZodNumber;
2417
+ style: z.ZodOptional<z.ZodEnum<{
2418
+ solid: "solid";
2419
+ dashed: "dashed";
2420
+ dotted: "dotted";
2421
+ double: "double";
2422
+ }>>;
2423
+ }, z.core.$strip>>;
2424
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2425
+ sourcePath: z.ZodOptional<z.ZodString>;
2426
+ source: z.ZodOptional<z.ZodObject<{
2427
+ format: z.ZodEnum<{
2428
+ docx: "docx";
2429
+ pptx: "pptx";
2430
+ xlsx: "xlsx";
2431
+ odt: "odt";
2432
+ ods: "ods";
2433
+ odp: "odp";
2434
+ odg: "odg";
2435
+ odm: "odm";
2436
+ odb: "odb";
2437
+ odf: "odf";
2438
+ markdown: "markdown";
2439
+ pdf: "pdf";
2440
+ epub: "epub";
2441
+ rtf: "rtf";
2442
+ }>;
2443
+ xml: z.ZodString;
2444
+ }, z.core.$strict>>;
2445
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2446
+ pageIndex: z.ZodNumber;
2447
+ xPt: z.ZodNumber;
2448
+ yPt: z.ZodNumber;
2449
+ widthPt: z.ZodNumber;
2450
+ heightPt: z.ZodNumber;
2451
+ }, z.core.$strip>>>;
2452
+ }, z.core.$strip>, z.ZodObject<{
2453
+ kind: z.ZodLiteral<"ellipse">;
2454
+ frame: z.ZodObject<{
2455
+ xPt: z.ZodNumber;
2456
+ yPt: z.ZodNumber;
2457
+ widthPt: z.ZodNumber;
2458
+ heightPt: z.ZodNumber;
2459
+ }, z.core.$strip>;
2460
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2461
+ fill: z.ZodOptional<z.ZodObject<{
2462
+ r: z.ZodNumber;
2463
+ g: z.ZodNumber;
2464
+ b: z.ZodNumber;
2465
+ }, z.core.$strip>>;
2466
+ stroke: z.ZodOptional<z.ZodObject<{
2467
+ color: z.ZodObject<{
2468
+ r: z.ZodNumber;
2469
+ g: z.ZodNumber;
2470
+ b: z.ZodNumber;
2471
+ }, z.core.$strip>;
2472
+ widthPt: z.ZodNumber;
2473
+ style: z.ZodOptional<z.ZodEnum<{
2474
+ solid: "solid";
2475
+ dashed: "dashed";
2476
+ dotted: "dotted";
2477
+ double: "double";
2478
+ }>>;
2479
+ }, z.core.$strip>>;
2480
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2481
+ sourcePath: z.ZodOptional<z.ZodString>;
2482
+ source: z.ZodOptional<z.ZodObject<{
2483
+ format: z.ZodEnum<{
2484
+ docx: "docx";
2485
+ pptx: "pptx";
2486
+ xlsx: "xlsx";
2487
+ odt: "odt";
2488
+ ods: "ods";
2489
+ odp: "odp";
2490
+ odg: "odg";
2491
+ odm: "odm";
2492
+ odb: "odb";
2493
+ odf: "odf";
2494
+ markdown: "markdown";
2495
+ pdf: "pdf";
2496
+ epub: "epub";
2497
+ rtf: "rtf";
2498
+ }>;
2499
+ xml: z.ZodString;
2500
+ }, z.core.$strict>>;
2501
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2502
+ pageIndex: z.ZodNumber;
2503
+ xPt: z.ZodNumber;
2504
+ yPt: z.ZodNumber;
2505
+ widthPt: z.ZodNumber;
2506
+ heightPt: z.ZodNumber;
2507
+ }, z.core.$strip>>>;
2508
+ }, z.core.$strip>, z.ZodObject<{
2509
+ kind: z.ZodLiteral<"line">;
2510
+ from: z.ZodObject<{
2511
+ xPt: z.ZodNumber;
2512
+ yPt: z.ZodNumber;
2513
+ }, z.core.$strip>;
2514
+ to: z.ZodObject<{
2515
+ xPt: z.ZodNumber;
2516
+ yPt: z.ZodNumber;
2517
+ }, z.core.$strip>;
2518
+ stroke: z.ZodObject<{
2519
+ color: z.ZodObject<{
2520
+ r: z.ZodNumber;
2521
+ g: z.ZodNumber;
2522
+ b: z.ZodNumber;
2523
+ }, z.core.$strip>;
2524
+ widthPt: z.ZodNumber;
2525
+ style: z.ZodOptional<z.ZodEnum<{
2526
+ solid: "solid";
2527
+ dashed: "dashed";
2528
+ dotted: "dotted";
2529
+ double: "double";
2530
+ }>>;
2531
+ }, z.core.$strip>;
2532
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2533
+ sourcePath: z.ZodOptional<z.ZodString>;
2534
+ source: z.ZodOptional<z.ZodObject<{
2535
+ format: z.ZodEnum<{
2536
+ docx: "docx";
2537
+ pptx: "pptx";
2538
+ xlsx: "xlsx";
2539
+ odt: "odt";
2540
+ ods: "ods";
2541
+ odp: "odp";
2542
+ odg: "odg";
2543
+ odm: "odm";
2544
+ odb: "odb";
2545
+ odf: "odf";
2546
+ markdown: "markdown";
2547
+ pdf: "pdf";
2548
+ epub: "epub";
2549
+ rtf: "rtf";
2550
+ }>;
2551
+ xml: z.ZodString;
2552
+ }, z.core.$strict>>;
2553
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2554
+ pageIndex: z.ZodNumber;
2555
+ xPt: z.ZodNumber;
2556
+ yPt: z.ZodNumber;
2557
+ widthPt: z.ZodNumber;
2558
+ heightPt: z.ZodNumber;
2559
+ }, z.core.$strip>>>;
2560
+ }, z.core.$strip>, z.ZodObject<{
2561
+ kind: z.ZodLiteral<"path">;
2562
+ frame: z.ZodObject<{
2563
+ xPt: z.ZodNumber;
2564
+ yPt: z.ZodNumber;
2565
+ widthPt: z.ZodNumber;
2566
+ heightPt: z.ZodNumber;
2567
+ }, z.core.$strip>;
2568
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2569
+ subpaths: z.ZodArray<z.ZodObject<{
2570
+ start: z.ZodObject<{
2571
+ xPt: z.ZodNumber;
2572
+ yPt: z.ZodNumber;
2573
+ }, z.core.$strip>;
2574
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2575
+ kind: z.ZodLiteral<"line">;
2576
+ to: z.ZodObject<{
2577
+ xPt: z.ZodNumber;
2578
+ yPt: z.ZodNumber;
2579
+ }, z.core.$strip>;
2580
+ }, z.core.$strip>, z.ZodObject<{
2581
+ kind: z.ZodLiteral<"cubic">;
2582
+ control1: z.ZodObject<{
2583
+ xPt: z.ZodNumber;
2584
+ yPt: z.ZodNumber;
2585
+ }, z.core.$strip>;
2586
+ control2: z.ZodObject<{
2587
+ xPt: z.ZodNumber;
2588
+ yPt: z.ZodNumber;
2589
+ }, z.core.$strip>;
2590
+ to: z.ZodObject<{
2591
+ xPt: z.ZodNumber;
2592
+ yPt: z.ZodNumber;
2593
+ }, z.core.$strip>;
2594
+ }, z.core.$strip>], "kind">>;
2595
+ closed: z.ZodBoolean;
2596
+ }, z.core.$strip>>;
2597
+ fill: z.ZodOptional<z.ZodObject<{
2598
+ r: z.ZodNumber;
2599
+ g: z.ZodNumber;
2600
+ b: z.ZodNumber;
2601
+ }, z.core.$strip>>;
2602
+ fillRule: z.ZodOptional<z.ZodEnum<{
2603
+ nonzero: "nonzero";
2604
+ evenodd: "evenodd";
2605
+ }>>;
2606
+ stroke: z.ZodOptional<z.ZodObject<{
2607
+ color: z.ZodObject<{
2608
+ r: z.ZodNumber;
2609
+ g: z.ZodNumber;
2610
+ b: z.ZodNumber;
2611
+ }, z.core.$strip>;
2612
+ widthPt: z.ZodNumber;
2613
+ style: z.ZodOptional<z.ZodEnum<{
2614
+ solid: "solid";
2615
+ dashed: "dashed";
2616
+ dotted: "dotted";
2617
+ double: "double";
2618
+ }>>;
2619
+ }, z.core.$strip>>;
2620
+ paintOrder: z.ZodOptional<z.ZodNumber>;
2621
+ sourcePath: z.ZodOptional<z.ZodString>;
2622
+ source: z.ZodOptional<z.ZodObject<{
2623
+ format: z.ZodEnum<{
2624
+ docx: "docx";
2625
+ pptx: "pptx";
2626
+ xlsx: "xlsx";
2627
+ odt: "odt";
2628
+ ods: "ods";
2629
+ odp: "odp";
2630
+ odg: "odg";
2631
+ odm: "odm";
2632
+ odb: "odb";
2633
+ odf: "odf";
2634
+ markdown: "markdown";
2635
+ pdf: "pdf";
2636
+ epub: "epub";
2637
+ rtf: "rtf";
2638
+ }>;
2639
+ xml: z.ZodString;
2640
+ }, z.core.$strict>>;
2641
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
2642
+ pageIndex: z.ZodNumber;
2643
+ xPt: z.ZodNumber;
2644
+ yPt: z.ZodNumber;
2645
+ widthPt: z.ZodNumber;
2646
+ heightPt: z.ZodNumber;
2647
+ }, z.core.$strip>>>;
2648
+ }, z.core.$strip>], "kind">>;
2649
+ source: z.ZodOptional<z.ZodObject<{
2650
+ format: z.ZodEnum<{
2651
+ docx: "docx";
2652
+ pptx: "pptx";
2653
+ xlsx: "xlsx";
2654
+ odt: "odt";
2655
+ ods: "ods";
2656
+ odp: "odp";
2657
+ odg: "odg";
2658
+ odm: "odm";
2659
+ odb: "odb";
2660
+ odf: "odf";
2661
+ markdown: "markdown";
2662
+ pdf: "pdf";
2663
+ epub: "epub";
2664
+ rtf: "rtf";
2665
+ }>;
2666
+ xml: z.ZodString;
2667
+ }, z.core.$strict>>;
2668
+ }, z.core.$strip>>;
2669
+ symbolTable: z.ZodOptional<z.ZodObject<{
2670
+ symbols: z.ZodArray<z.ZodObject<{
2671
+ glyph: z.ZodString;
2672
+ scope: z.ZodString;
2673
+ id: z.ZodString;
2674
+ quantityKind: z.ZodOptional<z.ZodString>;
2675
+ preferredUnit: z.ZodOptional<z.ZodString>;
2676
+ definitionSource: z.ZodOptional<z.ZodString>;
2677
+ }, z.core.$strip>>;
2678
+ units: z.ZodArray<z.ZodObject<{
2679
+ id: z.ZodString;
2680
+ symbol: z.ZodString;
2681
+ name: z.ZodOptional<z.ZodString>;
2682
+ dimension: z.ZodRecord<z.ZodEnum<{
2683
+ length: "length";
2684
+ mass: "mass";
2685
+ time: "time";
2686
+ electricCurrent: "electricCurrent";
2687
+ thermodynamicTemperature: "thermodynamicTemperature";
2688
+ amountOfSubstance: "amountOfSubstance";
2689
+ luminousIntensity: "luminousIntensity";
2690
+ }> & z.core.$partial, z.ZodNumber>;
2691
+ factorToSi: z.ZodObject<{
2692
+ numerator: z.ZodString;
2693
+ denominator: z.ZodString;
2694
+ }, z.core.$strip>;
2695
+ offsetToSi: z.ZodOptional<z.ZodObject<{
2696
+ numerator: z.ZodString;
2697
+ denominator: z.ZodString;
2698
+ }, z.core.$strip>>;
2699
+ context: z.ZodOptional<z.ZodString>;
2700
+ }, z.core.$strip>>;
2701
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2702
+ id: z.ZodString;
2703
+ bases: z.ZodArray<z.ZodObject<{
2704
+ unit: z.ZodString;
2705
+ value: z.ZodObject<{
2706
+ numerator: z.ZodString;
2707
+ denominator: z.ZodString;
2708
+ }, z.core.$strip>;
2709
+ }, z.core.$strip>>;
2710
+ }, z.core.$strip>>>;
2711
+ }, z.core.$strip>>;
2712
+ kind: z.ZodLiteral<"drawing">;
2713
+ metadata: z.ZodObject<{
2714
+ title: z.ZodOptional<z.ZodString>;
2715
+ author: z.ZodOptional<z.ZodString>;
2716
+ subject: z.ZodOptional<z.ZodString>;
2717
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2718
+ creator: z.ZodOptional<z.ZodString>;
2719
+ producer: z.ZodOptional<z.ZodString>;
2720
+ createdIso: z.ZodOptional<z.ZodString>;
2721
+ modifiedIso: z.ZodOptional<z.ZodString>;
2722
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
2723
+ language: z.ZodOptional<z.ZodString>;
2724
+ direction: z.ZodOptional<z.ZodEnum<{
2725
+ ltr: "ltr";
2726
+ rtl: "rtl";
2727
+ }>>;
2728
+ publisher: z.ZodOptional<z.ZodString>;
2729
+ contributor: z.ZodOptional<z.ZodString>;
2730
+ rights: z.ZodOptional<z.ZodString>;
2731
+ identifier: z.ZodOptional<z.ZodString>;
2732
+ comments: z.ZodOptional<z.ZodString>;
2733
+ company: z.ZodOptional<z.ZodString>;
2734
+ manager: z.ZodOptional<z.ZodString>;
2735
+ }, z.core.$strip>;
2736
+ }, z.core.$strip>, z.ZodObject<{
2737
+ formula: z.ZodObject<{
2738
+ 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>>>;
2739
+ starMath: z.ZodOptional<z.ZodString>;
2740
+ presentation: z.ZodOptional<z.ZodObject<{
2741
+ latex: z.ZodString;
2742
+ }, z.core.$strip>>;
2743
+ content: z.ZodOptional<z.ZodType<import("document-schema.js").MathExpression, import("document-schema.js").MathExpression, z.core.$ZodTypeInternals<import("document-schema.js").MathExpression, import("document-schema.js").MathExpression>>>;
2744
+ provenance: z.ZodOptional<z.ZodObject<{
2745
+ source: z.ZodString;
2746
+ pageRef: z.ZodOptional<z.ZodString>;
2747
+ editTrail: z.ZodArray<z.ZodString>;
2748
+ }, z.core.$strip>>;
2749
+ source: z.ZodOptional<z.ZodObject<{
2750
+ format: z.ZodEnum<{
2751
+ docx: "docx";
2752
+ pptx: "pptx";
2753
+ xlsx: "xlsx";
2754
+ odt: "odt";
2755
+ ods: "ods";
2756
+ odp: "odp";
2757
+ odg: "odg";
2758
+ odm: "odm";
2759
+ odb: "odb";
2760
+ odf: "odf";
2761
+ markdown: "markdown";
2762
+ pdf: "pdf";
2763
+ epub: "epub";
2764
+ rtf: "rtf";
2765
+ }>;
2766
+ xml: z.ZodString;
2767
+ }, z.core.$strict>>;
2768
+ }, z.core.$strip>;
2769
+ symbolTable: z.ZodOptional<z.ZodObject<{
2770
+ symbols: z.ZodArray<z.ZodObject<{
2771
+ glyph: z.ZodString;
2772
+ scope: z.ZodString;
2773
+ id: z.ZodString;
2774
+ quantityKind: z.ZodOptional<z.ZodString>;
2775
+ preferredUnit: z.ZodOptional<z.ZodString>;
2776
+ definitionSource: z.ZodOptional<z.ZodString>;
2777
+ }, z.core.$strip>>;
2778
+ units: z.ZodArray<z.ZodObject<{
2779
+ id: z.ZodString;
2780
+ symbol: z.ZodString;
2781
+ name: z.ZodOptional<z.ZodString>;
2782
+ dimension: z.ZodRecord<z.ZodEnum<{
2783
+ length: "length";
2784
+ mass: "mass";
2785
+ time: "time";
2786
+ electricCurrent: "electricCurrent";
2787
+ thermodynamicTemperature: "thermodynamicTemperature";
2788
+ amountOfSubstance: "amountOfSubstance";
2789
+ luminousIntensity: "luminousIntensity";
2790
+ }> & z.core.$partial, z.ZodNumber>;
2791
+ factorToSi: z.ZodObject<{
2792
+ numerator: z.ZodString;
2793
+ denominator: z.ZodString;
2794
+ }, z.core.$strip>;
2795
+ offsetToSi: z.ZodOptional<z.ZodObject<{
2796
+ numerator: z.ZodString;
2797
+ denominator: z.ZodString;
2798
+ }, z.core.$strip>>;
2799
+ context: z.ZodOptional<z.ZodString>;
2800
+ }, z.core.$strip>>;
2801
+ contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2802
+ id: z.ZodString;
2803
+ bases: z.ZodArray<z.ZodObject<{
2804
+ unit: z.ZodString;
2805
+ value: z.ZodObject<{
2806
+ numerator: z.ZodString;
2807
+ denominator: z.ZodString;
2808
+ }, z.core.$strip>;
2809
+ }, z.core.$strip>>;
2810
+ }, z.core.$strip>>>;
2811
+ }, z.core.$strip>>;
2812
+ kind: z.ZodLiteral<"formula">;
2813
+ metadata: z.ZodObject<{
2814
+ title: z.ZodOptional<z.ZodString>;
2815
+ author: z.ZodOptional<z.ZodString>;
2816
+ subject: z.ZodOptional<z.ZodString>;
2817
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2818
+ creator: z.ZodOptional<z.ZodString>;
2819
+ producer: z.ZodOptional<z.ZodString>;
2820
+ createdIso: z.ZodOptional<z.ZodString>;
2821
+ modifiedIso: z.ZodOptional<z.ZodString>;
2822
+ lastPrintedIso: z.ZodOptional<z.ZodString>;
2823
+ language: z.ZodOptional<z.ZodString>;
2824
+ direction: z.ZodOptional<z.ZodEnum<{
2825
+ ltr: "ltr";
2826
+ rtl: "rtl";
2827
+ }>>;
2828
+ publisher: z.ZodOptional<z.ZodString>;
2829
+ contributor: z.ZodOptional<z.ZodString>;
2830
+ rights: z.ZodOptional<z.ZodString>;
2831
+ identifier: z.ZodOptional<z.ZodString>;
2832
+ comments: z.ZodOptional<z.ZodString>;
2833
+ company: z.ZodOptional<z.ZodString>;
2834
+ manager: z.ZodOptional<z.ZodString>;
2835
+ }, z.core.$strip>;
2836
+ }, z.core.$strip>], "kind">>;
2837
+ declare const packageCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodObject<{
2838
+ parts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2839
+ kind: z.ZodLiteral<"xml">;
2840
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2841
+ type: z.ZodLiteral<"text">;
2842
+ value: z.ZodString;
2843
+ }, z.core.$strip>, z.ZodObject<{
2844
+ type: z.ZodLiteral<"cdata">;
2845
+ value: z.ZodString;
2846
+ }, z.core.$strip>, z.ZodObject<{
2847
+ type: z.ZodLiteral<"comment">;
2848
+ value: z.ZodString;
2849
+ }, z.core.$strip>, z.ZodObject<{
2850
+ type: z.ZodLiteral<"declaration">;
2851
+ attributes: z.ZodArray<z.ZodObject<{
2852
+ name: z.ZodString;
2853
+ value: z.ZodString;
2854
+ }, z.core.$strip>>;
2855
+ }, z.core.$strip>, z.ZodObject<{
2856
+ type: z.ZodLiteral<"pi">;
2857
+ target: z.ZodString;
2858
+ content: z.ZodString;
2859
+ }, z.core.$strip>, z.ZodObject<{
2860
+ type: z.ZodLiteral<"element">;
2861
+ tag: z.ZodString;
2862
+ attributes: z.ZodArray<z.ZodObject<{
2863
+ name: z.ZodString;
2864
+ value: z.ZodString;
2865
+ }, z.core.$strip>>;
2866
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
2867
+ }, z.core.$strip>], "type">>;
2868
+ }, z.core.$strip>, z.ZodObject<{
2869
+ kind: z.ZodLiteral<"binary">;
2870
+ base64: z.ZodString;
2871
+ }, z.core.$strip>], "kind">>;
2872
+ }, z.core.$strip>>;
2873
+ declare function decodePackage(bytes: Uint8Array<ArrayBuffer>): EpubPackage;
2874
+ declare function encodePackage(pkg: EpubPackage): Uint8Array<ArrayBuffer>;
2875
+ //#endregion
2876
+ export { XmlPart as _, epubContentCodec as a, serializePackage as c, BinaryPart as d, BinaryPartSchema as f, PartSchema as g, Part as h, epubCodec as i, packageFromEntries as l, EpubPackageSchema as m, decodePackage as n, packageCodec as o, EpubPackage as p, encodePackage as r, packageToEntries as s, EpubBytesSchema as t, parsePackage as u, XmlPartSchema as v };