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