document-model.js 3.2.0 → 4.0.0

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