document-schema 0.0.0 → 1.5.1

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.
@@ -0,0 +1,2416 @@
1
+ import { z } from "zod";
2
+ //#region src/color.d.ts
3
+ declare const ColorSchema: z.ZodObject<{
4
+ r: z.ZodNumber;
5
+ g: z.ZodNumber;
6
+ b: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ type Color = z.infer<typeof ColorSchema>;
9
+ declare const COLOR_BLACK: Color;
10
+ declare function rgbHexToColor(hex: string): Color;
11
+ declare function colorToRgbHex(color: Color): string;
12
+ //#endregion
13
+ //#region src/geometry.d.ts
14
+ declare const BoxSchema: z.ZodObject<{
15
+ xPt: z.ZodNumber;
16
+ yPt: z.ZodNumber;
17
+ widthPt: z.ZodNumber;
18
+ heightPt: z.ZodNumber;
19
+ }, z.core.$strip>;
20
+ type Box = z.infer<typeof BoxSchema>;
21
+ declare const PageSizeSchema: z.ZodObject<{
22
+ widthPt: z.ZodNumber;
23
+ heightPt: z.ZodNumber;
24
+ }, z.core.$strip>;
25
+ type PageSize = z.infer<typeof PageSizeSchema>;
26
+ declare const MarginsSchema: z.ZodObject<{
27
+ topPt: z.ZodNumber;
28
+ rightPt: z.ZodNumber;
29
+ bottomPt: z.ZodNumber;
30
+ leftPt: z.ZodNumber;
31
+ }, z.core.$strip>;
32
+ type Margins = z.infer<typeof MarginsSchema>;
33
+ declare const PAGE_SIZE_LETTER: PageSize;
34
+ declare const PAGE_SIZE_A4: PageSize;
35
+ declare const SLIDE_SIZE_WIDESCREEN: PageSize;
36
+ declare const SLIDE_SIZE_STANDARD: PageSize;
37
+ //#endregion
38
+ //#region src/style.d.ts
39
+ declare const AlignmentSchema: z.ZodEnum<{
40
+ left: "left";
41
+ center: "center";
42
+ right: "right";
43
+ justify: "justify";
44
+ }>;
45
+ type Alignment = z.infer<typeof AlignmentSchema>;
46
+ declare const LayoutFontSchema: z.ZodObject<{
47
+ family: z.ZodString;
48
+ weight: z.ZodEnum<{
49
+ normal: "normal";
50
+ bold: "bold";
51
+ }>;
52
+ style: z.ZodEnum<{
53
+ normal: "normal";
54
+ italic: "italic";
55
+ }>;
56
+ }, z.core.$strip>;
57
+ type LayoutFont = z.infer<typeof LayoutFontSchema>;
58
+ declare const DEFAULT_LAYOUT_FONT: LayoutFont;
59
+ //#endregion
60
+ //#region src/metadata.d.ts
61
+ declare const LayoutMetadataSchema: z.ZodObject<{
62
+ title: z.ZodOptional<z.ZodString>;
63
+ author: z.ZodOptional<z.ZodString>;
64
+ subject: z.ZodOptional<z.ZodString>;
65
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ creator: z.ZodOptional<z.ZodString>;
67
+ producer: z.ZodOptional<z.ZodString>;
68
+ createdIso: z.ZodOptional<z.ZodString>;
69
+ modifiedIso: z.ZodOptional<z.ZodString>;
70
+ }, z.core.$strip>;
71
+ type LayoutMetadata = z.infer<typeof LayoutMetadataSchema>;
72
+ //#endregion
73
+ //#region src/content.d.ts
74
+ declare const ContentRunSchema: z.ZodObject<{
75
+ text: z.ZodString;
76
+ bold: z.ZodOptional<z.ZodBoolean>;
77
+ italic: z.ZodOptional<z.ZodBoolean>;
78
+ underline: z.ZodOptional<z.ZodBoolean>;
79
+ strike: z.ZodOptional<z.ZodBoolean>;
80
+ fontFamily: z.ZodOptional<z.ZodString>;
81
+ sizePt: z.ZodOptional<z.ZodNumber>;
82
+ color: z.ZodOptional<z.ZodObject<{
83
+ r: z.ZodNumber;
84
+ g: z.ZodNumber;
85
+ b: z.ZodNumber;
86
+ }, z.core.$strip>>;
87
+ hyperlink: z.ZodOptional<z.ZodString>;
88
+ sourcePath: z.ZodOptional<z.ZodString>;
89
+ }, z.core.$strip>;
90
+ type ContentRun = z.infer<typeof ContentRunSchema>;
91
+ declare const ContentListMembershipSchema: z.ZodObject<{
92
+ numId: z.ZodString;
93
+ level: z.ZodNumber;
94
+ }, z.core.$strip>;
95
+ type ContentListMembership = z.infer<typeof ContentListMembershipSchema>;
96
+ declare const ContentParagraphSchema: z.ZodObject<{
97
+ kind: z.ZodLiteral<"paragraph">;
98
+ runs: z.ZodArray<z.ZodObject<{
99
+ text: z.ZodString;
100
+ bold: z.ZodOptional<z.ZodBoolean>;
101
+ italic: z.ZodOptional<z.ZodBoolean>;
102
+ underline: z.ZodOptional<z.ZodBoolean>;
103
+ strike: z.ZodOptional<z.ZodBoolean>;
104
+ fontFamily: z.ZodOptional<z.ZodString>;
105
+ sizePt: z.ZodOptional<z.ZodNumber>;
106
+ color: z.ZodOptional<z.ZodObject<{
107
+ r: z.ZodNumber;
108
+ g: z.ZodNumber;
109
+ b: z.ZodNumber;
110
+ }, z.core.$strip>>;
111
+ hyperlink: z.ZodOptional<z.ZodString>;
112
+ sourcePath: z.ZodOptional<z.ZodString>;
113
+ }, z.core.$strip>>;
114
+ styleId: z.ZodOptional<z.ZodString>;
115
+ alignment: z.ZodOptional<z.ZodEnum<{
116
+ left: "left";
117
+ center: "center";
118
+ right: "right";
119
+ justify: "justify";
120
+ }>>;
121
+ list: z.ZodOptional<z.ZodObject<{
122
+ numId: z.ZodString;
123
+ level: z.ZodNumber;
124
+ }, z.core.$strip>>;
125
+ spacingBeforePt: z.ZodOptional<z.ZodNumber>;
126
+ spacingAfterPt: z.ZodOptional<z.ZodNumber>;
127
+ lineSpacing: z.ZodOptional<z.ZodNumber>;
128
+ indentLeftPt: z.ZodOptional<z.ZodNumber>;
129
+ indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
130
+ sourcePath: z.ZodOptional<z.ZodString>;
131
+ }, z.core.$strip>;
132
+ type ContentParagraph = z.infer<typeof ContentParagraphSchema>;
133
+ declare const ContentImageBlockSchema: z.ZodObject<{
134
+ kind: z.ZodLiteral<"image">;
135
+ format: z.ZodEnum<{
136
+ png: "png";
137
+ jpeg: "jpeg";
138
+ }>;
139
+ base64: z.ZodString;
140
+ widthPt: z.ZodNumber;
141
+ heightPt: z.ZodNumber;
142
+ altText: z.ZodOptional<z.ZodString>;
143
+ sourcePath: z.ZodOptional<z.ZodString>;
144
+ }, z.core.$strip>;
145
+ type ContentImageBlock = z.infer<typeof ContentImageBlockSchema>;
146
+ declare const ContentPageBreakSchema: z.ZodObject<{
147
+ kind: z.ZodLiteral<"pageBreak">;
148
+ sourcePath: z.ZodOptional<z.ZodString>;
149
+ }, z.core.$strip>;
150
+ type ContentPageBreak = z.infer<typeof ContentPageBreakSchema>;
151
+ interface ContentTableCell {
152
+ blocks: ContentBlock[];
153
+ colSpan?: number;
154
+ rowSpan?: number;
155
+ background?: Color;
156
+ }
157
+ interface ContentTableRow {
158
+ cells: ContentTableCell[];
159
+ heightPt?: number;
160
+ }
161
+ interface ContentTable {
162
+ kind: 'table';
163
+ rows: ContentTableRow[];
164
+ columnWidthsPt: number[];
165
+ sourcePath?: string;
166
+ }
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;
178
+ declare function isContentBlock(value: unknown): value is ContentBlock;
179
+ declare const ContentBlockSchema: z.ZodCustom<ContentBlock, ContentBlock>;
180
+ declare const ContentEmbeddedObjectSchema: z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>;
181
+ declare const ContentEmbeddedObjectBlockSchema: z.ZodCustom<ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlock>;
182
+ declare const ContentTableCellSchema: z.ZodObject<{
183
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
184
+ colSpan: z.ZodOptional<z.ZodNumber>;
185
+ rowSpan: z.ZodOptional<z.ZodNumber>;
186
+ background: z.ZodOptional<z.ZodObject<{
187
+ r: z.ZodNumber;
188
+ g: z.ZodNumber;
189
+ b: z.ZodNumber;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>;
192
+ declare const ContentTableRowSchema: z.ZodObject<{
193
+ cells: z.ZodArray<z.ZodObject<{
194
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
195
+ colSpan: z.ZodOptional<z.ZodNumber>;
196
+ rowSpan: z.ZodOptional<z.ZodNumber>;
197
+ background: z.ZodOptional<z.ZodObject<{
198
+ r: z.ZodNumber;
199
+ g: z.ZodNumber;
200
+ b: z.ZodNumber;
201
+ }, z.core.$strip>>;
202
+ }, z.core.$strip>>;
203
+ heightPt: z.ZodOptional<z.ZodNumber>;
204
+ }, z.core.$strip>;
205
+ declare const ContentTableSchema: z.ZodObject<{
206
+ kind: z.ZodLiteral<"table">;
207
+ rows: z.ZodArray<z.ZodObject<{
208
+ cells: z.ZodArray<z.ZodObject<{
209
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
210
+ colSpan: z.ZodOptional<z.ZodNumber>;
211
+ rowSpan: z.ZodOptional<z.ZodNumber>;
212
+ background: z.ZodOptional<z.ZodObject<{
213
+ r: z.ZodNumber;
214
+ g: z.ZodNumber;
215
+ b: z.ZodNumber;
216
+ }, z.core.$strip>>;
217
+ }, z.core.$strip>>;
218
+ heightPt: z.ZodOptional<z.ZodNumber>;
219
+ }, z.core.$strip>>;
220
+ columnWidthsPt: z.ZodArray<z.ZodNumber>;
221
+ sourcePath: z.ZodOptional<z.ZodString>;
222
+ }, z.core.$strip>;
223
+ declare const ContentSectionSchema: z.ZodObject<{
224
+ pageSize: z.ZodObject<{
225
+ widthPt: z.ZodNumber;
226
+ heightPt: z.ZodNumber;
227
+ }, z.core.$strip>;
228
+ margins: z.ZodObject<{
229
+ topPt: z.ZodNumber;
230
+ rightPt: z.ZodNumber;
231
+ bottomPt: z.ZodNumber;
232
+ leftPt: z.ZodNumber;
233
+ }, z.core.$strip>;
234
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
235
+ }, z.core.$strip>;
236
+ type ContentSection = z.infer<typeof ContentSectionSchema>;
237
+ declare const ContentShapeSchema: z.ZodObject<{
238
+ name: z.ZodOptional<z.ZodString>;
239
+ frame: z.ZodObject<{
240
+ xPt: z.ZodNumber;
241
+ yPt: z.ZodNumber;
242
+ widthPt: z.ZodNumber;
243
+ heightPt: z.ZodNumber;
244
+ }, z.core.$strip>;
245
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
246
+ insetLeftPt: z.ZodNumber;
247
+ insetTopPt: z.ZodNumber;
248
+ insetRightPt: z.ZodNumber;
249
+ insetBottomPt: z.ZodNumber;
250
+ fontScale: z.ZodOptional<z.ZodNumber>;
251
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
252
+ sourcePath: z.ZodOptional<z.ZodString>;
253
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
254
+ }, z.core.$strip>;
255
+ type ContentShape = z.infer<typeof ContentShapeSchema>;
256
+ declare const ContentSlideSchema: z.ZodObject<{
257
+ size: z.ZodObject<{
258
+ widthPt: z.ZodNumber;
259
+ heightPt: z.ZodNumber;
260
+ }, z.core.$strip>;
261
+ shapes: z.ZodArray<z.ZodObject<{
262
+ name: z.ZodOptional<z.ZodString>;
263
+ frame: z.ZodObject<{
264
+ xPt: z.ZodNumber;
265
+ yPt: z.ZodNumber;
266
+ widthPt: z.ZodNumber;
267
+ heightPt: z.ZodNumber;
268
+ }, z.core.$strip>;
269
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
270
+ insetLeftPt: z.ZodNumber;
271
+ insetTopPt: z.ZodNumber;
272
+ insetRightPt: z.ZodNumber;
273
+ insetBottomPt: z.ZodNumber;
274
+ fontScale: z.ZodOptional<z.ZodNumber>;
275
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
276
+ sourcePath: z.ZodOptional<z.ZodString>;
277
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
278
+ }, z.core.$strip>>;
279
+ notes: z.ZodString;
280
+ }, z.core.$strip>;
281
+ type ContentSlide = z.infer<typeof ContentSlideSchema>;
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;
392
+ }, z.core.$strip>;
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<{
528
+ pageSize: z.ZodObject<{
529
+ widthPt: z.ZodNumber;
530
+ heightPt: z.ZodNumber;
531
+ }, z.core.$strip>;
532
+ margins: z.ZodObject<{
533
+ topPt: z.ZodNumber;
534
+ rightPt: z.ZodNumber;
535
+ bottomPt: z.ZodNumber;
536
+ leftPt: z.ZodNumber;
537
+ }, z.core.$strip>;
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;
656
+ }, z.core.$strip>>;
657
+ sourcePath: z.ZodOptional<z.ZodString>;
658
+ }, z.core.$strip>, z.ZodObject<{
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;
665
+ }, z.core.$strip>;
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;
676
+ }, z.core.$strip>;
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<{
715
+ xPt: z.ZodNumber;
716
+ yPt: 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;
949
+ heightPt: z.ZodNumber;
950
+ }, z.core.$strip>;
951
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
952
+ insetLeftPt: z.ZodNumber;
953
+ insetTopPt: z.ZodNumber;
954
+ insetRightPt: z.ZodNumber;
955
+ insetBottomPt: z.ZodNumber;
956
+ fontScale: z.ZodOptional<z.ZodNumber>;
957
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
958
+ sourcePath: z.ZodOptional<z.ZodString>;
959
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
960
+ }, z.core.$strip>>;
961
+ notes: z.ZodString;
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>>;
1254
+ }, z.core.$strip>], "kind">;
1255
+ type ContentDocument = z.infer<typeof ContentDocumentSchema>;
1256
+ //#endregion
1257
+ //#region src/layout.d.ts
1258
+ declare const LAYOUT_FORMAT_VERSION = 1;
1259
+ declare const LayoutTextSchema: z.ZodObject<{
1260
+ kind: z.ZodLiteral<"text">;
1261
+ text: z.ZodString;
1262
+ xPt: z.ZodNumber;
1263
+ yPt: z.ZodNumber;
1264
+ font: z.ZodObject<{
1265
+ family: z.ZodString;
1266
+ weight: z.ZodEnum<{
1267
+ normal: "normal";
1268
+ bold: "bold";
1269
+ }>;
1270
+ style: z.ZodEnum<{
1271
+ normal: "normal";
1272
+ italic: "italic";
1273
+ }>;
1274
+ }, z.core.$strip>;
1275
+ sizePt: z.ZodNumber;
1276
+ color: z.ZodObject<{
1277
+ r: z.ZodNumber;
1278
+ g: z.ZodNumber;
1279
+ b: z.ZodNumber;
1280
+ }, z.core.$strip>;
1281
+ widthPt: z.ZodOptional<z.ZodNumber>;
1282
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1283
+ underline: z.ZodOptional<z.ZodBoolean>;
1284
+ sourcePath: z.ZodOptional<z.ZodString>;
1285
+ }, z.core.$strip>;
1286
+ type LayoutText = z.infer<typeof LayoutTextSchema>;
1287
+ declare const LayoutImageSchema: z.ZodObject<{
1288
+ kind: z.ZodLiteral<"image">;
1289
+ imageId: z.ZodString;
1290
+ xPt: z.ZodNumber;
1291
+ yPt: z.ZodNumber;
1292
+ widthPt: z.ZodNumber;
1293
+ heightPt: z.ZodNumber;
1294
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1295
+ sourcePath: z.ZodOptional<z.ZodString>;
1296
+ }, z.core.$strip>;
1297
+ type LayoutImage = z.infer<typeof LayoutImageSchema>;
1298
+ declare const LayoutRectSchema: z.ZodObject<{
1299
+ kind: z.ZodLiteral<"rect">;
1300
+ xPt: z.ZodNumber;
1301
+ yPt: z.ZodNumber;
1302
+ widthPt: z.ZodNumber;
1303
+ heightPt: z.ZodNumber;
1304
+ fill: z.ZodOptional<z.ZodObject<{
1305
+ r: z.ZodNumber;
1306
+ g: z.ZodNumber;
1307
+ b: z.ZodNumber;
1308
+ }, z.core.$strip>>;
1309
+ stroke: z.ZodOptional<z.ZodObject<{
1310
+ color: z.ZodObject<{
1311
+ r: z.ZodNumber;
1312
+ g: z.ZodNumber;
1313
+ b: z.ZodNumber;
1314
+ }, z.core.$strip>;
1315
+ widthPt: z.ZodNumber;
1316
+ }, z.core.$strip>>;
1317
+ sourcePath: z.ZodOptional<z.ZodString>;
1318
+ }, z.core.$strip>;
1319
+ type LayoutRect = z.infer<typeof LayoutRectSchema>;
1320
+ declare const LayoutLineSchema: z.ZodObject<{
1321
+ kind: z.ZodLiteral<"line">;
1322
+ x1Pt: z.ZodNumber;
1323
+ y1Pt: z.ZodNumber;
1324
+ x2Pt: z.ZodNumber;
1325
+ y2Pt: z.ZodNumber;
1326
+ color: z.ZodObject<{
1327
+ r: z.ZodNumber;
1328
+ g: z.ZodNumber;
1329
+ b: z.ZodNumber;
1330
+ }, z.core.$strip>;
1331
+ widthPt: z.ZodNumber;
1332
+ sourcePath: z.ZodOptional<z.ZodString>;
1333
+ }, z.core.$strip>;
1334
+ type LayoutLine = z.infer<typeof LayoutLineSchema>;
1335
+ declare const LayoutEllipseSchema: z.ZodObject<{
1336
+ kind: z.ZodLiteral<"ellipse">;
1337
+ xPt: z.ZodNumber;
1338
+ yPt: z.ZodNumber;
1339
+ widthPt: z.ZodNumber;
1340
+ heightPt: z.ZodNumber;
1341
+ fill: z.ZodOptional<z.ZodObject<{
1342
+ r: z.ZodNumber;
1343
+ g: z.ZodNumber;
1344
+ b: z.ZodNumber;
1345
+ }, z.core.$strip>>;
1346
+ stroke: z.ZodOptional<z.ZodObject<{
1347
+ color: z.ZodObject<{
1348
+ r: z.ZodNumber;
1349
+ g: z.ZodNumber;
1350
+ b: z.ZodNumber;
1351
+ }, z.core.$strip>;
1352
+ widthPt: z.ZodNumber;
1353
+ }, z.core.$strip>>;
1354
+ sourcePath: z.ZodOptional<z.ZodString>;
1355
+ }, z.core.$strip>;
1356
+ type LayoutEllipse = z.infer<typeof LayoutEllipseSchema>;
1357
+ declare const LayoutPathSegmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1358
+ kind: z.ZodLiteral<"line">;
1359
+ xPt: z.ZodNumber;
1360
+ yPt: z.ZodNumber;
1361
+ }, z.core.$strip>, z.ZodObject<{
1362
+ kind: z.ZodLiteral<"cubic">;
1363
+ c1xPt: z.ZodNumber;
1364
+ c1yPt: z.ZodNumber;
1365
+ c2xPt: z.ZodNumber;
1366
+ c2yPt: z.ZodNumber;
1367
+ xPt: z.ZodNumber;
1368
+ yPt: z.ZodNumber;
1369
+ }, z.core.$strip>], "kind">;
1370
+ type LayoutPathSegment = z.infer<typeof LayoutPathSegmentSchema>;
1371
+ declare const LayoutSubpathSchema: z.ZodObject<{
1372
+ startXPt: z.ZodNumber;
1373
+ startYPt: z.ZodNumber;
1374
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1375
+ kind: z.ZodLiteral<"line">;
1376
+ xPt: z.ZodNumber;
1377
+ yPt: z.ZodNumber;
1378
+ }, z.core.$strip>, z.ZodObject<{
1379
+ kind: z.ZodLiteral<"cubic">;
1380
+ c1xPt: z.ZodNumber;
1381
+ c1yPt: z.ZodNumber;
1382
+ c2xPt: z.ZodNumber;
1383
+ c2yPt: z.ZodNumber;
1384
+ xPt: z.ZodNumber;
1385
+ yPt: z.ZodNumber;
1386
+ }, z.core.$strip>], "kind">>;
1387
+ closed: z.ZodBoolean;
1388
+ }, z.core.$strip>;
1389
+ type LayoutSubpath = z.infer<typeof LayoutSubpathSchema>;
1390
+ declare const LayoutPathSchema: z.ZodObject<{
1391
+ kind: z.ZodLiteral<"path">;
1392
+ subpaths: z.ZodArray<z.ZodObject<{
1393
+ startXPt: z.ZodNumber;
1394
+ startYPt: z.ZodNumber;
1395
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1396
+ kind: z.ZodLiteral<"line">;
1397
+ xPt: z.ZodNumber;
1398
+ yPt: z.ZodNumber;
1399
+ }, z.core.$strip>, z.ZodObject<{
1400
+ kind: z.ZodLiteral<"cubic">;
1401
+ c1xPt: z.ZodNumber;
1402
+ c1yPt: z.ZodNumber;
1403
+ c2xPt: z.ZodNumber;
1404
+ c2yPt: z.ZodNumber;
1405
+ xPt: z.ZodNumber;
1406
+ yPt: z.ZodNumber;
1407
+ }, z.core.$strip>], "kind">>;
1408
+ closed: z.ZodBoolean;
1409
+ }, z.core.$strip>>;
1410
+ fill: z.ZodOptional<z.ZodObject<{
1411
+ r: z.ZodNumber;
1412
+ g: z.ZodNumber;
1413
+ b: z.ZodNumber;
1414
+ }, z.core.$strip>>;
1415
+ fillRule: z.ZodOptional<z.ZodEnum<{
1416
+ nonzero: "nonzero";
1417
+ evenodd: "evenodd";
1418
+ }>>;
1419
+ stroke: z.ZodOptional<z.ZodObject<{
1420
+ color: z.ZodObject<{
1421
+ r: z.ZodNumber;
1422
+ g: z.ZodNumber;
1423
+ b: z.ZodNumber;
1424
+ }, z.core.$strip>;
1425
+ widthPt: z.ZodNumber;
1426
+ }, z.core.$strip>>;
1427
+ sourcePath: z.ZodOptional<z.ZodString>;
1428
+ }, z.core.$strip>;
1429
+ type LayoutPath = z.infer<typeof LayoutPathSchema>;
1430
+ declare const LayoutLinkSchema: z.ZodObject<{
1431
+ kind: z.ZodLiteral<"link">;
1432
+ uri: z.ZodString;
1433
+ xPt: z.ZodNumber;
1434
+ yPt: z.ZodNumber;
1435
+ widthPt: z.ZodNumber;
1436
+ heightPt: z.ZodNumber;
1437
+ sourcePath: z.ZodOptional<z.ZodString>;
1438
+ }, z.core.$strip>;
1439
+ type LayoutLink = z.infer<typeof LayoutLinkSchema>;
1440
+ declare const LayoutItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1441
+ kind: z.ZodLiteral<"text">;
1442
+ text: z.ZodString;
1443
+ xPt: z.ZodNumber;
1444
+ yPt: z.ZodNumber;
1445
+ font: z.ZodObject<{
1446
+ family: z.ZodString;
1447
+ weight: z.ZodEnum<{
1448
+ normal: "normal";
1449
+ bold: "bold";
1450
+ }>;
1451
+ style: z.ZodEnum<{
1452
+ normal: "normal";
1453
+ italic: "italic";
1454
+ }>;
1455
+ }, z.core.$strip>;
1456
+ sizePt: z.ZodNumber;
1457
+ color: z.ZodObject<{
1458
+ r: z.ZodNumber;
1459
+ g: z.ZodNumber;
1460
+ b: z.ZodNumber;
1461
+ }, z.core.$strip>;
1462
+ widthPt: z.ZodOptional<z.ZodNumber>;
1463
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1464
+ underline: z.ZodOptional<z.ZodBoolean>;
1465
+ sourcePath: z.ZodOptional<z.ZodString>;
1466
+ }, z.core.$strip>, z.ZodObject<{
1467
+ kind: z.ZodLiteral<"image">;
1468
+ imageId: z.ZodString;
1469
+ xPt: z.ZodNumber;
1470
+ yPt: z.ZodNumber;
1471
+ widthPt: z.ZodNumber;
1472
+ heightPt: z.ZodNumber;
1473
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1474
+ sourcePath: z.ZodOptional<z.ZodString>;
1475
+ }, z.core.$strip>, z.ZodObject<{
1476
+ kind: z.ZodLiteral<"rect">;
1477
+ xPt: z.ZodNumber;
1478
+ yPt: z.ZodNumber;
1479
+ widthPt: z.ZodNumber;
1480
+ heightPt: z.ZodNumber;
1481
+ fill: z.ZodOptional<z.ZodObject<{
1482
+ r: z.ZodNumber;
1483
+ g: z.ZodNumber;
1484
+ b: z.ZodNumber;
1485
+ }, z.core.$strip>>;
1486
+ stroke: z.ZodOptional<z.ZodObject<{
1487
+ color: z.ZodObject<{
1488
+ r: z.ZodNumber;
1489
+ g: z.ZodNumber;
1490
+ b: z.ZodNumber;
1491
+ }, z.core.$strip>;
1492
+ widthPt: z.ZodNumber;
1493
+ }, z.core.$strip>>;
1494
+ sourcePath: z.ZodOptional<z.ZodString>;
1495
+ }, z.core.$strip>, z.ZodObject<{
1496
+ kind: z.ZodLiteral<"line">;
1497
+ x1Pt: z.ZodNumber;
1498
+ y1Pt: z.ZodNumber;
1499
+ x2Pt: z.ZodNumber;
1500
+ y2Pt: z.ZodNumber;
1501
+ color: z.ZodObject<{
1502
+ r: z.ZodNumber;
1503
+ g: z.ZodNumber;
1504
+ b: z.ZodNumber;
1505
+ }, z.core.$strip>;
1506
+ widthPt: z.ZodNumber;
1507
+ sourcePath: z.ZodOptional<z.ZodString>;
1508
+ }, z.core.$strip>, z.ZodObject<{
1509
+ kind: z.ZodLiteral<"ellipse">;
1510
+ xPt: z.ZodNumber;
1511
+ yPt: z.ZodNumber;
1512
+ widthPt: z.ZodNumber;
1513
+ heightPt: z.ZodNumber;
1514
+ fill: z.ZodOptional<z.ZodObject<{
1515
+ r: z.ZodNumber;
1516
+ g: z.ZodNumber;
1517
+ b: z.ZodNumber;
1518
+ }, z.core.$strip>>;
1519
+ stroke: z.ZodOptional<z.ZodObject<{
1520
+ color: z.ZodObject<{
1521
+ r: z.ZodNumber;
1522
+ g: z.ZodNumber;
1523
+ b: z.ZodNumber;
1524
+ }, z.core.$strip>;
1525
+ widthPt: z.ZodNumber;
1526
+ }, z.core.$strip>>;
1527
+ sourcePath: z.ZodOptional<z.ZodString>;
1528
+ }, z.core.$strip>, z.ZodObject<{
1529
+ kind: z.ZodLiteral<"path">;
1530
+ subpaths: z.ZodArray<z.ZodObject<{
1531
+ startXPt: z.ZodNumber;
1532
+ startYPt: z.ZodNumber;
1533
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1534
+ kind: z.ZodLiteral<"line">;
1535
+ xPt: z.ZodNumber;
1536
+ yPt: z.ZodNumber;
1537
+ }, z.core.$strip>, z.ZodObject<{
1538
+ kind: z.ZodLiteral<"cubic">;
1539
+ c1xPt: z.ZodNumber;
1540
+ c1yPt: z.ZodNumber;
1541
+ c2xPt: z.ZodNumber;
1542
+ c2yPt: z.ZodNumber;
1543
+ xPt: z.ZodNumber;
1544
+ yPt: z.ZodNumber;
1545
+ }, z.core.$strip>], "kind">>;
1546
+ closed: z.ZodBoolean;
1547
+ }, z.core.$strip>>;
1548
+ fill: z.ZodOptional<z.ZodObject<{
1549
+ r: z.ZodNumber;
1550
+ g: z.ZodNumber;
1551
+ b: z.ZodNumber;
1552
+ }, z.core.$strip>>;
1553
+ fillRule: z.ZodOptional<z.ZodEnum<{
1554
+ nonzero: "nonzero";
1555
+ evenodd: "evenodd";
1556
+ }>>;
1557
+ stroke: z.ZodOptional<z.ZodObject<{
1558
+ color: z.ZodObject<{
1559
+ r: z.ZodNumber;
1560
+ g: z.ZodNumber;
1561
+ b: z.ZodNumber;
1562
+ }, z.core.$strip>;
1563
+ widthPt: z.ZodNumber;
1564
+ }, z.core.$strip>>;
1565
+ sourcePath: z.ZodOptional<z.ZodString>;
1566
+ }, z.core.$strip>, z.ZodObject<{
1567
+ kind: z.ZodLiteral<"link">;
1568
+ uri: z.ZodString;
1569
+ xPt: z.ZodNumber;
1570
+ yPt: z.ZodNumber;
1571
+ widthPt: z.ZodNumber;
1572
+ heightPt: z.ZodNumber;
1573
+ sourcePath: z.ZodOptional<z.ZodString>;
1574
+ }, z.core.$strip>], "kind">;
1575
+ type LayoutItem = z.infer<typeof LayoutItemSchema>;
1576
+ declare const LayoutPageSchema: z.ZodObject<{
1577
+ widthPt: z.ZodNumber;
1578
+ heightPt: z.ZodNumber;
1579
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1580
+ kind: z.ZodLiteral<"text">;
1581
+ text: z.ZodString;
1582
+ xPt: z.ZodNumber;
1583
+ yPt: z.ZodNumber;
1584
+ font: z.ZodObject<{
1585
+ family: z.ZodString;
1586
+ weight: z.ZodEnum<{
1587
+ normal: "normal";
1588
+ bold: "bold";
1589
+ }>;
1590
+ style: z.ZodEnum<{
1591
+ normal: "normal";
1592
+ italic: "italic";
1593
+ }>;
1594
+ }, z.core.$strip>;
1595
+ sizePt: z.ZodNumber;
1596
+ color: z.ZodObject<{
1597
+ r: z.ZodNumber;
1598
+ g: z.ZodNumber;
1599
+ b: z.ZodNumber;
1600
+ }, z.core.$strip>;
1601
+ widthPt: z.ZodOptional<z.ZodNumber>;
1602
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1603
+ underline: z.ZodOptional<z.ZodBoolean>;
1604
+ sourcePath: z.ZodOptional<z.ZodString>;
1605
+ }, z.core.$strip>, z.ZodObject<{
1606
+ kind: z.ZodLiteral<"image">;
1607
+ imageId: z.ZodString;
1608
+ xPt: z.ZodNumber;
1609
+ yPt: z.ZodNumber;
1610
+ widthPt: z.ZodNumber;
1611
+ heightPt: z.ZodNumber;
1612
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1613
+ sourcePath: z.ZodOptional<z.ZodString>;
1614
+ }, z.core.$strip>, z.ZodObject<{
1615
+ kind: z.ZodLiteral<"rect">;
1616
+ xPt: z.ZodNumber;
1617
+ yPt: z.ZodNumber;
1618
+ widthPt: z.ZodNumber;
1619
+ heightPt: z.ZodNumber;
1620
+ fill: z.ZodOptional<z.ZodObject<{
1621
+ r: z.ZodNumber;
1622
+ g: z.ZodNumber;
1623
+ b: z.ZodNumber;
1624
+ }, z.core.$strip>>;
1625
+ stroke: z.ZodOptional<z.ZodObject<{
1626
+ color: z.ZodObject<{
1627
+ r: z.ZodNumber;
1628
+ g: z.ZodNumber;
1629
+ b: z.ZodNumber;
1630
+ }, z.core.$strip>;
1631
+ widthPt: z.ZodNumber;
1632
+ }, z.core.$strip>>;
1633
+ sourcePath: z.ZodOptional<z.ZodString>;
1634
+ }, z.core.$strip>, z.ZodObject<{
1635
+ kind: z.ZodLiteral<"line">;
1636
+ x1Pt: z.ZodNumber;
1637
+ y1Pt: z.ZodNumber;
1638
+ x2Pt: z.ZodNumber;
1639
+ y2Pt: z.ZodNumber;
1640
+ color: z.ZodObject<{
1641
+ r: z.ZodNumber;
1642
+ g: z.ZodNumber;
1643
+ b: z.ZodNumber;
1644
+ }, z.core.$strip>;
1645
+ widthPt: z.ZodNumber;
1646
+ sourcePath: z.ZodOptional<z.ZodString>;
1647
+ }, z.core.$strip>, z.ZodObject<{
1648
+ kind: z.ZodLiteral<"ellipse">;
1649
+ xPt: z.ZodNumber;
1650
+ yPt: z.ZodNumber;
1651
+ widthPt: z.ZodNumber;
1652
+ heightPt: z.ZodNumber;
1653
+ fill: z.ZodOptional<z.ZodObject<{
1654
+ r: z.ZodNumber;
1655
+ g: z.ZodNumber;
1656
+ b: z.ZodNumber;
1657
+ }, z.core.$strip>>;
1658
+ stroke: z.ZodOptional<z.ZodObject<{
1659
+ color: z.ZodObject<{
1660
+ r: z.ZodNumber;
1661
+ g: z.ZodNumber;
1662
+ b: z.ZodNumber;
1663
+ }, z.core.$strip>;
1664
+ widthPt: z.ZodNumber;
1665
+ }, z.core.$strip>>;
1666
+ sourcePath: z.ZodOptional<z.ZodString>;
1667
+ }, z.core.$strip>, z.ZodObject<{
1668
+ kind: z.ZodLiteral<"path">;
1669
+ subpaths: z.ZodArray<z.ZodObject<{
1670
+ startXPt: z.ZodNumber;
1671
+ startYPt: z.ZodNumber;
1672
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1673
+ kind: z.ZodLiteral<"line">;
1674
+ xPt: z.ZodNumber;
1675
+ yPt: z.ZodNumber;
1676
+ }, z.core.$strip>, z.ZodObject<{
1677
+ kind: z.ZodLiteral<"cubic">;
1678
+ c1xPt: z.ZodNumber;
1679
+ c1yPt: z.ZodNumber;
1680
+ c2xPt: z.ZodNumber;
1681
+ c2yPt: z.ZodNumber;
1682
+ xPt: z.ZodNumber;
1683
+ yPt: z.ZodNumber;
1684
+ }, z.core.$strip>], "kind">>;
1685
+ closed: z.ZodBoolean;
1686
+ }, z.core.$strip>>;
1687
+ fill: z.ZodOptional<z.ZodObject<{
1688
+ r: z.ZodNumber;
1689
+ g: z.ZodNumber;
1690
+ b: z.ZodNumber;
1691
+ }, z.core.$strip>>;
1692
+ fillRule: z.ZodOptional<z.ZodEnum<{
1693
+ nonzero: "nonzero";
1694
+ evenodd: "evenodd";
1695
+ }>>;
1696
+ stroke: z.ZodOptional<z.ZodObject<{
1697
+ color: z.ZodObject<{
1698
+ r: z.ZodNumber;
1699
+ g: z.ZodNumber;
1700
+ b: z.ZodNumber;
1701
+ }, z.core.$strip>;
1702
+ widthPt: z.ZodNumber;
1703
+ }, z.core.$strip>>;
1704
+ sourcePath: z.ZodOptional<z.ZodString>;
1705
+ }, z.core.$strip>, z.ZodObject<{
1706
+ kind: z.ZodLiteral<"link">;
1707
+ uri: z.ZodString;
1708
+ xPt: z.ZodNumber;
1709
+ yPt: z.ZodNumber;
1710
+ widthPt: z.ZodNumber;
1711
+ heightPt: z.ZodNumber;
1712
+ sourcePath: z.ZodOptional<z.ZodString>;
1713
+ }, z.core.$strip>], "kind">>;
1714
+ notes: z.ZodOptional<z.ZodString>;
1715
+ }, z.core.$strip>;
1716
+ type LayoutPage = z.infer<typeof LayoutPageSchema>;
1717
+ declare const LayoutImageAssetSchema: z.ZodObject<{
1718
+ format: z.ZodEnum<{
1719
+ png: "png";
1720
+ jpeg: "jpeg";
1721
+ }>;
1722
+ base64: z.ZodString;
1723
+ widthPx: z.ZodNumber;
1724
+ heightPx: z.ZodNumber;
1725
+ }, z.core.$strip>;
1726
+ type LayoutImageAsset = z.infer<typeof LayoutImageAssetSchema>;
1727
+ declare const LayoutDocumentSchema: z.ZodObject<{
1728
+ formatVersion: z.ZodLiteral<1>;
1729
+ metadata: z.ZodObject<{
1730
+ title: z.ZodOptional<z.ZodString>;
1731
+ author: z.ZodOptional<z.ZodString>;
1732
+ subject: z.ZodOptional<z.ZodString>;
1733
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1734
+ creator: z.ZodOptional<z.ZodString>;
1735
+ producer: z.ZodOptional<z.ZodString>;
1736
+ createdIso: z.ZodOptional<z.ZodString>;
1737
+ modifiedIso: z.ZodOptional<z.ZodString>;
1738
+ }, z.core.$strip>;
1739
+ pages: z.ZodArray<z.ZodObject<{
1740
+ widthPt: z.ZodNumber;
1741
+ heightPt: z.ZodNumber;
1742
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1743
+ kind: z.ZodLiteral<"text">;
1744
+ text: z.ZodString;
1745
+ xPt: z.ZodNumber;
1746
+ yPt: z.ZodNumber;
1747
+ font: z.ZodObject<{
1748
+ family: z.ZodString;
1749
+ weight: z.ZodEnum<{
1750
+ normal: "normal";
1751
+ bold: "bold";
1752
+ }>;
1753
+ style: z.ZodEnum<{
1754
+ normal: "normal";
1755
+ italic: "italic";
1756
+ }>;
1757
+ }, z.core.$strip>;
1758
+ sizePt: z.ZodNumber;
1759
+ color: z.ZodObject<{
1760
+ r: z.ZodNumber;
1761
+ g: z.ZodNumber;
1762
+ b: z.ZodNumber;
1763
+ }, z.core.$strip>;
1764
+ widthPt: z.ZodOptional<z.ZodNumber>;
1765
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1766
+ underline: z.ZodOptional<z.ZodBoolean>;
1767
+ sourcePath: z.ZodOptional<z.ZodString>;
1768
+ }, z.core.$strip>, z.ZodObject<{
1769
+ kind: z.ZodLiteral<"image">;
1770
+ imageId: z.ZodString;
1771
+ xPt: z.ZodNumber;
1772
+ yPt: z.ZodNumber;
1773
+ widthPt: z.ZodNumber;
1774
+ heightPt: z.ZodNumber;
1775
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1776
+ sourcePath: z.ZodOptional<z.ZodString>;
1777
+ }, z.core.$strip>, z.ZodObject<{
1778
+ kind: z.ZodLiteral<"rect">;
1779
+ xPt: z.ZodNumber;
1780
+ yPt: z.ZodNumber;
1781
+ widthPt: z.ZodNumber;
1782
+ heightPt: z.ZodNumber;
1783
+ fill: z.ZodOptional<z.ZodObject<{
1784
+ r: z.ZodNumber;
1785
+ g: z.ZodNumber;
1786
+ b: z.ZodNumber;
1787
+ }, z.core.$strip>>;
1788
+ stroke: z.ZodOptional<z.ZodObject<{
1789
+ color: z.ZodObject<{
1790
+ r: z.ZodNumber;
1791
+ g: z.ZodNumber;
1792
+ b: z.ZodNumber;
1793
+ }, z.core.$strip>;
1794
+ widthPt: z.ZodNumber;
1795
+ }, z.core.$strip>>;
1796
+ sourcePath: z.ZodOptional<z.ZodString>;
1797
+ }, z.core.$strip>, z.ZodObject<{
1798
+ kind: z.ZodLiteral<"line">;
1799
+ x1Pt: z.ZodNumber;
1800
+ y1Pt: z.ZodNumber;
1801
+ x2Pt: z.ZodNumber;
1802
+ y2Pt: z.ZodNumber;
1803
+ color: z.ZodObject<{
1804
+ r: z.ZodNumber;
1805
+ g: z.ZodNumber;
1806
+ b: z.ZodNumber;
1807
+ }, z.core.$strip>;
1808
+ widthPt: z.ZodNumber;
1809
+ sourcePath: z.ZodOptional<z.ZodString>;
1810
+ }, z.core.$strip>, z.ZodObject<{
1811
+ kind: z.ZodLiteral<"ellipse">;
1812
+ xPt: z.ZodNumber;
1813
+ yPt: z.ZodNumber;
1814
+ widthPt: z.ZodNumber;
1815
+ heightPt: z.ZodNumber;
1816
+ fill: z.ZodOptional<z.ZodObject<{
1817
+ r: z.ZodNumber;
1818
+ g: z.ZodNumber;
1819
+ b: z.ZodNumber;
1820
+ }, z.core.$strip>>;
1821
+ stroke: z.ZodOptional<z.ZodObject<{
1822
+ color: z.ZodObject<{
1823
+ r: z.ZodNumber;
1824
+ g: z.ZodNumber;
1825
+ b: z.ZodNumber;
1826
+ }, z.core.$strip>;
1827
+ widthPt: z.ZodNumber;
1828
+ }, z.core.$strip>>;
1829
+ sourcePath: z.ZodOptional<z.ZodString>;
1830
+ }, z.core.$strip>, z.ZodObject<{
1831
+ kind: z.ZodLiteral<"path">;
1832
+ subpaths: z.ZodArray<z.ZodObject<{
1833
+ startXPt: z.ZodNumber;
1834
+ startYPt: z.ZodNumber;
1835
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1836
+ kind: z.ZodLiteral<"line">;
1837
+ xPt: z.ZodNumber;
1838
+ yPt: z.ZodNumber;
1839
+ }, z.core.$strip>, z.ZodObject<{
1840
+ kind: z.ZodLiteral<"cubic">;
1841
+ c1xPt: z.ZodNumber;
1842
+ c1yPt: z.ZodNumber;
1843
+ c2xPt: z.ZodNumber;
1844
+ c2yPt: z.ZodNumber;
1845
+ xPt: z.ZodNumber;
1846
+ yPt: z.ZodNumber;
1847
+ }, z.core.$strip>], "kind">>;
1848
+ closed: z.ZodBoolean;
1849
+ }, z.core.$strip>>;
1850
+ fill: z.ZodOptional<z.ZodObject<{
1851
+ r: z.ZodNumber;
1852
+ g: z.ZodNumber;
1853
+ b: z.ZodNumber;
1854
+ }, z.core.$strip>>;
1855
+ fillRule: z.ZodOptional<z.ZodEnum<{
1856
+ nonzero: "nonzero";
1857
+ evenodd: "evenodd";
1858
+ }>>;
1859
+ stroke: z.ZodOptional<z.ZodObject<{
1860
+ color: z.ZodObject<{
1861
+ r: z.ZodNumber;
1862
+ g: z.ZodNumber;
1863
+ b: z.ZodNumber;
1864
+ }, z.core.$strip>;
1865
+ widthPt: z.ZodNumber;
1866
+ }, z.core.$strip>>;
1867
+ sourcePath: z.ZodOptional<z.ZodString>;
1868
+ }, z.core.$strip>, z.ZodObject<{
1869
+ kind: z.ZodLiteral<"link">;
1870
+ uri: z.ZodString;
1871
+ xPt: z.ZodNumber;
1872
+ yPt: z.ZodNumber;
1873
+ widthPt: z.ZodNumber;
1874
+ heightPt: z.ZodNumber;
1875
+ sourcePath: z.ZodOptional<z.ZodString>;
1876
+ }, z.core.$strip>], "kind">>;
1877
+ notes: z.ZodOptional<z.ZodString>;
1878
+ }, z.core.$strip>>;
1879
+ images: z.ZodRecord<z.ZodString, z.ZodObject<{
1880
+ format: z.ZodEnum<{
1881
+ png: "png";
1882
+ jpeg: "jpeg";
1883
+ }>;
1884
+ base64: z.ZodString;
1885
+ widthPx: z.ZodNumber;
1886
+ heightPx: z.ZodNumber;
1887
+ }, z.core.$strip>>;
1888
+ }, z.core.$strip>;
1889
+ type LayoutDocument = z.infer<typeof LayoutDocumentSchema>;
1890
+ //#endregion
1891
+ //#region src/package.d.ts
1892
+ declare const DOCUMENT_PACKAGE_FORMAT_VERSION = 1;
1893
+ declare const DocumentPackageSchema: z.ZodObject<{
1894
+ formatVersion: z.ZodLiteral<1>;
1895
+ content: z.ZodDiscriminatedUnion<[z.ZodObject<{
1896
+ kind: z.ZodLiteral<"wordprocessing">;
1897
+ formatVersion: z.ZodLiteral<1>;
1898
+ metadata: z.ZodObject<{
1899
+ title: z.ZodOptional<z.ZodString>;
1900
+ author: z.ZodOptional<z.ZodString>;
1901
+ subject: z.ZodOptional<z.ZodString>;
1902
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1903
+ creator: z.ZodOptional<z.ZodString>;
1904
+ producer: z.ZodOptional<z.ZodString>;
1905
+ createdIso: z.ZodOptional<z.ZodString>;
1906
+ modifiedIso: z.ZodOptional<z.ZodString>;
1907
+ }, z.core.$strip>;
1908
+ sections: z.ZodArray<z.ZodObject<{
1909
+ pageSize: z.ZodObject<{
1910
+ widthPt: z.ZodNumber;
1911
+ heightPt: z.ZodNumber;
1912
+ }, z.core.$strip>;
1913
+ margins: z.ZodObject<{
1914
+ topPt: z.ZodNumber;
1915
+ rightPt: z.ZodNumber;
1916
+ bottomPt: z.ZodNumber;
1917
+ leftPt: z.ZodNumber;
1918
+ }, z.core.$strip>;
1919
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
1920
+ }, z.core.$strip>>;
1921
+ }, z.core.$strip>, z.ZodObject<{
1922
+ kind: z.ZodLiteral<"presentation">;
1923
+ formatVersion: z.ZodLiteral<1>;
1924
+ metadata: z.ZodObject<{
1925
+ title: z.ZodOptional<z.ZodString>;
1926
+ author: z.ZodOptional<z.ZodString>;
1927
+ subject: z.ZodOptional<z.ZodString>;
1928
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1929
+ creator: z.ZodOptional<z.ZodString>;
1930
+ producer: z.ZodOptional<z.ZodString>;
1931
+ createdIso: z.ZodOptional<z.ZodString>;
1932
+ modifiedIso: z.ZodOptional<z.ZodString>;
1933
+ }, z.core.$strip>;
1934
+ slides: z.ZodArray<z.ZodObject<{
1935
+ size: z.ZodObject<{
1936
+ widthPt: z.ZodNumber;
1937
+ heightPt: z.ZodNumber;
1938
+ }, z.core.$strip>;
1939
+ shapes: z.ZodArray<z.ZodObject<{
1940
+ name: z.ZodOptional<z.ZodString>;
1941
+ frame: z.ZodObject<{
1942
+ xPt: z.ZodNumber;
1943
+ yPt: z.ZodNumber;
1944
+ widthPt: z.ZodNumber;
1945
+ heightPt: z.ZodNumber;
1946
+ }, z.core.$strip>;
1947
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
1948
+ insetLeftPt: z.ZodNumber;
1949
+ insetTopPt: z.ZodNumber;
1950
+ insetRightPt: z.ZodNumber;
1951
+ insetBottomPt: z.ZodNumber;
1952
+ fontScale: z.ZodOptional<z.ZodNumber>;
1953
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1954
+ sourcePath: z.ZodOptional<z.ZodString>;
1955
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
1956
+ }, z.core.$strip>>;
1957
+ notes: z.ZodString;
1958
+ }, z.core.$strip>>;
1959
+ }, z.core.$strip>, z.ZodObject<{
1960
+ kind: z.ZodLiteral<"spreadsheet">;
1961
+ formatVersion: z.ZodLiteral<1>;
1962
+ metadata: z.ZodObject<{
1963
+ title: z.ZodOptional<z.ZodString>;
1964
+ author: z.ZodOptional<z.ZodString>;
1965
+ subject: z.ZodOptional<z.ZodString>;
1966
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1967
+ creator: z.ZodOptional<z.ZodString>;
1968
+ producer: z.ZodOptional<z.ZodString>;
1969
+ createdIso: z.ZodOptional<z.ZodString>;
1970
+ modifiedIso: z.ZodOptional<z.ZodString>;
1971
+ }, z.core.$strip>;
1972
+ sheets: z.ZodArray<z.ZodObject<{
1973
+ name: z.ZodString;
1974
+ cells: z.ZodArray<z.ZodObject<{
1975
+ row: z.ZodNumber;
1976
+ column: z.ZodNumber;
1977
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1978
+ kind: z.ZodLiteral<"number">;
1979
+ value: z.ZodNumber;
1980
+ }, z.core.$strip>, z.ZodObject<{
1981
+ kind: z.ZodLiteral<"percentage">;
1982
+ value: z.ZodNumber;
1983
+ }, z.core.$strip>, z.ZodObject<{
1984
+ kind: z.ZodLiteral<"currency">;
1985
+ value: z.ZodNumber;
1986
+ currency: z.ZodOptional<z.ZodString>;
1987
+ }, z.core.$strip>, z.ZodObject<{
1988
+ kind: z.ZodLiteral<"boolean">;
1989
+ value: z.ZodBoolean;
1990
+ }, z.core.$strip>, z.ZodObject<{
1991
+ kind: z.ZodLiteral<"date">;
1992
+ value: z.ZodString;
1993
+ }, z.core.$strip>, z.ZodObject<{
1994
+ kind: z.ZodLiteral<"time">;
1995
+ value: z.ZodString;
1996
+ }, z.core.$strip>, z.ZodObject<{
1997
+ kind: z.ZodLiteral<"string">;
1998
+ value: z.ZodString;
1999
+ }, z.core.$strip>, z.ZodObject<{
2000
+ kind: z.ZodLiteral<"error">;
2001
+ value: z.ZodString;
2002
+ }, z.core.$strip>, z.ZodObject<{
2003
+ kind: z.ZodLiteral<"empty">;
2004
+ }, z.core.$strip>], "kind">;
2005
+ formula: z.ZodOptional<z.ZodString>;
2006
+ displayText: z.ZodString;
2007
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2008
+ text: z.ZodString;
2009
+ bold: z.ZodOptional<z.ZodBoolean>;
2010
+ italic: z.ZodOptional<z.ZodBoolean>;
2011
+ underline: z.ZodOptional<z.ZodBoolean>;
2012
+ strike: z.ZodOptional<z.ZodBoolean>;
2013
+ fontFamily: z.ZodOptional<z.ZodString>;
2014
+ sizePt: z.ZodOptional<z.ZodNumber>;
2015
+ color: z.ZodOptional<z.ZodObject<{
2016
+ r: z.ZodNumber;
2017
+ g: z.ZodNumber;
2018
+ b: z.ZodNumber;
2019
+ }, z.core.$strip>>;
2020
+ hyperlink: z.ZodOptional<z.ZodString>;
2021
+ sourcePath: z.ZodOptional<z.ZodString>;
2022
+ }, z.core.$strip>>>;
2023
+ colSpan: z.ZodOptional<z.ZodNumber>;
2024
+ rowSpan: z.ZodOptional<z.ZodNumber>;
2025
+ }, z.core.$strip>>;
2026
+ columns: z.ZodArray<z.ZodObject<{
2027
+ index: z.ZodNumber;
2028
+ widthPt: z.ZodNumber;
2029
+ hidden: z.ZodOptional<z.ZodBoolean>;
2030
+ }, z.core.$strip>>;
2031
+ rows: z.ZodArray<z.ZodObject<{
2032
+ index: z.ZodNumber;
2033
+ heightPt: z.ZodNumber;
2034
+ hidden: z.ZodOptional<z.ZodBoolean>;
2035
+ }, z.core.$strip>>;
2036
+ images: z.ZodArray<z.ZodObject<{
2037
+ kind: z.ZodLiteral<"image">;
2038
+ format: z.ZodEnum<{
2039
+ png: "png";
2040
+ jpeg: "jpeg";
2041
+ }>;
2042
+ base64: z.ZodString;
2043
+ widthPt: z.ZodNumber;
2044
+ heightPt: z.ZodNumber;
2045
+ altText: z.ZodOptional<z.ZodString>;
2046
+ sourcePath: z.ZodOptional<z.ZodString>;
2047
+ anchorRow: z.ZodNumber;
2048
+ anchorColumn: z.ZodNumber;
2049
+ offsetXPt: z.ZodNumber;
2050
+ offsetYPt: z.ZodNumber;
2051
+ }, z.core.$strip>>;
2052
+ printSettings: z.ZodObject<{
2053
+ pageSize: z.ZodObject<{
2054
+ widthPt: z.ZodNumber;
2055
+ heightPt: z.ZodNumber;
2056
+ }, z.core.$strip>;
2057
+ margins: z.ZodObject<{
2058
+ topPt: z.ZodNumber;
2059
+ rightPt: z.ZodNumber;
2060
+ bottomPt: z.ZodNumber;
2061
+ leftPt: z.ZodNumber;
2062
+ }, z.core.$strip>;
2063
+ printRange: z.ZodOptional<z.ZodObject<{
2064
+ startRow: z.ZodNumber;
2065
+ startColumn: z.ZodNumber;
2066
+ endRow: z.ZodNumber;
2067
+ endColumn: z.ZodNumber;
2068
+ }, z.core.$strip>>;
2069
+ scale: z.ZodOptional<z.ZodNumber>;
2070
+ fitToPages: z.ZodOptional<z.ZodObject<{
2071
+ width: z.ZodNumber;
2072
+ height: z.ZodNumber;
2073
+ }, z.core.$strip>>;
2074
+ repeatRows: z.ZodOptional<z.ZodObject<{
2075
+ start: z.ZodNumber;
2076
+ end: z.ZodNumber;
2077
+ }, z.core.$strip>>;
2078
+ repeatColumns: z.ZodOptional<z.ZodObject<{
2079
+ start: z.ZodNumber;
2080
+ end: z.ZodNumber;
2081
+ }, z.core.$strip>>;
2082
+ gridlines: z.ZodBoolean;
2083
+ headers: z.ZodBoolean;
2084
+ pageOrder: z.ZodEnum<{
2085
+ downThenOver: "downThenOver";
2086
+ overThenDown: "overThenDown";
2087
+ }>;
2088
+ manualBreaks: z.ZodOptional<z.ZodObject<{
2089
+ rows: z.ZodArray<z.ZodNumber>;
2090
+ columns: z.ZodArray<z.ZodNumber>;
2091
+ }, z.core.$strip>>;
2092
+ }, z.core.$strip>;
2093
+ embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>>>;
2094
+ }, z.core.$strip>>;
2095
+ }, z.core.$strip>, z.ZodObject<{
2096
+ kind: z.ZodLiteral<"drawing">;
2097
+ formatVersion: z.ZodLiteral<1>;
2098
+ metadata: z.ZodObject<{
2099
+ title: z.ZodOptional<z.ZodString>;
2100
+ author: z.ZodOptional<z.ZodString>;
2101
+ subject: z.ZodOptional<z.ZodString>;
2102
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2103
+ creator: z.ZodOptional<z.ZodString>;
2104
+ producer: z.ZodOptional<z.ZodString>;
2105
+ createdIso: z.ZodOptional<z.ZodString>;
2106
+ modifiedIso: z.ZodOptional<z.ZodString>;
2107
+ }, z.core.$strip>;
2108
+ pages: z.ZodArray<z.ZodObject<{
2109
+ size: z.ZodObject<{
2110
+ widthPt: z.ZodNumber;
2111
+ heightPt: z.ZodNumber;
2112
+ }, z.core.$strip>;
2113
+ shapes: z.ZodArray<z.ZodObject<{
2114
+ name: z.ZodOptional<z.ZodString>;
2115
+ frame: z.ZodObject<{
2116
+ xPt: z.ZodNumber;
2117
+ yPt: z.ZodNumber;
2118
+ widthPt: z.ZodNumber;
2119
+ heightPt: z.ZodNumber;
2120
+ }, z.core.$strip>;
2121
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2122
+ insetLeftPt: z.ZodNumber;
2123
+ insetTopPt: z.ZodNumber;
2124
+ insetRightPt: z.ZodNumber;
2125
+ insetBottomPt: z.ZodNumber;
2126
+ fontScale: z.ZodOptional<z.ZodNumber>;
2127
+ lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
2128
+ sourcePath: z.ZodOptional<z.ZodString>;
2129
+ blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
2130
+ }, z.core.$strip>>;
2131
+ vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2132
+ kind: z.ZodLiteral<"rect">;
2133
+ frame: z.ZodObject<{
2134
+ xPt: z.ZodNumber;
2135
+ yPt: z.ZodNumber;
2136
+ widthPt: z.ZodNumber;
2137
+ heightPt: z.ZodNumber;
2138
+ }, z.core.$strip>;
2139
+ fill: z.ZodOptional<z.ZodObject<{
2140
+ r: z.ZodNumber;
2141
+ g: z.ZodNumber;
2142
+ b: z.ZodNumber;
2143
+ }, z.core.$strip>>;
2144
+ stroke: z.ZodOptional<z.ZodObject<{
2145
+ color: z.ZodObject<{
2146
+ r: z.ZodNumber;
2147
+ g: z.ZodNumber;
2148
+ b: z.ZodNumber;
2149
+ }, z.core.$strip>;
2150
+ widthPt: z.ZodNumber;
2151
+ }, z.core.$strip>>;
2152
+ sourcePath: z.ZodOptional<z.ZodString>;
2153
+ }, z.core.$strip>, z.ZodObject<{
2154
+ kind: z.ZodLiteral<"ellipse">;
2155
+ frame: z.ZodObject<{
2156
+ xPt: z.ZodNumber;
2157
+ yPt: z.ZodNumber;
2158
+ widthPt: z.ZodNumber;
2159
+ heightPt: z.ZodNumber;
2160
+ }, z.core.$strip>;
2161
+ fill: z.ZodOptional<z.ZodObject<{
2162
+ r: z.ZodNumber;
2163
+ g: z.ZodNumber;
2164
+ b: z.ZodNumber;
2165
+ }, z.core.$strip>>;
2166
+ stroke: z.ZodOptional<z.ZodObject<{
2167
+ color: z.ZodObject<{
2168
+ r: z.ZodNumber;
2169
+ g: z.ZodNumber;
2170
+ b: z.ZodNumber;
2171
+ }, z.core.$strip>;
2172
+ widthPt: z.ZodNumber;
2173
+ }, z.core.$strip>>;
2174
+ sourcePath: z.ZodOptional<z.ZodString>;
2175
+ }, z.core.$strip>, z.ZodObject<{
2176
+ kind: z.ZodLiteral<"line">;
2177
+ from: z.ZodObject<{
2178
+ xPt: z.ZodNumber;
2179
+ yPt: z.ZodNumber;
2180
+ }, z.core.$strip>;
2181
+ to: z.ZodObject<{
2182
+ xPt: z.ZodNumber;
2183
+ yPt: z.ZodNumber;
2184
+ }, z.core.$strip>;
2185
+ stroke: z.ZodObject<{
2186
+ color: z.ZodObject<{
2187
+ r: z.ZodNumber;
2188
+ g: z.ZodNumber;
2189
+ b: z.ZodNumber;
2190
+ }, z.core.$strip>;
2191
+ widthPt: z.ZodNumber;
2192
+ }, z.core.$strip>;
2193
+ sourcePath: z.ZodOptional<z.ZodString>;
2194
+ }, z.core.$strip>, z.ZodObject<{
2195
+ kind: z.ZodLiteral<"path">;
2196
+ frame: z.ZodObject<{
2197
+ xPt: z.ZodNumber;
2198
+ yPt: z.ZodNumber;
2199
+ widthPt: z.ZodNumber;
2200
+ heightPt: z.ZodNumber;
2201
+ }, z.core.$strip>;
2202
+ subpaths: z.ZodArray<z.ZodObject<{
2203
+ start: z.ZodObject<{
2204
+ xPt: z.ZodNumber;
2205
+ yPt: z.ZodNumber;
2206
+ }, z.core.$strip>;
2207
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2208
+ kind: z.ZodLiteral<"line">;
2209
+ to: z.ZodObject<{
2210
+ xPt: z.ZodNumber;
2211
+ yPt: z.ZodNumber;
2212
+ }, z.core.$strip>;
2213
+ }, z.core.$strip>, z.ZodObject<{
2214
+ kind: z.ZodLiteral<"cubic">;
2215
+ control1: z.ZodObject<{
2216
+ xPt: z.ZodNumber;
2217
+ yPt: z.ZodNumber;
2218
+ }, z.core.$strip>;
2219
+ control2: z.ZodObject<{
2220
+ xPt: z.ZodNumber;
2221
+ yPt: z.ZodNumber;
2222
+ }, z.core.$strip>;
2223
+ to: z.ZodObject<{
2224
+ xPt: z.ZodNumber;
2225
+ yPt: z.ZodNumber;
2226
+ }, z.core.$strip>;
2227
+ }, z.core.$strip>], "kind">>;
2228
+ closed: z.ZodBoolean;
2229
+ }, z.core.$strip>>;
2230
+ fill: z.ZodOptional<z.ZodObject<{
2231
+ r: z.ZodNumber;
2232
+ g: z.ZodNumber;
2233
+ b: z.ZodNumber;
2234
+ }, z.core.$strip>>;
2235
+ fillRule: z.ZodOptional<z.ZodEnum<{
2236
+ nonzero: "nonzero";
2237
+ evenodd: "evenodd";
2238
+ }>>;
2239
+ stroke: z.ZodOptional<z.ZodObject<{
2240
+ color: z.ZodObject<{
2241
+ r: z.ZodNumber;
2242
+ g: z.ZodNumber;
2243
+ b: z.ZodNumber;
2244
+ }, z.core.$strip>;
2245
+ widthPt: z.ZodNumber;
2246
+ }, z.core.$strip>>;
2247
+ sourcePath: z.ZodOptional<z.ZodString>;
2248
+ }, z.core.$strip>], "kind">>;
2249
+ }, z.core.$strip>>;
2250
+ }, z.core.$strip>], "kind">;
2251
+ layout: z.ZodOptional<z.ZodObject<{
2252
+ formatVersion: z.ZodLiteral<1>;
2253
+ metadata: z.ZodObject<{
2254
+ title: z.ZodOptional<z.ZodString>;
2255
+ author: z.ZodOptional<z.ZodString>;
2256
+ subject: z.ZodOptional<z.ZodString>;
2257
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2258
+ creator: z.ZodOptional<z.ZodString>;
2259
+ producer: z.ZodOptional<z.ZodString>;
2260
+ createdIso: z.ZodOptional<z.ZodString>;
2261
+ modifiedIso: z.ZodOptional<z.ZodString>;
2262
+ }, z.core.$strip>;
2263
+ pages: z.ZodArray<z.ZodObject<{
2264
+ widthPt: z.ZodNumber;
2265
+ heightPt: z.ZodNumber;
2266
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2267
+ kind: z.ZodLiteral<"text">;
2268
+ text: z.ZodString;
2269
+ xPt: z.ZodNumber;
2270
+ yPt: z.ZodNumber;
2271
+ font: z.ZodObject<{
2272
+ family: z.ZodString;
2273
+ weight: z.ZodEnum<{
2274
+ normal: "normal";
2275
+ bold: "bold";
2276
+ }>;
2277
+ style: z.ZodEnum<{
2278
+ normal: "normal";
2279
+ italic: "italic";
2280
+ }>;
2281
+ }, z.core.$strip>;
2282
+ sizePt: z.ZodNumber;
2283
+ color: z.ZodObject<{
2284
+ r: z.ZodNumber;
2285
+ g: z.ZodNumber;
2286
+ b: z.ZodNumber;
2287
+ }, z.core.$strip>;
2288
+ widthPt: z.ZodOptional<z.ZodNumber>;
2289
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2290
+ underline: z.ZodOptional<z.ZodBoolean>;
2291
+ sourcePath: z.ZodOptional<z.ZodString>;
2292
+ }, z.core.$strip>, z.ZodObject<{
2293
+ kind: z.ZodLiteral<"image">;
2294
+ imageId: z.ZodString;
2295
+ xPt: z.ZodNumber;
2296
+ yPt: z.ZodNumber;
2297
+ widthPt: z.ZodNumber;
2298
+ heightPt: z.ZodNumber;
2299
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2300
+ sourcePath: z.ZodOptional<z.ZodString>;
2301
+ }, z.core.$strip>, z.ZodObject<{
2302
+ kind: z.ZodLiteral<"rect">;
2303
+ xPt: z.ZodNumber;
2304
+ yPt: z.ZodNumber;
2305
+ widthPt: z.ZodNumber;
2306
+ heightPt: z.ZodNumber;
2307
+ fill: z.ZodOptional<z.ZodObject<{
2308
+ r: z.ZodNumber;
2309
+ g: z.ZodNumber;
2310
+ b: z.ZodNumber;
2311
+ }, z.core.$strip>>;
2312
+ stroke: z.ZodOptional<z.ZodObject<{
2313
+ color: z.ZodObject<{
2314
+ r: z.ZodNumber;
2315
+ g: z.ZodNumber;
2316
+ b: z.ZodNumber;
2317
+ }, z.core.$strip>;
2318
+ widthPt: z.ZodNumber;
2319
+ }, z.core.$strip>>;
2320
+ sourcePath: z.ZodOptional<z.ZodString>;
2321
+ }, z.core.$strip>, z.ZodObject<{
2322
+ kind: z.ZodLiteral<"line">;
2323
+ x1Pt: z.ZodNumber;
2324
+ y1Pt: z.ZodNumber;
2325
+ x2Pt: z.ZodNumber;
2326
+ y2Pt: z.ZodNumber;
2327
+ color: z.ZodObject<{
2328
+ r: z.ZodNumber;
2329
+ g: z.ZodNumber;
2330
+ b: z.ZodNumber;
2331
+ }, z.core.$strip>;
2332
+ widthPt: z.ZodNumber;
2333
+ sourcePath: z.ZodOptional<z.ZodString>;
2334
+ }, z.core.$strip>, z.ZodObject<{
2335
+ kind: z.ZodLiteral<"ellipse">;
2336
+ xPt: z.ZodNumber;
2337
+ yPt: z.ZodNumber;
2338
+ widthPt: z.ZodNumber;
2339
+ heightPt: z.ZodNumber;
2340
+ fill: z.ZodOptional<z.ZodObject<{
2341
+ r: z.ZodNumber;
2342
+ g: z.ZodNumber;
2343
+ b: z.ZodNumber;
2344
+ }, z.core.$strip>>;
2345
+ stroke: z.ZodOptional<z.ZodObject<{
2346
+ color: z.ZodObject<{
2347
+ r: z.ZodNumber;
2348
+ g: z.ZodNumber;
2349
+ b: z.ZodNumber;
2350
+ }, z.core.$strip>;
2351
+ widthPt: z.ZodNumber;
2352
+ }, z.core.$strip>>;
2353
+ sourcePath: z.ZodOptional<z.ZodString>;
2354
+ }, z.core.$strip>, z.ZodObject<{
2355
+ kind: z.ZodLiteral<"path">;
2356
+ subpaths: z.ZodArray<z.ZodObject<{
2357
+ startXPt: z.ZodNumber;
2358
+ startYPt: z.ZodNumber;
2359
+ segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2360
+ kind: z.ZodLiteral<"line">;
2361
+ xPt: z.ZodNumber;
2362
+ yPt: z.ZodNumber;
2363
+ }, z.core.$strip>, z.ZodObject<{
2364
+ kind: z.ZodLiteral<"cubic">;
2365
+ c1xPt: z.ZodNumber;
2366
+ c1yPt: z.ZodNumber;
2367
+ c2xPt: z.ZodNumber;
2368
+ c2yPt: z.ZodNumber;
2369
+ xPt: z.ZodNumber;
2370
+ yPt: z.ZodNumber;
2371
+ }, z.core.$strip>], "kind">>;
2372
+ closed: z.ZodBoolean;
2373
+ }, z.core.$strip>>;
2374
+ fill: z.ZodOptional<z.ZodObject<{
2375
+ r: z.ZodNumber;
2376
+ g: z.ZodNumber;
2377
+ b: z.ZodNumber;
2378
+ }, z.core.$strip>>;
2379
+ fillRule: z.ZodOptional<z.ZodEnum<{
2380
+ nonzero: "nonzero";
2381
+ evenodd: "evenodd";
2382
+ }>>;
2383
+ stroke: z.ZodOptional<z.ZodObject<{
2384
+ color: z.ZodObject<{
2385
+ r: z.ZodNumber;
2386
+ g: z.ZodNumber;
2387
+ b: z.ZodNumber;
2388
+ }, z.core.$strip>;
2389
+ widthPt: z.ZodNumber;
2390
+ }, z.core.$strip>>;
2391
+ sourcePath: z.ZodOptional<z.ZodString>;
2392
+ }, z.core.$strip>, z.ZodObject<{
2393
+ kind: z.ZodLiteral<"link">;
2394
+ uri: z.ZodString;
2395
+ xPt: z.ZodNumber;
2396
+ yPt: z.ZodNumber;
2397
+ widthPt: z.ZodNumber;
2398
+ heightPt: z.ZodNumber;
2399
+ sourcePath: z.ZodOptional<z.ZodString>;
2400
+ }, z.core.$strip>], "kind">>;
2401
+ notes: z.ZodOptional<z.ZodString>;
2402
+ }, z.core.$strip>>;
2403
+ images: z.ZodRecord<z.ZodString, z.ZodObject<{
2404
+ format: z.ZodEnum<{
2405
+ png: "png";
2406
+ jpeg: "jpeg";
2407
+ }>;
2408
+ base64: z.ZodString;
2409
+ widthPx: z.ZodNumber;
2410
+ heightPx: z.ZodNumber;
2411
+ }, z.core.$strip>>;
2412
+ }, z.core.$strip>>;
2413
+ }, z.core.$strip>;
2414
+ type DocumentPackage = z.infer<typeof DocumentPackageSchema>;
2415
+ //#endregion
2416
+ 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, DOCUMENT_PACKAGE_FORMAT_VERSION, DocumentPackage, DocumentPackageSchema, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor };