@segnavia/format 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/board-edit.d.ts +2 -1
  2. package/dist/board-geometry.d.ts +2 -1
  3. package/dist/board-section-grid.d.ts +2 -1
  4. package/dist/board-sections.d.ts +2 -1
  5. package/dist/board.d.ts +8 -8
  6. package/dist/board.js +15 -11
  7. package/dist/book-exports.d.ts +2 -2
  8. package/dist/book-section.d.ts +171 -0
  9. package/dist/book-section.js +13 -2
  10. package/dist/book.d.ts +189 -47
  11. package/dist/book.js +18 -2
  12. package/dist/cover.d.ts +500 -0
  13. package/dist/cover.js +100 -0
  14. package/dist/deck-from-slides.d.ts +23 -4
  15. package/dist/deck.d.ts +144 -42
  16. package/dist/deck.js +22 -24
  17. package/dist/direction.d.ts +1 -1
  18. package/dist/font-collection.d.ts +8 -0
  19. package/dist/font-collection.js +191 -0
  20. package/dist/font-face.d.ts +8 -0
  21. package/dist/font-face.js +24 -0
  22. package/dist/font-refusal.d.ts +5 -0
  23. package/dist/font-refusal.js +9 -0
  24. package/dist/font-signature.d.ts +5 -0
  25. package/dist/font-signature.js +13 -0
  26. package/dist/fonts.d.ts +6 -1
  27. package/dist/fonts.js +3 -1
  28. package/dist/geometry.d.ts +20 -0
  29. package/dist/geometry.js +18 -0
  30. package/dist/image-fit.d.ts +10 -0
  31. package/dist/image-fit.js +10 -0
  32. package/dist/imposition-marks.d.ts +1 -1
  33. package/dist/imposition-schema.d.ts +185 -0
  34. package/dist/imposition-schema.js +122 -0
  35. package/dist/imposition.d.ts +8 -6
  36. package/dist/imposition.js +53 -42
  37. package/dist/index.d.ts +23 -1756
  38. package/dist/index.js +29 -212
  39. package/dist/json-schemas.d.ts +2181 -0
  40. package/dist/json-schemas.js +43 -0
  41. package/dist/media.d.ts +152 -0
  42. package/dist/media.js +119 -0
  43. package/dist/note-series.d.ts +4 -4
  44. package/dist/note-series.js +0 -5
  45. package/dist/page.d.ts +359 -0
  46. package/dist/page.js +110 -0
  47. package/dist/paper.d.ts +5 -5
  48. package/dist/placement-cycle.d.ts +5 -0
  49. package/dist/placement-cycle.js +30 -0
  50. package/dist/placement-refusal.d.ts +5 -0
  51. package/dist/placement-refusal.js +6 -0
  52. package/dist/placement.d.ts +76 -0
  53. package/dist/placement.js +100 -0
  54. package/dist/print.d.ts +72 -0
  55. package/dist/print.js +38 -0
  56. package/dist/printed-page-imposition.d.ts +2 -1
  57. package/dist/shots-used.d.ts +0 -1
  58. package/dist/shots-used.js +2 -2
  59. package/dist/slots.d.ts +13 -13
  60. package/package.json +1 -1
@@ -0,0 +1,2181 @@
1
+ import { BookItem } from "./book-section.js";
2
+ import { PageBody } from "./page.js";
3
+ import { z } from "zod";
4
+ //#region src/json-schemas.d.ts
5
+ export declare function jsonSchemas(): {
6
+ book: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
7
+ title: z.ZodString;
8
+ authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ subject: z.ZodOptional<z.ZodString>;
10
+ mode: z.ZodEnum<{
11
+ continuous: "continuous";
12
+ paginated: "paginated";
13
+ }>;
14
+ page: z.ZodOptional<z.ZodObject<{
15
+ paper: z.ZodUnion<readonly [z.ZodEnum<{
16
+ letter: "letter";
17
+ legal: "legal";
18
+ tabloid: "tabloid";
19
+ a3: "a3";
20
+ a4: "a4";
21
+ a5: "a5";
22
+ "business-card-us": "business-card-us";
23
+ "business-card-eu": "business-card-eu";
24
+ "business-card-square-us": "business-card-square-us";
25
+ "business-card-slim-us": "business-card-slim-us";
26
+ "postcard-4x6": "postcard-4x6";
27
+ "postcard-5x7": "postcard-5x7";
28
+ "postcard-6x9": "postcard-6x9";
29
+ "postcard-6x11": "postcard-6x11";
30
+ "card-square-4in": "card-square-4in";
31
+ "half-letter": "half-letter";
32
+ a6: "a6";
33
+ dl: "dl";
34
+ "rack-card-4x9": "rack-card-4x9";
35
+ "rack-card-3.5x8.5": "rack-card-3.5x8.5";
36
+ "poster-12x18": "poster-12x18";
37
+ "poster-16x20": "poster-16x20";
38
+ "poster-18x24": "poster-18x24";
39
+ "poster-24x36": "poster-24x36";
40
+ a2: "a2";
41
+ a1: "a1";
42
+ a0: "a0";
43
+ }>, z.ZodObject<{
44
+ width: z.ZodNumber;
45
+ height: z.ZodNumber;
46
+ unit: z.ZodEnum<{
47
+ in: "in";
48
+ mm: "mm";
49
+ pt: "pt";
50
+ }>;
51
+ }, z.core.$strip>]>;
52
+ orientation: z.ZodDefault<z.ZodEnum<{
53
+ portrait: "portrait";
54
+ landscape: "landscape";
55
+ }>>;
56
+ margin: z.ZodObject<{
57
+ top: z.ZodNumber;
58
+ bottom: z.ZodNumber;
59
+ inner: z.ZodNumber;
60
+ outer: z.ZodNumber;
61
+ }, z.core.$strip>;
62
+ columnGap: z.ZodDefault<z.ZodNumber>;
63
+ }, z.core.$strip>>;
64
+ scripts: z.ZodDefault<z.ZodEnum<{
65
+ refuse: "refuse";
66
+ sandboxed: "sandboxed";
67
+ }>>;
68
+ dir: z.ZodOptional<z.ZodEnum<{
69
+ auto: "auto";
70
+ ltr: "ltr";
71
+ rtl: "rtl";
72
+ }>>;
73
+ lang: z.ZodOptional<z.ZodString>;
74
+ frontMatter: z.ZodDefault<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
75
+ body: z.ZodOptional<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
76
+ endMatter: z.ZodDefault<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
77
+ chapters: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
78
+ pages: z.ZodArray<z.ZodObject<{
79
+ html: z.ZodString;
80
+ }, z.core.$strip>>;
81
+ title: z.ZodOptional<z.ZodString>;
82
+ contents: z.ZodDefault<z.ZodBoolean>;
83
+ opens: z.ZodOptional<z.ZodEnum<{
84
+ any: "any";
85
+ recto: "recto";
86
+ verso: "verso";
87
+ }>>;
88
+ parents: z.ZodOptional<z.ZodObject<{
89
+ opener: z.ZodOptional<z.ZodString>;
90
+ recto: z.ZodOptional<z.ZodString>;
91
+ verso: z.ZodOptional<z.ZodString>;
92
+ blank: z.ZodOptional<z.ZodString>;
93
+ fixed: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strip>>;
95
+ kind: z.ZodLiteral<"designed">;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ template: z.ZodString;
98
+ pages: z.ZodArray<z.ZodObject<{
99
+ template: z.ZodOptional<z.ZodString>;
100
+ regions: z.ZodRecord<z.ZodString, z.ZodString>;
101
+ }, z.core.$strip>>;
102
+ title: z.ZodOptional<z.ZodString>;
103
+ contents: z.ZodDefault<z.ZodBoolean>;
104
+ opens: z.ZodOptional<z.ZodEnum<{
105
+ any: "any";
106
+ recto: "recto";
107
+ verso: "verso";
108
+ }>>;
109
+ parents: z.ZodOptional<z.ZodObject<{
110
+ opener: z.ZodOptional<z.ZodString>;
111
+ recto: z.ZodOptional<z.ZodString>;
112
+ verso: z.ZodOptional<z.ZodString>;
113
+ blank: z.ZodOptional<z.ZodString>;
114
+ fixed: z.ZodOptional<z.ZodString>;
115
+ }, z.core.$strip>>;
116
+ kind: z.ZodLiteral<"templated">;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ title: z.ZodOptional<z.ZodString>;
119
+ contents: z.ZodDefault<z.ZodBoolean>;
120
+ opens: z.ZodOptional<z.ZodEnum<{
121
+ any: "any";
122
+ recto: "recto";
123
+ verso: "verso";
124
+ }>>;
125
+ parents: z.ZodOptional<z.ZodObject<{
126
+ opener: z.ZodOptional<z.ZodString>;
127
+ recto: z.ZodOptional<z.ZodString>;
128
+ verso: z.ZodOptional<z.ZodString>;
129
+ blank: z.ZodOptional<z.ZodString>;
130
+ fixed: z.ZodOptional<z.ZodString>;
131
+ }, z.core.$strip>>;
132
+ kind: z.ZodLiteral<"placed">;
133
+ placement: z.ZodObject<{
134
+ kind: z.ZodEnum<{
135
+ deck: "deck";
136
+ page: "page";
137
+ paper: "paper";
138
+ book: "book";
139
+ media: "media";
140
+ shot: "shot";
141
+ }>;
142
+ address: z.ZodString;
143
+ page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
144
+ box: z.ZodOptional<z.ZodEnum<{
145
+ media: "media";
146
+ crop: "crop";
147
+ trim: "trim";
148
+ bleed: "bleed";
149
+ art: "art";
150
+ }>>;
151
+ crop: z.ZodOptional<z.ZodObject<{
152
+ top: z.ZodOptional<z.ZodString>;
153
+ right: z.ZodOptional<z.ZodString>;
154
+ bottom: z.ZodOptional<z.ZodString>;
155
+ left: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$strip>>;
157
+ fit: z.ZodOptional<z.ZodEnum<{
158
+ width: "width";
159
+ contain: "contain";
160
+ cover: "cover";
161
+ focus: "focus";
162
+ }>>;
163
+ alt: z.ZodOptional<z.ZodObject<{
164
+ text: z.ZodString;
165
+ lang: z.ZodOptional<z.ZodString>;
166
+ dir: z.ZodOptional<z.ZodEnum<{
167
+ auto: "auto";
168
+ ltr: "ltr";
169
+ rtl: "rtl";
170
+ }>>;
171
+ }, z.core.$strip>>;
172
+ }, z.core.$strip>;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ title: z.ZodString;
175
+ html: z.ZodString;
176
+ runningHead: z.ZodOptional<z.ZodString>;
177
+ opens: z.ZodOptional<z.ZodEnum<{
178
+ any: "any";
179
+ recto: "recto";
180
+ verso: "verso";
181
+ }>>;
182
+ parents: z.ZodOptional<z.ZodObject<{
183
+ opener: z.ZodOptional<z.ZodString>;
184
+ recto: z.ZodOptional<z.ZodString>;
185
+ verso: z.ZodOptional<z.ZodString>;
186
+ blank: z.ZodOptional<z.ZodString>;
187
+ fixed: z.ZodOptional<z.ZodString>;
188
+ }, z.core.$strip>>;
189
+ kind: z.ZodOptional<z.ZodLiteral<"chapter">>;
190
+ }, z.core.$strip>], "kind">>>;
191
+ parentPages: z.ZodDefault<z.ZodArray<z.ZodObject<{
192
+ name: z.ZodString;
193
+ basedOn: z.ZodOptional<z.ZodString>;
194
+ margin: z.ZodOptional<z.ZodObject<{
195
+ top: z.ZodNumber;
196
+ bottom: z.ZodNumber;
197
+ inner: z.ZodNumber;
198
+ outer: z.ZodNumber;
199
+ }, z.core.$strip>>;
200
+ head: z.ZodOptional<z.ZodString>;
201
+ foot: z.ZodOptional<z.ZodString>;
202
+ }, z.core.$strip>>>;
203
+ templates: z.ZodDefault<z.ZodArray<z.ZodObject<{
204
+ name: z.ZodString;
205
+ html: z.ZodString;
206
+ parents: z.ZodOptional<z.ZodObject<{
207
+ opener: z.ZodOptional<z.ZodString>;
208
+ recto: z.ZodOptional<z.ZodString>;
209
+ verso: z.ZodOptional<z.ZodString>;
210
+ blank: z.ZodOptional<z.ZodString>;
211
+ fixed: z.ZodOptional<z.ZodString>;
212
+ }, z.core.$strip>>;
213
+ }, z.core.$strip>>>;
214
+ slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
215
+ key: z.ZodString;
216
+ label: z.ZodString;
217
+ type: z.ZodEnum<{
218
+ text: "text";
219
+ image: "image";
220
+ phone: "phone";
221
+ email: "email";
222
+ link: "link";
223
+ qr: "qr";
224
+ }>;
225
+ required: z.ZodDefault<z.ZodBoolean>;
226
+ placeholder: z.ZodOptional<z.ZodString>;
227
+ overflow: z.ZodDefault<z.ZodEnum<{
228
+ refuse: "refuse";
229
+ shrink: "shrink";
230
+ truncate: "truncate";
231
+ wrap: "wrap";
232
+ }>>;
233
+ minSize: z.ZodOptional<z.ZodNumber>;
234
+ }, z.core.$strip>, z.ZodTransform<{
235
+ key: string;
236
+ label: string;
237
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
238
+ required: boolean;
239
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
240
+ placeholder?: string | undefined;
241
+ minSize?: number | undefined;
242
+ }, {
243
+ key: string;
244
+ label: string;
245
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
246
+ required: boolean;
247
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
248
+ placeholder?: string | undefined;
249
+ minSize?: number | undefined;
250
+ }>>>>;
251
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
252
+ app: z.ZodString;
253
+ }, z.core.$strip>, z.ZodObject<{
254
+ local: z.ZodString;
255
+ fallback: z.ZodString;
256
+ }, z.core.$strip>]>>>;
257
+ css: z.ZodOptional<z.ZodString>;
258
+ numbering: z.ZodDefault<z.ZodObject<{
259
+ frontMatter: z.ZodOptional<z.ZodEnum<{
260
+ arabic: "arabic";
261
+ "roman-lower": "roman-lower";
262
+ "roman-upper": "roman-upper";
263
+ hebrew: "hebrew";
264
+ }>>;
265
+ body: z.ZodOptional<z.ZodEnum<{
266
+ arabic: "arabic";
267
+ "roman-lower": "roman-lower";
268
+ "roman-upper": "roman-upper";
269
+ hebrew: "hebrew";
270
+ }>>;
271
+ }, z.core.$strip>>;
272
+ footnotes: z.ZodDefault<z.ZodObject<{
273
+ marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
274
+ arabic: "arabic";
275
+ "roman-lower": "roman-lower";
276
+ "roman-upper": "roman-upper";
277
+ hebrew: "hebrew";
278
+ }>, z.ZodLiteral<"symbols">]>>;
279
+ restart: z.ZodDefault<z.ZodEnum<{
280
+ book: "book";
281
+ chapter: "chapter";
282
+ }>>;
283
+ }, z.core.$strip>>;
284
+ endnotes: z.ZodDefault<z.ZodObject<{
285
+ marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
286
+ arabic: "arabic";
287
+ "roman-lower": "roman-lower";
288
+ "roman-upper": "roman-upper";
289
+ hebrew: "hebrew";
290
+ }>, z.ZodLiteral<"symbols">]>>;
291
+ placement: z.ZodDefault<z.ZodEnum<{
292
+ book: "book";
293
+ chapter: "chapter";
294
+ }>>;
295
+ title: z.ZodOptional<z.ZodString>;
296
+ }, z.core.$strip>>;
297
+ notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
298
+ name: z.ZodString;
299
+ placement: z.ZodOptional<z.ZodEnum<{
300
+ page: "page";
301
+ book: "book";
302
+ chapter: "chapter";
303
+ part: "part";
304
+ }>>;
305
+ numbering: z.ZodOptional<z.ZodEnum<{
306
+ book: "book";
307
+ chapter: "chapter";
308
+ part: "part";
309
+ }>>;
310
+ marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
311
+ arabic: "arabic";
312
+ "roman-lower": "roman-lower";
313
+ "roman-upper": "roman-upper";
314
+ hebrew: "hebrew";
315
+ }>, z.ZodLiteral<"symbols">]>>;
316
+ title: z.ZodOptional<z.ZodString>;
317
+ }, z.core.$strip>>>;
318
+ rectoOpenings: z.ZodDefault<z.ZodBoolean>;
319
+ orphans: z.ZodDefault<z.ZodNumber>;
320
+ widows: z.ZodDefault<z.ZodNumber>;
321
+ runningHead: z.ZodDefault<z.ZodObject<{
322
+ recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
323
+ mark: z.ZodString;
324
+ which: z.ZodEnum<{
325
+ first: "first";
326
+ last: "last";
327
+ }>;
328
+ }, z.core.$strip>, z.ZodObject<{
329
+ part: z.ZodString;
330
+ }, z.core.$strip>]>>;
331
+ verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
332
+ mark: z.ZodString;
333
+ which: z.ZodEnum<{
334
+ first: "first";
335
+ last: "last";
336
+ }>;
337
+ }, z.core.$strip>, z.ZodObject<{
338
+ part: z.ZodString;
339
+ }, z.core.$strip>]>>;
340
+ }, z.core.$strip>>;
341
+ contents: z.ZodDefault<z.ZodObject<{
342
+ pageNumbers: z.ZodDefault<z.ZodBoolean>;
343
+ depth: z.ZodDefault<z.ZodNumber>;
344
+ }, z.core.$strip>>;
345
+ }, z.core.$strip>>;
346
+ bookView: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
347
+ dir: z.ZodOptional<z.ZodEnum<{
348
+ auto: "auto";
349
+ ltr: "ltr";
350
+ rtl: "rtl";
351
+ }>>;
352
+ lang: z.ZodOptional<z.ZodString>;
353
+ scripts: z.ZodDefault<z.ZodEnum<{
354
+ refuse: "refuse";
355
+ sandboxed: "sandboxed";
356
+ }>>;
357
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
358
+ app: z.ZodString;
359
+ }, z.core.$strip>, z.ZodObject<{
360
+ local: z.ZodString;
361
+ fallback: z.ZodString;
362
+ }, z.core.$strip>]>>>;
363
+ css: z.ZodOptional<z.ZodString>;
364
+ title: z.ZodOptional<z.ZodString>;
365
+ html: z.ZodString;
366
+ flow: z.ZodOptional<z.ZodString>;
367
+ pagination: z.ZodOptional<z.ZodObject<{
368
+ paper: z.ZodObject<{
369
+ width: z.ZodNumber;
370
+ height: z.ZodNumber;
371
+ }, z.core.$strip>;
372
+ margin: z.ZodObject<{
373
+ top: z.ZodNumber;
374
+ bottom: z.ZodNumber;
375
+ inner: z.ZodNumber;
376
+ outer: z.ZodNumber;
377
+ }, z.core.$strip>;
378
+ columnGap: z.ZodNumber;
379
+ direction: z.ZodEnum<{
380
+ ltr: "ltr";
381
+ rtl: "rtl";
382
+ }>;
383
+ numbering: z.ZodObject<{
384
+ frontMatter: z.ZodEnum<{
385
+ arabic: "arabic";
386
+ "roman-lower": "roman-lower";
387
+ "roman-upper": "roman-upper";
388
+ hebrew: "hebrew";
389
+ }>;
390
+ body: z.ZodEnum<{
391
+ arabic: "arabic";
392
+ "roman-lower": "roman-lower";
393
+ "roman-upper": "roman-upper";
394
+ hebrew: "hebrew";
395
+ }>;
396
+ }, z.core.$strip>;
397
+ rectoOpenings: z.ZodBoolean;
398
+ orphans: z.ZodNumber;
399
+ widows: z.ZodNumber;
400
+ parents: z.ZodArray<z.ZodObject<{
401
+ name: z.ZodString;
402
+ basedOn: z.ZodOptional<z.ZodString>;
403
+ margin: z.ZodOptional<z.ZodObject<{
404
+ top: z.ZodNumber;
405
+ bottom: z.ZodNumber;
406
+ inner: z.ZodNumber;
407
+ outer: z.ZodNumber;
408
+ }, z.core.$strip>>;
409
+ head: z.ZodOptional<z.ZodString>;
410
+ foot: z.ZodOptional<z.ZodString>;
411
+ }, z.core.$strip>>;
412
+ endnotePlacement: z.ZodEnum<{
413
+ book: "book";
414
+ chapter: "chapter";
415
+ }>;
416
+ contents: z.ZodObject<{
417
+ pageNumbers: z.ZodBoolean;
418
+ depth: z.ZodNumber;
419
+ }, z.core.$strip>;
420
+ runningHead: z.ZodObject<{
421
+ recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
422
+ mark: z.ZodString;
423
+ which: z.ZodEnum<{
424
+ first: "first";
425
+ last: "last";
426
+ }>;
427
+ }, z.core.$strip>, z.ZodObject<{
428
+ part: z.ZodString;
429
+ }, z.core.$strip>]>>;
430
+ verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
431
+ mark: z.ZodString;
432
+ which: z.ZodEnum<{
433
+ first: "first";
434
+ last: "last";
435
+ }>;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ part: z.ZodString;
438
+ }, z.core.$strip>]>>;
439
+ }, z.core.$strip>;
440
+ }, z.core.$strip>>;
441
+ }, z.core.$strip>>;
442
+ page: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
443
+ id: z.ZodOptional<z.ZodString>;
444
+ body: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
445
+ html: z.ZodString;
446
+ }, z.core.$strict>, z.ZodObject<{
447
+ markdown: z.ZodString;
448
+ }, z.core.$strict>]>>;
449
+ html: z.ZodOptional<z.ZodString>;
450
+ markdown: z.ZodOptional<z.ZodString>;
451
+ size: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodLiteral<"fluid">, z.ZodTransform<{
452
+ readonly width: "full";
453
+ readonly height: "auto";
454
+ }, "fluid">>, z.ZodObject<{
455
+ width: z.ZodNumber;
456
+ height: z.ZodNumber;
457
+ }, z.core.$strip>, z.ZodObject<{
458
+ width: z.ZodUnion<readonly [z.ZodLiteral<"full">, z.ZodLiteral<"standard">, z.ZodLiteral<"wide">, z.ZodNumber]>;
459
+ height: z.ZodLiteral<"auto">;
460
+ }, z.core.$strip>]>>;
461
+ scripts: z.ZodDefault<z.ZodEnum<{
462
+ refuse: "refuse";
463
+ sandboxed: "sandboxed";
464
+ }>>;
465
+ dir: z.ZodOptional<z.ZodEnum<{
466
+ auto: "auto";
467
+ ltr: "ltr";
468
+ rtl: "rtl";
469
+ }>>;
470
+ lang: z.ZodOptional<z.ZodString>;
471
+ print: z.ZodOptional<z.ZodObject<{
472
+ paper: z.ZodUnion<readonly [z.ZodEnum<{
473
+ letter: "letter";
474
+ legal: "legal";
475
+ tabloid: "tabloid";
476
+ a3: "a3";
477
+ a4: "a4";
478
+ a5: "a5";
479
+ "business-card-us": "business-card-us";
480
+ "business-card-eu": "business-card-eu";
481
+ "business-card-square-us": "business-card-square-us";
482
+ "business-card-slim-us": "business-card-slim-us";
483
+ "postcard-4x6": "postcard-4x6";
484
+ "postcard-5x7": "postcard-5x7";
485
+ "postcard-6x9": "postcard-6x9";
486
+ "postcard-6x11": "postcard-6x11";
487
+ "card-square-4in": "card-square-4in";
488
+ "half-letter": "half-letter";
489
+ a6: "a6";
490
+ dl: "dl";
491
+ "rack-card-4x9": "rack-card-4x9";
492
+ "rack-card-3.5x8.5": "rack-card-3.5x8.5";
493
+ "poster-12x18": "poster-12x18";
494
+ "poster-16x20": "poster-16x20";
495
+ "poster-18x24": "poster-18x24";
496
+ "poster-24x36": "poster-24x36";
497
+ a2: "a2";
498
+ a1: "a1";
499
+ a0: "a0";
500
+ }>, z.ZodObject<{
501
+ width: z.ZodNumber;
502
+ height: z.ZodNumber;
503
+ unit: z.ZodEnum<{
504
+ in: "in";
505
+ mm: "mm";
506
+ pt: "pt";
507
+ }>;
508
+ }, z.core.$strip>]>;
509
+ orientation: z.ZodDefault<z.ZodEnum<{
510
+ portrait: "portrait";
511
+ landscape: "landscape";
512
+ }>>;
513
+ margin: z.ZodOptional<z.ZodObject<{
514
+ top: z.ZodDefault<z.ZodNumber>;
515
+ right: z.ZodDefault<z.ZodNumber>;
516
+ bottom: z.ZodDefault<z.ZodNumber>;
517
+ left: z.ZodDefault<z.ZodNumber>;
518
+ }, z.core.$strip>>;
519
+ bleed: z.ZodDefault<z.ZodNumber>;
520
+ safe: z.ZodDefault<z.ZodNumber>;
521
+ marks: z.ZodDefault<z.ZodBoolean>;
522
+ markColor: z.ZodDefault<z.ZodEnum<{
523
+ black: "black";
524
+ registration: "registration";
525
+ }>>;
526
+ }, z.core.$strip>>;
527
+ printedPages: z.ZodOptional<z.ZodObject<{
528
+ parents: z.ZodArray<z.ZodObject<{
529
+ name: z.ZodString;
530
+ basedOn: z.ZodOptional<z.ZodString>;
531
+ margin: z.ZodOptional<z.ZodObject<{
532
+ top: z.ZodNumber;
533
+ bottom: z.ZodNumber;
534
+ inner: z.ZodNumber;
535
+ outer: z.ZodNumber;
536
+ }, z.core.$strip>>;
537
+ head: z.ZodOptional<z.ZodString>;
538
+ foot: z.ZodOptional<z.ZodString>;
539
+ }, z.core.$strip>>;
540
+ rules: z.ZodPipe<z.ZodObject<{
541
+ every: z.ZodString;
542
+ first: z.ZodOptional<z.ZodString>;
543
+ recto: z.ZodOptional<z.ZodString>;
544
+ verso: z.ZodOptional<z.ZodString>;
545
+ last: z.ZodOptional<z.ZodString>;
546
+ }, z.core.$loose>, z.ZodTransform<{
547
+ last?: string | undefined;
548
+ verso?: string | undefined;
549
+ recto?: string | undefined;
550
+ first?: string | undefined;
551
+ every: string;
552
+ }, {
553
+ [x: string]: unknown;
554
+ every: string;
555
+ first?: string | undefined;
556
+ recto?: string | undefined;
557
+ verso?: string | undefined;
558
+ last?: string | undefined;
559
+ }>>;
560
+ numbering: z.ZodOptional<z.ZodEnum<{
561
+ arabic: "arabic";
562
+ "roman-lower": "roman-lower";
563
+ "roman-upper": "roman-upper";
564
+ hebrew: "hebrew";
565
+ }>>;
566
+ }, z.core.$strip>>;
567
+ slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
568
+ key: z.ZodString;
569
+ label: z.ZodString;
570
+ type: z.ZodEnum<{
571
+ text: "text";
572
+ image: "image";
573
+ phone: "phone";
574
+ email: "email";
575
+ link: "link";
576
+ qr: "qr";
577
+ }>;
578
+ required: z.ZodDefault<z.ZodBoolean>;
579
+ placeholder: z.ZodOptional<z.ZodString>;
580
+ overflow: z.ZodDefault<z.ZodEnum<{
581
+ refuse: "refuse";
582
+ shrink: "shrink";
583
+ truncate: "truncate";
584
+ wrap: "wrap";
585
+ }>>;
586
+ minSize: z.ZodOptional<z.ZodNumber>;
587
+ }, z.core.$strip>, z.ZodTransform<{
588
+ key: string;
589
+ label: string;
590
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
591
+ required: boolean;
592
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
593
+ placeholder?: string | undefined;
594
+ minSize?: number | undefined;
595
+ }, {
596
+ key: string;
597
+ label: string;
598
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
599
+ required: boolean;
600
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
601
+ placeholder?: string | undefined;
602
+ minSize?: number | undefined;
603
+ }>>>>;
604
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
605
+ app: z.ZodString;
606
+ }, z.core.$strip>, z.ZodObject<{
607
+ local: z.ZodString;
608
+ fallback: z.ZodString;
609
+ }, z.core.$strip>]>>>;
610
+ }, z.core.$strip>, z.ZodTransform<{
611
+ body: PageBody;
612
+ size: {
613
+ width: number;
614
+ height: number;
615
+ } | {
616
+ readonly width: "full";
617
+ readonly height: "auto";
618
+ } | {
619
+ width: number | "full" | "standard" | "wide";
620
+ height: "auto";
621
+ };
622
+ scripts: "refuse" | "sandboxed";
623
+ id?: string | undefined;
624
+ dir?: "auto" | "ltr" | "rtl" | undefined;
625
+ lang?: string | undefined;
626
+ print?: {
627
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
628
+ width: number;
629
+ height: number;
630
+ unit: "in" | "mm" | "pt";
631
+ };
632
+ orientation: "portrait" | "landscape";
633
+ bleed: number;
634
+ safe: number;
635
+ marks: boolean;
636
+ markColor: "black" | "registration";
637
+ margin?: {
638
+ top: number;
639
+ right: number;
640
+ bottom: number;
641
+ left: number;
642
+ } | undefined;
643
+ } | undefined;
644
+ printedPages?: {
645
+ parents: {
646
+ name: string;
647
+ basedOn?: string | undefined;
648
+ margin?: {
649
+ top: number;
650
+ bottom: number;
651
+ inner: number;
652
+ outer: number;
653
+ } | undefined;
654
+ head?: string | undefined;
655
+ foot?: string | undefined;
656
+ }[];
657
+ rules: {
658
+ last?: string | undefined;
659
+ verso?: string | undefined;
660
+ recto?: string | undefined;
661
+ first?: string | undefined;
662
+ every: string;
663
+ };
664
+ numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
665
+ } | undefined;
666
+ slots?: {
667
+ key: string;
668
+ label: string;
669
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
670
+ required: boolean;
671
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
672
+ placeholder?: string | undefined;
673
+ minSize?: number | undefined;
674
+ }[] | undefined;
675
+ fonts?: ({
676
+ app: string;
677
+ } | {
678
+ local: string;
679
+ fallback: string;
680
+ })[] | undefined;
681
+ }, {
682
+ size: {
683
+ width: number;
684
+ height: number;
685
+ } | {
686
+ readonly width: "full";
687
+ readonly height: "auto";
688
+ } | {
689
+ width: number | "full" | "standard" | "wide";
690
+ height: "auto";
691
+ };
692
+ scripts: "refuse" | "sandboxed";
693
+ id?: string | undefined;
694
+ body?: {
695
+ html: string;
696
+ } | {
697
+ markdown: string;
698
+ } | undefined;
699
+ html?: string | undefined;
700
+ markdown?: string | undefined;
701
+ dir?: "auto" | "ltr" | "rtl" | undefined;
702
+ lang?: string | undefined;
703
+ print?: {
704
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
705
+ width: number;
706
+ height: number;
707
+ unit: "in" | "mm" | "pt";
708
+ };
709
+ orientation: "portrait" | "landscape";
710
+ bleed: number;
711
+ safe: number;
712
+ marks: boolean;
713
+ markColor: "black" | "registration";
714
+ margin?: {
715
+ top: number;
716
+ right: number;
717
+ bottom: number;
718
+ left: number;
719
+ } | undefined;
720
+ } | undefined;
721
+ printedPages?: {
722
+ parents: {
723
+ name: string;
724
+ basedOn?: string | undefined;
725
+ margin?: {
726
+ top: number;
727
+ bottom: number;
728
+ inner: number;
729
+ outer: number;
730
+ } | undefined;
731
+ head?: string | undefined;
732
+ foot?: string | undefined;
733
+ }[];
734
+ rules: {
735
+ last?: string | undefined;
736
+ verso?: string | undefined;
737
+ recto?: string | undefined;
738
+ first?: string | undefined;
739
+ every: string;
740
+ };
741
+ numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
742
+ } | undefined;
743
+ slots?: {
744
+ key: string;
745
+ label: string;
746
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
747
+ required: boolean;
748
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
749
+ placeholder?: string | undefined;
750
+ minSize?: number | undefined;
751
+ }[] | undefined;
752
+ fonts?: ({
753
+ app: string;
754
+ } | {
755
+ local: string;
756
+ fallback: string;
757
+ })[] | undefined;
758
+ }>>>;
759
+ lexicon: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
760
+ entries: z.ZodArray<z.ZodObject<{
761
+ term: z.ZodString;
762
+ say: z.ZodString;
763
+ ipa: z.ZodOptional<z.ZodString>;
764
+ }, z.core.$strip>>;
765
+ }, z.core.$strip>>;
766
+ imposition: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
767
+ paper: z.ZodUnion<readonly [z.ZodEnum<{
768
+ letter: "letter";
769
+ legal: "legal";
770
+ tabloid: "tabloid";
771
+ a3: "a3";
772
+ a4: "a4";
773
+ a5: "a5";
774
+ "business-card-us": "business-card-us";
775
+ "business-card-eu": "business-card-eu";
776
+ "business-card-square-us": "business-card-square-us";
777
+ "business-card-slim-us": "business-card-slim-us";
778
+ "postcard-4x6": "postcard-4x6";
779
+ "postcard-5x7": "postcard-5x7";
780
+ "postcard-6x9": "postcard-6x9";
781
+ "postcard-6x11": "postcard-6x11";
782
+ "card-square-4in": "card-square-4in";
783
+ "half-letter": "half-letter";
784
+ a6: "a6";
785
+ dl: "dl";
786
+ "rack-card-4x9": "rack-card-4x9";
787
+ "rack-card-3.5x8.5": "rack-card-3.5x8.5";
788
+ "poster-12x18": "poster-12x18";
789
+ "poster-16x20": "poster-16x20";
790
+ "poster-18x24": "poster-18x24";
791
+ "poster-24x36": "poster-24x36";
792
+ a2: "a2";
793
+ a1: "a1";
794
+ a0: "a0";
795
+ }>, z.ZodObject<{
796
+ width: z.ZodNumber;
797
+ height: z.ZodNumber;
798
+ unit: z.ZodEnum<{
799
+ in: "in";
800
+ mm: "mm";
801
+ pt: "pt";
802
+ }>;
803
+ }, z.core.$strip>]>;
804
+ orientation: z.ZodDefault<z.ZodEnum<{
805
+ portrait: "portrait";
806
+ landscape: "landscape";
807
+ }>>;
808
+ unit: z.ZodDefault<z.ZodEnum<{
809
+ in: "in";
810
+ mm: "mm";
811
+ pt: "pt";
812
+ }>>;
813
+ margin: z.ZodDefault<z.ZodObject<{
814
+ top: z.ZodDefault<z.ZodNumber>;
815
+ right: z.ZodDefault<z.ZodNumber>;
816
+ bottom: z.ZodDefault<z.ZodNumber>;
817
+ left: z.ZodDefault<z.ZodNumber>;
818
+ }, z.core.$strip>>;
819
+ columns: z.ZodOptional<z.ZodNumber>;
820
+ rows: z.ZodOptional<z.ZodNumber>;
821
+ cell: z.ZodObject<{
822
+ width: z.ZodOptional<z.ZodNumber>;
823
+ height: z.ZodNumber;
824
+ }, z.core.$strip>;
825
+ gap: z.ZodDefault<z.ZodObject<{
826
+ column: z.ZodDefault<z.ZodNumber>;
827
+ row: z.ZodDefault<z.ZodNumber>;
828
+ }, z.core.$strip>>;
829
+ bleed: z.ZodDefault<z.ZodNumber>;
830
+ safe: z.ZodDefault<z.ZodNumber>;
831
+ fit: z.ZodDefault<z.ZodEnum<{
832
+ contain: "contain";
833
+ cover: "cover";
834
+ }>>;
835
+ fill: z.ZodDefault<z.ZodEnum<{
836
+ sequence: "sequence";
837
+ repeat: "repeat";
838
+ }>>;
839
+ sides: z.ZodOptional<z.ZodEnum<{
840
+ one: "one";
841
+ two: "two";
842
+ }>>;
843
+ flip: z.ZodDefault<z.ZodEnum<{
844
+ long: "long";
845
+ short: "short";
846
+ }>>;
847
+ skip: z.ZodDefault<z.ZodNumber>;
848
+ dir: z.ZodDefault<z.ZodEnum<{
849
+ ltr: "ltr";
850
+ rtl: "rtl";
851
+ }>>;
852
+ marks: z.ZodDefault<z.ZodBoolean>;
853
+ markColor: z.ZodDefault<z.ZodEnum<{
854
+ black: "black";
855
+ registration: "registration";
856
+ }>>;
857
+ cornerMarks: z.ZodDefault<z.ZodBoolean>;
858
+ fold: z.ZodOptional<z.ZodEnum<{
859
+ custom: "custom";
860
+ letter: "letter";
861
+ half: "half";
862
+ z: "z";
863
+ gate: "gate";
864
+ }>>;
865
+ panels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
866
+ }, z.core.$strip>, z.ZodTransform<{
867
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
868
+ width: number;
869
+ height: number;
870
+ unit: "in" | "mm" | "pt";
871
+ };
872
+ orientation: "portrait" | "landscape";
873
+ unit: "in" | "mm" | "pt";
874
+ margin: {
875
+ top: number;
876
+ right: number;
877
+ bottom: number;
878
+ left: number;
879
+ };
880
+ cell: {
881
+ height: number;
882
+ width?: number | undefined;
883
+ };
884
+ gap: {
885
+ column: number;
886
+ row: number;
887
+ };
888
+ bleed: number;
889
+ safe: number;
890
+ fit: "contain" | "cover";
891
+ fill: "sequence" | "repeat";
892
+ flip: "long" | "short";
893
+ skip: number;
894
+ dir: "ltr" | "rtl";
895
+ marks: boolean;
896
+ markColor: "black" | "registration";
897
+ cornerMarks: boolean;
898
+ columns?: number | undefined;
899
+ rows?: number | undefined;
900
+ sides?: "one" | "two" | undefined;
901
+ fold?: "custom" | "letter" | "half" | "z" | "gate" | undefined;
902
+ panels?: number[] | undefined;
903
+ } & {
904
+ columns: number;
905
+ rows: number;
906
+ sides: "one" | "two";
907
+ }, {
908
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
909
+ width: number;
910
+ height: number;
911
+ unit: "in" | "mm" | "pt";
912
+ };
913
+ orientation: "portrait" | "landscape";
914
+ unit: "in" | "mm" | "pt";
915
+ margin: {
916
+ top: number;
917
+ right: number;
918
+ bottom: number;
919
+ left: number;
920
+ };
921
+ cell: {
922
+ height: number;
923
+ width?: number | undefined;
924
+ };
925
+ gap: {
926
+ column: number;
927
+ row: number;
928
+ };
929
+ bleed: number;
930
+ safe: number;
931
+ fit: "contain" | "cover";
932
+ fill: "sequence" | "repeat";
933
+ flip: "long" | "short";
934
+ skip: number;
935
+ dir: "ltr" | "rtl";
936
+ marks: boolean;
937
+ markColor: "black" | "registration";
938
+ cornerMarks: boolean;
939
+ columns?: number | undefined;
940
+ rows?: number | undefined;
941
+ sides?: "one" | "two" | undefined;
942
+ fold?: "custom" | "letter" | "half" | "z" | "gate" | undefined;
943
+ panels?: number[] | undefined;
944
+ }>>>;
945
+ deck: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
946
+ title: z.ZodString;
947
+ size: z.ZodDefault<z.ZodObject<{
948
+ width: z.ZodNumber;
949
+ height: z.ZodNumber;
950
+ }, z.core.$strip>>;
951
+ layout: z.ZodDefault<z.ZodEnum<{
952
+ fixed: "fixed";
953
+ responsive: "responsive";
954
+ }>>;
955
+ fit: z.ZodDefault<z.ZodEnum<{
956
+ width: "width";
957
+ contain: "contain";
958
+ cover: "cover";
959
+ focus: "focus";
960
+ }>>;
961
+ frame: z.ZodDefault<z.ZodBoolean>;
962
+ scripts: z.ZodDefault<z.ZodEnum<{
963
+ refuse: "refuse";
964
+ sandboxed: "sandboxed";
965
+ }>>;
966
+ dir: z.ZodOptional<z.ZodEnum<{
967
+ auto: "auto";
968
+ ltr: "ltr";
969
+ rtl: "rtl";
970
+ }>>;
971
+ lang: z.ZodOptional<z.ZodString>;
972
+ transition: z.ZodOptional<z.ZodObject<{
973
+ kind: z.ZodEnum<{
974
+ none: "none";
975
+ fade: "fade";
976
+ slide: "slide";
977
+ }>;
978
+ duration: z.ZodDefault<z.ZodNumber>;
979
+ }, z.core.$strip>>;
980
+ playback: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
981
+ segmented: "segmented";
982
+ continuous: "continuous";
983
+ }>, z.ZodPipe<z.ZodLiteral<"step">, z.ZodTransform<"segmented" | "continuous", "step">>]>>;
984
+ captions: z.ZodOptional<z.ZodEnum<{
985
+ on: "on";
986
+ off: "off";
987
+ viewer: "viewer";
988
+ }>>;
989
+ slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
990
+ key: z.ZodString;
991
+ label: z.ZodString;
992
+ type: z.ZodEnum<{
993
+ text: "text";
994
+ image: "image";
995
+ phone: "phone";
996
+ email: "email";
997
+ link: "link";
998
+ qr: "qr";
999
+ }>;
1000
+ required: z.ZodDefault<z.ZodBoolean>;
1001
+ placeholder: z.ZodOptional<z.ZodString>;
1002
+ overflow: z.ZodDefault<z.ZodEnum<{
1003
+ refuse: "refuse";
1004
+ shrink: "shrink";
1005
+ truncate: "truncate";
1006
+ wrap: "wrap";
1007
+ }>>;
1008
+ minSize: z.ZodOptional<z.ZodNumber>;
1009
+ }, z.core.$strip>, z.ZodTransform<{
1010
+ key: string;
1011
+ label: string;
1012
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1013
+ required: boolean;
1014
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1015
+ placeholder?: string | undefined;
1016
+ minSize?: number | undefined;
1017
+ }, {
1018
+ key: string;
1019
+ label: string;
1020
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1021
+ required: boolean;
1022
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1023
+ placeholder?: string | undefined;
1024
+ minSize?: number | undefined;
1025
+ }>>>>;
1026
+ slides: z.ZodArray<z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ content: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
1029
+ kind: z.ZodLiteral<"html">;
1030
+ html: z.ZodString;
1031
+ }, z.core.$strip>, z.ZodObject<{
1032
+ kind: z.ZodLiteral<"url">;
1033
+ src: z.ZodString;
1034
+ }, z.core.$strip>, z.ZodObject<{
1035
+ kind: z.ZodLiteral<"shot">;
1036
+ src: z.ZodString;
1037
+ shot: z.ZodObject<{
1038
+ key: z.ZodString;
1039
+ title: z.ZodString;
1040
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1041
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1042
+ file: z.ZodString;
1043
+ annotatedFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1044
+ size: z.ZodObject<{
1045
+ width: z.ZodNumber;
1046
+ height: z.ZodNumber;
1047
+ }, z.core.$strip>;
1048
+ scale: z.ZodNumber;
1049
+ dir: z.ZodDefault<z.ZodEnum<{
1050
+ ltr: "ltr";
1051
+ rtl: "rtl";
1052
+ }>>;
1053
+ annotations: z.ZodArray<z.ZodObject<{
1054
+ ring: z.ZodNullable<z.ZodObject<{
1055
+ x: z.ZodNumber;
1056
+ y: z.ZodNumber;
1057
+ width: z.ZodNumber;
1058
+ height: z.ZodNumber;
1059
+ }, z.core.$strip>>;
1060
+ badge: z.ZodNullable<z.ZodObject<{
1061
+ center: z.ZodObject<{
1062
+ x: z.ZodNumber;
1063
+ y: z.ZodNumber;
1064
+ }, z.core.$strip>;
1065
+ number: z.ZodNumber;
1066
+ }, z.core.$strip>>;
1067
+ arrow: z.ZodNullable<z.ZodObject<{
1068
+ head: z.ZodObject<{
1069
+ x: z.ZodNumber;
1070
+ y: z.ZodNumber;
1071
+ }, z.core.$strip>;
1072
+ tail: z.ZodObject<{
1073
+ x: z.ZodNumber;
1074
+ y: z.ZodNumber;
1075
+ }, z.core.$strip>;
1076
+ label: z.ZodNullable<z.ZodString>;
1077
+ }, z.core.$strip>>;
1078
+ }, z.core.$strip>>;
1079
+ capturedAt: z.ZodString;
1080
+ meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1081
+ }, z.core.$strip>;
1082
+ fit: z.ZodOptional<z.ZodEnum<{
1083
+ width: "width";
1084
+ contain: "contain";
1085
+ cover: "cover";
1086
+ focus: "focus";
1087
+ }>>;
1088
+ frame: z.ZodOptional<z.ZodBoolean>;
1089
+ }, z.core.$strip>, z.ZodObject<{
1090
+ kind: z.ZodLiteral<"shot-ref">;
1091
+ href: z.ZodString;
1092
+ fit: z.ZodOptional<z.ZodEnum<{
1093
+ width: "width";
1094
+ contain: "contain";
1095
+ cover: "cover";
1096
+ focus: "focus";
1097
+ }>>;
1098
+ frame: z.ZodOptional<z.ZodBoolean>;
1099
+ }, z.core.$strip>, z.ZodObject<{
1100
+ kind: z.ZodLiteral<"image">;
1101
+ src: z.ZodString;
1102
+ alt: z.ZodString;
1103
+ fit: z.ZodOptional<z.ZodEnum<{
1104
+ width: "width";
1105
+ contain: "contain";
1106
+ cover: "cover";
1107
+ focus: "focus";
1108
+ }>>;
1109
+ frame: z.ZodOptional<z.ZodBoolean>;
1110
+ }, z.core.$strip>], "kind">, z.ZodObject<{
1111
+ media: z.ZodObject<{
1112
+ kind: z.ZodEnum<{
1113
+ deck: "deck";
1114
+ page: "page";
1115
+ paper: "paper";
1116
+ book: "book";
1117
+ media: "media";
1118
+ shot: "shot";
1119
+ }>;
1120
+ address: z.ZodString;
1121
+ page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1122
+ box: z.ZodOptional<z.ZodEnum<{
1123
+ media: "media";
1124
+ crop: "crop";
1125
+ trim: "trim";
1126
+ bleed: "bleed";
1127
+ art: "art";
1128
+ }>>;
1129
+ crop: z.ZodOptional<z.ZodObject<{
1130
+ top: z.ZodOptional<z.ZodString>;
1131
+ right: z.ZodOptional<z.ZodString>;
1132
+ bottom: z.ZodOptional<z.ZodString>;
1133
+ left: z.ZodOptional<z.ZodString>;
1134
+ }, z.core.$strip>>;
1135
+ fit: z.ZodOptional<z.ZodEnum<{
1136
+ width: "width";
1137
+ contain: "contain";
1138
+ cover: "cover";
1139
+ focus: "focus";
1140
+ }>>;
1141
+ alt: z.ZodOptional<z.ZodObject<{
1142
+ text: z.ZodString;
1143
+ lang: z.ZodOptional<z.ZodString>;
1144
+ dir: z.ZodOptional<z.ZodEnum<{
1145
+ auto: "auto";
1146
+ ltr: "ltr";
1147
+ rtl: "rtl";
1148
+ }>>;
1149
+ }, z.core.$strip>>;
1150
+ }, z.core.$strip>;
1151
+ }, z.core.$strip>]>;
1152
+ notes: z.ZodOptional<z.ZodString>;
1153
+ narration: z.ZodOptional<z.ZodObject<{
1154
+ text: z.ZodString;
1155
+ lang: z.ZodOptional<z.ZodString>;
1156
+ dir: z.ZodOptional<z.ZodEnum<{
1157
+ auto: "auto";
1158
+ ltr: "ltr";
1159
+ rtl: "rtl";
1160
+ }>>;
1161
+ voice: z.ZodOptional<z.ZodString>;
1162
+ words: z.ZodArray<z.ZodObject<{
1163
+ text: z.ZodString;
1164
+ startMs: z.ZodNumber;
1165
+ endMs: z.ZodNumber;
1166
+ }, z.core.$strip>>;
1167
+ durationMs: z.ZodNumber;
1168
+ audio: z.ZodNullable<z.ZodString>;
1169
+ live: z.ZodDefault<z.ZodBoolean>;
1170
+ cues: z.ZodDefault<z.ZodArray<z.ZodObject<{
1171
+ word: z.ZodNumber;
1172
+ annotation: z.ZodNumber;
1173
+ untilWord: z.ZodOptional<z.ZodNumber>;
1174
+ }, z.core.$strip>>>;
1175
+ }, z.core.$strip>>;
1176
+ beforeMs: z.ZodOptional<z.ZodNumber>;
1177
+ afterMs: z.ZodOptional<z.ZodNumber>;
1178
+ holdMs: z.ZodOptional<z.ZodNumber>;
1179
+ printAtMs: z.ZodOptional<z.ZodNumber>;
1180
+ }, z.core.$strip>>;
1181
+ }, z.core.$strip>>;
1182
+ manifest: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1183
+ shots: z.ZodRecord<z.ZodString, z.ZodObject<{
1184
+ key: z.ZodString;
1185
+ title: z.ZodString;
1186
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1187
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1188
+ file: z.ZodString;
1189
+ annotatedFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1190
+ size: z.ZodObject<{
1191
+ width: z.ZodNumber;
1192
+ height: z.ZodNumber;
1193
+ }, z.core.$strip>;
1194
+ scale: z.ZodNumber;
1195
+ dir: z.ZodDefault<z.ZodEnum<{
1196
+ ltr: "ltr";
1197
+ rtl: "rtl";
1198
+ }>>;
1199
+ annotations: z.ZodArray<z.ZodObject<{
1200
+ ring: z.ZodNullable<z.ZodObject<{
1201
+ x: z.ZodNumber;
1202
+ y: z.ZodNumber;
1203
+ width: z.ZodNumber;
1204
+ height: z.ZodNumber;
1205
+ }, z.core.$strip>>;
1206
+ badge: z.ZodNullable<z.ZodObject<{
1207
+ center: z.ZodObject<{
1208
+ x: z.ZodNumber;
1209
+ y: z.ZodNumber;
1210
+ }, z.core.$strip>;
1211
+ number: z.ZodNumber;
1212
+ }, z.core.$strip>>;
1213
+ arrow: z.ZodNullable<z.ZodObject<{
1214
+ head: z.ZodObject<{
1215
+ x: z.ZodNumber;
1216
+ y: z.ZodNumber;
1217
+ }, z.core.$strip>;
1218
+ tail: z.ZodObject<{
1219
+ x: z.ZodNumber;
1220
+ y: z.ZodNumber;
1221
+ }, z.core.$strip>;
1222
+ label: z.ZodNullable<z.ZodString>;
1223
+ }, z.core.$strip>>;
1224
+ }, z.core.$strip>>;
1225
+ capturedAt: z.ZodString;
1226
+ meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1227
+ }, z.core.$strip>>;
1228
+ updatedAt: z.ZodString;
1229
+ }, z.core.$strip>>;
1230
+ publishedShot: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1231
+ src: z.ZodString;
1232
+ shot: z.ZodObject<{
1233
+ key: z.ZodString;
1234
+ title: z.ZodString;
1235
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1236
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1237
+ file: z.ZodString;
1238
+ annotatedFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1239
+ size: z.ZodObject<{
1240
+ width: z.ZodNumber;
1241
+ height: z.ZodNumber;
1242
+ }, z.core.$strip>;
1243
+ scale: z.ZodNumber;
1244
+ dir: z.ZodDefault<z.ZodEnum<{
1245
+ ltr: "ltr";
1246
+ rtl: "rtl";
1247
+ }>>;
1248
+ annotations: z.ZodArray<z.ZodObject<{
1249
+ ring: z.ZodNullable<z.ZodObject<{
1250
+ x: z.ZodNumber;
1251
+ y: z.ZodNumber;
1252
+ width: z.ZodNumber;
1253
+ height: z.ZodNumber;
1254
+ }, z.core.$strip>>;
1255
+ badge: z.ZodNullable<z.ZodObject<{
1256
+ center: z.ZodObject<{
1257
+ x: z.ZodNumber;
1258
+ y: z.ZodNumber;
1259
+ }, z.core.$strip>;
1260
+ number: z.ZodNumber;
1261
+ }, z.core.$strip>>;
1262
+ arrow: z.ZodNullable<z.ZodObject<{
1263
+ head: z.ZodObject<{
1264
+ x: z.ZodNumber;
1265
+ y: z.ZodNumber;
1266
+ }, z.core.$strip>;
1267
+ tail: z.ZodObject<{
1268
+ x: z.ZodNumber;
1269
+ y: z.ZodNumber;
1270
+ }, z.core.$strip>;
1271
+ label: z.ZodNullable<z.ZodString>;
1272
+ }, z.core.$strip>>;
1273
+ }, z.core.$strip>>;
1274
+ capturedAt: z.ZodString;
1275
+ meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1276
+ }, z.core.$strip>;
1277
+ }, z.core.$strip>>;
1278
+ board: z.core.ZodStandardJSONSchemaPayload<z.ZodPreprocess<z.ZodObject<{
1279
+ title: z.ZodString;
1280
+ direction: z.ZodEnum<{
1281
+ ltr: "ltr";
1282
+ rtl: "rtl";
1283
+ }>;
1284
+ items: z.ZodArray<z.ZodObject<{
1285
+ id: z.ZodString;
1286
+ kind: z.ZodEnum<{
1287
+ deck: "deck";
1288
+ page: "page";
1289
+ paper: "paper";
1290
+ book: "book";
1291
+ media: "media";
1292
+ shot: "shot";
1293
+ }>;
1294
+ address: z.ZodString;
1295
+ x: z.ZodNumber;
1296
+ y: z.ZodNumber;
1297
+ width: z.ZodNumber;
1298
+ }, z.core.$strip>>;
1299
+ labels: z.ZodArray<z.ZodObject<{
1300
+ id: z.ZodString;
1301
+ text: z.ZodString;
1302
+ x: z.ZodNumber;
1303
+ y: z.ZodNumber;
1304
+ }, z.core.$strip>>;
1305
+ sections: z.ZodArray<z.ZodObject<{
1306
+ id: z.ZodString;
1307
+ title: z.ZodString;
1308
+ rectangle: z.ZodObject<{
1309
+ x: z.ZodNumber;
1310
+ y: z.ZodNumber;
1311
+ width: z.ZodNumber;
1312
+ height: z.ZodNumber;
1313
+ }, z.core.$strip>;
1314
+ items: z.ZodArray<z.ZodString>;
1315
+ layout: z.ZodOptional<z.ZodEnum<{
1316
+ auto: "auto";
1317
+ manual: "manual";
1318
+ }>>;
1319
+ cells: z.ZodOptional<z.ZodArray<z.ZodObject<{
1320
+ id: z.ZodString;
1321
+ row: z.ZodNumber;
1322
+ column: z.ZodNumber;
1323
+ }, z.core.$strip>>>;
1324
+ }, z.core.$strip>>;
1325
+ }, z.core.$strip>, unknown>>;
1326
+ printSetting: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1327
+ paper: z.ZodUnion<readonly [z.ZodEnum<{
1328
+ letter: "letter";
1329
+ legal: "legal";
1330
+ tabloid: "tabloid";
1331
+ a3: "a3";
1332
+ a4: "a4";
1333
+ a5: "a5";
1334
+ "business-card-us": "business-card-us";
1335
+ "business-card-eu": "business-card-eu";
1336
+ "business-card-square-us": "business-card-square-us";
1337
+ "business-card-slim-us": "business-card-slim-us";
1338
+ "postcard-4x6": "postcard-4x6";
1339
+ "postcard-5x7": "postcard-5x7";
1340
+ "postcard-6x9": "postcard-6x9";
1341
+ "postcard-6x11": "postcard-6x11";
1342
+ "card-square-4in": "card-square-4in";
1343
+ "half-letter": "half-letter";
1344
+ a6: "a6";
1345
+ dl: "dl";
1346
+ "rack-card-4x9": "rack-card-4x9";
1347
+ "rack-card-3.5x8.5": "rack-card-3.5x8.5";
1348
+ "poster-12x18": "poster-12x18";
1349
+ "poster-16x20": "poster-16x20";
1350
+ "poster-18x24": "poster-18x24";
1351
+ "poster-24x36": "poster-24x36";
1352
+ a2: "a2";
1353
+ a1: "a1";
1354
+ a0: "a0";
1355
+ }>, z.ZodObject<{
1356
+ width: z.ZodNumber;
1357
+ height: z.ZodNumber;
1358
+ unit: z.ZodEnum<{
1359
+ in: "in";
1360
+ mm: "mm";
1361
+ pt: "pt";
1362
+ }>;
1363
+ }, z.core.$strip>]>;
1364
+ orientation: z.ZodEnum<{
1365
+ portrait: "portrait";
1366
+ landscape: "landscape";
1367
+ }>;
1368
+ }, z.core.$strip>>;
1369
+ printSettingInput: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1370
+ paper: z.ZodUnion<readonly [z.ZodEnum<{
1371
+ letter: "letter";
1372
+ legal: "legal";
1373
+ tabloid: "tabloid";
1374
+ a3: "a3";
1375
+ a4: "a4";
1376
+ a5: "a5";
1377
+ "business-card-us": "business-card-us";
1378
+ "business-card-eu": "business-card-eu";
1379
+ "business-card-square-us": "business-card-square-us";
1380
+ "business-card-slim-us": "business-card-slim-us";
1381
+ "postcard-4x6": "postcard-4x6";
1382
+ "postcard-5x7": "postcard-5x7";
1383
+ "postcard-6x9": "postcard-6x9";
1384
+ "postcard-6x11": "postcard-6x11";
1385
+ "card-square-4in": "card-square-4in";
1386
+ "half-letter": "half-letter";
1387
+ a6: "a6";
1388
+ dl: "dl";
1389
+ "rack-card-4x9": "rack-card-4x9";
1390
+ "rack-card-3.5x8.5": "rack-card-3.5x8.5";
1391
+ "poster-12x18": "poster-12x18";
1392
+ "poster-16x20": "poster-16x20";
1393
+ "poster-18x24": "poster-18x24";
1394
+ "poster-24x36": "poster-24x36";
1395
+ a2: "a2";
1396
+ a1: "a1";
1397
+ a0: "a0";
1398
+ }>, z.ZodObject<{
1399
+ width: z.ZodNumber;
1400
+ height: z.ZodNumber;
1401
+ unit: z.ZodEnum<{
1402
+ in: "in";
1403
+ mm: "mm";
1404
+ pt: "pt";
1405
+ }>;
1406
+ }, z.core.$strip>]>;
1407
+ orientation: z.ZodEnum<{
1408
+ portrait: "portrait";
1409
+ landscape: "landscape";
1410
+ }>;
1411
+ }, z.core.$strict>>;
1412
+ slotDeclaration: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
1413
+ key: z.ZodString;
1414
+ label: z.ZodString;
1415
+ type: z.ZodEnum<{
1416
+ text: "text";
1417
+ image: "image";
1418
+ phone: "phone";
1419
+ email: "email";
1420
+ link: "link";
1421
+ qr: "qr";
1422
+ }>;
1423
+ required: z.ZodDefault<z.ZodBoolean>;
1424
+ placeholder: z.ZodOptional<z.ZodString>;
1425
+ overflow: z.ZodDefault<z.ZodEnum<{
1426
+ refuse: "refuse";
1427
+ shrink: "shrink";
1428
+ truncate: "truncate";
1429
+ wrap: "wrap";
1430
+ }>>;
1431
+ minSize: z.ZodOptional<z.ZodNumber>;
1432
+ }, z.core.$strip>, z.ZodTransform<{
1433
+ key: string;
1434
+ label: string;
1435
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1436
+ required: boolean;
1437
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1438
+ placeholder?: string | undefined;
1439
+ minSize?: number | undefined;
1440
+ }, {
1441
+ key: string;
1442
+ label: string;
1443
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1444
+ required: boolean;
1445
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1446
+ placeholder?: string | undefined;
1447
+ minSize?: number | undefined;
1448
+ }>>>;
1449
+ slotDeclarationInput: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
1450
+ key: z.ZodString;
1451
+ label: z.ZodString;
1452
+ type: z.ZodEnum<{
1453
+ text: "text";
1454
+ image: "image";
1455
+ phone: "phone";
1456
+ email: "email";
1457
+ link: "link";
1458
+ qr: "qr";
1459
+ }>;
1460
+ required: z.ZodDefault<z.ZodBoolean>;
1461
+ placeholder: z.ZodOptional<z.ZodString>;
1462
+ overflow: z.ZodDefault<z.ZodEnum<{
1463
+ refuse: "refuse";
1464
+ shrink: "shrink";
1465
+ truncate: "truncate";
1466
+ wrap: "wrap";
1467
+ }>>;
1468
+ minSize: z.ZodOptional<z.ZodNumber>;
1469
+ }, z.core.$strict>, z.ZodTransform<{
1470
+ key: string;
1471
+ label: string;
1472
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1473
+ required: boolean;
1474
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1475
+ placeholder?: string | undefined;
1476
+ minSize?: number | undefined;
1477
+ }, {
1478
+ key: string;
1479
+ label: string;
1480
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1481
+ required: boolean;
1482
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1483
+ placeholder?: string | undefined;
1484
+ minSize?: number | undefined;
1485
+ }>>>;
1486
+ fontReference: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
1487
+ app: z.ZodString;
1488
+ }, z.core.$strip>, z.ZodObject<{
1489
+ local: z.ZodString;
1490
+ fallback: z.ZodString;
1491
+ }, z.core.$strip>]>>;
1492
+ fontReferenceInput: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
1493
+ app: z.ZodString;
1494
+ }, z.core.$strict>, z.ZodObject<{
1495
+ local: z.ZodString;
1496
+ fallback: z.ZodString;
1497
+ }, z.core.$strict>]>>;
1498
+ localFaceTransport: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1499
+ family: z.ZodString;
1500
+ format: z.ZodEnum<{
1501
+ woff2: "woff2";
1502
+ woff: "woff";
1503
+ truetype: "truetype";
1504
+ opentype: "opentype";
1505
+ collection: "collection";
1506
+ }>;
1507
+ weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1508
+ style: z.ZodOptional<z.ZodEnum<{
1509
+ normal: "normal";
1510
+ italic: "italic";
1511
+ }>>;
1512
+ postscriptName: z.ZodOptional<z.ZodString>;
1513
+ data: z.ZodString;
1514
+ }, z.core.$strict>>;
1515
+ localFacesTransport: z.core.ZodStandardJSONSchemaPayload<z.ZodArray<z.ZodObject<{
1516
+ family: z.ZodString;
1517
+ format: z.ZodEnum<{
1518
+ woff2: "woff2";
1519
+ woff: "woff";
1520
+ truetype: "truetype";
1521
+ opentype: "opentype";
1522
+ collection: "collection";
1523
+ }>;
1524
+ weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1525
+ style: z.ZodOptional<z.ZodEnum<{
1526
+ normal: "normal";
1527
+ italic: "italic";
1528
+ }>>;
1529
+ postscriptName: z.ZodOptional<z.ZodString>;
1530
+ data: z.ZodString;
1531
+ }, z.core.$strict>>>;
1532
+ motif: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1533
+ key: z.ZodString;
1534
+ revision: z.ZodString;
1535
+ label: z.ZodString;
1536
+ fields: z.ZodArray<z.ZodObject<{
1537
+ key: z.ZodString;
1538
+ label: z.ZodString;
1539
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1540
+ default: z.ZodOptional<z.ZodString>;
1541
+ required: z.ZodDefault<z.ZodBoolean>;
1542
+ }, z.core.$strip>>;
1543
+ versions: z.ZodArray<z.ZodObject<{
1544
+ lang: z.ZodString;
1545
+ dir: z.ZodOptional<z.ZodEnum<{
1546
+ ltr: "ltr";
1547
+ rtl: "rtl";
1548
+ }>>;
1549
+ when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1550
+ html: z.ZodString;
1551
+ }, z.core.$strip>>;
1552
+ fonts: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1553
+ app: z.ZodString;
1554
+ }, z.core.$strip>, z.ZodObject<{
1555
+ local: z.ZodString;
1556
+ fallback: z.ZodString;
1557
+ }, z.core.$strip>]>>>;
1558
+ }, z.core.$strip>>;
1559
+ motifInput: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1560
+ fields: z.ZodArray<z.ZodObject<{
1561
+ key: z.ZodString;
1562
+ label: z.ZodString;
1563
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1564
+ default: z.ZodOptional<z.ZodString>;
1565
+ required: z.ZodDefault<z.ZodBoolean>;
1566
+ }, z.core.$strict>>;
1567
+ versions: z.ZodArray<z.ZodObject<{
1568
+ lang: z.ZodString;
1569
+ dir: z.ZodOptional<z.ZodEnum<{
1570
+ ltr: "ltr";
1571
+ rtl: "rtl";
1572
+ }>>;
1573
+ when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1574
+ html: z.ZodString;
1575
+ }, z.core.$strict>>;
1576
+ fonts: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1577
+ app: z.ZodString;
1578
+ }, z.core.$strict>, z.ZodObject<{
1579
+ local: z.ZodString;
1580
+ fallback: z.ZodString;
1581
+ }, z.core.$strict>]>>>;
1582
+ key: z.ZodString;
1583
+ revision: z.ZodString;
1584
+ label: z.ZodString;
1585
+ }, z.core.$strict>>;
1586
+ media: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1587
+ format: z.ZodEnum<{
1588
+ png: "png";
1589
+ jpeg: "jpeg";
1590
+ gif: "gif";
1591
+ webp: "webp";
1592
+ svg: "svg";
1593
+ pdf: "pdf";
1594
+ ai: "ai";
1595
+ }>;
1596
+ size: z.ZodObject<{
1597
+ width: z.ZodNumber;
1598
+ height: z.ZodNumber;
1599
+ }, z.core.$strip>;
1600
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1601
+ name: z.ZodOptional<z.ZodString>;
1602
+ boxes: z.ZodObject<{
1603
+ media: z.ZodObject<{
1604
+ x: z.ZodNumber;
1605
+ y: z.ZodNumber;
1606
+ width: z.ZodNumber;
1607
+ height: z.ZodNumber;
1608
+ }, z.core.$strip>;
1609
+ crop: z.ZodOptional<z.ZodObject<{
1610
+ x: z.ZodNumber;
1611
+ y: z.ZodNumber;
1612
+ width: z.ZodNumber;
1613
+ height: z.ZodNumber;
1614
+ }, z.core.$strip>>;
1615
+ trim: z.ZodOptional<z.ZodObject<{
1616
+ x: z.ZodNumber;
1617
+ y: z.ZodNumber;
1618
+ width: z.ZodNumber;
1619
+ height: z.ZodNumber;
1620
+ }, z.core.$strip>>;
1621
+ bleed: z.ZodOptional<z.ZodObject<{
1622
+ x: z.ZodNumber;
1623
+ y: z.ZodNumber;
1624
+ width: z.ZodNumber;
1625
+ height: z.ZodNumber;
1626
+ }, z.core.$strip>>;
1627
+ art: z.ZodOptional<z.ZodObject<{
1628
+ x: z.ZodNumber;
1629
+ y: z.ZodNumber;
1630
+ width: z.ZodNumber;
1631
+ height: z.ZodNumber;
1632
+ }, z.core.$strip>>;
1633
+ }, z.core.$strip>;
1634
+ }, z.core.$strip>>>;
1635
+ resolution: z.ZodOptional<z.ZodNumber>;
1636
+ alt: z.ZodOptional<z.ZodObject<{
1637
+ text: z.ZodString;
1638
+ lang: z.ZodOptional<z.ZodString>;
1639
+ dir: z.ZodOptional<z.ZodEnum<{
1640
+ auto: "auto";
1641
+ ltr: "ltr";
1642
+ rtl: "rtl";
1643
+ }>>;
1644
+ }, z.core.$strip>>;
1645
+ caption: z.ZodOptional<z.ZodObject<{
1646
+ text: z.ZodString;
1647
+ lang: z.ZodOptional<z.ZodString>;
1648
+ dir: z.ZodOptional<z.ZodEnum<{
1649
+ auto: "auto";
1650
+ ltr: "ltr";
1651
+ rtl: "rtl";
1652
+ }>>;
1653
+ }, z.core.$strip>>;
1654
+ credit: z.ZodOptional<z.ZodObject<{
1655
+ text: z.ZodString;
1656
+ lang: z.ZodOptional<z.ZodString>;
1657
+ dir: z.ZodOptional<z.ZodEnum<{
1658
+ auto: "auto";
1659
+ ltr: "ltr";
1660
+ rtl: "rtl";
1661
+ }>>;
1662
+ }, z.core.$strip>>;
1663
+ derivedFrom: z.ZodOptional<z.ZodObject<{
1664
+ address: z.ZodString;
1665
+ page: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1666
+ name: z.ZodOptional<z.ZodString>;
1667
+ }, z.core.$strip>>;
1668
+ }, z.core.$strip>>;
1669
+ placement: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1670
+ kind: z.ZodEnum<{
1671
+ deck: "deck";
1672
+ page: "page";
1673
+ paper: "paper";
1674
+ book: "book";
1675
+ media: "media";
1676
+ shot: "shot";
1677
+ }>;
1678
+ address: z.ZodString;
1679
+ page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1680
+ box: z.ZodOptional<z.ZodEnum<{
1681
+ media: "media";
1682
+ crop: "crop";
1683
+ trim: "trim";
1684
+ bleed: "bleed";
1685
+ art: "art";
1686
+ }>>;
1687
+ crop: z.ZodOptional<z.ZodObject<{
1688
+ top: z.ZodOptional<z.ZodString>;
1689
+ right: z.ZodOptional<z.ZodString>;
1690
+ bottom: z.ZodOptional<z.ZodString>;
1691
+ left: z.ZodOptional<z.ZodString>;
1692
+ }, z.core.$strip>>;
1693
+ fit: z.ZodOptional<z.ZodEnum<{
1694
+ width: "width";
1695
+ contain: "contain";
1696
+ cover: "cover";
1697
+ focus: "focus";
1698
+ }>>;
1699
+ alt: z.ZodOptional<z.ZodObject<{
1700
+ text: z.ZodString;
1701
+ lang: z.ZodOptional<z.ZodString>;
1702
+ dir: z.ZodOptional<z.ZodEnum<{
1703
+ auto: "auto";
1704
+ ltr: "ltr";
1705
+ rtl: "rtl";
1706
+ }>>;
1707
+ }, z.core.$strip>>;
1708
+ }, z.core.$strip>>;
1709
+ cover: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
1710
+ page: z.ZodPipe<z.ZodObject<{
1711
+ id: z.ZodOptional<z.ZodString>;
1712
+ body: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1713
+ html: z.ZodString;
1714
+ }, z.core.$strict>, z.ZodObject<{
1715
+ markdown: z.ZodString;
1716
+ }, z.core.$strict>]>>;
1717
+ html: z.ZodOptional<z.ZodString>;
1718
+ markdown: z.ZodOptional<z.ZodString>;
1719
+ size: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodLiteral<"fluid">, z.ZodTransform<{
1720
+ readonly width: "full";
1721
+ readonly height: "auto";
1722
+ }, "fluid">>, z.ZodObject<{
1723
+ width: z.ZodNumber;
1724
+ height: z.ZodNumber;
1725
+ }, z.core.$strip>, z.ZodObject<{
1726
+ width: z.ZodUnion<readonly [z.ZodLiteral<"full">, z.ZodLiteral<"standard">, z.ZodLiteral<"wide">, z.ZodNumber]>;
1727
+ height: z.ZodLiteral<"auto">;
1728
+ }, z.core.$strip>]>>;
1729
+ scripts: z.ZodDefault<z.ZodEnum<{
1730
+ refuse: "refuse";
1731
+ sandboxed: "sandboxed";
1732
+ }>>;
1733
+ dir: z.ZodOptional<z.ZodEnum<{
1734
+ auto: "auto";
1735
+ ltr: "ltr";
1736
+ rtl: "rtl";
1737
+ }>>;
1738
+ lang: z.ZodOptional<z.ZodString>;
1739
+ print: z.ZodOptional<z.ZodObject<{
1740
+ paper: z.ZodUnion<readonly [z.ZodEnum<{
1741
+ letter: "letter";
1742
+ legal: "legal";
1743
+ tabloid: "tabloid";
1744
+ a3: "a3";
1745
+ a4: "a4";
1746
+ a5: "a5";
1747
+ "business-card-us": "business-card-us";
1748
+ "business-card-eu": "business-card-eu";
1749
+ "business-card-square-us": "business-card-square-us";
1750
+ "business-card-slim-us": "business-card-slim-us";
1751
+ "postcard-4x6": "postcard-4x6";
1752
+ "postcard-5x7": "postcard-5x7";
1753
+ "postcard-6x9": "postcard-6x9";
1754
+ "postcard-6x11": "postcard-6x11";
1755
+ "card-square-4in": "card-square-4in";
1756
+ "half-letter": "half-letter";
1757
+ a6: "a6";
1758
+ dl: "dl";
1759
+ "rack-card-4x9": "rack-card-4x9";
1760
+ "rack-card-3.5x8.5": "rack-card-3.5x8.5";
1761
+ "poster-12x18": "poster-12x18";
1762
+ "poster-16x20": "poster-16x20";
1763
+ "poster-18x24": "poster-18x24";
1764
+ "poster-24x36": "poster-24x36";
1765
+ a2: "a2";
1766
+ a1: "a1";
1767
+ a0: "a0";
1768
+ }>, z.ZodObject<{
1769
+ width: z.ZodNumber;
1770
+ height: z.ZodNumber;
1771
+ unit: z.ZodEnum<{
1772
+ in: "in";
1773
+ mm: "mm";
1774
+ pt: "pt";
1775
+ }>;
1776
+ }, z.core.$strip>]>;
1777
+ orientation: z.ZodDefault<z.ZodEnum<{
1778
+ portrait: "portrait";
1779
+ landscape: "landscape";
1780
+ }>>;
1781
+ margin: z.ZodOptional<z.ZodObject<{
1782
+ top: z.ZodDefault<z.ZodNumber>;
1783
+ right: z.ZodDefault<z.ZodNumber>;
1784
+ bottom: z.ZodDefault<z.ZodNumber>;
1785
+ left: z.ZodDefault<z.ZodNumber>;
1786
+ }, z.core.$strip>>;
1787
+ bleed: z.ZodDefault<z.ZodNumber>;
1788
+ safe: z.ZodDefault<z.ZodNumber>;
1789
+ marks: z.ZodDefault<z.ZodBoolean>;
1790
+ markColor: z.ZodDefault<z.ZodEnum<{
1791
+ black: "black";
1792
+ registration: "registration";
1793
+ }>>;
1794
+ }, z.core.$strip>>;
1795
+ printedPages: z.ZodOptional<z.ZodObject<{
1796
+ parents: z.ZodArray<z.ZodObject<{
1797
+ name: z.ZodString;
1798
+ basedOn: z.ZodOptional<z.ZodString>;
1799
+ margin: z.ZodOptional<z.ZodObject<{
1800
+ top: z.ZodNumber;
1801
+ bottom: z.ZodNumber;
1802
+ inner: z.ZodNumber;
1803
+ outer: z.ZodNumber;
1804
+ }, z.core.$strip>>;
1805
+ head: z.ZodOptional<z.ZodString>;
1806
+ foot: z.ZodOptional<z.ZodString>;
1807
+ }, z.core.$strip>>;
1808
+ rules: z.ZodPipe<z.ZodObject<{
1809
+ every: z.ZodString;
1810
+ first: z.ZodOptional<z.ZodString>;
1811
+ recto: z.ZodOptional<z.ZodString>;
1812
+ verso: z.ZodOptional<z.ZodString>;
1813
+ last: z.ZodOptional<z.ZodString>;
1814
+ }, z.core.$loose>, z.ZodTransform<{
1815
+ last?: string | undefined;
1816
+ verso?: string | undefined;
1817
+ recto?: string | undefined;
1818
+ first?: string | undefined;
1819
+ every: string;
1820
+ }, {
1821
+ [x: string]: unknown;
1822
+ every: string;
1823
+ first?: string | undefined;
1824
+ recto?: string | undefined;
1825
+ verso?: string | undefined;
1826
+ last?: string | undefined;
1827
+ }>>;
1828
+ numbering: z.ZodOptional<z.ZodEnum<{
1829
+ arabic: "arabic";
1830
+ "roman-lower": "roman-lower";
1831
+ "roman-upper": "roman-upper";
1832
+ hebrew: "hebrew";
1833
+ }>>;
1834
+ }, z.core.$strip>>;
1835
+ slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
1836
+ key: z.ZodString;
1837
+ label: z.ZodString;
1838
+ type: z.ZodEnum<{
1839
+ text: "text";
1840
+ image: "image";
1841
+ phone: "phone";
1842
+ email: "email";
1843
+ link: "link";
1844
+ qr: "qr";
1845
+ }>;
1846
+ required: z.ZodDefault<z.ZodBoolean>;
1847
+ placeholder: z.ZodOptional<z.ZodString>;
1848
+ overflow: z.ZodDefault<z.ZodEnum<{
1849
+ refuse: "refuse";
1850
+ shrink: "shrink";
1851
+ truncate: "truncate";
1852
+ wrap: "wrap";
1853
+ }>>;
1854
+ minSize: z.ZodOptional<z.ZodNumber>;
1855
+ }, z.core.$strip>, z.ZodTransform<{
1856
+ key: string;
1857
+ label: string;
1858
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1859
+ required: boolean;
1860
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1861
+ placeholder?: string | undefined;
1862
+ minSize?: number | undefined;
1863
+ }, {
1864
+ key: string;
1865
+ label: string;
1866
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1867
+ required: boolean;
1868
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1869
+ placeholder?: string | undefined;
1870
+ minSize?: number | undefined;
1871
+ }>>>>;
1872
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1873
+ app: z.ZodString;
1874
+ }, z.core.$strip>, z.ZodObject<{
1875
+ local: z.ZodString;
1876
+ fallback: z.ZodString;
1877
+ }, z.core.$strip>]>>>;
1878
+ }, z.core.$strip>, z.ZodTransform<{
1879
+ body: PageBody;
1880
+ size: {
1881
+ width: number;
1882
+ height: number;
1883
+ } | {
1884
+ readonly width: "full";
1885
+ readonly height: "auto";
1886
+ } | {
1887
+ width: number | "full" | "standard" | "wide";
1888
+ height: "auto";
1889
+ };
1890
+ scripts: "refuse" | "sandboxed";
1891
+ id?: string | undefined;
1892
+ dir?: "auto" | "ltr" | "rtl" | undefined;
1893
+ lang?: string | undefined;
1894
+ print?: {
1895
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
1896
+ width: number;
1897
+ height: number;
1898
+ unit: "in" | "mm" | "pt";
1899
+ };
1900
+ orientation: "portrait" | "landscape";
1901
+ bleed: number;
1902
+ safe: number;
1903
+ marks: boolean;
1904
+ markColor: "black" | "registration";
1905
+ margin?: {
1906
+ top: number;
1907
+ right: number;
1908
+ bottom: number;
1909
+ left: number;
1910
+ } | undefined;
1911
+ } | undefined;
1912
+ printedPages?: {
1913
+ parents: {
1914
+ name: string;
1915
+ basedOn?: string | undefined;
1916
+ margin?: {
1917
+ top: number;
1918
+ bottom: number;
1919
+ inner: number;
1920
+ outer: number;
1921
+ } | undefined;
1922
+ head?: string | undefined;
1923
+ foot?: string | undefined;
1924
+ }[];
1925
+ rules: {
1926
+ last?: string | undefined;
1927
+ verso?: string | undefined;
1928
+ recto?: string | undefined;
1929
+ first?: string | undefined;
1930
+ every: string;
1931
+ };
1932
+ numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
1933
+ } | undefined;
1934
+ slots?: {
1935
+ key: string;
1936
+ label: string;
1937
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
1938
+ required: boolean;
1939
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
1940
+ placeholder?: string | undefined;
1941
+ minSize?: number | undefined;
1942
+ }[] | undefined;
1943
+ fonts?: ({
1944
+ app: string;
1945
+ } | {
1946
+ local: string;
1947
+ fallback: string;
1948
+ })[] | undefined;
1949
+ }, {
1950
+ size: {
1951
+ width: number;
1952
+ height: number;
1953
+ } | {
1954
+ readonly width: "full";
1955
+ readonly height: "auto";
1956
+ } | {
1957
+ width: number | "full" | "standard" | "wide";
1958
+ height: "auto";
1959
+ };
1960
+ scripts: "refuse" | "sandboxed";
1961
+ id?: string | undefined;
1962
+ body?: {
1963
+ html: string;
1964
+ } | {
1965
+ markdown: string;
1966
+ } | undefined;
1967
+ html?: string | undefined;
1968
+ markdown?: string | undefined;
1969
+ dir?: "auto" | "ltr" | "rtl" | undefined;
1970
+ lang?: string | undefined;
1971
+ print?: {
1972
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
1973
+ width: number;
1974
+ height: number;
1975
+ unit: "in" | "mm" | "pt";
1976
+ };
1977
+ orientation: "portrait" | "landscape";
1978
+ bleed: number;
1979
+ safe: number;
1980
+ marks: boolean;
1981
+ markColor: "black" | "registration";
1982
+ margin?: {
1983
+ top: number;
1984
+ right: number;
1985
+ bottom: number;
1986
+ left: number;
1987
+ } | undefined;
1988
+ } | undefined;
1989
+ printedPages?: {
1990
+ parents: {
1991
+ name: string;
1992
+ basedOn?: string | undefined;
1993
+ margin?: {
1994
+ top: number;
1995
+ bottom: number;
1996
+ inner: number;
1997
+ outer: number;
1998
+ } | undefined;
1999
+ head?: string | undefined;
2000
+ foot?: string | undefined;
2001
+ }[];
2002
+ rules: {
2003
+ last?: string | undefined;
2004
+ verso?: string | undefined;
2005
+ recto?: string | undefined;
2006
+ first?: string | undefined;
2007
+ every: string;
2008
+ };
2009
+ numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
2010
+ } | undefined;
2011
+ slots?: {
2012
+ key: string;
2013
+ label: string;
2014
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
2015
+ required: boolean;
2016
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
2017
+ placeholder?: string | undefined;
2018
+ minSize?: number | undefined;
2019
+ }[] | undefined;
2020
+ fonts?: ({
2021
+ app: string;
2022
+ } | {
2023
+ local: string;
2024
+ fallback: string;
2025
+ })[] | undefined;
2026
+ }>>;
2027
+ id: z.ZodOptional<z.ZodString>;
2028
+ name: z.ZodOptional<z.ZodString>;
2029
+ }, z.core.$strip>, z.ZodTransform<{
2030
+ page: {
2031
+ print: {
2032
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
2033
+ width: number;
2034
+ height: number;
2035
+ unit: "in" | "mm" | "pt";
2036
+ };
2037
+ orientation: "portrait" | "landscape";
2038
+ bleed: number;
2039
+ safe: number;
2040
+ marks: boolean;
2041
+ markColor: "black" | "registration";
2042
+ margin?: {
2043
+ top: number;
2044
+ right: number;
2045
+ bottom: number;
2046
+ left: number;
2047
+ } | undefined;
2048
+ };
2049
+ body: PageBody;
2050
+ size: {
2051
+ width: number;
2052
+ height: number;
2053
+ } | {
2054
+ readonly width: "full";
2055
+ readonly height: "auto";
2056
+ } | {
2057
+ width: number | "full" | "standard" | "wide";
2058
+ height: "auto";
2059
+ };
2060
+ scripts: "refuse" | "sandboxed";
2061
+ id?: string | undefined;
2062
+ dir?: "auto" | "ltr" | "rtl" | undefined;
2063
+ lang?: string | undefined;
2064
+ printedPages?: {
2065
+ parents: {
2066
+ name: string;
2067
+ basedOn?: string | undefined;
2068
+ margin?: {
2069
+ top: number;
2070
+ bottom: number;
2071
+ inner: number;
2072
+ outer: number;
2073
+ } | undefined;
2074
+ head?: string | undefined;
2075
+ foot?: string | undefined;
2076
+ }[];
2077
+ rules: {
2078
+ last?: string | undefined;
2079
+ verso?: string | undefined;
2080
+ recto?: string | undefined;
2081
+ first?: string | undefined;
2082
+ every: string;
2083
+ };
2084
+ numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
2085
+ } | undefined;
2086
+ slots?: {
2087
+ key: string;
2088
+ label: string;
2089
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
2090
+ required: boolean;
2091
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
2092
+ placeholder?: string | undefined;
2093
+ minSize?: number | undefined;
2094
+ }[] | undefined;
2095
+ fonts?: ({
2096
+ app: string;
2097
+ } | {
2098
+ local: string;
2099
+ fallback: string;
2100
+ })[] | undefined;
2101
+ };
2102
+ id?: string | undefined;
2103
+ name?: string | undefined;
2104
+ }, {
2105
+ page: {
2106
+ body: PageBody;
2107
+ size: {
2108
+ width: number;
2109
+ height: number;
2110
+ } | {
2111
+ readonly width: "full";
2112
+ readonly height: "auto";
2113
+ } | {
2114
+ width: number | "full" | "standard" | "wide";
2115
+ height: "auto";
2116
+ };
2117
+ scripts: "refuse" | "sandboxed";
2118
+ id?: string | undefined;
2119
+ dir?: "auto" | "ltr" | "rtl" | undefined;
2120
+ lang?: string | undefined;
2121
+ print?: {
2122
+ paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
2123
+ width: number;
2124
+ height: number;
2125
+ unit: "in" | "mm" | "pt";
2126
+ };
2127
+ orientation: "portrait" | "landscape";
2128
+ bleed: number;
2129
+ safe: number;
2130
+ marks: boolean;
2131
+ markColor: "black" | "registration";
2132
+ margin?: {
2133
+ top: number;
2134
+ right: number;
2135
+ bottom: number;
2136
+ left: number;
2137
+ } | undefined;
2138
+ } | undefined;
2139
+ printedPages?: {
2140
+ parents: {
2141
+ name: string;
2142
+ basedOn?: string | undefined;
2143
+ margin?: {
2144
+ top: number;
2145
+ bottom: number;
2146
+ inner: number;
2147
+ outer: number;
2148
+ } | undefined;
2149
+ head?: string | undefined;
2150
+ foot?: string | undefined;
2151
+ }[];
2152
+ rules: {
2153
+ last?: string | undefined;
2154
+ verso?: string | undefined;
2155
+ recto?: string | undefined;
2156
+ first?: string | undefined;
2157
+ every: string;
2158
+ };
2159
+ numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
2160
+ } | undefined;
2161
+ slots?: {
2162
+ key: string;
2163
+ label: string;
2164
+ type: "text" | "image" | "phone" | "email" | "link" | "qr";
2165
+ required: boolean;
2166
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
2167
+ placeholder?: string | undefined;
2168
+ minSize?: number | undefined;
2169
+ }[] | undefined;
2170
+ fonts?: ({
2171
+ app: string;
2172
+ } | {
2173
+ local: string;
2174
+ fallback: string;
2175
+ })[] | undefined;
2176
+ };
2177
+ id?: string | undefined;
2178
+ name?: string | undefined;
2179
+ }>>>;
2180
+ };
2181
+ //#endregion