document-model.js 1.10.1 → 2.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.
@@ -1,4 +1,5 @@
1
1
  import { n as Color } from "./color-AELCDH_b.cjs";
2
+ import { d as MathMlNode } from "./mathml-B1oTCtzc.cjs";
2
3
  import { t as Box } from "./geometry-CokwQGtJ.cjs";
3
4
  import { z } from "zod";
4
5
  //#region src/content.d.ts
@@ -84,6 +85,8 @@ interface ContentTableCell {
84
85
  colSpan?: number;
85
86
  rowSpan?: number;
86
87
  background?: Color;
88
+ borders?: ContentCellBorders;
89
+ sourcePath?: string;
87
90
  }
88
91
  interface ContentTableRow {
89
92
  cells: ContentTableCell[];
@@ -110,6 +113,87 @@ declare function isContentBlock(value: unknown): value is ContentBlock;
110
113
  declare const ContentBlockSchema: z.ZodCustom<ContentBlock, ContentBlock>;
111
114
  declare const ContentEmbeddedObjectSchema: z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>;
112
115
  declare const ContentEmbeddedObjectBlockSchema: z.ZodCustom<ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlock>;
116
+ declare const ContentStrokeStyleSchema: z.ZodEnum<{
117
+ solid: "solid";
118
+ dashed: "dashed";
119
+ dotted: "dotted";
120
+ double: "double";
121
+ }>;
122
+ type ContentStrokeStyle = z.infer<typeof ContentStrokeStyleSchema>;
123
+ declare const ContentBorderSchema: z.ZodObject<{
124
+ color: z.ZodObject<{
125
+ r: z.ZodNumber;
126
+ g: z.ZodNumber;
127
+ b: z.ZodNumber;
128
+ }, z.core.$strip>;
129
+ widthPt: z.ZodNumber;
130
+ style: z.ZodOptional<z.ZodEnum<{
131
+ solid: "solid";
132
+ dashed: "dashed";
133
+ dotted: "dotted";
134
+ double: "double";
135
+ }>>;
136
+ }, z.core.$strip>;
137
+ type ContentBorder = z.infer<typeof ContentBorderSchema>;
138
+ declare const ContentCellBordersSchema: z.ZodObject<{
139
+ left: z.ZodOptional<z.ZodObject<{
140
+ color: z.ZodObject<{
141
+ r: z.ZodNumber;
142
+ g: z.ZodNumber;
143
+ b: z.ZodNumber;
144
+ }, z.core.$strip>;
145
+ widthPt: z.ZodNumber;
146
+ style: z.ZodOptional<z.ZodEnum<{
147
+ solid: "solid";
148
+ dashed: "dashed";
149
+ dotted: "dotted";
150
+ double: "double";
151
+ }>>;
152
+ }, z.core.$strip>>;
153
+ right: z.ZodOptional<z.ZodObject<{
154
+ color: z.ZodObject<{
155
+ r: z.ZodNumber;
156
+ g: z.ZodNumber;
157
+ b: z.ZodNumber;
158
+ }, z.core.$strip>;
159
+ widthPt: z.ZodNumber;
160
+ style: z.ZodOptional<z.ZodEnum<{
161
+ solid: "solid";
162
+ dashed: "dashed";
163
+ dotted: "dotted";
164
+ double: "double";
165
+ }>>;
166
+ }, z.core.$strip>>;
167
+ top: z.ZodOptional<z.ZodObject<{
168
+ color: z.ZodObject<{
169
+ r: z.ZodNumber;
170
+ g: z.ZodNumber;
171
+ b: z.ZodNumber;
172
+ }, z.core.$strip>;
173
+ widthPt: z.ZodNumber;
174
+ style: z.ZodOptional<z.ZodEnum<{
175
+ solid: "solid";
176
+ dashed: "dashed";
177
+ dotted: "dotted";
178
+ double: "double";
179
+ }>>;
180
+ }, z.core.$strip>>;
181
+ bottom: z.ZodOptional<z.ZodObject<{
182
+ color: z.ZodObject<{
183
+ r: z.ZodNumber;
184
+ g: z.ZodNumber;
185
+ b: z.ZodNumber;
186
+ }, z.core.$strip>;
187
+ widthPt: z.ZodNumber;
188
+ style: z.ZodOptional<z.ZodEnum<{
189
+ solid: "solid";
190
+ dashed: "dashed";
191
+ dotted: "dotted";
192
+ double: "double";
193
+ }>>;
194
+ }, z.core.$strip>>;
195
+ }, z.core.$strip>;
196
+ type ContentCellBorders = z.infer<typeof ContentCellBordersSchema>;
113
197
  declare const ContentTableCellSchema: z.ZodObject<{
114
198
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
115
199
  colSpan: z.ZodOptional<z.ZodNumber>;
@@ -119,6 +203,65 @@ declare const ContentTableCellSchema: z.ZodObject<{
119
203
  g: z.ZodNumber;
120
204
  b: z.ZodNumber;
121
205
  }, z.core.$strip>>;
206
+ borders: z.ZodOptional<z.ZodObject<{
207
+ left: z.ZodOptional<z.ZodObject<{
208
+ color: z.ZodObject<{
209
+ r: z.ZodNumber;
210
+ g: z.ZodNumber;
211
+ b: z.ZodNumber;
212
+ }, z.core.$strip>;
213
+ widthPt: z.ZodNumber;
214
+ style: z.ZodOptional<z.ZodEnum<{
215
+ solid: "solid";
216
+ dashed: "dashed";
217
+ dotted: "dotted";
218
+ double: "double";
219
+ }>>;
220
+ }, z.core.$strip>>;
221
+ right: z.ZodOptional<z.ZodObject<{
222
+ color: z.ZodObject<{
223
+ r: z.ZodNumber;
224
+ g: z.ZodNumber;
225
+ b: z.ZodNumber;
226
+ }, z.core.$strip>;
227
+ widthPt: z.ZodNumber;
228
+ style: z.ZodOptional<z.ZodEnum<{
229
+ solid: "solid";
230
+ dashed: "dashed";
231
+ dotted: "dotted";
232
+ double: "double";
233
+ }>>;
234
+ }, z.core.$strip>>;
235
+ top: z.ZodOptional<z.ZodObject<{
236
+ color: z.ZodObject<{
237
+ r: z.ZodNumber;
238
+ g: z.ZodNumber;
239
+ b: z.ZodNumber;
240
+ }, z.core.$strip>;
241
+ widthPt: z.ZodNumber;
242
+ style: z.ZodOptional<z.ZodEnum<{
243
+ solid: "solid";
244
+ dashed: "dashed";
245
+ dotted: "dotted";
246
+ double: "double";
247
+ }>>;
248
+ }, z.core.$strip>>;
249
+ bottom: z.ZodOptional<z.ZodObject<{
250
+ color: z.ZodObject<{
251
+ r: z.ZodNumber;
252
+ g: z.ZodNumber;
253
+ b: z.ZodNumber;
254
+ }, z.core.$strip>;
255
+ widthPt: z.ZodNumber;
256
+ style: z.ZodOptional<z.ZodEnum<{
257
+ solid: "solid";
258
+ dashed: "dashed";
259
+ dotted: "dotted";
260
+ double: "double";
261
+ }>>;
262
+ }, z.core.$strip>>;
263
+ }, z.core.$strip>>;
264
+ sourcePath: z.ZodOptional<z.ZodString>;
122
265
  }, z.core.$strip>;
123
266
  declare const ContentTableRowSchema: z.ZodObject<{
124
267
  cells: z.ZodArray<z.ZodObject<{
@@ -130,6 +273,65 @@ declare const ContentTableRowSchema: z.ZodObject<{
130
273
  g: z.ZodNumber;
131
274
  b: z.ZodNumber;
132
275
  }, z.core.$strip>>;
276
+ borders: z.ZodOptional<z.ZodObject<{
277
+ left: z.ZodOptional<z.ZodObject<{
278
+ color: z.ZodObject<{
279
+ r: z.ZodNumber;
280
+ g: z.ZodNumber;
281
+ b: z.ZodNumber;
282
+ }, z.core.$strip>;
283
+ widthPt: z.ZodNumber;
284
+ style: z.ZodOptional<z.ZodEnum<{
285
+ solid: "solid";
286
+ dashed: "dashed";
287
+ dotted: "dotted";
288
+ double: "double";
289
+ }>>;
290
+ }, z.core.$strip>>;
291
+ right: z.ZodOptional<z.ZodObject<{
292
+ color: z.ZodObject<{
293
+ r: z.ZodNumber;
294
+ g: z.ZodNumber;
295
+ b: z.ZodNumber;
296
+ }, z.core.$strip>;
297
+ widthPt: z.ZodNumber;
298
+ style: z.ZodOptional<z.ZodEnum<{
299
+ solid: "solid";
300
+ dashed: "dashed";
301
+ dotted: "dotted";
302
+ double: "double";
303
+ }>>;
304
+ }, z.core.$strip>>;
305
+ top: z.ZodOptional<z.ZodObject<{
306
+ color: z.ZodObject<{
307
+ r: z.ZodNumber;
308
+ g: z.ZodNumber;
309
+ b: z.ZodNumber;
310
+ }, z.core.$strip>;
311
+ widthPt: z.ZodNumber;
312
+ style: z.ZodOptional<z.ZodEnum<{
313
+ solid: "solid";
314
+ dashed: "dashed";
315
+ dotted: "dotted";
316
+ double: "double";
317
+ }>>;
318
+ }, z.core.$strip>>;
319
+ bottom: z.ZodOptional<z.ZodObject<{
320
+ color: z.ZodObject<{
321
+ r: z.ZodNumber;
322
+ g: z.ZodNumber;
323
+ b: z.ZodNumber;
324
+ }, z.core.$strip>;
325
+ widthPt: z.ZodNumber;
326
+ style: z.ZodOptional<z.ZodEnum<{
327
+ solid: "solid";
328
+ dashed: "dashed";
329
+ dotted: "dotted";
330
+ double: "double";
331
+ }>>;
332
+ }, z.core.$strip>>;
333
+ }, z.core.$strip>>;
334
+ sourcePath: z.ZodOptional<z.ZodString>;
133
335
  }, z.core.$strip>>;
134
336
  heightPt: z.ZodOptional<z.ZodNumber>;
135
337
  }, z.core.$strip>;
@@ -145,6 +347,65 @@ declare const ContentTableSchema: z.ZodObject<{
145
347
  g: z.ZodNumber;
146
348
  b: z.ZodNumber;
147
349
  }, z.core.$strip>>;
350
+ borders: z.ZodOptional<z.ZodObject<{
351
+ left: z.ZodOptional<z.ZodObject<{
352
+ color: z.ZodObject<{
353
+ r: z.ZodNumber;
354
+ g: z.ZodNumber;
355
+ b: z.ZodNumber;
356
+ }, z.core.$strip>;
357
+ widthPt: z.ZodNumber;
358
+ style: z.ZodOptional<z.ZodEnum<{
359
+ solid: "solid";
360
+ dashed: "dashed";
361
+ dotted: "dotted";
362
+ double: "double";
363
+ }>>;
364
+ }, z.core.$strip>>;
365
+ right: z.ZodOptional<z.ZodObject<{
366
+ color: z.ZodObject<{
367
+ r: z.ZodNumber;
368
+ g: z.ZodNumber;
369
+ b: z.ZodNumber;
370
+ }, z.core.$strip>;
371
+ widthPt: z.ZodNumber;
372
+ style: z.ZodOptional<z.ZodEnum<{
373
+ solid: "solid";
374
+ dashed: "dashed";
375
+ dotted: "dotted";
376
+ double: "double";
377
+ }>>;
378
+ }, z.core.$strip>>;
379
+ top: z.ZodOptional<z.ZodObject<{
380
+ color: z.ZodObject<{
381
+ r: z.ZodNumber;
382
+ g: z.ZodNumber;
383
+ b: z.ZodNumber;
384
+ }, z.core.$strip>;
385
+ widthPt: z.ZodNumber;
386
+ style: z.ZodOptional<z.ZodEnum<{
387
+ solid: "solid";
388
+ dashed: "dashed";
389
+ dotted: "dotted";
390
+ double: "double";
391
+ }>>;
392
+ }, z.core.$strip>>;
393
+ bottom: z.ZodOptional<z.ZodObject<{
394
+ color: z.ZodObject<{
395
+ r: z.ZodNumber;
396
+ g: z.ZodNumber;
397
+ b: z.ZodNumber;
398
+ }, z.core.$strip>;
399
+ widthPt: z.ZodNumber;
400
+ style: z.ZodOptional<z.ZodEnum<{
401
+ solid: "solid";
402
+ dashed: "dashed";
403
+ dotted: "dotted";
404
+ double: "double";
405
+ }>>;
406
+ }, z.core.$strip>>;
407
+ }, z.core.$strip>>;
408
+ sourcePath: z.ZodOptional<z.ZodString>;
148
409
  }, z.core.$strip>>;
149
410
  heightPt: z.ZodOptional<z.ZodNumber>;
150
411
  }, z.core.$strip>>;
@@ -180,6 +441,7 @@ declare const ContentShapeSchema: z.ZodObject<{
180
441
  insetBottomPt: z.ZodNumber;
181
442
  fontScale: z.ZodOptional<z.ZodNumber>;
182
443
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
444
+ paintOrder: z.ZodOptional<z.ZodNumber>;
183
445
  sourcePath: z.ZodOptional<z.ZodString>;
184
446
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
185
447
  }, z.core.$strip>;
@@ -204,22 +466,28 @@ declare const ContentSlideSchema: z.ZodObject<{
204
466
  insetBottomPt: z.ZodNumber;
205
467
  fontScale: z.ZodOptional<z.ZodNumber>;
206
468
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
469
+ paintOrder: z.ZodOptional<z.ZodNumber>;
207
470
  sourcePath: z.ZodOptional<z.ZodString>;
208
471
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
209
472
  }, z.core.$strip>>;
210
473
  notes: z.ZodString;
211
474
  }, z.core.$strip>;
212
475
  type ContentSlide = z.infer<typeof ContentSlideSchema>;
476
+ declare const DecimalStringSchema: z.ZodString;
477
+ type DecimalString = z.infer<typeof DecimalStringSchema>;
213
478
  declare const ContentCellValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
214
479
  kind: z.ZodLiteral<"number">;
215
480
  value: z.ZodNumber;
481
+ exactValue: z.ZodOptional<z.ZodString>;
216
482
  }, z.core.$strip>, z.ZodObject<{
217
483
  kind: z.ZodLiteral<"percentage">;
218
484
  value: z.ZodNumber;
485
+ exactValue: z.ZodOptional<z.ZodString>;
219
486
  }, z.core.$strip>, z.ZodObject<{
220
487
  kind: z.ZodLiteral<"currency">;
221
488
  value: z.ZodNumber;
222
489
  currency: z.ZodOptional<z.ZodString>;
490
+ exactValue: z.ZodOptional<z.ZodString>;
223
491
  }, z.core.$strip>, z.ZodObject<{
224
492
  kind: z.ZodLiteral<"boolean">;
225
493
  value: z.ZodBoolean;
@@ -229,6 +497,9 @@ declare const ContentCellValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
229
497
  }, z.core.$strip>, z.ZodObject<{
230
498
  kind: z.ZodLiteral<"time">;
231
499
  value: z.ZodString;
500
+ }, z.core.$strip>, z.ZodObject<{
501
+ kind: z.ZodLiteral<"dateTime">;
502
+ value: z.ZodString;
232
503
  }, z.core.$strip>, z.ZodObject<{
233
504
  kind: z.ZodLiteral<"string">;
234
505
  value: z.ZodString;
@@ -245,13 +516,16 @@ declare const ContentSheetCellSchema: z.ZodObject<{
245
516
  value: z.ZodDiscriminatedUnion<[z.ZodObject<{
246
517
  kind: z.ZodLiteral<"number">;
247
518
  value: z.ZodNumber;
519
+ exactValue: z.ZodOptional<z.ZodString>;
248
520
  }, z.core.$strip>, z.ZodObject<{
249
521
  kind: z.ZodLiteral<"percentage">;
250
522
  value: z.ZodNumber;
523
+ exactValue: z.ZodOptional<z.ZodString>;
251
524
  }, z.core.$strip>, z.ZodObject<{
252
525
  kind: z.ZodLiteral<"currency">;
253
526
  value: z.ZodNumber;
254
527
  currency: z.ZodOptional<z.ZodString>;
528
+ exactValue: z.ZodOptional<z.ZodString>;
255
529
  }, z.core.$strip>, z.ZodObject<{
256
530
  kind: z.ZodLiteral<"boolean">;
257
531
  value: z.ZodBoolean;
@@ -261,6 +535,9 @@ declare const ContentSheetCellSchema: z.ZodObject<{
261
535
  }, z.core.$strip>, z.ZodObject<{
262
536
  kind: z.ZodLiteral<"time">;
263
537
  value: z.ZodString;
538
+ }, z.core.$strip>, z.ZodObject<{
539
+ kind: z.ZodLiteral<"dateTime">;
540
+ value: z.ZodString;
264
541
  }, z.core.$strip>, z.ZodObject<{
265
542
  kind: z.ZodLiteral<"string">;
266
543
  value: z.ZodString;
@@ -290,17 +567,92 @@ declare const ContentSheetCellSchema: z.ZodObject<{
290
567
  }, z.core.$strip>>>;
291
568
  colSpan: z.ZodOptional<z.ZodNumber>;
292
569
  rowSpan: z.ZodOptional<z.ZodNumber>;
570
+ background: z.ZodOptional<z.ZodObject<{
571
+ r: z.ZodNumber;
572
+ g: z.ZodNumber;
573
+ b: z.ZodNumber;
574
+ }, z.core.$strip>>;
575
+ borders: z.ZodOptional<z.ZodObject<{
576
+ left: z.ZodOptional<z.ZodObject<{
577
+ color: z.ZodObject<{
578
+ r: z.ZodNumber;
579
+ g: z.ZodNumber;
580
+ b: z.ZodNumber;
581
+ }, z.core.$strip>;
582
+ widthPt: z.ZodNumber;
583
+ style: z.ZodOptional<z.ZodEnum<{
584
+ solid: "solid";
585
+ dashed: "dashed";
586
+ dotted: "dotted";
587
+ double: "double";
588
+ }>>;
589
+ }, z.core.$strip>>;
590
+ right: z.ZodOptional<z.ZodObject<{
591
+ color: z.ZodObject<{
592
+ r: z.ZodNumber;
593
+ g: z.ZodNumber;
594
+ b: z.ZodNumber;
595
+ }, z.core.$strip>;
596
+ widthPt: z.ZodNumber;
597
+ style: z.ZodOptional<z.ZodEnum<{
598
+ solid: "solid";
599
+ dashed: "dashed";
600
+ dotted: "dotted";
601
+ double: "double";
602
+ }>>;
603
+ }, z.core.$strip>>;
604
+ top: z.ZodOptional<z.ZodObject<{
605
+ color: z.ZodObject<{
606
+ r: z.ZodNumber;
607
+ g: z.ZodNumber;
608
+ b: z.ZodNumber;
609
+ }, z.core.$strip>;
610
+ widthPt: z.ZodNumber;
611
+ style: z.ZodOptional<z.ZodEnum<{
612
+ solid: "solid";
613
+ dashed: "dashed";
614
+ dotted: "dotted";
615
+ double: "double";
616
+ }>>;
617
+ }, z.core.$strip>>;
618
+ bottom: z.ZodOptional<z.ZodObject<{
619
+ color: z.ZodObject<{
620
+ r: z.ZodNumber;
621
+ g: z.ZodNumber;
622
+ b: z.ZodNumber;
623
+ }, z.core.$strip>;
624
+ widthPt: z.ZodNumber;
625
+ style: z.ZodOptional<z.ZodEnum<{
626
+ solid: "solid";
627
+ dashed: "dashed";
628
+ dotted: "dotted";
629
+ double: "double";
630
+ }>>;
631
+ }, z.core.$strip>>;
632
+ }, z.core.$strip>>;
633
+ alignment: z.ZodOptional<z.ZodEnum<{
634
+ left: "left";
635
+ center: "center";
636
+ right: "right";
637
+ justify: "justify";
638
+ }>>;
639
+ verticalAlignment: z.ZodOptional<z.ZodEnum<{
640
+ top: "top";
641
+ bottom: "bottom";
642
+ middle: "middle";
643
+ }>>;
644
+ sourcePath: z.ZodOptional<z.ZodString>;
293
645
  }, z.core.$strip>;
294
646
  type ContentSheetCell = z.infer<typeof ContentSheetCellSchema>;
295
647
  declare const ContentSheetColumnSchema: z.ZodObject<{
296
648
  index: z.ZodNumber;
297
- widthPt: z.ZodNumber;
649
+ widthPt: z.ZodOptional<z.ZodNumber>;
298
650
  hidden: z.ZodOptional<z.ZodBoolean>;
299
651
  }, z.core.$strip>;
300
652
  type ContentSheetColumn = z.infer<typeof ContentSheetColumnSchema>;
301
653
  declare const ContentSheetRowSchema: z.ZodObject<{
302
654
  index: z.ZodNumber;
303
- heightPt: z.ZodNumber;
655
+ heightPt: z.ZodOptional<z.ZodNumber>;
304
656
  hidden: z.ZodOptional<z.ZodBoolean>;
305
657
  }, z.core.$strip>;
306
658
  type ContentSheetRow = z.infer<typeof ContentSheetRowSchema>;
@@ -333,7 +685,7 @@ declare const ContentSheetPrintSettingsSchema: z.ZodObject<{
333
685
  endRow: z.ZodNumber;
334
686
  endColumn: z.ZodNumber;
335
687
  }, z.core.$strip>>;
336
- scale: z.ZodOptional<z.ZodNumber>;
688
+ scalePercent: z.ZodOptional<z.ZodNumber>;
337
689
  fitToPages: z.ZodOptional<z.ZodObject<{
338
690
  width: z.ZodNumber;
339
691
  height: z.ZodNumber;
@@ -383,13 +735,16 @@ declare const ContentSheetSchema: z.ZodObject<{
383
735
  value: z.ZodDiscriminatedUnion<[z.ZodObject<{
384
736
  kind: z.ZodLiteral<"number">;
385
737
  value: z.ZodNumber;
738
+ exactValue: z.ZodOptional<z.ZodString>;
386
739
  }, z.core.$strip>, z.ZodObject<{
387
740
  kind: z.ZodLiteral<"percentage">;
388
741
  value: z.ZodNumber;
742
+ exactValue: z.ZodOptional<z.ZodString>;
389
743
  }, z.core.$strip>, z.ZodObject<{
390
744
  kind: z.ZodLiteral<"currency">;
391
745
  value: z.ZodNumber;
392
746
  currency: z.ZodOptional<z.ZodString>;
747
+ exactValue: z.ZodOptional<z.ZodString>;
393
748
  }, z.core.$strip>, z.ZodObject<{
394
749
  kind: z.ZodLiteral<"boolean">;
395
750
  value: z.ZodBoolean;
@@ -399,6 +754,9 @@ declare const ContentSheetSchema: z.ZodObject<{
399
754
  }, z.core.$strip>, z.ZodObject<{
400
755
  kind: z.ZodLiteral<"time">;
401
756
  value: z.ZodString;
757
+ }, z.core.$strip>, z.ZodObject<{
758
+ kind: z.ZodLiteral<"dateTime">;
759
+ value: z.ZodString;
402
760
  }, z.core.$strip>, z.ZodObject<{
403
761
  kind: z.ZodLiteral<"string">;
404
762
  value: z.ZodString;
@@ -428,15 +786,90 @@ declare const ContentSheetSchema: z.ZodObject<{
428
786
  }, z.core.$strip>>>;
429
787
  colSpan: z.ZodOptional<z.ZodNumber>;
430
788
  rowSpan: z.ZodOptional<z.ZodNumber>;
789
+ background: z.ZodOptional<z.ZodObject<{
790
+ r: z.ZodNumber;
791
+ g: z.ZodNumber;
792
+ b: z.ZodNumber;
793
+ }, z.core.$strip>>;
794
+ borders: z.ZodOptional<z.ZodObject<{
795
+ left: z.ZodOptional<z.ZodObject<{
796
+ color: z.ZodObject<{
797
+ r: z.ZodNumber;
798
+ g: z.ZodNumber;
799
+ b: z.ZodNumber;
800
+ }, z.core.$strip>;
801
+ widthPt: z.ZodNumber;
802
+ style: z.ZodOptional<z.ZodEnum<{
803
+ solid: "solid";
804
+ dashed: "dashed";
805
+ dotted: "dotted";
806
+ double: "double";
807
+ }>>;
808
+ }, z.core.$strip>>;
809
+ right: z.ZodOptional<z.ZodObject<{
810
+ color: z.ZodObject<{
811
+ r: z.ZodNumber;
812
+ g: z.ZodNumber;
813
+ b: z.ZodNumber;
814
+ }, z.core.$strip>;
815
+ widthPt: z.ZodNumber;
816
+ style: z.ZodOptional<z.ZodEnum<{
817
+ solid: "solid";
818
+ dashed: "dashed";
819
+ dotted: "dotted";
820
+ double: "double";
821
+ }>>;
822
+ }, z.core.$strip>>;
823
+ top: z.ZodOptional<z.ZodObject<{
824
+ color: z.ZodObject<{
825
+ r: z.ZodNumber;
826
+ g: z.ZodNumber;
827
+ b: z.ZodNumber;
828
+ }, z.core.$strip>;
829
+ widthPt: z.ZodNumber;
830
+ style: z.ZodOptional<z.ZodEnum<{
831
+ solid: "solid";
832
+ dashed: "dashed";
833
+ dotted: "dotted";
834
+ double: "double";
835
+ }>>;
836
+ }, z.core.$strip>>;
837
+ bottom: z.ZodOptional<z.ZodObject<{
838
+ color: z.ZodObject<{
839
+ r: z.ZodNumber;
840
+ g: z.ZodNumber;
841
+ b: z.ZodNumber;
842
+ }, z.core.$strip>;
843
+ widthPt: z.ZodNumber;
844
+ style: z.ZodOptional<z.ZodEnum<{
845
+ solid: "solid";
846
+ dashed: "dashed";
847
+ dotted: "dotted";
848
+ double: "double";
849
+ }>>;
850
+ }, z.core.$strip>>;
851
+ }, z.core.$strip>>;
852
+ alignment: z.ZodOptional<z.ZodEnum<{
853
+ left: "left";
854
+ center: "center";
855
+ right: "right";
856
+ justify: "justify";
857
+ }>>;
858
+ verticalAlignment: z.ZodOptional<z.ZodEnum<{
859
+ top: "top";
860
+ bottom: "bottom";
861
+ middle: "middle";
862
+ }>>;
863
+ sourcePath: z.ZodOptional<z.ZodString>;
431
864
  }, z.core.$strip>>;
432
865
  columns: z.ZodArray<z.ZodObject<{
433
866
  index: z.ZodNumber;
434
- widthPt: z.ZodNumber;
867
+ widthPt: z.ZodOptional<z.ZodNumber>;
435
868
  hidden: z.ZodOptional<z.ZodBoolean>;
436
869
  }, z.core.$strip>>;
437
870
  rows: z.ZodArray<z.ZodObject<{
438
871
  index: z.ZodNumber;
439
- heightPt: z.ZodNumber;
872
+ heightPt: z.ZodOptional<z.ZodNumber>;
440
873
  hidden: z.ZodOptional<z.ZodBoolean>;
441
874
  }, z.core.$strip>>;
442
875
  images: z.ZodArray<z.ZodObject<{
@@ -472,7 +905,7 @@ declare const ContentSheetSchema: z.ZodObject<{
472
905
  endRow: z.ZodNumber;
473
906
  endColumn: z.ZodNumber;
474
907
  }, z.core.$strip>>;
475
- scale: z.ZodOptional<z.ZodNumber>;
908
+ scalePercent: z.ZodOptional<z.ZodNumber>;
476
909
  fitToPages: z.ZodOptional<z.ZodObject<{
477
910
  width: z.ZodNumber;
478
911
  height: z.ZodNumber;
@@ -506,6 +939,12 @@ declare const ContentStrokeSchema: z.ZodObject<{
506
939
  b: z.ZodNumber;
507
940
  }, z.core.$strip>;
508
941
  widthPt: z.ZodNumber;
942
+ style: z.ZodOptional<z.ZodEnum<{
943
+ solid: "solid";
944
+ dashed: "dashed";
945
+ dotted: "dotted";
946
+ double: "double";
947
+ }>>;
509
948
  }, z.core.$strip>;
510
949
  type ContentStroke = z.infer<typeof ContentStrokeSchema>;
511
950
  declare const ContentPathPointSchema: z.ZodObject<{
@@ -572,6 +1011,7 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
572
1011
  widthPt: z.ZodNumber;
573
1012
  heightPt: z.ZodNumber;
574
1013
  }, z.core.$strip>;
1014
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
575
1015
  fill: z.ZodOptional<z.ZodObject<{
576
1016
  r: z.ZodNumber;
577
1017
  g: z.ZodNumber;
@@ -584,7 +1024,14 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
584
1024
  b: z.ZodNumber;
585
1025
  }, z.core.$strip>;
586
1026
  widthPt: z.ZodNumber;
1027
+ style: z.ZodOptional<z.ZodEnum<{
1028
+ solid: "solid";
1029
+ dashed: "dashed";
1030
+ dotted: "dotted";
1031
+ double: "double";
1032
+ }>>;
587
1033
  }, z.core.$strip>>;
1034
+ paintOrder: z.ZodOptional<z.ZodNumber>;
588
1035
  sourcePath: z.ZodOptional<z.ZodString>;
589
1036
  }, z.core.$strip>, z.ZodObject<{
590
1037
  kind: z.ZodLiteral<"ellipse">;
@@ -594,6 +1041,7 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
1041
  widthPt: z.ZodNumber;
595
1042
  heightPt: z.ZodNumber;
596
1043
  }, z.core.$strip>;
1044
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
597
1045
  fill: z.ZodOptional<z.ZodObject<{
598
1046
  r: z.ZodNumber;
599
1047
  g: z.ZodNumber;
@@ -606,7 +1054,14 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
606
1054
  b: z.ZodNumber;
607
1055
  }, z.core.$strip>;
608
1056
  widthPt: z.ZodNumber;
1057
+ style: z.ZodOptional<z.ZodEnum<{
1058
+ solid: "solid";
1059
+ dashed: "dashed";
1060
+ dotted: "dotted";
1061
+ double: "double";
1062
+ }>>;
609
1063
  }, z.core.$strip>>;
1064
+ paintOrder: z.ZodOptional<z.ZodNumber>;
610
1065
  sourcePath: z.ZodOptional<z.ZodString>;
611
1066
  }, z.core.$strip>, z.ZodObject<{
612
1067
  kind: z.ZodLiteral<"line">;
@@ -625,7 +1080,14 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
625
1080
  b: z.ZodNumber;
626
1081
  }, z.core.$strip>;
627
1082
  widthPt: z.ZodNumber;
1083
+ style: z.ZodOptional<z.ZodEnum<{
1084
+ solid: "solid";
1085
+ dashed: "dashed";
1086
+ dotted: "dotted";
1087
+ double: "double";
1088
+ }>>;
628
1089
  }, z.core.$strip>;
1090
+ paintOrder: z.ZodOptional<z.ZodNumber>;
629
1091
  sourcePath: z.ZodOptional<z.ZodString>;
630
1092
  }, z.core.$strip>, z.ZodObject<{
631
1093
  kind: z.ZodLiteral<"path">;
@@ -635,6 +1097,7 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
635
1097
  widthPt: z.ZodNumber;
636
1098
  heightPt: z.ZodNumber;
637
1099
  }, z.core.$strip>;
1100
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
638
1101
  subpaths: z.ZodArray<z.ZodObject<{
639
1102
  start: z.ZodObject<{
640
1103
  xPt: z.ZodNumber;
@@ -679,7 +1142,14 @@ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
679
1142
  b: z.ZodNumber;
680
1143
  }, z.core.$strip>;
681
1144
  widthPt: z.ZodNumber;
1145
+ style: z.ZodOptional<z.ZodEnum<{
1146
+ solid: "solid";
1147
+ dashed: "dashed";
1148
+ dotted: "dotted";
1149
+ double: "double";
1150
+ }>>;
682
1151
  }, z.core.$strip>>;
1152
+ paintOrder: z.ZodOptional<z.ZodNumber>;
683
1153
  sourcePath: z.ZodOptional<z.ZodString>;
684
1154
  }, z.core.$strip>], "kind">;
685
1155
  type ContentVector = z.infer<typeof ContentVectorSchema>;
@@ -703,6 +1173,7 @@ declare const ContentDrawPageSchema: z.ZodObject<{
703
1173
  insetBottomPt: z.ZodNumber;
704
1174
  fontScale: z.ZodOptional<z.ZodNumber>;
705
1175
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1176
+ paintOrder: z.ZodOptional<z.ZodNumber>;
706
1177
  sourcePath: z.ZodOptional<z.ZodString>;
707
1178
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
708
1179
  }, z.core.$strip>>;
@@ -714,6 +1185,7 @@ declare const ContentDrawPageSchema: z.ZodObject<{
714
1185
  widthPt: z.ZodNumber;
715
1186
  heightPt: z.ZodNumber;
716
1187
  }, z.core.$strip>;
1188
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
717
1189
  fill: z.ZodOptional<z.ZodObject<{
718
1190
  r: z.ZodNumber;
719
1191
  g: z.ZodNumber;
@@ -726,7 +1198,14 @@ declare const ContentDrawPageSchema: z.ZodObject<{
726
1198
  b: z.ZodNumber;
727
1199
  }, z.core.$strip>;
728
1200
  widthPt: z.ZodNumber;
1201
+ style: z.ZodOptional<z.ZodEnum<{
1202
+ solid: "solid";
1203
+ dashed: "dashed";
1204
+ dotted: "dotted";
1205
+ double: "double";
1206
+ }>>;
729
1207
  }, z.core.$strip>>;
1208
+ paintOrder: z.ZodOptional<z.ZodNumber>;
730
1209
  sourcePath: z.ZodOptional<z.ZodString>;
731
1210
  }, z.core.$strip>, z.ZodObject<{
732
1211
  kind: z.ZodLiteral<"ellipse">;
@@ -736,6 +1215,7 @@ declare const ContentDrawPageSchema: z.ZodObject<{
736
1215
  widthPt: z.ZodNumber;
737
1216
  heightPt: z.ZodNumber;
738
1217
  }, z.core.$strip>;
1218
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
739
1219
  fill: z.ZodOptional<z.ZodObject<{
740
1220
  r: z.ZodNumber;
741
1221
  g: z.ZodNumber;
@@ -748,7 +1228,14 @@ declare const ContentDrawPageSchema: z.ZodObject<{
748
1228
  b: z.ZodNumber;
749
1229
  }, z.core.$strip>;
750
1230
  widthPt: z.ZodNumber;
1231
+ style: z.ZodOptional<z.ZodEnum<{
1232
+ solid: "solid";
1233
+ dashed: "dashed";
1234
+ dotted: "dotted";
1235
+ double: "double";
1236
+ }>>;
751
1237
  }, z.core.$strip>>;
1238
+ paintOrder: z.ZodOptional<z.ZodNumber>;
752
1239
  sourcePath: z.ZodOptional<z.ZodString>;
753
1240
  }, z.core.$strip>, z.ZodObject<{
754
1241
  kind: z.ZodLiteral<"line">;
@@ -767,7 +1254,14 @@ declare const ContentDrawPageSchema: z.ZodObject<{
767
1254
  b: z.ZodNumber;
768
1255
  }, z.core.$strip>;
769
1256
  widthPt: z.ZodNumber;
1257
+ style: z.ZodOptional<z.ZodEnum<{
1258
+ solid: "solid";
1259
+ dashed: "dashed";
1260
+ dotted: "dotted";
1261
+ double: "double";
1262
+ }>>;
770
1263
  }, z.core.$strip>;
1264
+ paintOrder: z.ZodOptional<z.ZodNumber>;
771
1265
  sourcePath: z.ZodOptional<z.ZodString>;
772
1266
  }, z.core.$strip>, z.ZodObject<{
773
1267
  kind: z.ZodLiteral<"path">;
@@ -777,6 +1271,7 @@ declare const ContentDrawPageSchema: z.ZodObject<{
777
1271
  widthPt: z.ZodNumber;
778
1272
  heightPt: z.ZodNumber;
779
1273
  }, z.core.$strip>;
1274
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
780
1275
  subpaths: z.ZodArray<z.ZodObject<{
781
1276
  start: z.ZodObject<{
782
1277
  xPt: z.ZodNumber;
@@ -821,15 +1316,27 @@ declare const ContentDrawPageSchema: z.ZodObject<{
821
1316
  b: z.ZodNumber;
822
1317
  }, z.core.$strip>;
823
1318
  widthPt: z.ZodNumber;
1319
+ style: z.ZodOptional<z.ZodEnum<{
1320
+ solid: "solid";
1321
+ dashed: "dashed";
1322
+ dotted: "dotted";
1323
+ double: "double";
1324
+ }>>;
824
1325
  }, z.core.$strip>>;
1326
+ paintOrder: z.ZodOptional<z.ZodNumber>;
825
1327
  sourcePath: z.ZodOptional<z.ZodString>;
826
1328
  }, z.core.$strip>], "kind">>;
827
1329
  }, z.core.$strip>;
828
1330
  type ContentDrawPage = z.infer<typeof ContentDrawPageSchema>;
829
- declare const CONTENT_FORMAT_VERSION = 1;
1331
+ declare const ContentFormulaSchema: z.ZodObject<{
1332
+ mathml: z.ZodArray<z.ZodCustom<MathMlNode, MathMlNode>>;
1333
+ starMath: z.ZodOptional<z.ZodString>;
1334
+ }, z.core.$strip>;
1335
+ type ContentFormula = z.infer<typeof ContentFormulaSchema>;
1336
+ declare const CONTENT_FORMAT_VERSION = 2;
830
1337
  declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
831
1338
  kind: z.ZodLiteral<"wordprocessing">;
832
- formatVersion: z.ZodLiteral<1>;
1339
+ formatVersion: z.ZodLiteral<2>;
833
1340
  metadata: z.ZodObject<{
834
1341
  title: z.ZodOptional<z.ZodString>;
835
1342
  author: z.ZodOptional<z.ZodString>;
@@ -855,7 +1362,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
855
1362
  }, z.core.$strip>>;
856
1363
  }, z.core.$strip>, z.ZodObject<{
857
1364
  kind: z.ZodLiteral<"presentation">;
858
- formatVersion: z.ZodLiteral<1>;
1365
+ formatVersion: z.ZodLiteral<2>;
859
1366
  metadata: z.ZodObject<{
860
1367
  title: z.ZodOptional<z.ZodString>;
861
1368
  author: z.ZodOptional<z.ZodString>;
@@ -886,6 +1393,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
886
1393
  insetBottomPt: z.ZodNumber;
887
1394
  fontScale: z.ZodOptional<z.ZodNumber>;
888
1395
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1396
+ paintOrder: z.ZodOptional<z.ZodNumber>;
889
1397
  sourcePath: z.ZodOptional<z.ZodString>;
890
1398
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
891
1399
  }, z.core.$strip>>;
@@ -893,7 +1401,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
893
1401
  }, z.core.$strip>>;
894
1402
  }, z.core.$strip>, z.ZodObject<{
895
1403
  kind: z.ZodLiteral<"spreadsheet">;
896
- formatVersion: z.ZodLiteral<1>;
1404
+ formatVersion: z.ZodLiteral<2>;
897
1405
  metadata: z.ZodObject<{
898
1406
  title: z.ZodOptional<z.ZodString>;
899
1407
  author: z.ZodOptional<z.ZodString>;
@@ -912,13 +1420,16 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
912
1420
  value: z.ZodDiscriminatedUnion<[z.ZodObject<{
913
1421
  kind: z.ZodLiteral<"number">;
914
1422
  value: z.ZodNumber;
1423
+ exactValue: z.ZodOptional<z.ZodString>;
915
1424
  }, z.core.$strip>, z.ZodObject<{
916
1425
  kind: z.ZodLiteral<"percentage">;
917
1426
  value: z.ZodNumber;
1427
+ exactValue: z.ZodOptional<z.ZodString>;
918
1428
  }, z.core.$strip>, z.ZodObject<{
919
1429
  kind: z.ZodLiteral<"currency">;
920
1430
  value: z.ZodNumber;
921
1431
  currency: z.ZodOptional<z.ZodString>;
1432
+ exactValue: z.ZodOptional<z.ZodString>;
922
1433
  }, z.core.$strip>, z.ZodObject<{
923
1434
  kind: z.ZodLiteral<"boolean">;
924
1435
  value: z.ZodBoolean;
@@ -928,6 +1439,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
928
1439
  }, z.core.$strip>, z.ZodObject<{
929
1440
  kind: z.ZodLiteral<"time">;
930
1441
  value: z.ZodString;
1442
+ }, z.core.$strip>, z.ZodObject<{
1443
+ kind: z.ZodLiteral<"dateTime">;
1444
+ value: z.ZodString;
931
1445
  }, z.core.$strip>, z.ZodObject<{
932
1446
  kind: z.ZodLiteral<"string">;
933
1447
  value: z.ZodString;
@@ -957,15 +1471,90 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
957
1471
  }, z.core.$strip>>>;
958
1472
  colSpan: z.ZodOptional<z.ZodNumber>;
959
1473
  rowSpan: z.ZodOptional<z.ZodNumber>;
1474
+ background: z.ZodOptional<z.ZodObject<{
1475
+ r: z.ZodNumber;
1476
+ g: z.ZodNumber;
1477
+ b: z.ZodNumber;
1478
+ }, z.core.$strip>>;
1479
+ borders: z.ZodOptional<z.ZodObject<{
1480
+ left: z.ZodOptional<z.ZodObject<{
1481
+ color: z.ZodObject<{
1482
+ r: z.ZodNumber;
1483
+ g: z.ZodNumber;
1484
+ b: z.ZodNumber;
1485
+ }, z.core.$strip>;
1486
+ widthPt: z.ZodNumber;
1487
+ style: z.ZodOptional<z.ZodEnum<{
1488
+ solid: "solid";
1489
+ dashed: "dashed";
1490
+ dotted: "dotted";
1491
+ double: "double";
1492
+ }>>;
1493
+ }, z.core.$strip>>;
1494
+ right: z.ZodOptional<z.ZodObject<{
1495
+ color: z.ZodObject<{
1496
+ r: z.ZodNumber;
1497
+ g: z.ZodNumber;
1498
+ b: z.ZodNumber;
1499
+ }, z.core.$strip>;
1500
+ widthPt: z.ZodNumber;
1501
+ style: z.ZodOptional<z.ZodEnum<{
1502
+ solid: "solid";
1503
+ dashed: "dashed";
1504
+ dotted: "dotted";
1505
+ double: "double";
1506
+ }>>;
1507
+ }, z.core.$strip>>;
1508
+ top: z.ZodOptional<z.ZodObject<{
1509
+ color: z.ZodObject<{
1510
+ r: z.ZodNumber;
1511
+ g: z.ZodNumber;
1512
+ b: z.ZodNumber;
1513
+ }, z.core.$strip>;
1514
+ widthPt: z.ZodNumber;
1515
+ style: z.ZodOptional<z.ZodEnum<{
1516
+ solid: "solid";
1517
+ dashed: "dashed";
1518
+ dotted: "dotted";
1519
+ double: "double";
1520
+ }>>;
1521
+ }, z.core.$strip>>;
1522
+ bottom: z.ZodOptional<z.ZodObject<{
1523
+ color: z.ZodObject<{
1524
+ r: z.ZodNumber;
1525
+ g: z.ZodNumber;
1526
+ b: z.ZodNumber;
1527
+ }, z.core.$strip>;
1528
+ widthPt: z.ZodNumber;
1529
+ style: z.ZodOptional<z.ZodEnum<{
1530
+ solid: "solid";
1531
+ dashed: "dashed";
1532
+ dotted: "dotted";
1533
+ double: "double";
1534
+ }>>;
1535
+ }, z.core.$strip>>;
1536
+ }, z.core.$strip>>;
1537
+ alignment: z.ZodOptional<z.ZodEnum<{
1538
+ left: "left";
1539
+ center: "center";
1540
+ right: "right";
1541
+ justify: "justify";
1542
+ }>>;
1543
+ verticalAlignment: z.ZodOptional<z.ZodEnum<{
1544
+ top: "top";
1545
+ bottom: "bottom";
1546
+ middle: "middle";
1547
+ }>>;
1548
+ sourcePath: z.ZodOptional<z.ZodString>;
960
1549
  }, z.core.$strip>>;
961
1550
  columns: z.ZodArray<z.ZodObject<{
962
1551
  index: z.ZodNumber;
963
- widthPt: z.ZodNumber;
1552
+ widthPt: z.ZodOptional<z.ZodNumber>;
964
1553
  hidden: z.ZodOptional<z.ZodBoolean>;
965
1554
  }, z.core.$strip>>;
966
1555
  rows: z.ZodArray<z.ZodObject<{
967
1556
  index: z.ZodNumber;
968
- heightPt: z.ZodNumber;
1557
+ heightPt: z.ZodOptional<z.ZodNumber>;
969
1558
  hidden: z.ZodOptional<z.ZodBoolean>;
970
1559
  }, z.core.$strip>>;
971
1560
  images: z.ZodArray<z.ZodObject<{
@@ -1001,7 +1590,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1001
1590
  endRow: z.ZodNumber;
1002
1591
  endColumn: z.ZodNumber;
1003
1592
  }, z.core.$strip>>;
1004
- scale: z.ZodOptional<z.ZodNumber>;
1593
+ scalePercent: z.ZodOptional<z.ZodNumber>;
1005
1594
  fitToPages: z.ZodOptional<z.ZodObject<{
1006
1595
  width: z.ZodNumber;
1007
1596
  height: z.ZodNumber;
@@ -1029,7 +1618,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1029
1618
  }, z.core.$strip>>;
1030
1619
  }, z.core.$strip>, z.ZodObject<{
1031
1620
  kind: z.ZodLiteral<"drawing">;
1032
- formatVersion: z.ZodLiteral<1>;
1621
+ formatVersion: z.ZodLiteral<2>;
1033
1622
  metadata: z.ZodObject<{
1034
1623
  title: z.ZodOptional<z.ZodString>;
1035
1624
  author: z.ZodOptional<z.ZodString>;
@@ -1060,6 +1649,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1060
1649
  insetBottomPt: z.ZodNumber;
1061
1650
  fontScale: z.ZodOptional<z.ZodNumber>;
1062
1651
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1652
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1063
1653
  sourcePath: z.ZodOptional<z.ZodString>;
1064
1654
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
1065
1655
  }, z.core.$strip>>;
@@ -1071,6 +1661,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1071
1661
  widthPt: z.ZodNumber;
1072
1662
  heightPt: z.ZodNumber;
1073
1663
  }, z.core.$strip>;
1664
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1074
1665
  fill: z.ZodOptional<z.ZodObject<{
1075
1666
  r: z.ZodNumber;
1076
1667
  g: z.ZodNumber;
@@ -1083,7 +1674,14 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1083
1674
  b: z.ZodNumber;
1084
1675
  }, z.core.$strip>;
1085
1676
  widthPt: z.ZodNumber;
1677
+ style: z.ZodOptional<z.ZodEnum<{
1678
+ solid: "solid";
1679
+ dashed: "dashed";
1680
+ dotted: "dotted";
1681
+ double: "double";
1682
+ }>>;
1086
1683
  }, z.core.$strip>>;
1684
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1087
1685
  sourcePath: z.ZodOptional<z.ZodString>;
1088
1686
  }, z.core.$strip>, z.ZodObject<{
1089
1687
  kind: z.ZodLiteral<"ellipse">;
@@ -1093,6 +1691,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1093
1691
  widthPt: z.ZodNumber;
1094
1692
  heightPt: z.ZodNumber;
1095
1693
  }, z.core.$strip>;
1694
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1096
1695
  fill: z.ZodOptional<z.ZodObject<{
1097
1696
  r: z.ZodNumber;
1098
1697
  g: z.ZodNumber;
@@ -1105,7 +1704,14 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1105
1704
  b: z.ZodNumber;
1106
1705
  }, z.core.$strip>;
1107
1706
  widthPt: z.ZodNumber;
1707
+ style: z.ZodOptional<z.ZodEnum<{
1708
+ solid: "solid";
1709
+ dashed: "dashed";
1710
+ dotted: "dotted";
1711
+ double: "double";
1712
+ }>>;
1108
1713
  }, z.core.$strip>>;
1714
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1109
1715
  sourcePath: z.ZodOptional<z.ZodString>;
1110
1716
  }, z.core.$strip>, z.ZodObject<{
1111
1717
  kind: z.ZodLiteral<"line">;
@@ -1124,7 +1730,14 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1124
1730
  b: z.ZodNumber;
1125
1731
  }, z.core.$strip>;
1126
1732
  widthPt: z.ZodNumber;
1733
+ style: z.ZodOptional<z.ZodEnum<{
1734
+ solid: "solid";
1735
+ dashed: "dashed";
1736
+ dotted: "dotted";
1737
+ double: "double";
1738
+ }>>;
1127
1739
  }, z.core.$strip>;
1740
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1128
1741
  sourcePath: z.ZodOptional<z.ZodString>;
1129
1742
  }, z.core.$strip>, z.ZodObject<{
1130
1743
  kind: z.ZodLiteral<"path">;
@@ -1134,6 +1747,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1134
1747
  widthPt: z.ZodNumber;
1135
1748
  heightPt: z.ZodNumber;
1136
1749
  }, z.core.$strip>;
1750
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1137
1751
  subpaths: z.ZodArray<z.ZodObject<{
1138
1752
  start: z.ZodObject<{
1139
1753
  xPt: z.ZodNumber;
@@ -1178,11 +1792,35 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1178
1792
  b: z.ZodNumber;
1179
1793
  }, z.core.$strip>;
1180
1794
  widthPt: z.ZodNumber;
1795
+ style: z.ZodOptional<z.ZodEnum<{
1796
+ solid: "solid";
1797
+ dashed: "dashed";
1798
+ dotted: "dotted";
1799
+ double: "double";
1800
+ }>>;
1181
1801
  }, z.core.$strip>>;
1802
+ paintOrder: z.ZodOptional<z.ZodNumber>;
1182
1803
  sourcePath: z.ZodOptional<z.ZodString>;
1183
1804
  }, z.core.$strip>], "kind">>;
1184
1805
  }, z.core.$strip>>;
1806
+ }, z.core.$strip>, z.ZodObject<{
1807
+ kind: z.ZodLiteral<"formula">;
1808
+ formatVersion: z.ZodLiteral<2>;
1809
+ metadata: z.ZodObject<{
1810
+ title: z.ZodOptional<z.ZodString>;
1811
+ author: z.ZodOptional<z.ZodString>;
1812
+ subject: z.ZodOptional<z.ZodString>;
1813
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1814
+ creator: z.ZodOptional<z.ZodString>;
1815
+ producer: z.ZodOptional<z.ZodString>;
1816
+ createdIso: z.ZodOptional<z.ZodString>;
1817
+ modifiedIso: z.ZodOptional<z.ZodString>;
1818
+ }, z.core.$strip>;
1819
+ formula: z.ZodObject<{
1820
+ mathml: z.ZodArray<z.ZodCustom<MathMlNode, MathMlNode>>;
1821
+ starMath: z.ZodOptional<z.ZodString>;
1822
+ }, z.core.$strip>;
1185
1823
  }, z.core.$strip>], "kind">;
1186
1824
  type ContentDocument = z.infer<typeof ContentDocumentSchema>;
1187
1825
  //#endregion
1188
- export { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, isContentBlock };
1826
+ 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, 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, isContentBlock };