document-content-model 4.3.3 → 7.6.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 (96) hide show
  1. package/README.md +274 -95
  2. package/dist/border-weight.cjs +26 -0
  3. package/dist/border-weight.d.cts +12 -0
  4. package/dist/border-weight.d.ts +12 -0
  5. package/dist/border-weight.js +23 -0
  6. package/dist/codec.d.cts +1 -1
  7. package/dist/codec.d.ts +1 -1
  8. package/dist/{construct-CdQuI9f5.d.cts → construct-GVdTKrE7.d.cts} +245 -5
  9. package/dist/{construct-CdQuI9f5.d.ts → construct-GVdTKrE7.d.ts} +245 -5
  10. package/dist/construct.cjs +13 -6
  11. package/dist/construct.d.cts +1 -1
  12. package/dist/construct.d.ts +1 -1
  13. package/dist/construct.js +13 -6
  14. package/dist/content-BCOxY0Eb.d.ts +10273 -0
  15. package/dist/content-BzkhrS6P.d.cts +10273 -0
  16. package/dist/content-json-schema-defs.cjs +1056 -189
  17. package/dist/content-json-schema-defs.js +1056 -189
  18. package/dist/content.cjs +514 -36
  19. package/dist/content.d.cts +2 -2
  20. package/dist/content.d.ts +2 -2
  21. package/dist/content.js +488 -37
  22. package/dist/decompose.cjs +7 -17
  23. package/dist/decompose.d.cts +5 -5
  24. package/dist/decompose.d.ts +5 -5
  25. package/dist/decompose.js +7 -17
  26. package/dist/definitions.cjs +5 -1
  27. package/dist/definitions.d.cts +37 -1
  28. package/dist/definitions.d.ts +37 -1
  29. package/dist/definitions.js +5 -1
  30. package/dist/factor-styles.cjs +14 -8
  31. package/dist/factor-styles.d.cts +6 -6
  32. package/dist/factor-styles.d.ts +6 -6
  33. package/dist/factor-styles.js +15 -9
  34. package/dist/flatten.cjs +5 -5
  35. package/dist/flatten.d.cts +4 -4
  36. package/dist/flatten.d.ts +4 -4
  37. package/dist/flatten.js +5 -5
  38. package/dist/font-port.d.cts +2 -2
  39. package/dist/font-port.d.ts +2 -2
  40. package/dist/index.cjs +54 -14
  41. package/dist/index.d.cts +14 -12
  42. package/dist/index.d.ts +14 -12
  43. package/dist/index.js +12 -10
  44. package/dist/{math-BlG8Tjk-.d.cts → math-BScHxedi.d.cts} +97 -14
  45. package/dist/{math-BlG8Tjk-.d.ts → math-BScHxedi.d.ts} +97 -14
  46. package/dist/math-layout.d.cts +6 -6
  47. package/dist/math-layout.d.ts +6 -6
  48. package/dist/math.cjs +32 -6
  49. package/dist/math.d.cts +2 -2
  50. package/dist/math.d.ts +2 -2
  51. package/dist/math.js +29 -7
  52. package/dist/{mathml-B1oTCtzc.d.cts → mathml-Czqc1mdZ.d.cts} +3 -3
  53. package/dist/{mathml-B1oTCtzc.d.ts → mathml-Czqc1mdZ.d.ts} +3 -3
  54. package/dist/mathml.cjs +9 -2
  55. package/dist/mathml.d.cts +1 -1
  56. package/dist/mathml.d.ts +1 -1
  57. package/dist/mathml.js +9 -2
  58. package/dist/metadata.cjs +12 -1
  59. package/dist/metadata.d.cts +13 -0
  60. package/dist/metadata.d.ts +13 -0
  61. package/dist/metadata.js +12 -1
  62. package/dist/package-node-C4mh1hLY.d.ts +1989 -0
  63. package/dist/package-node-RQMDBzwd.d.cts +1989 -0
  64. package/dist/package-node.cjs +21 -21
  65. package/dist/package-node.d.cts +2 -2
  66. package/dist/package-node.d.ts +2 -2
  67. package/dist/package-node.js +14 -14
  68. package/dist/package.cjs +5 -3
  69. package/dist/package.d.cts +253 -8
  70. package/dist/package.d.ts +253 -8
  71. package/dist/package.js +5 -3
  72. package/dist/schema-io.cjs +21 -11
  73. package/dist/schema-io.d.cts +13 -9
  74. package/dist/schema-io.d.ts +13 -9
  75. package/dist/schema-io.js +21 -12
  76. package/dist/source-Bas5ol6f.d.cts +43 -0
  77. package/dist/source-Bas5ol6f.d.ts +43 -0
  78. package/dist/source.cjs +27 -0
  79. package/dist/source.d.cts +2 -0
  80. package/dist/source.d.ts +2 -0
  81. package/dist/source.js +25 -0
  82. package/dist/style-D06NwxAJ.d.cts +29 -0
  83. package/dist/style-D06NwxAJ.d.ts +29 -0
  84. package/dist/style.cjs +2 -0
  85. package/dist/style.d.cts +2 -24
  86. package/dist/style.d.ts +2 -24
  87. package/dist/style.js +2 -1
  88. package/dist/text-layout.d.cts +1 -1
  89. package/dist/text-layout.d.ts +1 -1
  90. package/package.json +28 -29
  91. package/schemas/content-document.schema.json +6623 -1694
  92. package/schemas/{document-package.schema.json → document-tree.schema.json} +1826 -143
  93. package/dist/content-B7b_P3FC.d.cts +0 -2481
  94. package/dist/content-Dn7uoJFG.d.ts +0 -2481
  95. package/dist/package-node-CC-FE2zS.d.cts +0 -459
  96. package/dist/package-node-DxdparRh.d.ts +0 -459
@@ -0,0 +1,1989 @@
1
+ import { Pt as ContentSheetImage, g as ContentConstructEnd, i as ContentBlock, ln as ContentVector, v as ContentConstructStart, w as ContentEmbeddedObject, z as ContentFormula } from "./content-BCOxY0Eb.js";
2
+ import { a as ConstructDescriptor } from "./construct-GVdTKrE7.js";
3
+ import { z } from "zod";
4
+ //#region src/package-node.d.ts
5
+ declare const SectionDescriptorSchema: z.ZodObject<{
6
+ source: z.ZodOptional<z.ZodObject<{
7
+ format: z.ZodEnum<{
8
+ docx: "docx";
9
+ pptx: "pptx";
10
+ xlsx: "xlsx";
11
+ odt: "odt";
12
+ ods: "ods";
13
+ odp: "odp";
14
+ odg: "odg";
15
+ odm: "odm";
16
+ odb: "odb";
17
+ odf: "odf";
18
+ markdown: "markdown";
19
+ pdf: "pdf";
20
+ epub: "epub";
21
+ rtf: "rtf";
22
+ wpd: "wpd";
23
+ }>;
24
+ xml: z.ZodString;
25
+ }, z.core.$strict>>;
26
+ pageSize: z.ZodObject<{
27
+ widthPt: z.ZodNumber;
28
+ heightPt: z.ZodNumber;
29
+ }, z.core.$strip>;
30
+ margins: z.ZodObject<{
31
+ topPt: z.ZodNumber;
32
+ rightPt: z.ZodNumber;
33
+ bottomPt: z.ZodNumber;
34
+ leftPt: z.ZodNumber;
35
+ }, z.core.$strip>;
36
+ breakType: z.ZodOptional<z.ZodEnum<{
37
+ nextPage: "nextPage";
38
+ continuous: "continuous";
39
+ evenPage: "evenPage";
40
+ oddPage: "oddPage";
41
+ }>>;
42
+ headers: z.ZodOptional<z.ZodObject<{
43
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
44
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
45
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
46
+ }, z.core.$strip>>;
47
+ footers: z.ZodOptional<z.ZodObject<{
48
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
49
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
50
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
51
+ }, z.core.$strip>>;
52
+ kind: z.ZodLiteral<"section">;
53
+ }, z.core.$strict>;
54
+ type SectionDescriptor = z.infer<typeof SectionDescriptorSchema>;
55
+ declare const SlideDescriptorSchema: z.ZodObject<{
56
+ source: z.ZodOptional<z.ZodObject<{
57
+ format: z.ZodEnum<{
58
+ docx: "docx";
59
+ pptx: "pptx";
60
+ xlsx: "xlsx";
61
+ odt: "odt";
62
+ ods: "ods";
63
+ odp: "odp";
64
+ odg: "odg";
65
+ odm: "odm";
66
+ odb: "odb";
67
+ odf: "odf";
68
+ markdown: "markdown";
69
+ pdf: "pdf";
70
+ epub: "epub";
71
+ rtf: "rtf";
72
+ wpd: "wpd";
73
+ }>;
74
+ xml: z.ZodString;
75
+ }, z.core.$strict>>;
76
+ size: z.ZodObject<{
77
+ widthPt: z.ZodNumber;
78
+ heightPt: z.ZodNumber;
79
+ }, z.core.$strip>;
80
+ notes: z.ZodString;
81
+ kind: z.ZodLiteral<"slide">;
82
+ }, z.core.$strict>;
83
+ type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
84
+ declare const SheetDescriptorSchema: z.ZodObject<{
85
+ source: z.ZodOptional<z.ZodObject<{
86
+ format: z.ZodEnum<{
87
+ docx: "docx";
88
+ pptx: "pptx";
89
+ xlsx: "xlsx";
90
+ odt: "odt";
91
+ ods: "ods";
92
+ odp: "odp";
93
+ odg: "odg";
94
+ odm: "odm";
95
+ odb: "odb";
96
+ odf: "odf";
97
+ markdown: "markdown";
98
+ pdf: "pdf";
99
+ epub: "epub";
100
+ rtf: "rtf";
101
+ wpd: "wpd";
102
+ }>;
103
+ xml: z.ZodString;
104
+ }, z.core.$strict>>;
105
+ name: z.ZodString;
106
+ printSettings: z.ZodObject<{
107
+ pageSize: z.ZodObject<{
108
+ widthPt: z.ZodNumber;
109
+ heightPt: z.ZodNumber;
110
+ }, z.core.$strip>;
111
+ margins: z.ZodObject<{
112
+ topPt: z.ZodNumber;
113
+ rightPt: z.ZodNumber;
114
+ bottomPt: z.ZodNumber;
115
+ leftPt: z.ZodNumber;
116
+ }, z.core.$strip>;
117
+ printRange: z.ZodOptional<z.ZodObject<{
118
+ startRow: z.ZodNumber;
119
+ startColumn: z.ZodNumber;
120
+ endRow: z.ZodNumber;
121
+ endColumn: z.ZodNumber;
122
+ }, z.core.$strip>>;
123
+ scalePercent: z.ZodOptional<z.ZodNumber>;
124
+ fitToPages: z.ZodOptional<z.ZodObject<{
125
+ width: z.ZodNumber;
126
+ height: z.ZodNumber;
127
+ }, z.core.$strip>>;
128
+ repeatRows: z.ZodOptional<z.ZodObject<{
129
+ start: z.ZodNumber;
130
+ end: z.ZodNumber;
131
+ }, z.core.$strip>>;
132
+ repeatColumns: z.ZodOptional<z.ZodObject<{
133
+ start: z.ZodNumber;
134
+ end: z.ZodNumber;
135
+ }, z.core.$strip>>;
136
+ gridlines: z.ZodBoolean;
137
+ headers: z.ZodBoolean;
138
+ pageOrder: z.ZodEnum<{
139
+ downThenOver: "downThenOver";
140
+ overThenDown: "overThenDown";
141
+ }>;
142
+ manualBreaks: z.ZodOptional<z.ZodObject<{
143
+ rows: z.ZodArray<z.ZodNumber>;
144
+ columns: z.ZodArray<z.ZodNumber>;
145
+ }, z.core.$strip>>;
146
+ }, z.core.$strip>;
147
+ cells: z.ZodArray<z.ZodObject<{
148
+ row: z.ZodNumber;
149
+ column: z.ZodNumber;
150
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
151
+ kind: z.ZodLiteral<"number">;
152
+ value: z.ZodNumber;
153
+ exactValue: z.ZodOptional<z.ZodString>;
154
+ }, z.core.$strip>, z.ZodObject<{
155
+ kind: z.ZodLiteral<"percentage">;
156
+ value: z.ZodNumber;
157
+ exactValue: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$strip>, z.ZodObject<{
159
+ kind: z.ZodLiteral<"currency">;
160
+ value: z.ZodNumber;
161
+ currency: z.ZodOptional<z.ZodString>;
162
+ exactValue: z.ZodOptional<z.ZodString>;
163
+ }, z.core.$strip>, z.ZodObject<{
164
+ kind: z.ZodLiteral<"boolean">;
165
+ value: z.ZodBoolean;
166
+ }, z.core.$strip>, z.ZodObject<{
167
+ kind: z.ZodLiteral<"date">;
168
+ value: z.ZodString;
169
+ }, z.core.$strip>, z.ZodObject<{
170
+ kind: z.ZodLiteral<"time">;
171
+ value: z.ZodString;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ kind: z.ZodLiteral<"dateTime">;
174
+ value: z.ZodString;
175
+ }, z.core.$strip>, z.ZodObject<{
176
+ kind: z.ZodLiteral<"string">;
177
+ value: z.ZodString;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ kind: z.ZodLiteral<"error">;
180
+ value: z.ZodString;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ kind: z.ZodLiteral<"empty">;
183
+ }, z.core.$strip>], "kind">;
184
+ formula: z.ZodOptional<z.ZodString>;
185
+ displayText: z.ZodString;
186
+ numberFormatCode: z.ZodOptional<z.ZodString>;
187
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
188
+ text: z.ZodString;
189
+ bold: z.ZodOptional<z.ZodBoolean>;
190
+ italic: z.ZodOptional<z.ZodBoolean>;
191
+ underline: z.ZodOptional<z.ZodBoolean>;
192
+ strike: z.ZodOptional<z.ZodBoolean>;
193
+ fontFamily: z.ZodOptional<z.ZodString>;
194
+ sizePt: z.ZodOptional<z.ZodNumber>;
195
+ color: z.ZodOptional<z.ZodObject<{
196
+ r: z.ZodNumber;
197
+ g: z.ZodNumber;
198
+ b: z.ZodNumber;
199
+ }, z.core.$strip>>;
200
+ hyperlink: z.ZodOptional<z.ZodString>;
201
+ verticalAlign: z.ZodOptional<z.ZodEnum<{
202
+ superscript: "superscript";
203
+ subscript: "subscript";
204
+ }>>;
205
+ direction: z.ZodOptional<z.ZodEnum<{
206
+ ltr: "ltr";
207
+ rtl: "rtl";
208
+ }>>;
209
+ sourcePath: z.ZodOptional<z.ZodString>;
210
+ source: z.ZodOptional<z.ZodObject<{
211
+ format: z.ZodEnum<{
212
+ docx: "docx";
213
+ pptx: "pptx";
214
+ xlsx: "xlsx";
215
+ odt: "odt";
216
+ ods: "ods";
217
+ odp: "odp";
218
+ odg: "odg";
219
+ odm: "odm";
220
+ odb: "odb";
221
+ odf: "odf";
222
+ markdown: "markdown";
223
+ pdf: "pdf";
224
+ epub: "epub";
225
+ rtf: "rtf";
226
+ wpd: "wpd";
227
+ }>;
228
+ xml: z.ZodString;
229
+ }, z.core.$strict>>;
230
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
+ pageIndex: z.ZodNumber;
232
+ xPt: z.ZodNumber;
233
+ yPt: z.ZodNumber;
234
+ widthPt: z.ZodNumber;
235
+ heightPt: z.ZodNumber;
236
+ }, z.core.$strip>>>;
237
+ }, z.core.$strip>>>;
238
+ colSpan: z.ZodOptional<z.ZodNumber>;
239
+ rowSpan: z.ZodOptional<z.ZodNumber>;
240
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
241
+ kind: z.ZodLiteral<"solid">;
242
+ color: z.ZodObject<{
243
+ r: z.ZodNumber;
244
+ g: z.ZodNumber;
245
+ b: z.ZodNumber;
246
+ }, z.core.$strip>;
247
+ }, z.core.$strip>, z.ZodObject<{
248
+ kind: z.ZodLiteral<"pattern">;
249
+ patternType: z.ZodEnum<{
250
+ percent5: "percent5";
251
+ percent10: "percent10";
252
+ percent12: "percent12";
253
+ percent15: "percent15";
254
+ percent20: "percent20";
255
+ percent25: "percent25";
256
+ percent30: "percent30";
257
+ percent35: "percent35";
258
+ percent37: "percent37";
259
+ percent40: "percent40";
260
+ percent45: "percent45";
261
+ percent50: "percent50";
262
+ percent55: "percent55";
263
+ percent60: "percent60";
264
+ percent62: "percent62";
265
+ percent65: "percent65";
266
+ percent70: "percent70";
267
+ percent75: "percent75";
268
+ percent80: "percent80";
269
+ percent85: "percent85";
270
+ percent87: "percent87";
271
+ percent90: "percent90";
272
+ percent95: "percent95";
273
+ horizontalStripe: "horizontalStripe";
274
+ verticalStripe: "verticalStripe";
275
+ diagonalStripe: "diagonalStripe";
276
+ reverseDiagonalStripe: "reverseDiagonalStripe";
277
+ horizontalCross: "horizontalCross";
278
+ diagonalCross: "diagonalCross";
279
+ thinHorizontalStripe: "thinHorizontalStripe";
280
+ thinVerticalStripe: "thinVerticalStripe";
281
+ thinDiagonalStripe: "thinDiagonalStripe";
282
+ thinReverseDiagonalStripe: "thinReverseDiagonalStripe";
283
+ thinHorizontalCross: "thinHorizontalCross";
284
+ thinDiagonalCross: "thinDiagonalCross";
285
+ mediumGray: "mediumGray";
286
+ darkGray: "darkGray";
287
+ lightGray: "lightGray";
288
+ darkHorizontal: "darkHorizontal";
289
+ darkVertical: "darkVertical";
290
+ darkDown: "darkDown";
291
+ darkUp: "darkUp";
292
+ darkGrid: "darkGrid";
293
+ darkTrellis: "darkTrellis";
294
+ lightHorizontal: "lightHorizontal";
295
+ lightVertical: "lightVertical";
296
+ lightDown: "lightDown";
297
+ lightUp: "lightUp";
298
+ lightGrid: "lightGrid";
299
+ lightTrellis: "lightTrellis";
300
+ gray125: "gray125";
301
+ gray0625: "gray0625";
302
+ }>;
303
+ foregroundColor: z.ZodOptional<z.ZodObject<{
304
+ r: z.ZodNumber;
305
+ g: z.ZodNumber;
306
+ b: z.ZodNumber;
307
+ }, z.core.$strip>>;
308
+ backgroundColor: z.ZodOptional<z.ZodObject<{
309
+ r: z.ZodNumber;
310
+ g: z.ZodNumber;
311
+ b: z.ZodNumber;
312
+ }, z.core.$strip>>;
313
+ }, z.core.$strip>], "kind">>;
314
+ borders: z.ZodOptional<z.ZodObject<{
315
+ left: z.ZodOptional<z.ZodObject<{
316
+ color: z.ZodObject<{
317
+ r: z.ZodNumber;
318
+ g: z.ZodNumber;
319
+ b: z.ZodNumber;
320
+ }, z.core.$strip>;
321
+ widthPt: z.ZodNumber;
322
+ style: z.ZodOptional<z.ZodEnum<{
323
+ solid: "solid";
324
+ dashed: "dashed";
325
+ dotted: "dotted";
326
+ double: "double";
327
+ }>>;
328
+ }, z.core.$strip>>;
329
+ right: z.ZodOptional<z.ZodObject<{
330
+ color: z.ZodObject<{
331
+ r: z.ZodNumber;
332
+ g: z.ZodNumber;
333
+ b: z.ZodNumber;
334
+ }, z.core.$strip>;
335
+ widthPt: z.ZodNumber;
336
+ style: z.ZodOptional<z.ZodEnum<{
337
+ solid: "solid";
338
+ dashed: "dashed";
339
+ dotted: "dotted";
340
+ double: "double";
341
+ }>>;
342
+ }, z.core.$strip>>;
343
+ top: z.ZodOptional<z.ZodObject<{
344
+ color: z.ZodObject<{
345
+ r: z.ZodNumber;
346
+ g: z.ZodNumber;
347
+ b: z.ZodNumber;
348
+ }, z.core.$strip>;
349
+ widthPt: z.ZodNumber;
350
+ style: z.ZodOptional<z.ZodEnum<{
351
+ solid: "solid";
352
+ dashed: "dashed";
353
+ dotted: "dotted";
354
+ double: "double";
355
+ }>>;
356
+ }, z.core.$strip>>;
357
+ bottom: z.ZodOptional<z.ZodObject<{
358
+ color: z.ZodObject<{
359
+ r: z.ZodNumber;
360
+ g: z.ZodNumber;
361
+ b: z.ZodNumber;
362
+ }, z.core.$strip>;
363
+ widthPt: z.ZodNumber;
364
+ style: z.ZodOptional<z.ZodEnum<{
365
+ solid: "solid";
366
+ dashed: "dashed";
367
+ dotted: "dotted";
368
+ double: "double";
369
+ }>>;
370
+ }, z.core.$strip>>;
371
+ diagonalUp: z.ZodOptional<z.ZodObject<{
372
+ color: z.ZodObject<{
373
+ r: z.ZodNumber;
374
+ g: z.ZodNumber;
375
+ b: z.ZodNumber;
376
+ }, z.core.$strip>;
377
+ widthPt: z.ZodNumber;
378
+ style: z.ZodOptional<z.ZodEnum<{
379
+ solid: "solid";
380
+ dashed: "dashed";
381
+ dotted: "dotted";
382
+ double: "double";
383
+ }>>;
384
+ }, z.core.$strip>>;
385
+ diagonalDown: z.ZodOptional<z.ZodObject<{
386
+ color: z.ZodObject<{
387
+ r: z.ZodNumber;
388
+ g: z.ZodNumber;
389
+ b: z.ZodNumber;
390
+ }, z.core.$strip>;
391
+ widthPt: z.ZodNumber;
392
+ style: z.ZodOptional<z.ZodEnum<{
393
+ solid: "solid";
394
+ dashed: "dashed";
395
+ dotted: "dotted";
396
+ double: "double";
397
+ }>>;
398
+ }, z.core.$strip>>;
399
+ }, z.core.$strip>>;
400
+ alignment: z.ZodOptional<z.ZodEnum<{
401
+ left: "left";
402
+ center: "center";
403
+ right: "right";
404
+ justify: "justify";
405
+ }>>;
406
+ verticalAlignment: z.ZodOptional<z.ZodEnum<{
407
+ top: "top";
408
+ bottom: "bottom";
409
+ middle: "middle";
410
+ }>>;
411
+ comment: z.ZodOptional<z.ZodObject<{
412
+ text: z.ZodString;
413
+ author: z.ZodOptional<z.ZodString>;
414
+ createdAt: z.ZodOptional<z.ZodString>;
415
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
416
+ text: z.ZodString;
417
+ author: z.ZodOptional<z.ZodString>;
418
+ }, z.core.$strip>>>;
419
+ }, z.core.$strip>>;
420
+ sourcePath: z.ZodOptional<z.ZodString>;
421
+ source: z.ZodOptional<z.ZodObject<{
422
+ format: z.ZodEnum<{
423
+ docx: "docx";
424
+ pptx: "pptx";
425
+ xlsx: "xlsx";
426
+ odt: "odt";
427
+ ods: "ods";
428
+ odp: "odp";
429
+ odg: "odg";
430
+ odm: "odm";
431
+ odb: "odb";
432
+ odf: "odf";
433
+ markdown: "markdown";
434
+ pdf: "pdf";
435
+ epub: "epub";
436
+ rtf: "rtf";
437
+ wpd: "wpd";
438
+ }>;
439
+ xml: z.ZodString;
440
+ }, z.core.$strict>>;
441
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
442
+ pageIndex: z.ZodNumber;
443
+ xPt: z.ZodNumber;
444
+ yPt: z.ZodNumber;
445
+ widthPt: z.ZodNumber;
446
+ heightPt: z.ZodNumber;
447
+ }, z.core.$strip>>>;
448
+ }, z.core.$strip>>;
449
+ columns: z.ZodArray<z.ZodObject<{
450
+ index: z.ZodNumber;
451
+ widthPt: z.ZodOptional<z.ZodNumber>;
452
+ hidden: z.ZodOptional<z.ZodBoolean>;
453
+ }, z.core.$strip>>;
454
+ rows: z.ZodArray<z.ZodObject<{
455
+ index: z.ZodNumber;
456
+ heightPt: z.ZodOptional<z.ZodNumber>;
457
+ hidden: z.ZodOptional<z.ZodBoolean>;
458
+ }, z.core.$strip>>;
459
+ dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
460
+ ranges: z.ZodArray<z.ZodObject<{
461
+ startRow: z.ZodNumber;
462
+ startColumn: z.ZodNumber;
463
+ endRow: z.ZodNumber;
464
+ endColumn: z.ZodNumber;
465
+ }, z.core.$strip>>;
466
+ type: z.ZodEnum<{
467
+ decimal: "decimal";
468
+ list: "list";
469
+ date: "date";
470
+ custom: "custom";
471
+ time: "time";
472
+ whole: "whole";
473
+ textLength: "textLength";
474
+ }>;
475
+ operator: z.ZodOptional<z.ZodEnum<{
476
+ between: "between";
477
+ notBetween: "notBetween";
478
+ equal: "equal";
479
+ notEqual: "notEqual";
480
+ greaterThan: "greaterThan";
481
+ greaterThanOrEqual: "greaterThanOrEqual";
482
+ lessThan: "lessThan";
483
+ lessThanOrEqual: "lessThanOrEqual";
484
+ }>>;
485
+ formula1: z.ZodOptional<z.ZodString>;
486
+ formula2: z.ZodOptional<z.ZodString>;
487
+ allowBlank: z.ZodOptional<z.ZodBoolean>;
488
+ showInputMessage: z.ZodOptional<z.ZodBoolean>;
489
+ promptTitle: z.ZodOptional<z.ZodString>;
490
+ prompt: z.ZodOptional<z.ZodString>;
491
+ showErrorMessage: z.ZodOptional<z.ZodBoolean>;
492
+ errorStyle: z.ZodOptional<z.ZodEnum<{
493
+ stop: "stop";
494
+ warning: "warning";
495
+ information: "information";
496
+ }>>;
497
+ errorTitle: z.ZodOptional<z.ZodString>;
498
+ error: z.ZodOptional<z.ZodString>;
499
+ source: z.ZodOptional<z.ZodObject<{
500
+ format: z.ZodEnum<{
501
+ docx: "docx";
502
+ pptx: "pptx";
503
+ xlsx: "xlsx";
504
+ odt: "odt";
505
+ ods: "ods";
506
+ odp: "odp";
507
+ odg: "odg";
508
+ odm: "odm";
509
+ odb: "odb";
510
+ odf: "odf";
511
+ markdown: "markdown";
512
+ pdf: "pdf";
513
+ epub: "epub";
514
+ rtf: "rtf";
515
+ wpd: "wpd";
516
+ }>;
517
+ xml: z.ZodString;
518
+ }, z.core.$strict>>;
519
+ }, z.core.$strip>>>;
520
+ conditionalFormats: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
521
+ operator: z.ZodEnum<{
522
+ between: "between";
523
+ notBetween: "notBetween";
524
+ equal: "equal";
525
+ notEqual: "notEqual";
526
+ greaterThan: "greaterThan";
527
+ greaterThanOrEqual: "greaterThanOrEqual";
528
+ lessThan: "lessThan";
529
+ lessThanOrEqual: "lessThanOrEqual";
530
+ }>;
531
+ formula1: z.ZodString;
532
+ formula2: z.ZodOptional<z.ZodString>;
533
+ style: z.ZodOptional<z.ZodObject<{
534
+ textColor: z.ZodOptional<z.ZodObject<{
535
+ r: z.ZodNumber;
536
+ g: z.ZodNumber;
537
+ b: z.ZodNumber;
538
+ }, z.core.$strip>>;
539
+ background: z.ZodOptional<z.ZodObject<{
540
+ r: z.ZodNumber;
541
+ g: z.ZodNumber;
542
+ b: z.ZodNumber;
543
+ }, z.core.$strip>>;
544
+ source: z.ZodOptional<z.ZodObject<{
545
+ format: z.ZodEnum<{
546
+ docx: "docx";
547
+ pptx: "pptx";
548
+ xlsx: "xlsx";
549
+ odt: "odt";
550
+ ods: "ods";
551
+ odp: "odp";
552
+ odg: "odg";
553
+ odm: "odm";
554
+ odb: "odb";
555
+ odf: "odf";
556
+ markdown: "markdown";
557
+ pdf: "pdf";
558
+ epub: "epub";
559
+ rtf: "rtf";
560
+ wpd: "wpd";
561
+ }>;
562
+ xml: z.ZodString;
563
+ }, z.core.$strict>>;
564
+ }, z.core.$strip>>;
565
+ ranges: z.ZodArray<z.ZodObject<{
566
+ startRow: z.ZodNumber;
567
+ startColumn: z.ZodNumber;
568
+ endRow: z.ZodNumber;
569
+ endColumn: z.ZodNumber;
570
+ }, z.core.$strip>>;
571
+ priority: z.ZodOptional<z.ZodNumber>;
572
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
573
+ source: z.ZodOptional<z.ZodObject<{
574
+ format: z.ZodEnum<{
575
+ docx: "docx";
576
+ pptx: "pptx";
577
+ xlsx: "xlsx";
578
+ odt: "odt";
579
+ ods: "ods";
580
+ odp: "odp";
581
+ odg: "odg";
582
+ odm: "odm";
583
+ odb: "odb";
584
+ odf: "odf";
585
+ markdown: "markdown";
586
+ pdf: "pdf";
587
+ epub: "epub";
588
+ rtf: "rtf";
589
+ wpd: "wpd";
590
+ }>;
591
+ xml: z.ZodString;
592
+ }, z.core.$strict>>;
593
+ type: z.ZodLiteral<"cellIs">;
594
+ }, z.core.$strip>, z.ZodObject<{
595
+ text: z.ZodString;
596
+ style: z.ZodOptional<z.ZodObject<{
597
+ textColor: z.ZodOptional<z.ZodObject<{
598
+ r: z.ZodNumber;
599
+ g: z.ZodNumber;
600
+ b: z.ZodNumber;
601
+ }, z.core.$strip>>;
602
+ background: z.ZodOptional<z.ZodObject<{
603
+ r: z.ZodNumber;
604
+ g: z.ZodNumber;
605
+ b: z.ZodNumber;
606
+ }, z.core.$strip>>;
607
+ source: z.ZodOptional<z.ZodObject<{
608
+ format: z.ZodEnum<{
609
+ docx: "docx";
610
+ pptx: "pptx";
611
+ xlsx: "xlsx";
612
+ odt: "odt";
613
+ ods: "ods";
614
+ odp: "odp";
615
+ odg: "odg";
616
+ odm: "odm";
617
+ odb: "odb";
618
+ odf: "odf";
619
+ markdown: "markdown";
620
+ pdf: "pdf";
621
+ epub: "epub";
622
+ rtf: "rtf";
623
+ wpd: "wpd";
624
+ }>;
625
+ xml: z.ZodString;
626
+ }, z.core.$strict>>;
627
+ }, z.core.$strip>>;
628
+ ranges: z.ZodArray<z.ZodObject<{
629
+ startRow: z.ZodNumber;
630
+ startColumn: z.ZodNumber;
631
+ endRow: z.ZodNumber;
632
+ endColumn: z.ZodNumber;
633
+ }, z.core.$strip>>;
634
+ priority: z.ZodOptional<z.ZodNumber>;
635
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
636
+ source: z.ZodOptional<z.ZodObject<{
637
+ format: z.ZodEnum<{
638
+ docx: "docx";
639
+ pptx: "pptx";
640
+ xlsx: "xlsx";
641
+ odt: "odt";
642
+ ods: "ods";
643
+ odp: "odp";
644
+ odg: "odg";
645
+ odm: "odm";
646
+ odb: "odb";
647
+ odf: "odf";
648
+ markdown: "markdown";
649
+ pdf: "pdf";
650
+ epub: "epub";
651
+ rtf: "rtf";
652
+ wpd: "wpd";
653
+ }>;
654
+ xml: z.ZodString;
655
+ }, z.core.$strict>>;
656
+ type: z.ZodEnum<{
657
+ containsText: "containsText";
658
+ notContainsText: "notContainsText";
659
+ beginsWith: "beginsWith";
660
+ endsWith: "endsWith";
661
+ }>;
662
+ }, z.core.$strip>, z.ZodObject<{
663
+ style: z.ZodOptional<z.ZodObject<{
664
+ textColor: z.ZodOptional<z.ZodObject<{
665
+ r: z.ZodNumber;
666
+ g: z.ZodNumber;
667
+ b: z.ZodNumber;
668
+ }, z.core.$strip>>;
669
+ background: z.ZodOptional<z.ZodObject<{
670
+ r: z.ZodNumber;
671
+ g: z.ZodNumber;
672
+ b: z.ZodNumber;
673
+ }, z.core.$strip>>;
674
+ source: z.ZodOptional<z.ZodObject<{
675
+ format: z.ZodEnum<{
676
+ docx: "docx";
677
+ pptx: "pptx";
678
+ xlsx: "xlsx";
679
+ odt: "odt";
680
+ ods: "ods";
681
+ odp: "odp";
682
+ odg: "odg";
683
+ odm: "odm";
684
+ odb: "odb";
685
+ odf: "odf";
686
+ markdown: "markdown";
687
+ pdf: "pdf";
688
+ epub: "epub";
689
+ rtf: "rtf";
690
+ wpd: "wpd";
691
+ }>;
692
+ xml: z.ZodString;
693
+ }, z.core.$strict>>;
694
+ }, z.core.$strip>>;
695
+ ranges: z.ZodArray<z.ZodObject<{
696
+ startRow: z.ZodNumber;
697
+ startColumn: z.ZodNumber;
698
+ endRow: z.ZodNumber;
699
+ endColumn: z.ZodNumber;
700
+ }, z.core.$strip>>;
701
+ priority: z.ZodOptional<z.ZodNumber>;
702
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
703
+ source: z.ZodOptional<z.ZodObject<{
704
+ format: z.ZodEnum<{
705
+ docx: "docx";
706
+ pptx: "pptx";
707
+ xlsx: "xlsx";
708
+ odt: "odt";
709
+ ods: "ods";
710
+ odp: "odp";
711
+ odg: "odg";
712
+ odm: "odm";
713
+ odb: "odb";
714
+ odf: "odf";
715
+ markdown: "markdown";
716
+ pdf: "pdf";
717
+ epub: "epub";
718
+ rtf: "rtf";
719
+ wpd: "wpd";
720
+ }>;
721
+ xml: z.ZodString;
722
+ }, z.core.$strict>>;
723
+ type: z.ZodEnum<{
724
+ containsBlanks: "containsBlanks";
725
+ notContainsBlanks: "notContainsBlanks";
726
+ containsErrors: "containsErrors";
727
+ notContainsErrors: "notContainsErrors";
728
+ uniqueValues: "uniqueValues";
729
+ duplicateValues: "duplicateValues";
730
+ }>;
731
+ }, z.core.$strip>, z.ZodObject<{
732
+ rank: z.ZodNumber;
733
+ percent: z.ZodOptional<z.ZodBoolean>;
734
+ bottom: z.ZodOptional<z.ZodBoolean>;
735
+ style: z.ZodOptional<z.ZodObject<{
736
+ textColor: z.ZodOptional<z.ZodObject<{
737
+ r: z.ZodNumber;
738
+ g: z.ZodNumber;
739
+ b: z.ZodNumber;
740
+ }, z.core.$strip>>;
741
+ background: z.ZodOptional<z.ZodObject<{
742
+ r: z.ZodNumber;
743
+ g: z.ZodNumber;
744
+ b: z.ZodNumber;
745
+ }, z.core.$strip>>;
746
+ source: z.ZodOptional<z.ZodObject<{
747
+ format: z.ZodEnum<{
748
+ docx: "docx";
749
+ pptx: "pptx";
750
+ xlsx: "xlsx";
751
+ odt: "odt";
752
+ ods: "ods";
753
+ odp: "odp";
754
+ odg: "odg";
755
+ odm: "odm";
756
+ odb: "odb";
757
+ odf: "odf";
758
+ markdown: "markdown";
759
+ pdf: "pdf";
760
+ epub: "epub";
761
+ rtf: "rtf";
762
+ wpd: "wpd";
763
+ }>;
764
+ xml: z.ZodString;
765
+ }, z.core.$strict>>;
766
+ }, z.core.$strip>>;
767
+ ranges: z.ZodArray<z.ZodObject<{
768
+ startRow: z.ZodNumber;
769
+ startColumn: z.ZodNumber;
770
+ endRow: z.ZodNumber;
771
+ endColumn: z.ZodNumber;
772
+ }, z.core.$strip>>;
773
+ priority: z.ZodOptional<z.ZodNumber>;
774
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
775
+ source: z.ZodOptional<z.ZodObject<{
776
+ format: z.ZodEnum<{
777
+ docx: "docx";
778
+ pptx: "pptx";
779
+ xlsx: "xlsx";
780
+ odt: "odt";
781
+ ods: "ods";
782
+ odp: "odp";
783
+ odg: "odg";
784
+ odm: "odm";
785
+ odb: "odb";
786
+ odf: "odf";
787
+ markdown: "markdown";
788
+ pdf: "pdf";
789
+ epub: "epub";
790
+ rtf: "rtf";
791
+ wpd: "wpd";
792
+ }>;
793
+ xml: z.ZodString;
794
+ }, z.core.$strict>>;
795
+ type: z.ZodLiteral<"top10">;
796
+ }, z.core.$strip>, z.ZodObject<{
797
+ aboveAverage: z.ZodOptional<z.ZodBoolean>;
798
+ equalAverage: z.ZodOptional<z.ZodBoolean>;
799
+ stdDev: z.ZodOptional<z.ZodNumber>;
800
+ style: z.ZodOptional<z.ZodObject<{
801
+ textColor: z.ZodOptional<z.ZodObject<{
802
+ r: z.ZodNumber;
803
+ g: z.ZodNumber;
804
+ b: z.ZodNumber;
805
+ }, z.core.$strip>>;
806
+ background: z.ZodOptional<z.ZodObject<{
807
+ r: z.ZodNumber;
808
+ g: z.ZodNumber;
809
+ b: z.ZodNumber;
810
+ }, z.core.$strip>>;
811
+ source: z.ZodOptional<z.ZodObject<{
812
+ format: z.ZodEnum<{
813
+ docx: "docx";
814
+ pptx: "pptx";
815
+ xlsx: "xlsx";
816
+ odt: "odt";
817
+ ods: "ods";
818
+ odp: "odp";
819
+ odg: "odg";
820
+ odm: "odm";
821
+ odb: "odb";
822
+ odf: "odf";
823
+ markdown: "markdown";
824
+ pdf: "pdf";
825
+ epub: "epub";
826
+ rtf: "rtf";
827
+ wpd: "wpd";
828
+ }>;
829
+ xml: z.ZodString;
830
+ }, z.core.$strict>>;
831
+ }, z.core.$strip>>;
832
+ ranges: z.ZodArray<z.ZodObject<{
833
+ startRow: z.ZodNumber;
834
+ startColumn: z.ZodNumber;
835
+ endRow: z.ZodNumber;
836
+ endColumn: z.ZodNumber;
837
+ }, z.core.$strip>>;
838
+ priority: z.ZodOptional<z.ZodNumber>;
839
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
840
+ source: z.ZodOptional<z.ZodObject<{
841
+ format: z.ZodEnum<{
842
+ docx: "docx";
843
+ pptx: "pptx";
844
+ xlsx: "xlsx";
845
+ odt: "odt";
846
+ ods: "ods";
847
+ odp: "odp";
848
+ odg: "odg";
849
+ odm: "odm";
850
+ odb: "odb";
851
+ odf: "odf";
852
+ markdown: "markdown";
853
+ pdf: "pdf";
854
+ epub: "epub";
855
+ rtf: "rtf";
856
+ wpd: "wpd";
857
+ }>;
858
+ xml: z.ZodString;
859
+ }, z.core.$strict>>;
860
+ type: z.ZodLiteral<"aboveAverage">;
861
+ }, z.core.$strip>, z.ZodObject<{
862
+ timePeriod: z.ZodEnum<{
863
+ yesterday: "yesterday";
864
+ today: "today";
865
+ tomorrow: "tomorrow";
866
+ last7Days: "last7Days";
867
+ thisMonth: "thisMonth";
868
+ lastMonth: "lastMonth";
869
+ nextMonth: "nextMonth";
870
+ thisWeek: "thisWeek";
871
+ lastWeek: "lastWeek";
872
+ nextWeek: "nextWeek";
873
+ thisYear: "thisYear";
874
+ lastYear: "lastYear";
875
+ nextYear: "nextYear";
876
+ }>;
877
+ style: z.ZodOptional<z.ZodObject<{
878
+ textColor: z.ZodOptional<z.ZodObject<{
879
+ r: z.ZodNumber;
880
+ g: z.ZodNumber;
881
+ b: z.ZodNumber;
882
+ }, z.core.$strip>>;
883
+ background: z.ZodOptional<z.ZodObject<{
884
+ r: z.ZodNumber;
885
+ g: z.ZodNumber;
886
+ b: z.ZodNumber;
887
+ }, z.core.$strip>>;
888
+ source: z.ZodOptional<z.ZodObject<{
889
+ format: z.ZodEnum<{
890
+ docx: "docx";
891
+ pptx: "pptx";
892
+ xlsx: "xlsx";
893
+ odt: "odt";
894
+ ods: "ods";
895
+ odp: "odp";
896
+ odg: "odg";
897
+ odm: "odm";
898
+ odb: "odb";
899
+ odf: "odf";
900
+ markdown: "markdown";
901
+ pdf: "pdf";
902
+ epub: "epub";
903
+ rtf: "rtf";
904
+ wpd: "wpd";
905
+ }>;
906
+ xml: z.ZodString;
907
+ }, z.core.$strict>>;
908
+ }, z.core.$strip>>;
909
+ ranges: z.ZodArray<z.ZodObject<{
910
+ startRow: z.ZodNumber;
911
+ startColumn: z.ZodNumber;
912
+ endRow: z.ZodNumber;
913
+ endColumn: z.ZodNumber;
914
+ }, z.core.$strip>>;
915
+ priority: z.ZodOptional<z.ZodNumber>;
916
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
917
+ source: z.ZodOptional<z.ZodObject<{
918
+ format: z.ZodEnum<{
919
+ docx: "docx";
920
+ pptx: "pptx";
921
+ xlsx: "xlsx";
922
+ odt: "odt";
923
+ ods: "ods";
924
+ odp: "odp";
925
+ odg: "odg";
926
+ odm: "odm";
927
+ odb: "odb";
928
+ odf: "odf";
929
+ markdown: "markdown";
930
+ pdf: "pdf";
931
+ epub: "epub";
932
+ rtf: "rtf";
933
+ wpd: "wpd";
934
+ }>;
935
+ xml: z.ZodString;
936
+ }, z.core.$strict>>;
937
+ type: z.ZodLiteral<"timePeriod">;
938
+ }, z.core.$strip>, z.ZodObject<{
939
+ stops: z.ZodArray<z.ZodObject<{
940
+ value: z.ZodObject<{
941
+ type: z.ZodEnum<{
942
+ formula: "formula";
943
+ percent: "percent";
944
+ num: "num";
945
+ max: "max";
946
+ min: "min";
947
+ percentile: "percentile";
948
+ }>;
949
+ value: z.ZodOptional<z.ZodString>;
950
+ }, z.core.$strip>;
951
+ color: z.ZodObject<{
952
+ r: z.ZodNumber;
953
+ g: z.ZodNumber;
954
+ b: z.ZodNumber;
955
+ }, z.core.$strip>;
956
+ }, z.core.$strip>>;
957
+ ranges: z.ZodArray<z.ZodObject<{
958
+ startRow: z.ZodNumber;
959
+ startColumn: z.ZodNumber;
960
+ endRow: z.ZodNumber;
961
+ endColumn: z.ZodNumber;
962
+ }, z.core.$strip>>;
963
+ priority: z.ZodOptional<z.ZodNumber>;
964
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
965
+ source: z.ZodOptional<z.ZodObject<{
966
+ format: z.ZodEnum<{
967
+ docx: "docx";
968
+ pptx: "pptx";
969
+ xlsx: "xlsx";
970
+ odt: "odt";
971
+ ods: "ods";
972
+ odp: "odp";
973
+ odg: "odg";
974
+ odm: "odm";
975
+ odb: "odb";
976
+ odf: "odf";
977
+ markdown: "markdown";
978
+ pdf: "pdf";
979
+ epub: "epub";
980
+ rtf: "rtf";
981
+ wpd: "wpd";
982
+ }>;
983
+ xml: z.ZodString;
984
+ }, z.core.$strict>>;
985
+ type: z.ZodLiteral<"colorScale">;
986
+ }, z.core.$strip>, z.ZodObject<{
987
+ min: z.ZodObject<{
988
+ type: z.ZodEnum<{
989
+ formula: "formula";
990
+ percent: "percent";
991
+ num: "num";
992
+ max: "max";
993
+ min: "min";
994
+ percentile: "percentile";
995
+ }>;
996
+ value: z.ZodOptional<z.ZodString>;
997
+ }, z.core.$strip>;
998
+ max: z.ZodObject<{
999
+ type: z.ZodEnum<{
1000
+ formula: "formula";
1001
+ percent: "percent";
1002
+ num: "num";
1003
+ max: "max";
1004
+ min: "min";
1005
+ percentile: "percentile";
1006
+ }>;
1007
+ value: z.ZodOptional<z.ZodString>;
1008
+ }, z.core.$strip>;
1009
+ color: z.ZodObject<{
1010
+ r: z.ZodNumber;
1011
+ g: z.ZodNumber;
1012
+ b: z.ZodNumber;
1013
+ }, z.core.$strip>;
1014
+ showValue: z.ZodOptional<z.ZodBoolean>;
1015
+ ranges: z.ZodArray<z.ZodObject<{
1016
+ startRow: z.ZodNumber;
1017
+ startColumn: z.ZodNumber;
1018
+ endRow: z.ZodNumber;
1019
+ endColumn: z.ZodNumber;
1020
+ }, z.core.$strip>>;
1021
+ priority: z.ZodOptional<z.ZodNumber>;
1022
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1023
+ source: z.ZodOptional<z.ZodObject<{
1024
+ format: z.ZodEnum<{
1025
+ docx: "docx";
1026
+ pptx: "pptx";
1027
+ xlsx: "xlsx";
1028
+ odt: "odt";
1029
+ ods: "ods";
1030
+ odp: "odp";
1031
+ odg: "odg";
1032
+ odm: "odm";
1033
+ odb: "odb";
1034
+ odf: "odf";
1035
+ markdown: "markdown";
1036
+ pdf: "pdf";
1037
+ epub: "epub";
1038
+ rtf: "rtf";
1039
+ wpd: "wpd";
1040
+ }>;
1041
+ xml: z.ZodString;
1042
+ }, z.core.$strict>>;
1043
+ type: z.ZodLiteral<"dataBar">;
1044
+ }, z.core.$strip>, z.ZodObject<{
1045
+ iconSetType: z.ZodString;
1046
+ thresholds: z.ZodArray<z.ZodObject<{
1047
+ type: z.ZodEnum<{
1048
+ formula: "formula";
1049
+ percent: "percent";
1050
+ num: "num";
1051
+ max: "max";
1052
+ min: "min";
1053
+ percentile: "percentile";
1054
+ }>;
1055
+ value: z.ZodOptional<z.ZodString>;
1056
+ }, z.core.$strip>>;
1057
+ reverse: z.ZodOptional<z.ZodBoolean>;
1058
+ showValue: z.ZodOptional<z.ZodBoolean>;
1059
+ ranges: z.ZodArray<z.ZodObject<{
1060
+ startRow: z.ZodNumber;
1061
+ startColumn: z.ZodNumber;
1062
+ endRow: z.ZodNumber;
1063
+ endColumn: z.ZodNumber;
1064
+ }, z.core.$strip>>;
1065
+ priority: z.ZodOptional<z.ZodNumber>;
1066
+ stopIfTrue: z.ZodOptional<z.ZodBoolean>;
1067
+ source: z.ZodOptional<z.ZodObject<{
1068
+ format: z.ZodEnum<{
1069
+ docx: "docx";
1070
+ pptx: "pptx";
1071
+ xlsx: "xlsx";
1072
+ odt: "odt";
1073
+ ods: "ods";
1074
+ odp: "odp";
1075
+ odg: "odg";
1076
+ odm: "odm";
1077
+ odb: "odb";
1078
+ odf: "odf";
1079
+ markdown: "markdown";
1080
+ pdf: "pdf";
1081
+ epub: "epub";
1082
+ rtf: "rtf";
1083
+ wpd: "wpd";
1084
+ }>;
1085
+ xml: z.ZodString;
1086
+ }, z.core.$strict>>;
1087
+ type: z.ZodLiteral<"iconSet">;
1088
+ }, z.core.$strip>], "type">>>;
1089
+ kind: z.ZodLiteral<"sheet">;
1090
+ }, z.core.$strict>;
1091
+ type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
1092
+ declare const DrawPageDescriptorSchema: z.ZodObject<{
1093
+ source: z.ZodOptional<z.ZodObject<{
1094
+ format: z.ZodEnum<{
1095
+ docx: "docx";
1096
+ pptx: "pptx";
1097
+ xlsx: "xlsx";
1098
+ odt: "odt";
1099
+ ods: "ods";
1100
+ odp: "odp";
1101
+ odg: "odg";
1102
+ odm: "odm";
1103
+ odb: "odb";
1104
+ odf: "odf";
1105
+ markdown: "markdown";
1106
+ pdf: "pdf";
1107
+ epub: "epub";
1108
+ rtf: "rtf";
1109
+ wpd: "wpd";
1110
+ }>;
1111
+ xml: z.ZodString;
1112
+ }, z.core.$strict>>;
1113
+ size: z.ZodObject<{
1114
+ widthPt: z.ZodNumber;
1115
+ heightPt: z.ZodNumber;
1116
+ }, z.core.$strip>;
1117
+ kind: z.ZodLiteral<"drawPage">;
1118
+ }, z.core.$strict>;
1119
+ type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
1120
+ declare const ShapeDescriptorSchema: z.ZodObject<{
1121
+ source: z.ZodOptional<z.ZodObject<{
1122
+ format: z.ZodEnum<{
1123
+ docx: "docx";
1124
+ pptx: "pptx";
1125
+ xlsx: "xlsx";
1126
+ odt: "odt";
1127
+ ods: "ods";
1128
+ odp: "odp";
1129
+ odg: "odg";
1130
+ odm: "odm";
1131
+ odb: "odb";
1132
+ odf: "odf";
1133
+ markdown: "markdown";
1134
+ pdf: "pdf";
1135
+ epub: "epub";
1136
+ rtf: "rtf";
1137
+ wpd: "wpd";
1138
+ }>;
1139
+ xml: z.ZodString;
1140
+ }, z.core.$strict>>;
1141
+ name: z.ZodOptional<z.ZodString>;
1142
+ sourcePath: z.ZodOptional<z.ZodString>;
1143
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1144
+ pageIndex: z.ZodNumber;
1145
+ xPt: z.ZodNumber;
1146
+ yPt: z.ZodNumber;
1147
+ widthPt: z.ZodNumber;
1148
+ heightPt: z.ZodNumber;
1149
+ }, z.core.$strip>>>;
1150
+ frame: z.ZodObject<{
1151
+ xPt: z.ZodNumber;
1152
+ yPt: z.ZodNumber;
1153
+ widthPt: z.ZodNumber;
1154
+ heightPt: z.ZodNumber;
1155
+ }, z.core.$strip>;
1156
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1157
+ insetLeftPt: z.ZodNumber;
1158
+ insetTopPt: z.ZodNumber;
1159
+ insetRightPt: z.ZodNumber;
1160
+ insetBottomPt: z.ZodNumber;
1161
+ fontScale: z.ZodOptional<z.ZodNumber>;
1162
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1163
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1164
+ }, z.core.$strict>;
1165
+ type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
1166
+ declare const HeadingParagraphSchema: z.ZodObject<{
1167
+ kind: z.ZodLiteral<"paragraph">;
1168
+ runs: z.ZodArray<z.ZodObject<{
1169
+ text: z.ZodString;
1170
+ bold: z.ZodOptional<z.ZodBoolean>;
1171
+ italic: z.ZodOptional<z.ZodBoolean>;
1172
+ underline: z.ZodOptional<z.ZodBoolean>;
1173
+ strike: z.ZodOptional<z.ZodBoolean>;
1174
+ fontFamily: z.ZodOptional<z.ZodString>;
1175
+ sizePt: z.ZodOptional<z.ZodNumber>;
1176
+ color: z.ZodOptional<z.ZodObject<{
1177
+ r: z.ZodNumber;
1178
+ g: z.ZodNumber;
1179
+ b: z.ZodNumber;
1180
+ }, z.core.$strip>>;
1181
+ hyperlink: z.ZodOptional<z.ZodString>;
1182
+ verticalAlign: z.ZodOptional<z.ZodEnum<{
1183
+ superscript: "superscript";
1184
+ subscript: "subscript";
1185
+ }>>;
1186
+ direction: z.ZodOptional<z.ZodEnum<{
1187
+ ltr: "ltr";
1188
+ rtl: "rtl";
1189
+ }>>;
1190
+ sourcePath: z.ZodOptional<z.ZodString>;
1191
+ source: z.ZodOptional<z.ZodObject<{
1192
+ format: z.ZodEnum<{
1193
+ docx: "docx";
1194
+ pptx: "pptx";
1195
+ xlsx: "xlsx";
1196
+ odt: "odt";
1197
+ ods: "ods";
1198
+ odp: "odp";
1199
+ odg: "odg";
1200
+ odm: "odm";
1201
+ odb: "odb";
1202
+ odf: "odf";
1203
+ markdown: "markdown";
1204
+ pdf: "pdf";
1205
+ epub: "epub";
1206
+ rtf: "rtf";
1207
+ wpd: "wpd";
1208
+ }>;
1209
+ xml: z.ZodString;
1210
+ }, z.core.$strict>>;
1211
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1212
+ pageIndex: z.ZodNumber;
1213
+ xPt: z.ZodNumber;
1214
+ yPt: z.ZodNumber;
1215
+ widthPt: z.ZodNumber;
1216
+ heightPt: z.ZodNumber;
1217
+ }, z.core.$strip>>>;
1218
+ }, z.core.$strip>>;
1219
+ constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1220
+ descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1221
+ kind: z.ZodLiteral<"contentControl">;
1222
+ controlType: z.ZodEnum<{
1223
+ date: "date";
1224
+ richText: "richText";
1225
+ plainText: "plainText";
1226
+ checkbox: "checkbox";
1227
+ dropDown: "dropDown";
1228
+ comboBox: "comboBox";
1229
+ picture: "picture";
1230
+ repeatingSection: "repeatingSection";
1231
+ button: "button";
1232
+ index: "index";
1233
+ group: "group";
1234
+ }>;
1235
+ tag: z.ZodOptional<z.ZodString>;
1236
+ alias: z.ZodOptional<z.ZodString>;
1237
+ lock: z.ZodOptional<z.ZodEnum<{
1238
+ content: "content";
1239
+ container: "container";
1240
+ both: "both";
1241
+ }>>;
1242
+ value: z.ZodOptional<z.ZodString>;
1243
+ checked: z.ZodOptional<z.ZodBoolean>;
1244
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1245
+ source: z.ZodOptional<z.ZodObject<{
1246
+ format: z.ZodEnum<{
1247
+ docx: "docx";
1248
+ pptx: "pptx";
1249
+ xlsx: "xlsx";
1250
+ odt: "odt";
1251
+ ods: "ods";
1252
+ odp: "odp";
1253
+ odg: "odg";
1254
+ odm: "odm";
1255
+ odb: "odb";
1256
+ odf: "odf";
1257
+ markdown: "markdown";
1258
+ pdf: "pdf";
1259
+ epub: "epub";
1260
+ rtf: "rtf";
1261
+ wpd: "wpd";
1262
+ }>;
1263
+ xml: z.ZodString;
1264
+ }, z.core.$strict>>;
1265
+ }, z.core.$strict>, z.ZodObject<{
1266
+ kind: z.ZodLiteral<"field">;
1267
+ instruction: z.ZodString;
1268
+ cachedResult: z.ZodOptional<z.ZodString>;
1269
+ source: z.ZodOptional<z.ZodObject<{
1270
+ format: z.ZodEnum<{
1271
+ docx: "docx";
1272
+ pptx: "pptx";
1273
+ xlsx: "xlsx";
1274
+ odt: "odt";
1275
+ ods: "ods";
1276
+ odp: "odp";
1277
+ odg: "odg";
1278
+ odm: "odm";
1279
+ odb: "odb";
1280
+ odf: "odf";
1281
+ markdown: "markdown";
1282
+ pdf: "pdf";
1283
+ epub: "epub";
1284
+ rtf: "rtf";
1285
+ wpd: "wpd";
1286
+ }>;
1287
+ xml: z.ZodString;
1288
+ }, z.core.$strict>>;
1289
+ }, z.core.$strict>, z.ZodObject<{
1290
+ kind: z.ZodLiteral<"anchor">;
1291
+ anchorType: z.ZodEnum<{
1292
+ bookmark: "bookmark";
1293
+ footnote: "footnote";
1294
+ endnote: "endnote";
1295
+ comment: "comment";
1296
+ }>;
1297
+ name: z.ZodString;
1298
+ definition: z.ZodOptional<z.ZodString>;
1299
+ source: z.ZodOptional<z.ZodObject<{
1300
+ format: z.ZodEnum<{
1301
+ docx: "docx";
1302
+ pptx: "pptx";
1303
+ xlsx: "xlsx";
1304
+ odt: "odt";
1305
+ ods: "ods";
1306
+ odp: "odp";
1307
+ odg: "odg";
1308
+ odm: "odm";
1309
+ odb: "odb";
1310
+ odf: "odf";
1311
+ markdown: "markdown";
1312
+ pdf: "pdf";
1313
+ epub: "epub";
1314
+ rtf: "rtf";
1315
+ wpd: "wpd";
1316
+ }>;
1317
+ xml: z.ZodString;
1318
+ }, z.core.$strict>>;
1319
+ }, z.core.$strict>, z.ZodObject<{
1320
+ kind: z.ZodLiteral<"link">;
1321
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1322
+ kind: z.ZodLiteral<"external">;
1323
+ uri: z.ZodString;
1324
+ }, z.core.$strict>, z.ZodObject<{
1325
+ kind: z.ZodLiteral<"internal">;
1326
+ anchor: z.ZodString;
1327
+ }, z.core.$strict>], "kind">;
1328
+ title: z.ZodOptional<z.ZodString>;
1329
+ source: z.ZodOptional<z.ZodObject<{
1330
+ format: z.ZodEnum<{
1331
+ docx: "docx";
1332
+ pptx: "pptx";
1333
+ xlsx: "xlsx";
1334
+ odt: "odt";
1335
+ ods: "ods";
1336
+ odp: "odp";
1337
+ odg: "odg";
1338
+ odm: "odm";
1339
+ odb: "odb";
1340
+ odf: "odf";
1341
+ markdown: "markdown";
1342
+ pdf: "pdf";
1343
+ epub: "epub";
1344
+ rtf: "rtf";
1345
+ wpd: "wpd";
1346
+ }>;
1347
+ xml: z.ZodString;
1348
+ }, z.core.$strict>>;
1349
+ }, z.core.$strict>, z.ZodObject<{
1350
+ kind: z.ZodLiteral<"provenance">;
1351
+ change: z.ZodEnum<{
1352
+ insertion: "insertion";
1353
+ deletion: "deletion";
1354
+ moveFrom: "moveFrom";
1355
+ moveTo: "moveTo";
1356
+ formatChange: "formatChange";
1357
+ }>;
1358
+ author: z.ZodOptional<z.ZodString>;
1359
+ dateIso: z.ZodOptional<z.ZodString>;
1360
+ source: z.ZodOptional<z.ZodObject<{
1361
+ format: z.ZodEnum<{
1362
+ docx: "docx";
1363
+ pptx: "pptx";
1364
+ xlsx: "xlsx";
1365
+ odt: "odt";
1366
+ ods: "ods";
1367
+ odp: "odp";
1368
+ odg: "odg";
1369
+ odm: "odm";
1370
+ odb: "odb";
1371
+ odf: "odf";
1372
+ markdown: "markdown";
1373
+ pdf: "pdf";
1374
+ epub: "epub";
1375
+ rtf: "rtf";
1376
+ wpd: "wpd";
1377
+ }>;
1378
+ xml: z.ZodString;
1379
+ }, z.core.$strict>>;
1380
+ }, z.core.$strict>, z.ZodObject<{
1381
+ kind: z.ZodLiteral<"division">;
1382
+ name: z.ZodOptional<z.ZodString>;
1383
+ columnCount: z.ZodOptional<z.ZodNumber>;
1384
+ protected: z.ZodOptional<z.ZodBoolean>;
1385
+ linked: z.ZodOptional<z.ZodObject<{
1386
+ href: z.ZodString;
1387
+ sectionName: z.ZodOptional<z.ZodString>;
1388
+ }, z.core.$strict>>;
1389
+ source: z.ZodOptional<z.ZodObject<{
1390
+ format: z.ZodEnum<{
1391
+ docx: "docx";
1392
+ pptx: "pptx";
1393
+ xlsx: "xlsx";
1394
+ odt: "odt";
1395
+ ods: "ods";
1396
+ odp: "odp";
1397
+ odg: "odg";
1398
+ odm: "odm";
1399
+ odb: "odb";
1400
+ odf: "odf";
1401
+ markdown: "markdown";
1402
+ pdf: "pdf";
1403
+ epub: "epub";
1404
+ rtf: "rtf";
1405
+ wpd: "wpd";
1406
+ }>;
1407
+ xml: z.ZodString;
1408
+ }, z.core.$strict>>;
1409
+ }, z.core.$strict>], "kind">;
1410
+ startRun: z.ZodNumber;
1411
+ endRun: z.ZodNumber;
1412
+ }, z.core.$strip>>>;
1413
+ styleId: z.ZodOptional<z.ZodString>;
1414
+ codeLanguage: z.ZodOptional<z.ZodString>;
1415
+ preformatted: z.ZodOptional<z.ZodBoolean>;
1416
+ alignment: z.ZodOptional<z.ZodEnum<{
1417
+ left: "left";
1418
+ center: "center";
1419
+ right: "right";
1420
+ justify: "justify";
1421
+ }>>;
1422
+ list: z.ZodOptional<z.ZodObject<{
1423
+ numId: z.ZodOptional<z.ZodString>;
1424
+ level: z.ZodNumber;
1425
+ checked: z.ZodOptional<z.ZodBoolean>;
1426
+ itemId: z.ZodOptional<z.ZodString>;
1427
+ format: z.ZodOptional<z.ZodEnum<{
1428
+ bullet: "bullet";
1429
+ decimal: "decimal";
1430
+ lowerLetter: "lowerLetter";
1431
+ upperLetter: "upperLetter";
1432
+ lowerRoman: "lowerRoman";
1433
+ upperRoman: "upperRoman";
1434
+ }>>;
1435
+ }, z.core.$strip>>;
1436
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
1437
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
1438
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
1439
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
1440
+ indentRightPt: z.ZodOptional<z.ZodNumber>;
1441
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
1442
+ direction: z.ZodOptional<z.ZodEnum<{
1443
+ ltr: "ltr";
1444
+ rtl: "rtl";
1445
+ }>>;
1446
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
1447
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
1448
+ borders: z.ZodOptional<z.ZodObject<{
1449
+ left: z.ZodOptional<z.ZodObject<{
1450
+ color: z.ZodObject<{
1451
+ r: z.ZodNumber;
1452
+ g: z.ZodNumber;
1453
+ b: z.ZodNumber;
1454
+ }, z.core.$strip>;
1455
+ widthPt: z.ZodNumber;
1456
+ style: z.ZodOptional<z.ZodEnum<{
1457
+ solid: "solid";
1458
+ dashed: "dashed";
1459
+ dotted: "dotted";
1460
+ double: "double";
1461
+ }>>;
1462
+ }, z.core.$strip>>;
1463
+ right: z.ZodOptional<z.ZodObject<{
1464
+ color: z.ZodObject<{
1465
+ r: z.ZodNumber;
1466
+ g: z.ZodNumber;
1467
+ b: z.ZodNumber;
1468
+ }, z.core.$strip>;
1469
+ widthPt: z.ZodNumber;
1470
+ style: z.ZodOptional<z.ZodEnum<{
1471
+ solid: "solid";
1472
+ dashed: "dashed";
1473
+ dotted: "dotted";
1474
+ double: "double";
1475
+ }>>;
1476
+ }, z.core.$strip>>;
1477
+ top: z.ZodOptional<z.ZodObject<{
1478
+ color: z.ZodObject<{
1479
+ r: z.ZodNumber;
1480
+ g: z.ZodNumber;
1481
+ b: z.ZodNumber;
1482
+ }, z.core.$strip>;
1483
+ widthPt: z.ZodNumber;
1484
+ style: z.ZodOptional<z.ZodEnum<{
1485
+ solid: "solid";
1486
+ dashed: "dashed";
1487
+ dotted: "dotted";
1488
+ double: "double";
1489
+ }>>;
1490
+ }, z.core.$strip>>;
1491
+ bottom: z.ZodOptional<z.ZodObject<{
1492
+ color: z.ZodObject<{
1493
+ r: z.ZodNumber;
1494
+ g: z.ZodNumber;
1495
+ b: z.ZodNumber;
1496
+ }, z.core.$strip>;
1497
+ widthPt: z.ZodNumber;
1498
+ style: z.ZodOptional<z.ZodEnum<{
1499
+ solid: "solid";
1500
+ dashed: "dashed";
1501
+ dotted: "dotted";
1502
+ double: "double";
1503
+ }>>;
1504
+ }, z.core.$strip>>;
1505
+ }, z.core.$strip>>;
1506
+ sourcePath: z.ZodOptional<z.ZodString>;
1507
+ source: z.ZodOptional<z.ZodObject<{
1508
+ format: z.ZodEnum<{
1509
+ docx: "docx";
1510
+ pptx: "pptx";
1511
+ xlsx: "xlsx";
1512
+ odt: "odt";
1513
+ ods: "ods";
1514
+ odp: "odp";
1515
+ odg: "odg";
1516
+ odm: "odm";
1517
+ odb: "odb";
1518
+ odf: "odf";
1519
+ markdown: "markdown";
1520
+ pdf: "pdf";
1521
+ epub: "epub";
1522
+ rtf: "rtf";
1523
+ wpd: "wpd";
1524
+ }>;
1525
+ xml: z.ZodString;
1526
+ }, z.core.$strict>>;
1527
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1528
+ pageIndex: z.ZodNumber;
1529
+ xPt: z.ZodNumber;
1530
+ yPt: z.ZodNumber;
1531
+ widthPt: z.ZodNumber;
1532
+ heightPt: z.ZodNumber;
1533
+ }, z.core.$strip>>>;
1534
+ headingLevel: z.ZodNumber;
1535
+ }, z.core.$strip>;
1536
+ type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
1537
+ declare const ListParagraphSchema: z.ZodObject<{
1538
+ kind: z.ZodLiteral<"paragraph">;
1539
+ runs: z.ZodArray<z.ZodObject<{
1540
+ text: z.ZodString;
1541
+ bold: z.ZodOptional<z.ZodBoolean>;
1542
+ italic: z.ZodOptional<z.ZodBoolean>;
1543
+ underline: z.ZodOptional<z.ZodBoolean>;
1544
+ strike: z.ZodOptional<z.ZodBoolean>;
1545
+ fontFamily: z.ZodOptional<z.ZodString>;
1546
+ sizePt: z.ZodOptional<z.ZodNumber>;
1547
+ color: z.ZodOptional<z.ZodObject<{
1548
+ r: z.ZodNumber;
1549
+ g: z.ZodNumber;
1550
+ b: z.ZodNumber;
1551
+ }, z.core.$strip>>;
1552
+ hyperlink: z.ZodOptional<z.ZodString>;
1553
+ verticalAlign: z.ZodOptional<z.ZodEnum<{
1554
+ superscript: "superscript";
1555
+ subscript: "subscript";
1556
+ }>>;
1557
+ direction: z.ZodOptional<z.ZodEnum<{
1558
+ ltr: "ltr";
1559
+ rtl: "rtl";
1560
+ }>>;
1561
+ sourcePath: z.ZodOptional<z.ZodString>;
1562
+ source: z.ZodOptional<z.ZodObject<{
1563
+ format: z.ZodEnum<{
1564
+ docx: "docx";
1565
+ pptx: "pptx";
1566
+ xlsx: "xlsx";
1567
+ odt: "odt";
1568
+ ods: "ods";
1569
+ odp: "odp";
1570
+ odg: "odg";
1571
+ odm: "odm";
1572
+ odb: "odb";
1573
+ odf: "odf";
1574
+ markdown: "markdown";
1575
+ pdf: "pdf";
1576
+ epub: "epub";
1577
+ rtf: "rtf";
1578
+ wpd: "wpd";
1579
+ }>;
1580
+ xml: z.ZodString;
1581
+ }, z.core.$strict>>;
1582
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1583
+ pageIndex: z.ZodNumber;
1584
+ xPt: z.ZodNumber;
1585
+ yPt: z.ZodNumber;
1586
+ widthPt: z.ZodNumber;
1587
+ heightPt: z.ZodNumber;
1588
+ }, z.core.$strip>>>;
1589
+ }, z.core.$strip>>;
1590
+ constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1591
+ descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1592
+ kind: z.ZodLiteral<"contentControl">;
1593
+ controlType: z.ZodEnum<{
1594
+ date: "date";
1595
+ richText: "richText";
1596
+ plainText: "plainText";
1597
+ checkbox: "checkbox";
1598
+ dropDown: "dropDown";
1599
+ comboBox: "comboBox";
1600
+ picture: "picture";
1601
+ repeatingSection: "repeatingSection";
1602
+ button: "button";
1603
+ index: "index";
1604
+ group: "group";
1605
+ }>;
1606
+ tag: z.ZodOptional<z.ZodString>;
1607
+ alias: z.ZodOptional<z.ZodString>;
1608
+ lock: z.ZodOptional<z.ZodEnum<{
1609
+ content: "content";
1610
+ container: "container";
1611
+ both: "both";
1612
+ }>>;
1613
+ value: z.ZodOptional<z.ZodString>;
1614
+ checked: z.ZodOptional<z.ZodBoolean>;
1615
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1616
+ source: z.ZodOptional<z.ZodObject<{
1617
+ format: z.ZodEnum<{
1618
+ docx: "docx";
1619
+ pptx: "pptx";
1620
+ xlsx: "xlsx";
1621
+ odt: "odt";
1622
+ ods: "ods";
1623
+ odp: "odp";
1624
+ odg: "odg";
1625
+ odm: "odm";
1626
+ odb: "odb";
1627
+ odf: "odf";
1628
+ markdown: "markdown";
1629
+ pdf: "pdf";
1630
+ epub: "epub";
1631
+ rtf: "rtf";
1632
+ wpd: "wpd";
1633
+ }>;
1634
+ xml: z.ZodString;
1635
+ }, z.core.$strict>>;
1636
+ }, z.core.$strict>, z.ZodObject<{
1637
+ kind: z.ZodLiteral<"field">;
1638
+ instruction: z.ZodString;
1639
+ cachedResult: z.ZodOptional<z.ZodString>;
1640
+ source: z.ZodOptional<z.ZodObject<{
1641
+ format: z.ZodEnum<{
1642
+ docx: "docx";
1643
+ pptx: "pptx";
1644
+ xlsx: "xlsx";
1645
+ odt: "odt";
1646
+ ods: "ods";
1647
+ odp: "odp";
1648
+ odg: "odg";
1649
+ odm: "odm";
1650
+ odb: "odb";
1651
+ odf: "odf";
1652
+ markdown: "markdown";
1653
+ pdf: "pdf";
1654
+ epub: "epub";
1655
+ rtf: "rtf";
1656
+ wpd: "wpd";
1657
+ }>;
1658
+ xml: z.ZodString;
1659
+ }, z.core.$strict>>;
1660
+ }, z.core.$strict>, z.ZodObject<{
1661
+ kind: z.ZodLiteral<"anchor">;
1662
+ anchorType: z.ZodEnum<{
1663
+ bookmark: "bookmark";
1664
+ footnote: "footnote";
1665
+ endnote: "endnote";
1666
+ comment: "comment";
1667
+ }>;
1668
+ name: z.ZodString;
1669
+ definition: z.ZodOptional<z.ZodString>;
1670
+ source: z.ZodOptional<z.ZodObject<{
1671
+ format: z.ZodEnum<{
1672
+ docx: "docx";
1673
+ pptx: "pptx";
1674
+ xlsx: "xlsx";
1675
+ odt: "odt";
1676
+ ods: "ods";
1677
+ odp: "odp";
1678
+ odg: "odg";
1679
+ odm: "odm";
1680
+ odb: "odb";
1681
+ odf: "odf";
1682
+ markdown: "markdown";
1683
+ pdf: "pdf";
1684
+ epub: "epub";
1685
+ rtf: "rtf";
1686
+ wpd: "wpd";
1687
+ }>;
1688
+ xml: z.ZodString;
1689
+ }, z.core.$strict>>;
1690
+ }, z.core.$strict>, z.ZodObject<{
1691
+ kind: z.ZodLiteral<"link">;
1692
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1693
+ kind: z.ZodLiteral<"external">;
1694
+ uri: z.ZodString;
1695
+ }, z.core.$strict>, z.ZodObject<{
1696
+ kind: z.ZodLiteral<"internal">;
1697
+ anchor: z.ZodString;
1698
+ }, z.core.$strict>], "kind">;
1699
+ title: z.ZodOptional<z.ZodString>;
1700
+ source: z.ZodOptional<z.ZodObject<{
1701
+ format: z.ZodEnum<{
1702
+ docx: "docx";
1703
+ pptx: "pptx";
1704
+ xlsx: "xlsx";
1705
+ odt: "odt";
1706
+ ods: "ods";
1707
+ odp: "odp";
1708
+ odg: "odg";
1709
+ odm: "odm";
1710
+ odb: "odb";
1711
+ odf: "odf";
1712
+ markdown: "markdown";
1713
+ pdf: "pdf";
1714
+ epub: "epub";
1715
+ rtf: "rtf";
1716
+ wpd: "wpd";
1717
+ }>;
1718
+ xml: z.ZodString;
1719
+ }, z.core.$strict>>;
1720
+ }, z.core.$strict>, z.ZodObject<{
1721
+ kind: z.ZodLiteral<"provenance">;
1722
+ change: z.ZodEnum<{
1723
+ insertion: "insertion";
1724
+ deletion: "deletion";
1725
+ moveFrom: "moveFrom";
1726
+ moveTo: "moveTo";
1727
+ formatChange: "formatChange";
1728
+ }>;
1729
+ author: z.ZodOptional<z.ZodString>;
1730
+ dateIso: z.ZodOptional<z.ZodString>;
1731
+ source: z.ZodOptional<z.ZodObject<{
1732
+ format: z.ZodEnum<{
1733
+ docx: "docx";
1734
+ pptx: "pptx";
1735
+ xlsx: "xlsx";
1736
+ odt: "odt";
1737
+ ods: "ods";
1738
+ odp: "odp";
1739
+ odg: "odg";
1740
+ odm: "odm";
1741
+ odb: "odb";
1742
+ odf: "odf";
1743
+ markdown: "markdown";
1744
+ pdf: "pdf";
1745
+ epub: "epub";
1746
+ rtf: "rtf";
1747
+ wpd: "wpd";
1748
+ }>;
1749
+ xml: z.ZodString;
1750
+ }, z.core.$strict>>;
1751
+ }, z.core.$strict>, z.ZodObject<{
1752
+ kind: z.ZodLiteral<"division">;
1753
+ name: z.ZodOptional<z.ZodString>;
1754
+ columnCount: z.ZodOptional<z.ZodNumber>;
1755
+ protected: z.ZodOptional<z.ZodBoolean>;
1756
+ linked: z.ZodOptional<z.ZodObject<{
1757
+ href: z.ZodString;
1758
+ sectionName: z.ZodOptional<z.ZodString>;
1759
+ }, z.core.$strict>>;
1760
+ source: z.ZodOptional<z.ZodObject<{
1761
+ format: z.ZodEnum<{
1762
+ docx: "docx";
1763
+ pptx: "pptx";
1764
+ xlsx: "xlsx";
1765
+ odt: "odt";
1766
+ ods: "ods";
1767
+ odp: "odp";
1768
+ odg: "odg";
1769
+ odm: "odm";
1770
+ odb: "odb";
1771
+ odf: "odf";
1772
+ markdown: "markdown";
1773
+ pdf: "pdf";
1774
+ epub: "epub";
1775
+ rtf: "rtf";
1776
+ wpd: "wpd";
1777
+ }>;
1778
+ xml: z.ZodString;
1779
+ }, z.core.$strict>>;
1780
+ }, z.core.$strict>], "kind">;
1781
+ startRun: z.ZodNumber;
1782
+ endRun: z.ZodNumber;
1783
+ }, z.core.$strip>>>;
1784
+ styleId: z.ZodOptional<z.ZodString>;
1785
+ codeLanguage: z.ZodOptional<z.ZodString>;
1786
+ preformatted: z.ZodOptional<z.ZodBoolean>;
1787
+ headingLevel: z.ZodOptional<z.ZodNumber>;
1788
+ alignment: z.ZodOptional<z.ZodEnum<{
1789
+ left: "left";
1790
+ center: "center";
1791
+ right: "right";
1792
+ justify: "justify";
1793
+ }>>;
1794
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
1795
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
1796
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
1797
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
1798
+ indentRightPt: z.ZodOptional<z.ZodNumber>;
1799
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
1800
+ direction: z.ZodOptional<z.ZodEnum<{
1801
+ ltr: "ltr";
1802
+ rtl: "rtl";
1803
+ }>>;
1804
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
1805
+ pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
1806
+ borders: z.ZodOptional<z.ZodObject<{
1807
+ left: z.ZodOptional<z.ZodObject<{
1808
+ color: z.ZodObject<{
1809
+ r: z.ZodNumber;
1810
+ g: z.ZodNumber;
1811
+ b: z.ZodNumber;
1812
+ }, z.core.$strip>;
1813
+ widthPt: z.ZodNumber;
1814
+ style: z.ZodOptional<z.ZodEnum<{
1815
+ solid: "solid";
1816
+ dashed: "dashed";
1817
+ dotted: "dotted";
1818
+ double: "double";
1819
+ }>>;
1820
+ }, z.core.$strip>>;
1821
+ right: z.ZodOptional<z.ZodObject<{
1822
+ color: z.ZodObject<{
1823
+ r: z.ZodNumber;
1824
+ g: z.ZodNumber;
1825
+ b: z.ZodNumber;
1826
+ }, z.core.$strip>;
1827
+ widthPt: z.ZodNumber;
1828
+ style: z.ZodOptional<z.ZodEnum<{
1829
+ solid: "solid";
1830
+ dashed: "dashed";
1831
+ dotted: "dotted";
1832
+ double: "double";
1833
+ }>>;
1834
+ }, z.core.$strip>>;
1835
+ top: z.ZodOptional<z.ZodObject<{
1836
+ color: z.ZodObject<{
1837
+ r: z.ZodNumber;
1838
+ g: z.ZodNumber;
1839
+ b: z.ZodNumber;
1840
+ }, z.core.$strip>;
1841
+ widthPt: z.ZodNumber;
1842
+ style: z.ZodOptional<z.ZodEnum<{
1843
+ solid: "solid";
1844
+ dashed: "dashed";
1845
+ dotted: "dotted";
1846
+ double: "double";
1847
+ }>>;
1848
+ }, z.core.$strip>>;
1849
+ bottom: z.ZodOptional<z.ZodObject<{
1850
+ color: z.ZodObject<{
1851
+ r: z.ZodNumber;
1852
+ g: z.ZodNumber;
1853
+ b: z.ZodNumber;
1854
+ }, z.core.$strip>;
1855
+ widthPt: z.ZodNumber;
1856
+ style: z.ZodOptional<z.ZodEnum<{
1857
+ solid: "solid";
1858
+ dashed: "dashed";
1859
+ dotted: "dotted";
1860
+ double: "double";
1861
+ }>>;
1862
+ }, z.core.$strip>>;
1863
+ }, z.core.$strip>>;
1864
+ sourcePath: z.ZodOptional<z.ZodString>;
1865
+ source: z.ZodOptional<z.ZodObject<{
1866
+ format: z.ZodEnum<{
1867
+ docx: "docx";
1868
+ pptx: "pptx";
1869
+ xlsx: "xlsx";
1870
+ odt: "odt";
1871
+ ods: "ods";
1872
+ odp: "odp";
1873
+ odg: "odg";
1874
+ odm: "odm";
1875
+ odb: "odb";
1876
+ odf: "odf";
1877
+ markdown: "markdown";
1878
+ pdf: "pdf";
1879
+ epub: "epub";
1880
+ rtf: "rtf";
1881
+ wpd: "wpd";
1882
+ }>;
1883
+ xml: z.ZodString;
1884
+ }, z.core.$strict>>;
1885
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1886
+ pageIndex: z.ZodNumber;
1887
+ xPt: z.ZodNumber;
1888
+ yPt: z.ZodNumber;
1889
+ widthPt: z.ZodNumber;
1890
+ heightPt: z.ZodNumber;
1891
+ }, z.core.$strip>>>;
1892
+ list: z.ZodObject<{
1893
+ numId: z.ZodOptional<z.ZodString>;
1894
+ level: z.ZodNumber;
1895
+ checked: z.ZodOptional<z.ZodBoolean>;
1896
+ itemId: z.ZodOptional<z.ZodString>;
1897
+ format: z.ZodOptional<z.ZodEnum<{
1898
+ bullet: "bullet";
1899
+ decimal: "decimal";
1900
+ lowerLetter: "lowerLetter";
1901
+ upperLetter: "upperLetter";
1902
+ lowerRoman: "lowerRoman";
1903
+ upperRoman: "upperRoman";
1904
+ }>>;
1905
+ }, z.core.$strip>;
1906
+ }, z.core.$strip>;
1907
+ type ListParagraph = z.infer<typeof ListParagraphSchema>;
1908
+ type TreeBlockLeaf = Exclude<ContentBlock, ContentConstructStart | ContentConstructEnd>;
1909
+ type TreeLeaf = TreeBlockLeaf | ContentSheetImage | ContentEmbeddedObject | ContentVector | ContentFormula;
1910
+ type SectionChild = HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | TreeBlockLeaf;
1911
+ type ShapeChild = ListGroupNode | ShapeConstructGroupNode | TreeBlockLeaf;
1912
+ type ListChild = ListGroupNode | ShapeConstructGroupNode | TreeBlockLeaf;
1913
+ type SheetChild = ContentSheetImage | ContentEmbeddedObject;
1914
+ type DrawPageChild = ShapeGroupNode | ContentVector;
1915
+ interface SectionGroupNode {
1916
+ readonly node: SectionDescriptor;
1917
+ style?: string;
1918
+ children: SectionChild[];
1919
+ }
1920
+ interface SlideGroupNode {
1921
+ readonly node: SlideDescriptor;
1922
+ style?: string;
1923
+ children: ShapeGroupNode[];
1924
+ }
1925
+ interface SheetGroupNode {
1926
+ readonly node: SheetDescriptor;
1927
+ style?: string;
1928
+ children: SheetChild[];
1929
+ }
1930
+ interface DrawPageGroupNode {
1931
+ readonly node: DrawPageDescriptor;
1932
+ style?: string;
1933
+ children: DrawPageChild[];
1934
+ }
1935
+ interface ShapeGroupNode {
1936
+ readonly node: ShapeDescriptor;
1937
+ style?: string;
1938
+ children: ShapeChild[];
1939
+ }
1940
+ interface HeadingGroupNode {
1941
+ readonly node: HeadingParagraph;
1942
+ style?: string;
1943
+ children: SectionChild[];
1944
+ }
1945
+ interface ListGroupNode {
1946
+ readonly node: ListParagraph;
1947
+ style?: string;
1948
+ children: ListChild[];
1949
+ }
1950
+ interface SectionConstructGroupNode {
1951
+ readonly node: ConstructDescriptor;
1952
+ style?: string;
1953
+ children: SectionChild[];
1954
+ }
1955
+ interface ShapeConstructGroupNode {
1956
+ readonly node: ConstructDescriptor;
1957
+ style?: string;
1958
+ children: ShapeChild[];
1959
+ }
1960
+ type TreeGroup = SectionGroupNode | SlideGroupNode | SheetGroupNode | DrawPageGroupNode | ShapeGroupNode | HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ShapeConstructGroupNode;
1961
+ type TreeNode = TreeGroup | TreeLeaf;
1962
+ declare function isTreeBlockLeaf(value: unknown): value is TreeBlockLeaf;
1963
+ declare const TreeBlockLeafSchema: z.ZodCustom<TreeBlockLeaf, TreeBlockLeaf>;
1964
+ declare function isSectionGroupNode(value: unknown): value is SectionGroupNode;
1965
+ declare function isSlideGroupNode(value: unknown): value is SlideGroupNode;
1966
+ declare function isSheetGroupNode(value: unknown): value is SheetGroupNode;
1967
+ declare function isDrawPageGroupNode(value: unknown): value is DrawPageGroupNode;
1968
+ declare function isShapeGroupNode(value: unknown): value is ShapeGroupNode;
1969
+ declare function isHeadingGroupNode(value: unknown): value is HeadingGroupNode;
1970
+ declare function isListGroupNode(value: unknown): value is ListGroupNode;
1971
+ declare function isSectionConstructGroupNode(value: unknown): value is SectionConstructGroupNode;
1972
+ declare function isShapeConstructGroupNode(value: unknown): value is ShapeConstructGroupNode;
1973
+ declare function isTreeLeaf(value: unknown): value is TreeLeaf;
1974
+ declare function isTreeGroup(value: unknown): value is TreeGroup;
1975
+ declare function isTreeNode(value: unknown): value is TreeNode;
1976
+ declare const SectionGroupSchema: z.ZodCustom<SectionGroupNode, SectionGroupNode>;
1977
+ declare const SlideGroupSchema: z.ZodCustom<SlideGroupNode, SlideGroupNode>;
1978
+ declare const SheetGroupSchema: z.ZodCustom<SheetGroupNode, SheetGroupNode>;
1979
+ declare const DrawPageGroupSchema: z.ZodCustom<DrawPageGroupNode, DrawPageGroupNode>;
1980
+ declare const ShapeGroupSchema: z.ZodCustom<ShapeGroupNode, ShapeGroupNode>;
1981
+ declare const HeadingGroupSchema: z.ZodCustom<HeadingGroupNode, HeadingGroupNode>;
1982
+ declare const ListGroupSchema: z.ZodCustom<ListGroupNode, ListGroupNode>;
1983
+ declare const SectionConstructGroupSchema: z.ZodCustom<SectionConstructGroupNode, SectionConstructGroupNode>;
1984
+ declare const ShapeConstructGroupSchema: z.ZodCustom<ShapeConstructGroupNode, ShapeConstructGroupNode>;
1985
+ declare const TreeGroupSchema: z.ZodCustom<TreeGroup, TreeGroup>;
1986
+ declare const TreeLeafSchema: z.ZodCustom<TreeLeaf, TreeLeaf>;
1987
+ declare const TreeNodeSchema: z.ZodCustom<TreeNode, TreeNode>;
1988
+ //#endregion
1989
+ export { isSheetGroupNode as $, SheetDescriptor as A, TreeGroup as B, ShapeConstructGroupNode as C, ShapeGroupNode as D, ShapeDescriptorSchema as E, SlideDescriptorSchema as F, TreeNodeSchema as G, TreeLeaf as H, SlideGroupNode as I, isListGroupNode as J, isDrawPageGroupNode as K, SlideGroupSchema as L, SheetGroupNode as M, SheetGroupSchema as N, ShapeGroupSchema as O, SlideDescriptor as P, isShapeGroupNode as Q, TreeBlockLeaf as R, ShapeChild as S, ShapeDescriptor as T, TreeLeafSchema as U, TreeGroupSchema as V, TreeNode as W, isSectionGroupNode as X, isSectionConstructGroupNode as Y, isShapeConstructGroupNode as Z, SectionConstructGroupSchema as _, DrawPageGroupSchema as a, SectionGroupNode as b, HeadingParagraph as c, ListGroupNode as d, isSlideGroupNode as et, ListGroupSchema as f, SectionConstructGroupNode as g, SectionChild as h, DrawPageGroupNode as i, isTreeNode as it, SheetDescriptorSchema as j, SheetChild as k, HeadingParagraphSchema as l, ListParagraphSchema as m, DrawPageDescriptor as n, isTreeGroup as nt, HeadingGroupNode as o, ListParagraph as p, isHeadingGroupNode as q, DrawPageDescriptorSchema as r, isTreeLeaf as rt, HeadingGroupSchema as s, DrawPageChild as t, isTreeBlockLeaf as tt, ListChild as u, SectionDescriptor as v, ShapeConstructGroupSchema as w, SectionGroupSchema as x, SectionDescriptorSchema as y, TreeBlockLeafSchema as z };