document-content-model 1.1.0 → 1.2.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.
package/dist/index.d.cts CHANGED
@@ -164,9 +164,21 @@ interface ContentTable {
164
164
  columnWidthsPt: number[];
165
165
  sourcePath?: string;
166
166
  }
167
- type ContentBlock = ContentParagraph | ContentTable | ContentImageBlock | ContentPageBreak;
167
+ type ContentEmbeddedObjectKind = 'formula' | 'wordprocessing' | 'presentation' | 'spreadsheet' | 'drawing';
168
+ interface ContentEmbeddedObject {
169
+ objectKind: ContentEmbeddedObjectKind;
170
+ document: ContentDocument;
171
+ frame: Box;
172
+ }
173
+ interface ContentEmbeddedObjectBlock extends ContentEmbeddedObject {
174
+ kind: 'embeddedObject';
175
+ sourcePath?: string;
176
+ }
177
+ type ContentBlock = ContentParagraph | ContentTable | ContentImageBlock | ContentPageBreak | ContentEmbeddedObjectBlock;
168
178
  declare function isContentBlock(value: unknown): value is ContentBlock;
169
179
  declare const ContentBlockSchema: z.ZodCustom<ContentBlock, ContentBlock>;
180
+ declare const ContentEmbeddedObjectSchema: z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>;
181
+ declare const ContentEmbeddedObjectBlockSchema: z.ZodCustom<ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlock>;
170
182
  declare const ContentTableCellSchema: z.ZodObject<{
171
183
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
172
184
  colSpan: z.ZodOptional<z.ZodNumber>;
@@ -267,21 +279,252 @@ declare const ContentSlideSchema: z.ZodObject<{
267
279
  notes: z.ZodString;
268
280
  }, z.core.$strip>;
269
281
  type ContentSlide = z.infer<typeof ContentSlideSchema>;
270
- declare const CONTENT_FORMAT_VERSION = 1;
271
- declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
272
- kind: z.ZodLiteral<"wordprocessing">;
273
- formatVersion: z.ZodLiteral<1>;
274
- metadata: z.ZodObject<{
275
- title: z.ZodOptional<z.ZodString>;
276
- author: z.ZodOptional<z.ZodString>;
277
- subject: z.ZodOptional<z.ZodString>;
278
- keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
- creator: z.ZodOptional<z.ZodString>;
280
- producer: z.ZodOptional<z.ZodString>;
281
- createdIso: z.ZodOptional<z.ZodString>;
282
- modifiedIso: z.ZodOptional<z.ZodString>;
282
+ declare const ContentCellValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
283
+ kind: z.ZodLiteral<"number">;
284
+ value: z.ZodNumber;
285
+ }, z.core.$strip>, z.ZodObject<{
286
+ kind: z.ZodLiteral<"percentage">;
287
+ value: z.ZodNumber;
288
+ }, z.core.$strip>, z.ZodObject<{
289
+ kind: z.ZodLiteral<"currency">;
290
+ value: z.ZodNumber;
291
+ currency: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strip>, z.ZodObject<{
293
+ kind: z.ZodLiteral<"boolean">;
294
+ value: z.ZodBoolean;
295
+ }, z.core.$strip>, z.ZodObject<{
296
+ kind: z.ZodLiteral<"date">;
297
+ value: z.ZodString;
298
+ }, z.core.$strip>, z.ZodObject<{
299
+ kind: z.ZodLiteral<"time">;
300
+ value: z.ZodString;
301
+ }, z.core.$strip>, z.ZodObject<{
302
+ kind: z.ZodLiteral<"string">;
303
+ value: z.ZodString;
304
+ }, z.core.$strip>, z.ZodObject<{
305
+ kind: z.ZodLiteral<"error">;
306
+ value: z.ZodString;
307
+ }, z.core.$strip>, z.ZodObject<{
308
+ kind: z.ZodLiteral<"empty">;
309
+ }, z.core.$strip>], "kind">;
310
+ type ContentCellValue = z.infer<typeof ContentCellValueSchema>;
311
+ declare const ContentSheetCellSchema: z.ZodObject<{
312
+ row: z.ZodNumber;
313
+ column: z.ZodNumber;
314
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
315
+ kind: z.ZodLiteral<"number">;
316
+ value: z.ZodNumber;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ kind: z.ZodLiteral<"percentage">;
319
+ value: z.ZodNumber;
320
+ }, z.core.$strip>, z.ZodObject<{
321
+ kind: z.ZodLiteral<"currency">;
322
+ value: z.ZodNumber;
323
+ currency: z.ZodOptional<z.ZodString>;
324
+ }, z.core.$strip>, z.ZodObject<{
325
+ kind: z.ZodLiteral<"boolean">;
326
+ value: z.ZodBoolean;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ kind: z.ZodLiteral<"date">;
329
+ value: z.ZodString;
330
+ }, z.core.$strip>, z.ZodObject<{
331
+ kind: z.ZodLiteral<"time">;
332
+ value: z.ZodString;
333
+ }, z.core.$strip>, z.ZodObject<{
334
+ kind: z.ZodLiteral<"string">;
335
+ value: z.ZodString;
336
+ }, z.core.$strip>, z.ZodObject<{
337
+ kind: z.ZodLiteral<"error">;
338
+ value: z.ZodString;
339
+ }, z.core.$strip>, z.ZodObject<{
340
+ kind: z.ZodLiteral<"empty">;
341
+ }, z.core.$strip>], "kind">;
342
+ formula: z.ZodOptional<z.ZodString>;
343
+ displayText: z.ZodString;
344
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
345
+ text: z.ZodString;
346
+ bold: z.ZodOptional<z.ZodBoolean>;
347
+ italic: z.ZodOptional<z.ZodBoolean>;
348
+ underline: z.ZodOptional<z.ZodBoolean>;
349
+ strike: z.ZodOptional<z.ZodBoolean>;
350
+ fontFamily: z.ZodOptional<z.ZodString>;
351
+ sizePt: z.ZodOptional<z.ZodNumber>;
352
+ color: z.ZodOptional<z.ZodObject<{
353
+ r: z.ZodNumber;
354
+ g: z.ZodNumber;
355
+ b: z.ZodNumber;
356
+ }, z.core.$strip>>;
357
+ hyperlink: z.ZodOptional<z.ZodString>;
358
+ sourcePath: z.ZodOptional<z.ZodString>;
359
+ }, z.core.$strip>>>;
360
+ colSpan: z.ZodOptional<z.ZodNumber>;
361
+ rowSpan: z.ZodOptional<z.ZodNumber>;
362
+ }, z.core.$strip>;
363
+ type ContentSheetCell = z.infer<typeof ContentSheetCellSchema>;
364
+ declare const ContentSheetColumnSchema: z.ZodObject<{
365
+ index: z.ZodNumber;
366
+ widthPt: z.ZodNumber;
367
+ hidden: z.ZodOptional<z.ZodBoolean>;
368
+ }, z.core.$strip>;
369
+ type ContentSheetColumn = z.infer<typeof ContentSheetColumnSchema>;
370
+ declare const ContentSheetRowSchema: z.ZodObject<{
371
+ index: z.ZodNumber;
372
+ heightPt: z.ZodNumber;
373
+ hidden: z.ZodOptional<z.ZodBoolean>;
374
+ }, z.core.$strip>;
375
+ type ContentSheetRow = z.infer<typeof ContentSheetRowSchema>;
376
+ declare const ContentSheetPrintRangeSchema: z.ZodObject<{
377
+ startRow: z.ZodNumber;
378
+ startColumn: z.ZodNumber;
379
+ endRow: z.ZodNumber;
380
+ endColumn: z.ZodNumber;
381
+ }, z.core.$strip>;
382
+ type ContentSheetPrintRange = z.infer<typeof ContentSheetPrintRangeSchema>;
383
+ declare const ContentSheetRepeatRangeSchema: z.ZodObject<{
384
+ start: z.ZodNumber;
385
+ end: z.ZodNumber;
386
+ }, z.core.$strip>;
387
+ type ContentSheetRepeatRange = z.infer<typeof ContentSheetRepeatRangeSchema>;
388
+ declare const ContentSheetPrintSettingsSchema: z.ZodObject<{
389
+ pageSize: z.ZodObject<{
390
+ widthPt: z.ZodNumber;
391
+ heightPt: z.ZodNumber;
283
392
  }, z.core.$strip>;
284
- sections: z.ZodArray<z.ZodObject<{
393
+ margins: z.ZodObject<{
394
+ topPt: z.ZodNumber;
395
+ rightPt: z.ZodNumber;
396
+ bottomPt: z.ZodNumber;
397
+ leftPt: z.ZodNumber;
398
+ }, z.core.$strip>;
399
+ printRange: z.ZodOptional<z.ZodObject<{
400
+ startRow: z.ZodNumber;
401
+ startColumn: z.ZodNumber;
402
+ endRow: z.ZodNumber;
403
+ endColumn: z.ZodNumber;
404
+ }, z.core.$strip>>;
405
+ scale: z.ZodOptional<z.ZodNumber>;
406
+ fitToPages: z.ZodOptional<z.ZodObject<{
407
+ width: z.ZodNumber;
408
+ height: z.ZodNumber;
409
+ }, z.core.$strip>>;
410
+ repeatRows: z.ZodOptional<z.ZodObject<{
411
+ start: z.ZodNumber;
412
+ end: z.ZodNumber;
413
+ }, z.core.$strip>>;
414
+ repeatColumns: z.ZodOptional<z.ZodObject<{
415
+ start: z.ZodNumber;
416
+ end: z.ZodNumber;
417
+ }, z.core.$strip>>;
418
+ gridlines: z.ZodBoolean;
419
+ headers: z.ZodBoolean;
420
+ pageOrder: z.ZodEnum<{
421
+ downThenOver: "downThenOver";
422
+ overThenDown: "overThenDown";
423
+ }>;
424
+ manualBreaks: z.ZodOptional<z.ZodObject<{
425
+ rows: z.ZodArray<z.ZodNumber>;
426
+ columns: z.ZodArray<z.ZodNumber>;
427
+ }, z.core.$strip>>;
428
+ }, z.core.$strip>;
429
+ type ContentSheetPrintSettings = z.infer<typeof ContentSheetPrintSettingsSchema>;
430
+ declare const ContentSheetImageSchema: z.ZodObject<{
431
+ kind: z.ZodLiteral<"image">;
432
+ format: z.ZodEnum<{
433
+ png: "png";
434
+ jpeg: "jpeg";
435
+ }>;
436
+ base64: z.ZodString;
437
+ widthPt: z.ZodNumber;
438
+ heightPt: z.ZodNumber;
439
+ altText: z.ZodOptional<z.ZodString>;
440
+ sourcePath: z.ZodOptional<z.ZodString>;
441
+ anchorRow: z.ZodNumber;
442
+ anchorColumn: z.ZodNumber;
443
+ offsetXPt: z.ZodNumber;
444
+ offsetYPt: z.ZodNumber;
445
+ }, z.core.$strip>;
446
+ type ContentSheetImage = z.infer<typeof ContentSheetImageSchema>;
447
+ declare const ContentSheetSchema: z.ZodObject<{
448
+ name: z.ZodString;
449
+ cells: z.ZodArray<z.ZodObject<{
450
+ row: z.ZodNumber;
451
+ column: z.ZodNumber;
452
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
453
+ kind: z.ZodLiteral<"number">;
454
+ value: z.ZodNumber;
455
+ }, z.core.$strip>, z.ZodObject<{
456
+ kind: z.ZodLiteral<"percentage">;
457
+ value: z.ZodNumber;
458
+ }, z.core.$strip>, z.ZodObject<{
459
+ kind: z.ZodLiteral<"currency">;
460
+ value: z.ZodNumber;
461
+ currency: z.ZodOptional<z.ZodString>;
462
+ }, z.core.$strip>, z.ZodObject<{
463
+ kind: z.ZodLiteral<"boolean">;
464
+ value: z.ZodBoolean;
465
+ }, z.core.$strip>, z.ZodObject<{
466
+ kind: z.ZodLiteral<"date">;
467
+ value: z.ZodString;
468
+ }, z.core.$strip>, z.ZodObject<{
469
+ kind: z.ZodLiteral<"time">;
470
+ value: z.ZodString;
471
+ }, z.core.$strip>, z.ZodObject<{
472
+ kind: z.ZodLiteral<"string">;
473
+ value: z.ZodString;
474
+ }, z.core.$strip>, z.ZodObject<{
475
+ kind: z.ZodLiteral<"error">;
476
+ value: z.ZodString;
477
+ }, z.core.$strip>, z.ZodObject<{
478
+ kind: z.ZodLiteral<"empty">;
479
+ }, z.core.$strip>], "kind">;
480
+ formula: z.ZodOptional<z.ZodString>;
481
+ displayText: z.ZodString;
482
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
+ text: z.ZodString;
484
+ bold: z.ZodOptional<z.ZodBoolean>;
485
+ italic: z.ZodOptional<z.ZodBoolean>;
486
+ underline: z.ZodOptional<z.ZodBoolean>;
487
+ strike: z.ZodOptional<z.ZodBoolean>;
488
+ fontFamily: z.ZodOptional<z.ZodString>;
489
+ sizePt: z.ZodOptional<z.ZodNumber>;
490
+ color: z.ZodOptional<z.ZodObject<{
491
+ r: z.ZodNumber;
492
+ g: z.ZodNumber;
493
+ b: z.ZodNumber;
494
+ }, z.core.$strip>>;
495
+ hyperlink: z.ZodOptional<z.ZodString>;
496
+ sourcePath: z.ZodOptional<z.ZodString>;
497
+ }, z.core.$strip>>>;
498
+ colSpan: z.ZodOptional<z.ZodNumber>;
499
+ rowSpan: z.ZodOptional<z.ZodNumber>;
500
+ }, z.core.$strip>>;
501
+ columns: z.ZodArray<z.ZodObject<{
502
+ index: z.ZodNumber;
503
+ widthPt: z.ZodNumber;
504
+ hidden: z.ZodOptional<z.ZodBoolean>;
505
+ }, z.core.$strip>>;
506
+ rows: z.ZodArray<z.ZodObject<{
507
+ index: z.ZodNumber;
508
+ heightPt: z.ZodNumber;
509
+ hidden: z.ZodOptional<z.ZodBoolean>;
510
+ }, z.core.$strip>>;
511
+ images: z.ZodArray<z.ZodObject<{
512
+ kind: z.ZodLiteral<"image">;
513
+ format: z.ZodEnum<{
514
+ png: "png";
515
+ jpeg: "jpeg";
516
+ }>;
517
+ base64: z.ZodString;
518
+ widthPt: z.ZodNumber;
519
+ heightPt: z.ZodNumber;
520
+ altText: z.ZodOptional<z.ZodString>;
521
+ sourcePath: z.ZodOptional<z.ZodString>;
522
+ anchorRow: z.ZodNumber;
523
+ anchorColumn: z.ZodNumber;
524
+ offsetXPt: z.ZodNumber;
525
+ offsetYPt: z.ZodNumber;
526
+ }, z.core.$strip>>;
527
+ printSettings: z.ZodObject<{
285
528
  pageSize: z.ZodObject<{
286
529
  widthPt: z.ZodNumber;
287
530
  heightPt: z.ZodNumber;
@@ -292,32 +535,417 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
292
535
  bottomPt: z.ZodNumber;
293
536
  leftPt: z.ZodNumber;
294
537
  }, z.core.$strip>;
295
- blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
538
+ printRange: z.ZodOptional<z.ZodObject<{
539
+ startRow: z.ZodNumber;
540
+ startColumn: z.ZodNumber;
541
+ endRow: z.ZodNumber;
542
+ endColumn: z.ZodNumber;
543
+ }, z.core.$strip>>;
544
+ scale: z.ZodOptional<z.ZodNumber>;
545
+ fitToPages: z.ZodOptional<z.ZodObject<{
546
+ width: z.ZodNumber;
547
+ height: z.ZodNumber;
548
+ }, z.core.$strip>>;
549
+ repeatRows: z.ZodOptional<z.ZodObject<{
550
+ start: z.ZodNumber;
551
+ end: z.ZodNumber;
552
+ }, z.core.$strip>>;
553
+ repeatColumns: z.ZodOptional<z.ZodObject<{
554
+ start: z.ZodNumber;
555
+ end: z.ZodNumber;
556
+ }, z.core.$strip>>;
557
+ gridlines: z.ZodBoolean;
558
+ headers: z.ZodBoolean;
559
+ pageOrder: z.ZodEnum<{
560
+ downThenOver: "downThenOver";
561
+ overThenDown: "overThenDown";
562
+ }>;
563
+ manualBreaks: z.ZodOptional<z.ZodObject<{
564
+ rows: z.ZodArray<z.ZodNumber>;
565
+ columns: z.ZodArray<z.ZodNumber>;
566
+ }, z.core.$strip>>;
567
+ }, z.core.$strip>;
568
+ embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>>>;
569
+ }, z.core.$strip>;
570
+ type ContentSheet = z.infer<typeof ContentSheetSchema>;
571
+ declare const ContentStrokeSchema: z.ZodObject<{
572
+ color: z.ZodObject<{
573
+ r: z.ZodNumber;
574
+ g: z.ZodNumber;
575
+ b: z.ZodNumber;
576
+ }, z.core.$strip>;
577
+ widthPt: z.ZodNumber;
578
+ }, z.core.$strip>;
579
+ type ContentStroke = z.infer<typeof ContentStrokeSchema>;
580
+ declare const ContentPathPointSchema: z.ZodObject<{
581
+ xPt: z.ZodNumber;
582
+ yPt: z.ZodNumber;
583
+ }, z.core.$strip>;
584
+ type ContentPathPoint = z.infer<typeof ContentPathPointSchema>;
585
+ declare const ContentPathSegmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
586
+ kind: z.ZodLiteral<"line">;
587
+ to: z.ZodObject<{
588
+ xPt: z.ZodNumber;
589
+ yPt: z.ZodNumber;
590
+ }, z.core.$strip>;
591
+ }, z.core.$strip>, z.ZodObject<{
592
+ kind: z.ZodLiteral<"cubic">;
593
+ control1: z.ZodObject<{
594
+ xPt: z.ZodNumber;
595
+ yPt: z.ZodNumber;
596
+ }, z.core.$strip>;
597
+ control2: z.ZodObject<{
598
+ xPt: z.ZodNumber;
599
+ yPt: z.ZodNumber;
600
+ }, z.core.$strip>;
601
+ to: z.ZodObject<{
602
+ xPt: z.ZodNumber;
603
+ yPt: z.ZodNumber;
604
+ }, z.core.$strip>;
605
+ }, z.core.$strip>], "kind">;
606
+ type ContentPathSegment = z.infer<typeof ContentPathSegmentSchema>;
607
+ declare const ContentSubpathSchema: z.ZodObject<{
608
+ start: z.ZodObject<{
609
+ xPt: z.ZodNumber;
610
+ yPt: z.ZodNumber;
611
+ }, z.core.$strip>;
612
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
613
+ kind: z.ZodLiteral<"line">;
614
+ to: z.ZodObject<{
615
+ xPt: z.ZodNumber;
616
+ yPt: z.ZodNumber;
617
+ }, z.core.$strip>;
618
+ }, z.core.$strip>, z.ZodObject<{
619
+ kind: z.ZodLiteral<"cubic">;
620
+ control1: z.ZodObject<{
621
+ xPt: z.ZodNumber;
622
+ yPt: z.ZodNumber;
623
+ }, z.core.$strip>;
624
+ control2: z.ZodObject<{
625
+ xPt: z.ZodNumber;
626
+ yPt: z.ZodNumber;
627
+ }, z.core.$strip>;
628
+ to: z.ZodObject<{
629
+ xPt: z.ZodNumber;
630
+ yPt: z.ZodNumber;
631
+ }, z.core.$strip>;
632
+ }, z.core.$strip>], "kind">>;
633
+ closed: z.ZodBoolean;
634
+ }, z.core.$strip>;
635
+ type ContentSubpath = z.infer<typeof ContentSubpathSchema>;
636
+ declare const ContentVectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
637
+ kind: z.ZodLiteral<"rect">;
638
+ frame: z.ZodObject<{
639
+ xPt: z.ZodNumber;
640
+ yPt: z.ZodNumber;
641
+ widthPt: z.ZodNumber;
642
+ heightPt: z.ZodNumber;
643
+ }, z.core.$strip>;
644
+ fill: z.ZodOptional<z.ZodObject<{
645
+ r: z.ZodNumber;
646
+ g: z.ZodNumber;
647
+ b: z.ZodNumber;
648
+ }, z.core.$strip>>;
649
+ stroke: z.ZodOptional<z.ZodObject<{
650
+ color: z.ZodObject<{
651
+ r: z.ZodNumber;
652
+ g: z.ZodNumber;
653
+ b: z.ZodNumber;
654
+ }, z.core.$strip>;
655
+ widthPt: z.ZodNumber;
296
656
  }, z.core.$strip>>;
657
+ sourcePath: z.ZodOptional<z.ZodString>;
297
658
  }, z.core.$strip>, z.ZodObject<{
298
- kind: z.ZodLiteral<"presentation">;
299
- formatVersion: z.ZodLiteral<1>;
300
- metadata: z.ZodObject<{
301
- title: z.ZodOptional<z.ZodString>;
302
- author: z.ZodOptional<z.ZodString>;
303
- subject: z.ZodOptional<z.ZodString>;
304
- keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
- creator: z.ZodOptional<z.ZodString>;
306
- producer: z.ZodOptional<z.ZodString>;
307
- createdIso: z.ZodOptional<z.ZodString>;
308
- modifiedIso: z.ZodOptional<z.ZodString>;
659
+ kind: z.ZodLiteral<"ellipse">;
660
+ frame: z.ZodObject<{
661
+ xPt: z.ZodNumber;
662
+ yPt: z.ZodNumber;
663
+ widthPt: z.ZodNumber;
664
+ heightPt: z.ZodNumber;
309
665
  }, z.core.$strip>;
310
- slides: z.ZodArray<z.ZodObject<{
311
- size: z.ZodObject<{
312
- widthPt: z.ZodNumber;
313
- heightPt: z.ZodNumber;
666
+ fill: z.ZodOptional<z.ZodObject<{
667
+ r: z.ZodNumber;
668
+ g: z.ZodNumber;
669
+ b: z.ZodNumber;
670
+ }, z.core.$strip>>;
671
+ stroke: z.ZodOptional<z.ZodObject<{
672
+ color: z.ZodObject<{
673
+ r: z.ZodNumber;
674
+ g: z.ZodNumber;
675
+ b: z.ZodNumber;
314
676
  }, z.core.$strip>;
315
- shapes: z.ZodArray<z.ZodObject<{
316
- name: z.ZodOptional<z.ZodString>;
317
- frame: z.ZodObject<{
677
+ widthPt: z.ZodNumber;
678
+ }, z.core.$strip>>;
679
+ sourcePath: z.ZodOptional<z.ZodString>;
680
+ }, z.core.$strip>, z.ZodObject<{
681
+ kind: z.ZodLiteral<"line">;
682
+ from: z.ZodObject<{
683
+ xPt: z.ZodNumber;
684
+ yPt: z.ZodNumber;
685
+ }, z.core.$strip>;
686
+ to: z.ZodObject<{
687
+ xPt: z.ZodNumber;
688
+ yPt: z.ZodNumber;
689
+ }, z.core.$strip>;
690
+ stroke: z.ZodObject<{
691
+ color: z.ZodObject<{
692
+ r: z.ZodNumber;
693
+ g: z.ZodNumber;
694
+ b: z.ZodNumber;
695
+ }, z.core.$strip>;
696
+ widthPt: z.ZodNumber;
697
+ }, z.core.$strip>;
698
+ sourcePath: z.ZodOptional<z.ZodString>;
699
+ }, z.core.$strip>, z.ZodObject<{
700
+ kind: z.ZodLiteral<"path">;
701
+ frame: z.ZodObject<{
702
+ xPt: z.ZodNumber;
703
+ yPt: z.ZodNumber;
704
+ widthPt: z.ZodNumber;
705
+ heightPt: z.ZodNumber;
706
+ }, z.core.$strip>;
707
+ subpaths: z.ZodArray<z.ZodObject<{
708
+ start: z.ZodObject<{
709
+ xPt: z.ZodNumber;
710
+ yPt: z.ZodNumber;
711
+ }, z.core.$strip>;
712
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
713
+ kind: z.ZodLiteral<"line">;
714
+ to: z.ZodObject<{
318
715
  xPt: z.ZodNumber;
319
716
  yPt: z.ZodNumber;
320
- widthPt: z.ZodNumber;
717
+ }, z.core.$strip>;
718
+ }, z.core.$strip>, z.ZodObject<{
719
+ kind: z.ZodLiteral<"cubic">;
720
+ control1: z.ZodObject<{
721
+ xPt: z.ZodNumber;
722
+ yPt: z.ZodNumber;
723
+ }, z.core.$strip>;
724
+ control2: z.ZodObject<{
725
+ xPt: z.ZodNumber;
726
+ yPt: z.ZodNumber;
727
+ }, z.core.$strip>;
728
+ to: z.ZodObject<{
729
+ xPt: z.ZodNumber;
730
+ yPt: z.ZodNumber;
731
+ }, z.core.$strip>;
732
+ }, z.core.$strip>], "kind">>;
733
+ closed: z.ZodBoolean;
734
+ }, z.core.$strip>>;
735
+ fill: z.ZodOptional<z.ZodObject<{
736
+ r: z.ZodNumber;
737
+ g: z.ZodNumber;
738
+ b: z.ZodNumber;
739
+ }, z.core.$strip>>;
740
+ fillRule: z.ZodOptional<z.ZodEnum<{
741
+ nonzero: "nonzero";
742
+ evenodd: "evenodd";
743
+ }>>;
744
+ stroke: z.ZodOptional<z.ZodObject<{
745
+ color: z.ZodObject<{
746
+ r: z.ZodNumber;
747
+ g: z.ZodNumber;
748
+ b: z.ZodNumber;
749
+ }, z.core.$strip>;
750
+ widthPt: z.ZodNumber;
751
+ }, z.core.$strip>>;
752
+ sourcePath: z.ZodOptional<z.ZodString>;
753
+ }, z.core.$strip>], "kind">;
754
+ type ContentVector = z.infer<typeof ContentVectorSchema>;
755
+ declare const ContentDrawPageSchema: z.ZodObject<{
756
+ size: z.ZodObject<{
757
+ widthPt: z.ZodNumber;
758
+ heightPt: z.ZodNumber;
759
+ }, z.core.$strip>;
760
+ shapes: z.ZodArray<z.ZodObject<{
761
+ name: z.ZodOptional<z.ZodString>;
762
+ frame: z.ZodObject<{
763
+ xPt: z.ZodNumber;
764
+ yPt: z.ZodNumber;
765
+ widthPt: z.ZodNumber;
766
+ heightPt: z.ZodNumber;
767
+ }, z.core.$strip>;
768
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
769
+ insetLeftPt: z.ZodNumber;
770
+ insetTopPt: z.ZodNumber;
771
+ insetRightPt: z.ZodNumber;
772
+ insetBottomPt: z.ZodNumber;
773
+ fontScale: z.ZodOptional<z.ZodNumber>;
774
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
775
+ sourcePath: z.ZodOptional<z.ZodString>;
776
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
777
+ }, z.core.$strip>>;
778
+ vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
779
+ kind: z.ZodLiteral<"rect">;
780
+ frame: z.ZodObject<{
781
+ xPt: z.ZodNumber;
782
+ yPt: z.ZodNumber;
783
+ widthPt: z.ZodNumber;
784
+ heightPt: z.ZodNumber;
785
+ }, z.core.$strip>;
786
+ fill: z.ZodOptional<z.ZodObject<{
787
+ r: z.ZodNumber;
788
+ g: z.ZodNumber;
789
+ b: z.ZodNumber;
790
+ }, z.core.$strip>>;
791
+ stroke: z.ZodOptional<z.ZodObject<{
792
+ color: z.ZodObject<{
793
+ r: z.ZodNumber;
794
+ g: z.ZodNumber;
795
+ b: z.ZodNumber;
796
+ }, z.core.$strip>;
797
+ widthPt: z.ZodNumber;
798
+ }, z.core.$strip>>;
799
+ sourcePath: z.ZodOptional<z.ZodString>;
800
+ }, z.core.$strip>, z.ZodObject<{
801
+ kind: z.ZodLiteral<"ellipse">;
802
+ frame: z.ZodObject<{
803
+ xPt: z.ZodNumber;
804
+ yPt: z.ZodNumber;
805
+ widthPt: z.ZodNumber;
806
+ heightPt: z.ZodNumber;
807
+ }, z.core.$strip>;
808
+ fill: z.ZodOptional<z.ZodObject<{
809
+ r: z.ZodNumber;
810
+ g: z.ZodNumber;
811
+ b: z.ZodNumber;
812
+ }, z.core.$strip>>;
813
+ stroke: z.ZodOptional<z.ZodObject<{
814
+ color: z.ZodObject<{
815
+ r: z.ZodNumber;
816
+ g: z.ZodNumber;
817
+ b: z.ZodNumber;
818
+ }, z.core.$strip>;
819
+ widthPt: z.ZodNumber;
820
+ }, z.core.$strip>>;
821
+ sourcePath: z.ZodOptional<z.ZodString>;
822
+ }, z.core.$strip>, z.ZodObject<{
823
+ kind: z.ZodLiteral<"line">;
824
+ from: z.ZodObject<{
825
+ xPt: z.ZodNumber;
826
+ yPt: z.ZodNumber;
827
+ }, z.core.$strip>;
828
+ to: z.ZodObject<{
829
+ xPt: z.ZodNumber;
830
+ yPt: z.ZodNumber;
831
+ }, z.core.$strip>;
832
+ stroke: z.ZodObject<{
833
+ color: z.ZodObject<{
834
+ r: z.ZodNumber;
835
+ g: z.ZodNumber;
836
+ b: z.ZodNumber;
837
+ }, z.core.$strip>;
838
+ widthPt: z.ZodNumber;
839
+ }, z.core.$strip>;
840
+ sourcePath: z.ZodOptional<z.ZodString>;
841
+ }, z.core.$strip>, z.ZodObject<{
842
+ kind: z.ZodLiteral<"path">;
843
+ frame: z.ZodObject<{
844
+ xPt: z.ZodNumber;
845
+ yPt: z.ZodNumber;
846
+ widthPt: z.ZodNumber;
847
+ heightPt: z.ZodNumber;
848
+ }, z.core.$strip>;
849
+ subpaths: z.ZodArray<z.ZodObject<{
850
+ start: z.ZodObject<{
851
+ xPt: z.ZodNumber;
852
+ yPt: z.ZodNumber;
853
+ }, z.core.$strip>;
854
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
855
+ kind: z.ZodLiteral<"line">;
856
+ to: z.ZodObject<{
857
+ xPt: z.ZodNumber;
858
+ yPt: z.ZodNumber;
859
+ }, z.core.$strip>;
860
+ }, z.core.$strip>, z.ZodObject<{
861
+ kind: z.ZodLiteral<"cubic">;
862
+ control1: z.ZodObject<{
863
+ xPt: z.ZodNumber;
864
+ yPt: z.ZodNumber;
865
+ }, z.core.$strip>;
866
+ control2: z.ZodObject<{
867
+ xPt: z.ZodNumber;
868
+ yPt: z.ZodNumber;
869
+ }, z.core.$strip>;
870
+ to: z.ZodObject<{
871
+ xPt: z.ZodNumber;
872
+ yPt: z.ZodNumber;
873
+ }, z.core.$strip>;
874
+ }, z.core.$strip>], "kind">>;
875
+ closed: z.ZodBoolean;
876
+ }, z.core.$strip>>;
877
+ fill: z.ZodOptional<z.ZodObject<{
878
+ r: z.ZodNumber;
879
+ g: z.ZodNumber;
880
+ b: z.ZodNumber;
881
+ }, z.core.$strip>>;
882
+ fillRule: z.ZodOptional<z.ZodEnum<{
883
+ nonzero: "nonzero";
884
+ evenodd: "evenodd";
885
+ }>>;
886
+ stroke: z.ZodOptional<z.ZodObject<{
887
+ color: z.ZodObject<{
888
+ r: z.ZodNumber;
889
+ g: z.ZodNumber;
890
+ b: z.ZodNumber;
891
+ }, z.core.$strip>;
892
+ widthPt: z.ZodNumber;
893
+ }, z.core.$strip>>;
894
+ sourcePath: z.ZodOptional<z.ZodString>;
895
+ }, z.core.$strip>], "kind">>;
896
+ }, z.core.$strip>;
897
+ type ContentDrawPage = z.infer<typeof ContentDrawPageSchema>;
898
+ declare const CONTENT_FORMAT_VERSION = 1;
899
+ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
900
+ kind: z.ZodLiteral<"wordprocessing">;
901
+ formatVersion: z.ZodLiteral<1>;
902
+ metadata: z.ZodObject<{
903
+ title: z.ZodOptional<z.ZodString>;
904
+ author: z.ZodOptional<z.ZodString>;
905
+ subject: z.ZodOptional<z.ZodString>;
906
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
907
+ creator: z.ZodOptional<z.ZodString>;
908
+ producer: z.ZodOptional<z.ZodString>;
909
+ createdIso: z.ZodOptional<z.ZodString>;
910
+ modifiedIso: z.ZodOptional<z.ZodString>;
911
+ }, z.core.$strip>;
912
+ sections: z.ZodArray<z.ZodObject<{
913
+ pageSize: z.ZodObject<{
914
+ widthPt: z.ZodNumber;
915
+ heightPt: z.ZodNumber;
916
+ }, z.core.$strip>;
917
+ margins: z.ZodObject<{
918
+ topPt: z.ZodNumber;
919
+ rightPt: z.ZodNumber;
920
+ bottomPt: z.ZodNumber;
921
+ leftPt: z.ZodNumber;
922
+ }, z.core.$strip>;
923
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
924
+ }, z.core.$strip>>;
925
+ }, z.core.$strip>, z.ZodObject<{
926
+ kind: z.ZodLiteral<"presentation">;
927
+ formatVersion: z.ZodLiteral<1>;
928
+ metadata: z.ZodObject<{
929
+ title: z.ZodOptional<z.ZodString>;
930
+ author: z.ZodOptional<z.ZodString>;
931
+ subject: z.ZodOptional<z.ZodString>;
932
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
933
+ creator: z.ZodOptional<z.ZodString>;
934
+ producer: z.ZodOptional<z.ZodString>;
935
+ createdIso: z.ZodOptional<z.ZodString>;
936
+ modifiedIso: z.ZodOptional<z.ZodString>;
937
+ }, z.core.$strip>;
938
+ slides: z.ZodArray<z.ZodObject<{
939
+ size: z.ZodObject<{
940
+ widthPt: z.ZodNumber;
941
+ heightPt: z.ZodNumber;
942
+ }, z.core.$strip>;
943
+ shapes: z.ZodArray<z.ZodObject<{
944
+ name: z.ZodOptional<z.ZodString>;
945
+ frame: z.ZodObject<{
946
+ xPt: z.ZodNumber;
947
+ yPt: z.ZodNumber;
948
+ widthPt: z.ZodNumber;
321
949
  heightPt: z.ZodNumber;
322
950
  }, z.core.$strip>;
323
951
  rotationDeg: z.ZodOptional<z.ZodNumber>;
@@ -332,6 +960,297 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
332
960
  }, z.core.$strip>>;
333
961
  notes: z.ZodString;
334
962
  }, z.core.$strip>>;
963
+ }, z.core.$strip>, z.ZodObject<{
964
+ kind: z.ZodLiteral<"spreadsheet">;
965
+ formatVersion: z.ZodLiteral<1>;
966
+ metadata: z.ZodObject<{
967
+ title: z.ZodOptional<z.ZodString>;
968
+ author: z.ZodOptional<z.ZodString>;
969
+ subject: z.ZodOptional<z.ZodString>;
970
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
971
+ creator: z.ZodOptional<z.ZodString>;
972
+ producer: z.ZodOptional<z.ZodString>;
973
+ createdIso: z.ZodOptional<z.ZodString>;
974
+ modifiedIso: z.ZodOptional<z.ZodString>;
975
+ }, z.core.$strip>;
976
+ sheets: z.ZodArray<z.ZodObject<{
977
+ name: z.ZodString;
978
+ cells: z.ZodArray<z.ZodObject<{
979
+ row: z.ZodNumber;
980
+ column: z.ZodNumber;
981
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
982
+ kind: z.ZodLiteral<"number">;
983
+ value: z.ZodNumber;
984
+ }, z.core.$strip>, z.ZodObject<{
985
+ kind: z.ZodLiteral<"percentage">;
986
+ value: z.ZodNumber;
987
+ }, z.core.$strip>, z.ZodObject<{
988
+ kind: z.ZodLiteral<"currency">;
989
+ value: z.ZodNumber;
990
+ currency: z.ZodOptional<z.ZodString>;
991
+ }, z.core.$strip>, z.ZodObject<{
992
+ kind: z.ZodLiteral<"boolean">;
993
+ value: z.ZodBoolean;
994
+ }, z.core.$strip>, z.ZodObject<{
995
+ kind: z.ZodLiteral<"date">;
996
+ value: z.ZodString;
997
+ }, z.core.$strip>, z.ZodObject<{
998
+ kind: z.ZodLiteral<"time">;
999
+ value: z.ZodString;
1000
+ }, z.core.$strip>, z.ZodObject<{
1001
+ kind: z.ZodLiteral<"string">;
1002
+ value: z.ZodString;
1003
+ }, z.core.$strip>, z.ZodObject<{
1004
+ kind: z.ZodLiteral<"error">;
1005
+ value: z.ZodString;
1006
+ }, z.core.$strip>, z.ZodObject<{
1007
+ kind: z.ZodLiteral<"empty">;
1008
+ }, z.core.$strip>], "kind">;
1009
+ formula: z.ZodOptional<z.ZodString>;
1010
+ displayText: z.ZodString;
1011
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1012
+ text: z.ZodString;
1013
+ bold: z.ZodOptional<z.ZodBoolean>;
1014
+ italic: z.ZodOptional<z.ZodBoolean>;
1015
+ underline: z.ZodOptional<z.ZodBoolean>;
1016
+ strike: z.ZodOptional<z.ZodBoolean>;
1017
+ fontFamily: z.ZodOptional<z.ZodString>;
1018
+ sizePt: z.ZodOptional<z.ZodNumber>;
1019
+ color: z.ZodOptional<z.ZodObject<{
1020
+ r: z.ZodNumber;
1021
+ g: z.ZodNumber;
1022
+ b: z.ZodNumber;
1023
+ }, z.core.$strip>>;
1024
+ hyperlink: z.ZodOptional<z.ZodString>;
1025
+ sourcePath: z.ZodOptional<z.ZodString>;
1026
+ }, z.core.$strip>>>;
1027
+ colSpan: z.ZodOptional<z.ZodNumber>;
1028
+ rowSpan: z.ZodOptional<z.ZodNumber>;
1029
+ }, z.core.$strip>>;
1030
+ columns: z.ZodArray<z.ZodObject<{
1031
+ index: z.ZodNumber;
1032
+ widthPt: z.ZodNumber;
1033
+ hidden: z.ZodOptional<z.ZodBoolean>;
1034
+ }, z.core.$strip>>;
1035
+ rows: z.ZodArray<z.ZodObject<{
1036
+ index: z.ZodNumber;
1037
+ heightPt: z.ZodNumber;
1038
+ hidden: z.ZodOptional<z.ZodBoolean>;
1039
+ }, z.core.$strip>>;
1040
+ images: z.ZodArray<z.ZodObject<{
1041
+ kind: z.ZodLiteral<"image">;
1042
+ format: z.ZodEnum<{
1043
+ png: "png";
1044
+ jpeg: "jpeg";
1045
+ }>;
1046
+ base64: z.ZodString;
1047
+ widthPt: z.ZodNumber;
1048
+ heightPt: z.ZodNumber;
1049
+ altText: z.ZodOptional<z.ZodString>;
1050
+ sourcePath: z.ZodOptional<z.ZodString>;
1051
+ anchorRow: z.ZodNumber;
1052
+ anchorColumn: z.ZodNumber;
1053
+ offsetXPt: z.ZodNumber;
1054
+ offsetYPt: z.ZodNumber;
1055
+ }, z.core.$strip>>;
1056
+ printSettings: z.ZodObject<{
1057
+ pageSize: z.ZodObject<{
1058
+ widthPt: z.ZodNumber;
1059
+ heightPt: z.ZodNumber;
1060
+ }, z.core.$strip>;
1061
+ margins: z.ZodObject<{
1062
+ topPt: z.ZodNumber;
1063
+ rightPt: z.ZodNumber;
1064
+ bottomPt: z.ZodNumber;
1065
+ leftPt: z.ZodNumber;
1066
+ }, z.core.$strip>;
1067
+ printRange: z.ZodOptional<z.ZodObject<{
1068
+ startRow: z.ZodNumber;
1069
+ startColumn: z.ZodNumber;
1070
+ endRow: z.ZodNumber;
1071
+ endColumn: z.ZodNumber;
1072
+ }, z.core.$strip>>;
1073
+ scale: z.ZodOptional<z.ZodNumber>;
1074
+ fitToPages: z.ZodOptional<z.ZodObject<{
1075
+ width: z.ZodNumber;
1076
+ height: z.ZodNumber;
1077
+ }, z.core.$strip>>;
1078
+ repeatRows: z.ZodOptional<z.ZodObject<{
1079
+ start: z.ZodNumber;
1080
+ end: z.ZodNumber;
1081
+ }, z.core.$strip>>;
1082
+ repeatColumns: z.ZodOptional<z.ZodObject<{
1083
+ start: z.ZodNumber;
1084
+ end: z.ZodNumber;
1085
+ }, z.core.$strip>>;
1086
+ gridlines: z.ZodBoolean;
1087
+ headers: z.ZodBoolean;
1088
+ pageOrder: z.ZodEnum<{
1089
+ downThenOver: "downThenOver";
1090
+ overThenDown: "overThenDown";
1091
+ }>;
1092
+ manualBreaks: z.ZodOptional<z.ZodObject<{
1093
+ rows: z.ZodArray<z.ZodNumber>;
1094
+ columns: z.ZodArray<z.ZodNumber>;
1095
+ }, z.core.$strip>>;
1096
+ }, z.core.$strip>;
1097
+ embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>>>;
1098
+ }, z.core.$strip>>;
1099
+ }, z.core.$strip>, z.ZodObject<{
1100
+ kind: z.ZodLiteral<"drawing">;
1101
+ formatVersion: z.ZodLiteral<1>;
1102
+ metadata: z.ZodObject<{
1103
+ title: z.ZodOptional<z.ZodString>;
1104
+ author: z.ZodOptional<z.ZodString>;
1105
+ subject: z.ZodOptional<z.ZodString>;
1106
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1107
+ creator: z.ZodOptional<z.ZodString>;
1108
+ producer: z.ZodOptional<z.ZodString>;
1109
+ createdIso: z.ZodOptional<z.ZodString>;
1110
+ modifiedIso: z.ZodOptional<z.ZodString>;
1111
+ }, z.core.$strip>;
1112
+ pages: z.ZodArray<z.ZodObject<{
1113
+ size: z.ZodObject<{
1114
+ widthPt: z.ZodNumber;
1115
+ heightPt: z.ZodNumber;
1116
+ }, z.core.$strip>;
1117
+ shapes: z.ZodArray<z.ZodObject<{
1118
+ name: z.ZodOptional<z.ZodString>;
1119
+ frame: z.ZodObject<{
1120
+ xPt: z.ZodNumber;
1121
+ yPt: z.ZodNumber;
1122
+ widthPt: z.ZodNumber;
1123
+ heightPt: z.ZodNumber;
1124
+ }, z.core.$strip>;
1125
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1126
+ insetLeftPt: z.ZodNumber;
1127
+ insetTopPt: z.ZodNumber;
1128
+ insetRightPt: z.ZodNumber;
1129
+ insetBottomPt: z.ZodNumber;
1130
+ fontScale: z.ZodOptional<z.ZodNumber>;
1131
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1132
+ sourcePath: z.ZodOptional<z.ZodString>;
1133
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
1134
+ }, z.core.$strip>>;
1135
+ vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1136
+ kind: z.ZodLiteral<"rect">;
1137
+ frame: z.ZodObject<{
1138
+ xPt: z.ZodNumber;
1139
+ yPt: z.ZodNumber;
1140
+ widthPt: z.ZodNumber;
1141
+ heightPt: z.ZodNumber;
1142
+ }, z.core.$strip>;
1143
+ fill: z.ZodOptional<z.ZodObject<{
1144
+ r: z.ZodNumber;
1145
+ g: z.ZodNumber;
1146
+ b: z.ZodNumber;
1147
+ }, z.core.$strip>>;
1148
+ stroke: z.ZodOptional<z.ZodObject<{
1149
+ color: z.ZodObject<{
1150
+ r: z.ZodNumber;
1151
+ g: z.ZodNumber;
1152
+ b: z.ZodNumber;
1153
+ }, z.core.$strip>;
1154
+ widthPt: z.ZodNumber;
1155
+ }, z.core.$strip>>;
1156
+ sourcePath: z.ZodOptional<z.ZodString>;
1157
+ }, z.core.$strip>, z.ZodObject<{
1158
+ kind: z.ZodLiteral<"ellipse">;
1159
+ frame: z.ZodObject<{
1160
+ xPt: z.ZodNumber;
1161
+ yPt: z.ZodNumber;
1162
+ widthPt: z.ZodNumber;
1163
+ heightPt: z.ZodNumber;
1164
+ }, z.core.$strip>;
1165
+ fill: z.ZodOptional<z.ZodObject<{
1166
+ r: z.ZodNumber;
1167
+ g: z.ZodNumber;
1168
+ b: z.ZodNumber;
1169
+ }, z.core.$strip>>;
1170
+ stroke: z.ZodOptional<z.ZodObject<{
1171
+ color: z.ZodObject<{
1172
+ r: z.ZodNumber;
1173
+ g: z.ZodNumber;
1174
+ b: z.ZodNumber;
1175
+ }, z.core.$strip>;
1176
+ widthPt: z.ZodNumber;
1177
+ }, z.core.$strip>>;
1178
+ sourcePath: z.ZodOptional<z.ZodString>;
1179
+ }, z.core.$strip>, z.ZodObject<{
1180
+ kind: z.ZodLiteral<"line">;
1181
+ from: z.ZodObject<{
1182
+ xPt: z.ZodNumber;
1183
+ yPt: z.ZodNumber;
1184
+ }, z.core.$strip>;
1185
+ to: z.ZodObject<{
1186
+ xPt: z.ZodNumber;
1187
+ yPt: z.ZodNumber;
1188
+ }, z.core.$strip>;
1189
+ stroke: z.ZodObject<{
1190
+ color: z.ZodObject<{
1191
+ r: z.ZodNumber;
1192
+ g: z.ZodNumber;
1193
+ b: z.ZodNumber;
1194
+ }, z.core.$strip>;
1195
+ widthPt: z.ZodNumber;
1196
+ }, z.core.$strip>;
1197
+ sourcePath: z.ZodOptional<z.ZodString>;
1198
+ }, z.core.$strip>, z.ZodObject<{
1199
+ kind: z.ZodLiteral<"path">;
1200
+ frame: z.ZodObject<{
1201
+ xPt: z.ZodNumber;
1202
+ yPt: z.ZodNumber;
1203
+ widthPt: z.ZodNumber;
1204
+ heightPt: z.ZodNumber;
1205
+ }, z.core.$strip>;
1206
+ subpaths: z.ZodArray<z.ZodObject<{
1207
+ start: z.ZodObject<{
1208
+ xPt: z.ZodNumber;
1209
+ yPt: z.ZodNumber;
1210
+ }, z.core.$strip>;
1211
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1212
+ kind: z.ZodLiteral<"line">;
1213
+ to: z.ZodObject<{
1214
+ xPt: z.ZodNumber;
1215
+ yPt: z.ZodNumber;
1216
+ }, z.core.$strip>;
1217
+ }, z.core.$strip>, z.ZodObject<{
1218
+ kind: z.ZodLiteral<"cubic">;
1219
+ control1: z.ZodObject<{
1220
+ xPt: z.ZodNumber;
1221
+ yPt: z.ZodNumber;
1222
+ }, z.core.$strip>;
1223
+ control2: z.ZodObject<{
1224
+ xPt: z.ZodNumber;
1225
+ yPt: z.ZodNumber;
1226
+ }, z.core.$strip>;
1227
+ to: z.ZodObject<{
1228
+ xPt: z.ZodNumber;
1229
+ yPt: z.ZodNumber;
1230
+ }, z.core.$strip>;
1231
+ }, z.core.$strip>], "kind">>;
1232
+ closed: z.ZodBoolean;
1233
+ }, z.core.$strip>>;
1234
+ fill: z.ZodOptional<z.ZodObject<{
1235
+ r: z.ZodNumber;
1236
+ g: z.ZodNumber;
1237
+ b: z.ZodNumber;
1238
+ }, z.core.$strip>>;
1239
+ fillRule: z.ZodOptional<z.ZodEnum<{
1240
+ nonzero: "nonzero";
1241
+ evenodd: "evenodd";
1242
+ }>>;
1243
+ stroke: z.ZodOptional<z.ZodObject<{
1244
+ color: z.ZodObject<{
1245
+ r: z.ZodNumber;
1246
+ g: z.ZodNumber;
1247
+ b: z.ZodNumber;
1248
+ }, z.core.$strip>;
1249
+ widthPt: z.ZodNumber;
1250
+ }, z.core.$strip>>;
1251
+ sourcePath: z.ZodOptional<z.ZodString>;
1252
+ }, z.core.$strip>], "kind">>;
1253
+ }, z.core.$strip>>;
335
1254
  }, z.core.$strip>], "kind">;
336
1255
  type ContentDocument = z.infer<typeof ContentDocumentSchema>;
337
1256
  //#endregion
@@ -782,4 +1701,4 @@ declare const LayoutDocumentSchema: z.ZodObject<{
782
1701
  }, z.core.$strip>;
783
1702
  type LayoutDocument = z.infer<typeof LayoutDocumentSchema>;
784
1703
  //#endregion
785
- export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentDocument, ContentDocumentSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSlide, ContentSlideSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, DEFAULT_LAYOUT_FONT, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutRect, LayoutRectSchema, LayoutText, LayoutTextSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor };
1704
+ export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, Color, ColorSchema, 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, DEFAULT_LAYOUT_FONT, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutRect, LayoutRectSchema, LayoutText, LayoutTextSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor };