@zatona/mcp-server 0.0.0-stage → 1.0.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,1624 @@
1
+ import { z } from 'zod';
2
+ import type { NoteBlock, NoteCard, NoteItem } from './types.js';
3
+ export declare const nodePositionSchema: z.ZodObject<{
4
+ x: z.ZodNumber;
5
+ y: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ export declare const paragraphBlockSchema: z.ZodObject<{
8
+ width: z.ZodOptional<z.ZodEnum<{
9
+ full: "full";
10
+ half: "half";
11
+ }>>;
12
+ surface: z.ZodOptional<z.ZodEnum<{
13
+ default: "default";
14
+ olive: "olive";
15
+ amber: "amber";
16
+ sky: "sky";
17
+ plum: "plum";
18
+ rose: "rose";
19
+ }>>;
20
+ align: z.ZodOptional<z.ZodEnum<{
21
+ start: "start";
22
+ center: "center";
23
+ end: "end";
24
+ }>>;
25
+ fontScale: z.ZodOptional<z.ZodEnum<{
26
+ sm: "sm";
27
+ md: "md";
28
+ lg: "lg";
29
+ }>>;
30
+ textDir: z.ZodOptional<z.ZodEnum<{
31
+ auto: "auto";
32
+ rtl: "rtl";
33
+ ltr: "ltr";
34
+ }>>;
35
+ redacted: z.ZodOptional<z.ZodEnum<{
36
+ text: "text";
37
+ media: "media";
38
+ }>>;
39
+ redactedReason: z.ZodOptional<z.ZodString>;
40
+ id: z.ZodString;
41
+ kind: z.ZodLiteral<"paragraph">;
42
+ text: z.ZodString;
43
+ }, z.core.$strip>;
44
+ export declare const headingBlockSchema: z.ZodObject<{
45
+ width: z.ZodOptional<z.ZodEnum<{
46
+ full: "full";
47
+ half: "half";
48
+ }>>;
49
+ surface: z.ZodOptional<z.ZodEnum<{
50
+ default: "default";
51
+ olive: "olive";
52
+ amber: "amber";
53
+ sky: "sky";
54
+ plum: "plum";
55
+ rose: "rose";
56
+ }>>;
57
+ align: z.ZodOptional<z.ZodEnum<{
58
+ start: "start";
59
+ center: "center";
60
+ end: "end";
61
+ }>>;
62
+ fontScale: z.ZodOptional<z.ZodEnum<{
63
+ sm: "sm";
64
+ md: "md";
65
+ lg: "lg";
66
+ }>>;
67
+ textDir: z.ZodOptional<z.ZodEnum<{
68
+ auto: "auto";
69
+ rtl: "rtl";
70
+ ltr: "ltr";
71
+ }>>;
72
+ redacted: z.ZodOptional<z.ZodEnum<{
73
+ text: "text";
74
+ media: "media";
75
+ }>>;
76
+ redactedReason: z.ZodOptional<z.ZodString>;
77
+ id: z.ZodString;
78
+ kind: z.ZodLiteral<"heading">;
79
+ level: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>;
80
+ text: z.ZodString;
81
+ }, z.core.$strip>;
82
+ export declare const listBlockSchema: z.ZodObject<{
83
+ width: z.ZodOptional<z.ZodEnum<{
84
+ full: "full";
85
+ half: "half";
86
+ }>>;
87
+ surface: z.ZodOptional<z.ZodEnum<{
88
+ default: "default";
89
+ olive: "olive";
90
+ amber: "amber";
91
+ sky: "sky";
92
+ plum: "plum";
93
+ rose: "rose";
94
+ }>>;
95
+ align: z.ZodOptional<z.ZodEnum<{
96
+ start: "start";
97
+ center: "center";
98
+ end: "end";
99
+ }>>;
100
+ fontScale: z.ZodOptional<z.ZodEnum<{
101
+ sm: "sm";
102
+ md: "md";
103
+ lg: "lg";
104
+ }>>;
105
+ textDir: z.ZodOptional<z.ZodEnum<{
106
+ auto: "auto";
107
+ rtl: "rtl";
108
+ ltr: "ltr";
109
+ }>>;
110
+ redacted: z.ZodOptional<z.ZodEnum<{
111
+ text: "text";
112
+ media: "media";
113
+ }>>;
114
+ redactedReason: z.ZodOptional<z.ZodString>;
115
+ id: z.ZodString;
116
+ kind: z.ZodLiteral<"list">;
117
+ ordered: z.ZodBoolean;
118
+ items: z.ZodArray<z.ZodString>;
119
+ }, z.core.$strip>;
120
+ export declare const codeBlockSchema: z.ZodObject<{
121
+ width: z.ZodOptional<z.ZodEnum<{
122
+ full: "full";
123
+ half: "half";
124
+ }>>;
125
+ surface: z.ZodOptional<z.ZodEnum<{
126
+ default: "default";
127
+ olive: "olive";
128
+ amber: "amber";
129
+ sky: "sky";
130
+ plum: "plum";
131
+ rose: "rose";
132
+ }>>;
133
+ align: z.ZodOptional<z.ZodEnum<{
134
+ start: "start";
135
+ center: "center";
136
+ end: "end";
137
+ }>>;
138
+ fontScale: z.ZodOptional<z.ZodEnum<{
139
+ sm: "sm";
140
+ md: "md";
141
+ lg: "lg";
142
+ }>>;
143
+ textDir: z.ZodOptional<z.ZodEnum<{
144
+ auto: "auto";
145
+ rtl: "rtl";
146
+ ltr: "ltr";
147
+ }>>;
148
+ redacted: z.ZodOptional<z.ZodEnum<{
149
+ text: "text";
150
+ media: "media";
151
+ }>>;
152
+ redactedReason: z.ZodOptional<z.ZodString>;
153
+ id: z.ZodString;
154
+ kind: z.ZodLiteral<"code">;
155
+ language: z.ZodString;
156
+ code: z.ZodString;
157
+ filename: z.ZodOptional<z.ZodString>;
158
+ highlightLines: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
159
+ output: z.ZodOptional<z.ZodString>;
160
+ timeComplexity: z.ZodOptional<z.ZodString>;
161
+ spaceComplexity: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$strip>;
163
+ export declare const flowchartBlockSchema: z.ZodObject<{
164
+ width: z.ZodOptional<z.ZodEnum<{
165
+ full: "full";
166
+ half: "half";
167
+ }>>;
168
+ surface: z.ZodOptional<z.ZodEnum<{
169
+ default: "default";
170
+ olive: "olive";
171
+ amber: "amber";
172
+ sky: "sky";
173
+ plum: "plum";
174
+ rose: "rose";
175
+ }>>;
176
+ align: z.ZodOptional<z.ZodEnum<{
177
+ start: "start";
178
+ center: "center";
179
+ end: "end";
180
+ }>>;
181
+ fontScale: z.ZodOptional<z.ZodEnum<{
182
+ sm: "sm";
183
+ md: "md";
184
+ lg: "lg";
185
+ }>>;
186
+ textDir: z.ZodOptional<z.ZodEnum<{
187
+ auto: "auto";
188
+ rtl: "rtl";
189
+ ltr: "ltr";
190
+ }>>;
191
+ redacted: z.ZodOptional<z.ZodEnum<{
192
+ text: "text";
193
+ media: "media";
194
+ }>>;
195
+ redactedReason: z.ZodOptional<z.ZodString>;
196
+ id: z.ZodString;
197
+ kind: z.ZodLiteral<"flowchart">;
198
+ source: z.ZodString;
199
+ positions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
200
+ x: z.ZodNumber;
201
+ y: z.ZodNumber;
202
+ }, z.core.$strip>>>;
203
+ }, z.core.$strip>;
204
+ export declare const ganttBlockSchema: z.ZodObject<{
205
+ width: z.ZodOptional<z.ZodEnum<{
206
+ full: "full";
207
+ half: "half";
208
+ }>>;
209
+ surface: z.ZodOptional<z.ZodEnum<{
210
+ default: "default";
211
+ olive: "olive";
212
+ amber: "amber";
213
+ sky: "sky";
214
+ plum: "plum";
215
+ rose: "rose";
216
+ }>>;
217
+ align: z.ZodOptional<z.ZodEnum<{
218
+ start: "start";
219
+ center: "center";
220
+ end: "end";
221
+ }>>;
222
+ fontScale: z.ZodOptional<z.ZodEnum<{
223
+ sm: "sm";
224
+ md: "md";
225
+ lg: "lg";
226
+ }>>;
227
+ textDir: z.ZodOptional<z.ZodEnum<{
228
+ auto: "auto";
229
+ rtl: "rtl";
230
+ ltr: "ltr";
231
+ }>>;
232
+ redacted: z.ZodOptional<z.ZodEnum<{
233
+ text: "text";
234
+ media: "media";
235
+ }>>;
236
+ redactedReason: z.ZodOptional<z.ZodString>;
237
+ id: z.ZodString;
238
+ kind: z.ZodLiteral<"gantt">;
239
+ source: z.ZodString;
240
+ }, z.core.$strip>;
241
+ export declare const pieBlockSchema: z.ZodObject<{
242
+ width: z.ZodOptional<z.ZodEnum<{
243
+ full: "full";
244
+ half: "half";
245
+ }>>;
246
+ surface: z.ZodOptional<z.ZodEnum<{
247
+ default: "default";
248
+ olive: "olive";
249
+ amber: "amber";
250
+ sky: "sky";
251
+ plum: "plum";
252
+ rose: "rose";
253
+ }>>;
254
+ align: z.ZodOptional<z.ZodEnum<{
255
+ start: "start";
256
+ center: "center";
257
+ end: "end";
258
+ }>>;
259
+ fontScale: z.ZodOptional<z.ZodEnum<{
260
+ sm: "sm";
261
+ md: "md";
262
+ lg: "lg";
263
+ }>>;
264
+ textDir: z.ZodOptional<z.ZodEnum<{
265
+ auto: "auto";
266
+ rtl: "rtl";
267
+ ltr: "ltr";
268
+ }>>;
269
+ redacted: z.ZodOptional<z.ZodEnum<{
270
+ text: "text";
271
+ media: "media";
272
+ }>>;
273
+ redactedReason: z.ZodOptional<z.ZodString>;
274
+ id: z.ZodString;
275
+ kind: z.ZodLiteral<"pie">;
276
+ source: z.ZodString;
277
+ }, z.core.$strip>;
278
+ export declare const dfdBlockSchema: z.ZodObject<{
279
+ width: z.ZodOptional<z.ZodEnum<{
280
+ full: "full";
281
+ half: "half";
282
+ }>>;
283
+ surface: z.ZodOptional<z.ZodEnum<{
284
+ default: "default";
285
+ olive: "olive";
286
+ amber: "amber";
287
+ sky: "sky";
288
+ plum: "plum";
289
+ rose: "rose";
290
+ }>>;
291
+ align: z.ZodOptional<z.ZodEnum<{
292
+ start: "start";
293
+ center: "center";
294
+ end: "end";
295
+ }>>;
296
+ fontScale: z.ZodOptional<z.ZodEnum<{
297
+ sm: "sm";
298
+ md: "md";
299
+ lg: "lg";
300
+ }>>;
301
+ textDir: z.ZodOptional<z.ZodEnum<{
302
+ auto: "auto";
303
+ rtl: "rtl";
304
+ ltr: "ltr";
305
+ }>>;
306
+ redacted: z.ZodOptional<z.ZodEnum<{
307
+ text: "text";
308
+ media: "media";
309
+ }>>;
310
+ redactedReason: z.ZodOptional<z.ZodString>;
311
+ id: z.ZodString;
312
+ kind: z.ZodLiteral<"dfd">;
313
+ source: z.ZodString;
314
+ positions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
315
+ x: z.ZodNumber;
316
+ y: z.ZodNumber;
317
+ }, z.core.$strip>>>;
318
+ }, z.core.$strip>;
319
+ export declare const MAX_IMAGES_PER_BLOCK = 12;
320
+ export declare const imageBlockSchema: z.ZodObject<{
321
+ width: z.ZodOptional<z.ZodEnum<{
322
+ full: "full";
323
+ half: "half";
324
+ }>>;
325
+ surface: z.ZodOptional<z.ZodEnum<{
326
+ default: "default";
327
+ olive: "olive";
328
+ amber: "amber";
329
+ sky: "sky";
330
+ plum: "plum";
331
+ rose: "rose";
332
+ }>>;
333
+ align: z.ZodOptional<z.ZodEnum<{
334
+ start: "start";
335
+ center: "center";
336
+ end: "end";
337
+ }>>;
338
+ fontScale: z.ZodOptional<z.ZodEnum<{
339
+ sm: "sm";
340
+ md: "md";
341
+ lg: "lg";
342
+ }>>;
343
+ textDir: z.ZodOptional<z.ZodEnum<{
344
+ auto: "auto";
345
+ rtl: "rtl";
346
+ ltr: "ltr";
347
+ }>>;
348
+ redacted: z.ZodOptional<z.ZodEnum<{
349
+ text: "text";
350
+ media: "media";
351
+ }>>;
352
+ redactedReason: z.ZodOptional<z.ZodString>;
353
+ extra: z.ZodDefault<z.ZodArray<z.ZodString>>;
354
+ display: z.ZodDefault<z.ZodEnum<{
355
+ framed: "framed";
356
+ doubleTap: "doubleTap";
357
+ grid: "grid";
358
+ coverflow: "coverflow";
359
+ stack: "stack";
360
+ ring: "ring";
361
+ barrel: "barrel";
362
+ helix: "helix";
363
+ staircase: "staircase";
364
+ }>>;
365
+ entrance: z.ZodDefault<z.ZodEnum<{
366
+ fade: "fade";
367
+ contract: "contract";
368
+ expand: "expand";
369
+ scatter: "scatter";
370
+ slideAlong: "slideAlong";
371
+ }>>;
372
+ redactedCount: z.ZodOptional<z.ZodNumber>;
373
+ mediaId: z.ZodNullable<z.ZodString>;
374
+ caption: z.ZodString;
375
+ id: z.ZodString;
376
+ kind: z.ZodLiteral<"image">;
377
+ }, z.core.$strip>;
378
+ export declare const videoBlockSchema: z.ZodObject<{
379
+ width: z.ZodOptional<z.ZodEnum<{
380
+ full: "full";
381
+ half: "half";
382
+ }>>;
383
+ surface: z.ZodOptional<z.ZodEnum<{
384
+ default: "default";
385
+ olive: "olive";
386
+ amber: "amber";
387
+ sky: "sky";
388
+ plum: "plum";
389
+ rose: "rose";
390
+ }>>;
391
+ align: z.ZodOptional<z.ZodEnum<{
392
+ start: "start";
393
+ center: "center";
394
+ end: "end";
395
+ }>>;
396
+ fontScale: z.ZodOptional<z.ZodEnum<{
397
+ sm: "sm";
398
+ md: "md";
399
+ lg: "lg";
400
+ }>>;
401
+ textDir: z.ZodOptional<z.ZodEnum<{
402
+ auto: "auto";
403
+ rtl: "rtl";
404
+ ltr: "ltr";
405
+ }>>;
406
+ redacted: z.ZodOptional<z.ZodEnum<{
407
+ text: "text";
408
+ media: "media";
409
+ }>>;
410
+ redactedReason: z.ZodOptional<z.ZodString>;
411
+ mediaId: z.ZodNullable<z.ZodString>;
412
+ caption: z.ZodString;
413
+ id: z.ZodString;
414
+ kind: z.ZodLiteral<"video">;
415
+ }, z.core.$strip>;
416
+ export declare const fileBlockSchema: z.ZodObject<{
417
+ width: z.ZodOptional<z.ZodEnum<{
418
+ full: "full";
419
+ half: "half";
420
+ }>>;
421
+ surface: z.ZodOptional<z.ZodEnum<{
422
+ default: "default";
423
+ olive: "olive";
424
+ amber: "amber";
425
+ sky: "sky";
426
+ plum: "plum";
427
+ rose: "rose";
428
+ }>>;
429
+ align: z.ZodOptional<z.ZodEnum<{
430
+ start: "start";
431
+ center: "center";
432
+ end: "end";
433
+ }>>;
434
+ fontScale: z.ZodOptional<z.ZodEnum<{
435
+ sm: "sm";
436
+ md: "md";
437
+ lg: "lg";
438
+ }>>;
439
+ textDir: z.ZodOptional<z.ZodEnum<{
440
+ auto: "auto";
441
+ rtl: "rtl";
442
+ ltr: "ltr";
443
+ }>>;
444
+ redacted: z.ZodOptional<z.ZodEnum<{
445
+ text: "text";
446
+ media: "media";
447
+ }>>;
448
+ redactedReason: z.ZodOptional<z.ZodString>;
449
+ mediaId: z.ZodNullable<z.ZodString>;
450
+ caption: z.ZodString;
451
+ id: z.ZodString;
452
+ kind: z.ZodLiteral<"file">;
453
+ }, z.core.$strip>;
454
+ export declare const mathBlockSchema: z.ZodObject<{
455
+ width: z.ZodOptional<z.ZodEnum<{
456
+ full: "full";
457
+ half: "half";
458
+ }>>;
459
+ surface: z.ZodOptional<z.ZodEnum<{
460
+ default: "default";
461
+ olive: "olive";
462
+ amber: "amber";
463
+ sky: "sky";
464
+ plum: "plum";
465
+ rose: "rose";
466
+ }>>;
467
+ align: z.ZodOptional<z.ZodEnum<{
468
+ start: "start";
469
+ center: "center";
470
+ end: "end";
471
+ }>>;
472
+ fontScale: z.ZodOptional<z.ZodEnum<{
473
+ sm: "sm";
474
+ md: "md";
475
+ lg: "lg";
476
+ }>>;
477
+ textDir: z.ZodOptional<z.ZodEnum<{
478
+ auto: "auto";
479
+ rtl: "rtl";
480
+ ltr: "ltr";
481
+ }>>;
482
+ redacted: z.ZodOptional<z.ZodEnum<{
483
+ text: "text";
484
+ media: "media";
485
+ }>>;
486
+ redactedReason: z.ZodOptional<z.ZodString>;
487
+ id: z.ZodString;
488
+ kind: z.ZodLiteral<"math">;
489
+ latex: z.ZodDefault<z.ZodString>;
490
+ }, z.core.$strip>;
491
+ export declare const MAX_TABLE_ROWS = 40;
492
+ export declare const MAX_TABLE_COLS = 8;
493
+ export declare const tableBlockSchema: z.ZodObject<{
494
+ width: z.ZodOptional<z.ZodEnum<{
495
+ full: "full";
496
+ half: "half";
497
+ }>>;
498
+ surface: z.ZodOptional<z.ZodEnum<{
499
+ default: "default";
500
+ olive: "olive";
501
+ amber: "amber";
502
+ sky: "sky";
503
+ plum: "plum";
504
+ rose: "rose";
505
+ }>>;
506
+ align: z.ZodOptional<z.ZodEnum<{
507
+ start: "start";
508
+ center: "center";
509
+ end: "end";
510
+ }>>;
511
+ fontScale: z.ZodOptional<z.ZodEnum<{
512
+ sm: "sm";
513
+ md: "md";
514
+ lg: "lg";
515
+ }>>;
516
+ textDir: z.ZodOptional<z.ZodEnum<{
517
+ auto: "auto";
518
+ rtl: "rtl";
519
+ ltr: "ltr";
520
+ }>>;
521
+ redacted: z.ZodOptional<z.ZodEnum<{
522
+ text: "text";
523
+ media: "media";
524
+ }>>;
525
+ redactedReason: z.ZodOptional<z.ZodString>;
526
+ id: z.ZodString;
527
+ kind: z.ZodLiteral<"table">;
528
+ header: z.ZodDefault<z.ZodBoolean>;
529
+ rows: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
530
+ }, z.core.$strip>;
531
+ export declare const calloutBlockSchema: z.ZodObject<{
532
+ width: z.ZodOptional<z.ZodEnum<{
533
+ full: "full";
534
+ half: "half";
535
+ }>>;
536
+ surface: z.ZodOptional<z.ZodEnum<{
537
+ default: "default";
538
+ olive: "olive";
539
+ amber: "amber";
540
+ sky: "sky";
541
+ plum: "plum";
542
+ rose: "rose";
543
+ }>>;
544
+ align: z.ZodOptional<z.ZodEnum<{
545
+ start: "start";
546
+ center: "center";
547
+ end: "end";
548
+ }>>;
549
+ fontScale: z.ZodOptional<z.ZodEnum<{
550
+ sm: "sm";
551
+ md: "md";
552
+ lg: "lg";
553
+ }>>;
554
+ textDir: z.ZodOptional<z.ZodEnum<{
555
+ auto: "auto";
556
+ rtl: "rtl";
557
+ ltr: "ltr";
558
+ }>>;
559
+ redacted: z.ZodOptional<z.ZodEnum<{
560
+ text: "text";
561
+ media: "media";
562
+ }>>;
563
+ redactedReason: z.ZodOptional<z.ZodString>;
564
+ id: z.ZodString;
565
+ kind: z.ZodLiteral<"callout">;
566
+ tone: z.ZodDefault<z.ZodEnum<{
567
+ tip: "tip";
568
+ warning: "warning";
569
+ exam: "exam";
570
+ definition: "definition";
571
+ }>>;
572
+ title: z.ZodDefault<z.ZodString>;
573
+ text: z.ZodDefault<z.ZodString>;
574
+ }, z.core.$strip>;
575
+ export declare const toggleBlockSchema: z.ZodObject<{
576
+ width: z.ZodOptional<z.ZodEnum<{
577
+ full: "full";
578
+ half: "half";
579
+ }>>;
580
+ surface: z.ZodOptional<z.ZodEnum<{
581
+ default: "default";
582
+ olive: "olive";
583
+ amber: "amber";
584
+ sky: "sky";
585
+ plum: "plum";
586
+ rose: "rose";
587
+ }>>;
588
+ align: z.ZodOptional<z.ZodEnum<{
589
+ start: "start";
590
+ center: "center";
591
+ end: "end";
592
+ }>>;
593
+ fontScale: z.ZodOptional<z.ZodEnum<{
594
+ sm: "sm";
595
+ md: "md";
596
+ lg: "lg";
597
+ }>>;
598
+ textDir: z.ZodOptional<z.ZodEnum<{
599
+ auto: "auto";
600
+ rtl: "rtl";
601
+ ltr: "ltr";
602
+ }>>;
603
+ redacted: z.ZodOptional<z.ZodEnum<{
604
+ text: "text";
605
+ media: "media";
606
+ }>>;
607
+ redactedReason: z.ZodOptional<z.ZodString>;
608
+ id: z.ZodString;
609
+ kind: z.ZodLiteral<"toggle">;
610
+ title: z.ZodDefault<z.ZodString>;
611
+ text: z.ZodDefault<z.ZodString>;
612
+ }, z.core.$strip>;
613
+ export declare const checklistItemSchema: z.ZodObject<{
614
+ id: z.ZodString;
615
+ text: z.ZodDefault<z.ZodString>;
616
+ }, z.core.$strip>;
617
+ export declare const checklistBlockSchema: z.ZodObject<{
618
+ width: z.ZodOptional<z.ZodEnum<{
619
+ full: "full";
620
+ half: "half";
621
+ }>>;
622
+ surface: z.ZodOptional<z.ZodEnum<{
623
+ default: "default";
624
+ olive: "olive";
625
+ amber: "amber";
626
+ sky: "sky";
627
+ plum: "plum";
628
+ rose: "rose";
629
+ }>>;
630
+ align: z.ZodOptional<z.ZodEnum<{
631
+ start: "start";
632
+ center: "center";
633
+ end: "end";
634
+ }>>;
635
+ fontScale: z.ZodOptional<z.ZodEnum<{
636
+ sm: "sm";
637
+ md: "md";
638
+ lg: "lg";
639
+ }>>;
640
+ textDir: z.ZodOptional<z.ZodEnum<{
641
+ auto: "auto";
642
+ rtl: "rtl";
643
+ ltr: "ltr";
644
+ }>>;
645
+ redacted: z.ZodOptional<z.ZodEnum<{
646
+ text: "text";
647
+ media: "media";
648
+ }>>;
649
+ redactedReason: z.ZodOptional<z.ZodString>;
650
+ id: z.ZodString;
651
+ kind: z.ZodLiteral<"checklist">;
652
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
653
+ id: z.ZodString;
654
+ text: z.ZodDefault<z.ZodString>;
655
+ }, z.core.$strip>>>;
656
+ }, z.core.$strip>;
657
+ export declare const quoteBlockSchema: z.ZodObject<{
658
+ width: z.ZodOptional<z.ZodEnum<{
659
+ full: "full";
660
+ half: "half";
661
+ }>>;
662
+ surface: z.ZodOptional<z.ZodEnum<{
663
+ default: "default";
664
+ olive: "olive";
665
+ amber: "amber";
666
+ sky: "sky";
667
+ plum: "plum";
668
+ rose: "rose";
669
+ }>>;
670
+ align: z.ZodOptional<z.ZodEnum<{
671
+ start: "start";
672
+ center: "center";
673
+ end: "end";
674
+ }>>;
675
+ fontScale: z.ZodOptional<z.ZodEnum<{
676
+ sm: "sm";
677
+ md: "md";
678
+ lg: "lg";
679
+ }>>;
680
+ textDir: z.ZodOptional<z.ZodEnum<{
681
+ auto: "auto";
682
+ rtl: "rtl";
683
+ ltr: "ltr";
684
+ }>>;
685
+ redacted: z.ZodOptional<z.ZodEnum<{
686
+ text: "text";
687
+ media: "media";
688
+ }>>;
689
+ redactedReason: z.ZodOptional<z.ZodString>;
690
+ id: z.ZodString;
691
+ kind: z.ZodLiteral<"quote">;
692
+ text: z.ZodDefault<z.ZodString>;
693
+ cite: z.ZodDefault<z.ZodString>;
694
+ }, z.core.$strip>;
695
+ export declare const dividerBlockSchema: z.ZodObject<{
696
+ width: z.ZodOptional<z.ZodEnum<{
697
+ full: "full";
698
+ half: "half";
699
+ }>>;
700
+ surface: z.ZodOptional<z.ZodEnum<{
701
+ default: "default";
702
+ olive: "olive";
703
+ amber: "amber";
704
+ sky: "sky";
705
+ plum: "plum";
706
+ rose: "rose";
707
+ }>>;
708
+ align: z.ZodOptional<z.ZodEnum<{
709
+ start: "start";
710
+ center: "center";
711
+ end: "end";
712
+ }>>;
713
+ fontScale: z.ZodOptional<z.ZodEnum<{
714
+ sm: "sm";
715
+ md: "md";
716
+ lg: "lg";
717
+ }>>;
718
+ textDir: z.ZodOptional<z.ZodEnum<{
719
+ auto: "auto";
720
+ rtl: "rtl";
721
+ ltr: "ltr";
722
+ }>>;
723
+ redacted: z.ZodOptional<z.ZodEnum<{
724
+ text: "text";
725
+ media: "media";
726
+ }>>;
727
+ redactedReason: z.ZodOptional<z.ZodString>;
728
+ id: z.ZodString;
729
+ kind: z.ZodLiteral<"divider">;
730
+ }, z.core.$strip>;
731
+ export declare const MAX_CARDS_PER_BLOCK = 50;
732
+ export declare const flashcardItemSchema: z.ZodObject<{
733
+ id: z.ZodString;
734
+ front: z.ZodDefault<z.ZodString>;
735
+ back: z.ZodDefault<z.ZodString>;
736
+ }, z.core.$strip>;
737
+ export declare const flashcardBlockSchema: z.ZodObject<{
738
+ width: z.ZodOptional<z.ZodEnum<{
739
+ full: "full";
740
+ half: "half";
741
+ }>>;
742
+ surface: z.ZodOptional<z.ZodEnum<{
743
+ default: "default";
744
+ olive: "olive";
745
+ amber: "amber";
746
+ sky: "sky";
747
+ plum: "plum";
748
+ rose: "rose";
749
+ }>>;
750
+ align: z.ZodOptional<z.ZodEnum<{
751
+ start: "start";
752
+ center: "center";
753
+ end: "end";
754
+ }>>;
755
+ fontScale: z.ZodOptional<z.ZodEnum<{
756
+ sm: "sm";
757
+ md: "md";
758
+ lg: "lg";
759
+ }>>;
760
+ textDir: z.ZodOptional<z.ZodEnum<{
761
+ auto: "auto";
762
+ rtl: "rtl";
763
+ ltr: "ltr";
764
+ }>>;
765
+ redacted: z.ZodOptional<z.ZodEnum<{
766
+ text: "text";
767
+ media: "media";
768
+ }>>;
769
+ redactedReason: z.ZodOptional<z.ZodString>;
770
+ id: z.ZodString;
771
+ kind: z.ZodLiteral<"flashcard">;
772
+ cards: z.ZodDefault<z.ZodArray<z.ZodObject<{
773
+ id: z.ZodString;
774
+ front: z.ZodDefault<z.ZodString>;
775
+ back: z.ZodDefault<z.ZodString>;
776
+ }, z.core.$strip>>>;
777
+ }, z.core.$strip>;
778
+ export declare const quizOptionSchema: z.ZodObject<{
779
+ id: z.ZodString;
780
+ text: z.ZodDefault<z.ZodString>;
781
+ }, z.core.$strip>;
782
+ export declare const quizBlockSchema: z.ZodObject<{
783
+ width: z.ZodOptional<z.ZodEnum<{
784
+ full: "full";
785
+ half: "half";
786
+ }>>;
787
+ surface: z.ZodOptional<z.ZodEnum<{
788
+ default: "default";
789
+ olive: "olive";
790
+ amber: "amber";
791
+ sky: "sky";
792
+ plum: "plum";
793
+ rose: "rose";
794
+ }>>;
795
+ align: z.ZodOptional<z.ZodEnum<{
796
+ start: "start";
797
+ center: "center";
798
+ end: "end";
799
+ }>>;
800
+ fontScale: z.ZodOptional<z.ZodEnum<{
801
+ sm: "sm";
802
+ md: "md";
803
+ lg: "lg";
804
+ }>>;
805
+ textDir: z.ZodOptional<z.ZodEnum<{
806
+ auto: "auto";
807
+ rtl: "rtl";
808
+ ltr: "ltr";
809
+ }>>;
810
+ redacted: z.ZodOptional<z.ZodEnum<{
811
+ text: "text";
812
+ media: "media";
813
+ }>>;
814
+ redactedReason: z.ZodOptional<z.ZodString>;
815
+ id: z.ZodString;
816
+ kind: z.ZodLiteral<"quiz">;
817
+ question: z.ZodDefault<z.ZodString>;
818
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
819
+ id: z.ZodString;
820
+ text: z.ZodDefault<z.ZodString>;
821
+ }, z.core.$strip>>>;
822
+ answer: z.ZodDefault<z.ZodString>;
823
+ explanation: z.ZodDefault<z.ZodString>;
824
+ }, z.core.$strip>;
825
+ export declare const blockSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
826
+ width: z.ZodOptional<z.ZodEnum<{
827
+ full: "full";
828
+ half: "half";
829
+ }>>;
830
+ surface: z.ZodOptional<z.ZodEnum<{
831
+ default: "default";
832
+ olive: "olive";
833
+ amber: "amber";
834
+ sky: "sky";
835
+ plum: "plum";
836
+ rose: "rose";
837
+ }>>;
838
+ align: z.ZodOptional<z.ZodEnum<{
839
+ start: "start";
840
+ center: "center";
841
+ end: "end";
842
+ }>>;
843
+ fontScale: z.ZodOptional<z.ZodEnum<{
844
+ sm: "sm";
845
+ md: "md";
846
+ lg: "lg";
847
+ }>>;
848
+ textDir: z.ZodOptional<z.ZodEnum<{
849
+ auto: "auto";
850
+ rtl: "rtl";
851
+ ltr: "ltr";
852
+ }>>;
853
+ redacted: z.ZodOptional<z.ZodEnum<{
854
+ text: "text";
855
+ media: "media";
856
+ }>>;
857
+ redactedReason: z.ZodOptional<z.ZodString>;
858
+ id: z.ZodString;
859
+ kind: z.ZodLiteral<"paragraph">;
860
+ text: z.ZodString;
861
+ }, z.core.$strip>, z.ZodObject<{
862
+ width: z.ZodOptional<z.ZodEnum<{
863
+ full: "full";
864
+ half: "half";
865
+ }>>;
866
+ surface: z.ZodOptional<z.ZodEnum<{
867
+ default: "default";
868
+ olive: "olive";
869
+ amber: "amber";
870
+ sky: "sky";
871
+ plum: "plum";
872
+ rose: "rose";
873
+ }>>;
874
+ align: z.ZodOptional<z.ZodEnum<{
875
+ start: "start";
876
+ center: "center";
877
+ end: "end";
878
+ }>>;
879
+ fontScale: z.ZodOptional<z.ZodEnum<{
880
+ sm: "sm";
881
+ md: "md";
882
+ lg: "lg";
883
+ }>>;
884
+ textDir: z.ZodOptional<z.ZodEnum<{
885
+ auto: "auto";
886
+ rtl: "rtl";
887
+ ltr: "ltr";
888
+ }>>;
889
+ redacted: z.ZodOptional<z.ZodEnum<{
890
+ text: "text";
891
+ media: "media";
892
+ }>>;
893
+ redactedReason: z.ZodOptional<z.ZodString>;
894
+ id: z.ZodString;
895
+ kind: z.ZodLiteral<"heading">;
896
+ level: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>;
897
+ text: z.ZodString;
898
+ }, z.core.$strip>, z.ZodObject<{
899
+ width: z.ZodOptional<z.ZodEnum<{
900
+ full: "full";
901
+ half: "half";
902
+ }>>;
903
+ surface: z.ZodOptional<z.ZodEnum<{
904
+ default: "default";
905
+ olive: "olive";
906
+ amber: "amber";
907
+ sky: "sky";
908
+ plum: "plum";
909
+ rose: "rose";
910
+ }>>;
911
+ align: z.ZodOptional<z.ZodEnum<{
912
+ start: "start";
913
+ center: "center";
914
+ end: "end";
915
+ }>>;
916
+ fontScale: z.ZodOptional<z.ZodEnum<{
917
+ sm: "sm";
918
+ md: "md";
919
+ lg: "lg";
920
+ }>>;
921
+ textDir: z.ZodOptional<z.ZodEnum<{
922
+ auto: "auto";
923
+ rtl: "rtl";
924
+ ltr: "ltr";
925
+ }>>;
926
+ redacted: z.ZodOptional<z.ZodEnum<{
927
+ text: "text";
928
+ media: "media";
929
+ }>>;
930
+ redactedReason: z.ZodOptional<z.ZodString>;
931
+ id: z.ZodString;
932
+ kind: z.ZodLiteral<"list">;
933
+ ordered: z.ZodBoolean;
934
+ items: z.ZodArray<z.ZodString>;
935
+ }, z.core.$strip>, z.ZodObject<{
936
+ width: z.ZodOptional<z.ZodEnum<{
937
+ full: "full";
938
+ half: "half";
939
+ }>>;
940
+ surface: z.ZodOptional<z.ZodEnum<{
941
+ default: "default";
942
+ olive: "olive";
943
+ amber: "amber";
944
+ sky: "sky";
945
+ plum: "plum";
946
+ rose: "rose";
947
+ }>>;
948
+ align: z.ZodOptional<z.ZodEnum<{
949
+ start: "start";
950
+ center: "center";
951
+ end: "end";
952
+ }>>;
953
+ fontScale: z.ZodOptional<z.ZodEnum<{
954
+ sm: "sm";
955
+ md: "md";
956
+ lg: "lg";
957
+ }>>;
958
+ textDir: z.ZodOptional<z.ZodEnum<{
959
+ auto: "auto";
960
+ rtl: "rtl";
961
+ ltr: "ltr";
962
+ }>>;
963
+ redacted: z.ZodOptional<z.ZodEnum<{
964
+ text: "text";
965
+ media: "media";
966
+ }>>;
967
+ redactedReason: z.ZodOptional<z.ZodString>;
968
+ id: z.ZodString;
969
+ kind: z.ZodLiteral<"code">;
970
+ language: z.ZodString;
971
+ code: z.ZodString;
972
+ filename: z.ZodOptional<z.ZodString>;
973
+ highlightLines: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
974
+ output: z.ZodOptional<z.ZodString>;
975
+ timeComplexity: z.ZodOptional<z.ZodString>;
976
+ spaceComplexity: z.ZodOptional<z.ZodString>;
977
+ }, z.core.$strip>, z.ZodObject<{
978
+ width: z.ZodOptional<z.ZodEnum<{
979
+ full: "full";
980
+ half: "half";
981
+ }>>;
982
+ surface: z.ZodOptional<z.ZodEnum<{
983
+ default: "default";
984
+ olive: "olive";
985
+ amber: "amber";
986
+ sky: "sky";
987
+ plum: "plum";
988
+ rose: "rose";
989
+ }>>;
990
+ align: z.ZodOptional<z.ZodEnum<{
991
+ start: "start";
992
+ center: "center";
993
+ end: "end";
994
+ }>>;
995
+ fontScale: z.ZodOptional<z.ZodEnum<{
996
+ sm: "sm";
997
+ md: "md";
998
+ lg: "lg";
999
+ }>>;
1000
+ textDir: z.ZodOptional<z.ZodEnum<{
1001
+ auto: "auto";
1002
+ rtl: "rtl";
1003
+ ltr: "ltr";
1004
+ }>>;
1005
+ redacted: z.ZodOptional<z.ZodEnum<{
1006
+ text: "text";
1007
+ media: "media";
1008
+ }>>;
1009
+ redactedReason: z.ZodOptional<z.ZodString>;
1010
+ id: z.ZodString;
1011
+ kind: z.ZodLiteral<"flowchart">;
1012
+ source: z.ZodString;
1013
+ positions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1014
+ x: z.ZodNumber;
1015
+ y: z.ZodNumber;
1016
+ }, z.core.$strip>>>;
1017
+ }, z.core.$strip>, z.ZodObject<{
1018
+ width: z.ZodOptional<z.ZodEnum<{
1019
+ full: "full";
1020
+ half: "half";
1021
+ }>>;
1022
+ surface: z.ZodOptional<z.ZodEnum<{
1023
+ default: "default";
1024
+ olive: "olive";
1025
+ amber: "amber";
1026
+ sky: "sky";
1027
+ plum: "plum";
1028
+ rose: "rose";
1029
+ }>>;
1030
+ align: z.ZodOptional<z.ZodEnum<{
1031
+ start: "start";
1032
+ center: "center";
1033
+ end: "end";
1034
+ }>>;
1035
+ fontScale: z.ZodOptional<z.ZodEnum<{
1036
+ sm: "sm";
1037
+ md: "md";
1038
+ lg: "lg";
1039
+ }>>;
1040
+ textDir: z.ZodOptional<z.ZodEnum<{
1041
+ auto: "auto";
1042
+ rtl: "rtl";
1043
+ ltr: "ltr";
1044
+ }>>;
1045
+ redacted: z.ZodOptional<z.ZodEnum<{
1046
+ text: "text";
1047
+ media: "media";
1048
+ }>>;
1049
+ redactedReason: z.ZodOptional<z.ZodString>;
1050
+ id: z.ZodString;
1051
+ kind: z.ZodLiteral<"gantt">;
1052
+ source: z.ZodString;
1053
+ }, z.core.$strip>, z.ZodObject<{
1054
+ width: z.ZodOptional<z.ZodEnum<{
1055
+ full: "full";
1056
+ half: "half";
1057
+ }>>;
1058
+ surface: z.ZodOptional<z.ZodEnum<{
1059
+ default: "default";
1060
+ olive: "olive";
1061
+ amber: "amber";
1062
+ sky: "sky";
1063
+ plum: "plum";
1064
+ rose: "rose";
1065
+ }>>;
1066
+ align: z.ZodOptional<z.ZodEnum<{
1067
+ start: "start";
1068
+ center: "center";
1069
+ end: "end";
1070
+ }>>;
1071
+ fontScale: z.ZodOptional<z.ZodEnum<{
1072
+ sm: "sm";
1073
+ md: "md";
1074
+ lg: "lg";
1075
+ }>>;
1076
+ textDir: z.ZodOptional<z.ZodEnum<{
1077
+ auto: "auto";
1078
+ rtl: "rtl";
1079
+ ltr: "ltr";
1080
+ }>>;
1081
+ redacted: z.ZodOptional<z.ZodEnum<{
1082
+ text: "text";
1083
+ media: "media";
1084
+ }>>;
1085
+ redactedReason: z.ZodOptional<z.ZodString>;
1086
+ id: z.ZodString;
1087
+ kind: z.ZodLiteral<"pie">;
1088
+ source: z.ZodString;
1089
+ }, z.core.$strip>, z.ZodObject<{
1090
+ width: z.ZodOptional<z.ZodEnum<{
1091
+ full: "full";
1092
+ half: "half";
1093
+ }>>;
1094
+ surface: z.ZodOptional<z.ZodEnum<{
1095
+ default: "default";
1096
+ olive: "olive";
1097
+ amber: "amber";
1098
+ sky: "sky";
1099
+ plum: "plum";
1100
+ rose: "rose";
1101
+ }>>;
1102
+ align: z.ZodOptional<z.ZodEnum<{
1103
+ start: "start";
1104
+ center: "center";
1105
+ end: "end";
1106
+ }>>;
1107
+ fontScale: z.ZodOptional<z.ZodEnum<{
1108
+ sm: "sm";
1109
+ md: "md";
1110
+ lg: "lg";
1111
+ }>>;
1112
+ textDir: z.ZodOptional<z.ZodEnum<{
1113
+ auto: "auto";
1114
+ rtl: "rtl";
1115
+ ltr: "ltr";
1116
+ }>>;
1117
+ redacted: z.ZodOptional<z.ZodEnum<{
1118
+ text: "text";
1119
+ media: "media";
1120
+ }>>;
1121
+ redactedReason: z.ZodOptional<z.ZodString>;
1122
+ id: z.ZodString;
1123
+ kind: z.ZodLiteral<"dfd">;
1124
+ source: z.ZodString;
1125
+ positions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1126
+ x: z.ZodNumber;
1127
+ y: z.ZodNumber;
1128
+ }, z.core.$strip>>>;
1129
+ }, z.core.$strip>, z.ZodObject<{
1130
+ width: z.ZodOptional<z.ZodEnum<{
1131
+ full: "full";
1132
+ half: "half";
1133
+ }>>;
1134
+ surface: z.ZodOptional<z.ZodEnum<{
1135
+ default: "default";
1136
+ olive: "olive";
1137
+ amber: "amber";
1138
+ sky: "sky";
1139
+ plum: "plum";
1140
+ rose: "rose";
1141
+ }>>;
1142
+ align: z.ZodOptional<z.ZodEnum<{
1143
+ start: "start";
1144
+ center: "center";
1145
+ end: "end";
1146
+ }>>;
1147
+ fontScale: z.ZodOptional<z.ZodEnum<{
1148
+ sm: "sm";
1149
+ md: "md";
1150
+ lg: "lg";
1151
+ }>>;
1152
+ textDir: z.ZodOptional<z.ZodEnum<{
1153
+ auto: "auto";
1154
+ rtl: "rtl";
1155
+ ltr: "ltr";
1156
+ }>>;
1157
+ redacted: z.ZodOptional<z.ZodEnum<{
1158
+ text: "text";
1159
+ media: "media";
1160
+ }>>;
1161
+ redactedReason: z.ZodOptional<z.ZodString>;
1162
+ extra: z.ZodDefault<z.ZodArray<z.ZodString>>;
1163
+ display: z.ZodDefault<z.ZodEnum<{
1164
+ framed: "framed";
1165
+ doubleTap: "doubleTap";
1166
+ grid: "grid";
1167
+ coverflow: "coverflow";
1168
+ stack: "stack";
1169
+ ring: "ring";
1170
+ barrel: "barrel";
1171
+ helix: "helix";
1172
+ staircase: "staircase";
1173
+ }>>;
1174
+ entrance: z.ZodDefault<z.ZodEnum<{
1175
+ fade: "fade";
1176
+ contract: "contract";
1177
+ expand: "expand";
1178
+ scatter: "scatter";
1179
+ slideAlong: "slideAlong";
1180
+ }>>;
1181
+ redactedCount: z.ZodOptional<z.ZodNumber>;
1182
+ mediaId: z.ZodNullable<z.ZodString>;
1183
+ caption: z.ZodString;
1184
+ id: z.ZodString;
1185
+ kind: z.ZodLiteral<"image">;
1186
+ }, z.core.$strip>, z.ZodObject<{
1187
+ width: z.ZodOptional<z.ZodEnum<{
1188
+ full: "full";
1189
+ half: "half";
1190
+ }>>;
1191
+ surface: z.ZodOptional<z.ZodEnum<{
1192
+ default: "default";
1193
+ olive: "olive";
1194
+ amber: "amber";
1195
+ sky: "sky";
1196
+ plum: "plum";
1197
+ rose: "rose";
1198
+ }>>;
1199
+ align: z.ZodOptional<z.ZodEnum<{
1200
+ start: "start";
1201
+ center: "center";
1202
+ end: "end";
1203
+ }>>;
1204
+ fontScale: z.ZodOptional<z.ZodEnum<{
1205
+ sm: "sm";
1206
+ md: "md";
1207
+ lg: "lg";
1208
+ }>>;
1209
+ textDir: z.ZodOptional<z.ZodEnum<{
1210
+ auto: "auto";
1211
+ rtl: "rtl";
1212
+ ltr: "ltr";
1213
+ }>>;
1214
+ redacted: z.ZodOptional<z.ZodEnum<{
1215
+ text: "text";
1216
+ media: "media";
1217
+ }>>;
1218
+ redactedReason: z.ZodOptional<z.ZodString>;
1219
+ mediaId: z.ZodNullable<z.ZodString>;
1220
+ caption: z.ZodString;
1221
+ id: z.ZodString;
1222
+ kind: z.ZodLiteral<"video">;
1223
+ }, z.core.$strip>, z.ZodObject<{
1224
+ width: z.ZodOptional<z.ZodEnum<{
1225
+ full: "full";
1226
+ half: "half";
1227
+ }>>;
1228
+ surface: z.ZodOptional<z.ZodEnum<{
1229
+ default: "default";
1230
+ olive: "olive";
1231
+ amber: "amber";
1232
+ sky: "sky";
1233
+ plum: "plum";
1234
+ rose: "rose";
1235
+ }>>;
1236
+ align: z.ZodOptional<z.ZodEnum<{
1237
+ start: "start";
1238
+ center: "center";
1239
+ end: "end";
1240
+ }>>;
1241
+ fontScale: z.ZodOptional<z.ZodEnum<{
1242
+ sm: "sm";
1243
+ md: "md";
1244
+ lg: "lg";
1245
+ }>>;
1246
+ textDir: z.ZodOptional<z.ZodEnum<{
1247
+ auto: "auto";
1248
+ rtl: "rtl";
1249
+ ltr: "ltr";
1250
+ }>>;
1251
+ redacted: z.ZodOptional<z.ZodEnum<{
1252
+ text: "text";
1253
+ media: "media";
1254
+ }>>;
1255
+ redactedReason: z.ZodOptional<z.ZodString>;
1256
+ mediaId: z.ZodNullable<z.ZodString>;
1257
+ caption: z.ZodString;
1258
+ id: z.ZodString;
1259
+ kind: z.ZodLiteral<"file">;
1260
+ }, z.core.$strip>, z.ZodObject<{
1261
+ width: z.ZodOptional<z.ZodEnum<{
1262
+ full: "full";
1263
+ half: "half";
1264
+ }>>;
1265
+ surface: z.ZodOptional<z.ZodEnum<{
1266
+ default: "default";
1267
+ olive: "olive";
1268
+ amber: "amber";
1269
+ sky: "sky";
1270
+ plum: "plum";
1271
+ rose: "rose";
1272
+ }>>;
1273
+ align: z.ZodOptional<z.ZodEnum<{
1274
+ start: "start";
1275
+ center: "center";
1276
+ end: "end";
1277
+ }>>;
1278
+ fontScale: z.ZodOptional<z.ZodEnum<{
1279
+ sm: "sm";
1280
+ md: "md";
1281
+ lg: "lg";
1282
+ }>>;
1283
+ textDir: z.ZodOptional<z.ZodEnum<{
1284
+ auto: "auto";
1285
+ rtl: "rtl";
1286
+ ltr: "ltr";
1287
+ }>>;
1288
+ redacted: z.ZodOptional<z.ZodEnum<{
1289
+ text: "text";
1290
+ media: "media";
1291
+ }>>;
1292
+ redactedReason: z.ZodOptional<z.ZodString>;
1293
+ id: z.ZodString;
1294
+ kind: z.ZodLiteral<"math">;
1295
+ latex: z.ZodDefault<z.ZodString>;
1296
+ }, z.core.$strip>, z.ZodObject<{
1297
+ width: z.ZodOptional<z.ZodEnum<{
1298
+ full: "full";
1299
+ half: "half";
1300
+ }>>;
1301
+ surface: z.ZodOptional<z.ZodEnum<{
1302
+ default: "default";
1303
+ olive: "olive";
1304
+ amber: "amber";
1305
+ sky: "sky";
1306
+ plum: "plum";
1307
+ rose: "rose";
1308
+ }>>;
1309
+ align: z.ZodOptional<z.ZodEnum<{
1310
+ start: "start";
1311
+ center: "center";
1312
+ end: "end";
1313
+ }>>;
1314
+ fontScale: z.ZodOptional<z.ZodEnum<{
1315
+ sm: "sm";
1316
+ md: "md";
1317
+ lg: "lg";
1318
+ }>>;
1319
+ textDir: z.ZodOptional<z.ZodEnum<{
1320
+ auto: "auto";
1321
+ rtl: "rtl";
1322
+ ltr: "ltr";
1323
+ }>>;
1324
+ redacted: z.ZodOptional<z.ZodEnum<{
1325
+ text: "text";
1326
+ media: "media";
1327
+ }>>;
1328
+ redactedReason: z.ZodOptional<z.ZodString>;
1329
+ id: z.ZodString;
1330
+ kind: z.ZodLiteral<"table">;
1331
+ header: z.ZodDefault<z.ZodBoolean>;
1332
+ rows: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
1333
+ }, z.core.$strip>, z.ZodObject<{
1334
+ width: z.ZodOptional<z.ZodEnum<{
1335
+ full: "full";
1336
+ half: "half";
1337
+ }>>;
1338
+ surface: z.ZodOptional<z.ZodEnum<{
1339
+ default: "default";
1340
+ olive: "olive";
1341
+ amber: "amber";
1342
+ sky: "sky";
1343
+ plum: "plum";
1344
+ rose: "rose";
1345
+ }>>;
1346
+ align: z.ZodOptional<z.ZodEnum<{
1347
+ start: "start";
1348
+ center: "center";
1349
+ end: "end";
1350
+ }>>;
1351
+ fontScale: z.ZodOptional<z.ZodEnum<{
1352
+ sm: "sm";
1353
+ md: "md";
1354
+ lg: "lg";
1355
+ }>>;
1356
+ textDir: z.ZodOptional<z.ZodEnum<{
1357
+ auto: "auto";
1358
+ rtl: "rtl";
1359
+ ltr: "ltr";
1360
+ }>>;
1361
+ redacted: z.ZodOptional<z.ZodEnum<{
1362
+ text: "text";
1363
+ media: "media";
1364
+ }>>;
1365
+ redactedReason: z.ZodOptional<z.ZodString>;
1366
+ id: z.ZodString;
1367
+ kind: z.ZodLiteral<"callout">;
1368
+ tone: z.ZodDefault<z.ZodEnum<{
1369
+ tip: "tip";
1370
+ warning: "warning";
1371
+ exam: "exam";
1372
+ definition: "definition";
1373
+ }>>;
1374
+ title: z.ZodDefault<z.ZodString>;
1375
+ text: z.ZodDefault<z.ZodString>;
1376
+ }, z.core.$strip>, z.ZodObject<{
1377
+ width: z.ZodOptional<z.ZodEnum<{
1378
+ full: "full";
1379
+ half: "half";
1380
+ }>>;
1381
+ surface: z.ZodOptional<z.ZodEnum<{
1382
+ default: "default";
1383
+ olive: "olive";
1384
+ amber: "amber";
1385
+ sky: "sky";
1386
+ plum: "plum";
1387
+ rose: "rose";
1388
+ }>>;
1389
+ align: z.ZodOptional<z.ZodEnum<{
1390
+ start: "start";
1391
+ center: "center";
1392
+ end: "end";
1393
+ }>>;
1394
+ fontScale: z.ZodOptional<z.ZodEnum<{
1395
+ sm: "sm";
1396
+ md: "md";
1397
+ lg: "lg";
1398
+ }>>;
1399
+ textDir: z.ZodOptional<z.ZodEnum<{
1400
+ auto: "auto";
1401
+ rtl: "rtl";
1402
+ ltr: "ltr";
1403
+ }>>;
1404
+ redacted: z.ZodOptional<z.ZodEnum<{
1405
+ text: "text";
1406
+ media: "media";
1407
+ }>>;
1408
+ redactedReason: z.ZodOptional<z.ZodString>;
1409
+ id: z.ZodString;
1410
+ kind: z.ZodLiteral<"toggle">;
1411
+ title: z.ZodDefault<z.ZodString>;
1412
+ text: z.ZodDefault<z.ZodString>;
1413
+ }, z.core.$strip>, z.ZodObject<{
1414
+ width: z.ZodOptional<z.ZodEnum<{
1415
+ full: "full";
1416
+ half: "half";
1417
+ }>>;
1418
+ surface: z.ZodOptional<z.ZodEnum<{
1419
+ default: "default";
1420
+ olive: "olive";
1421
+ amber: "amber";
1422
+ sky: "sky";
1423
+ plum: "plum";
1424
+ rose: "rose";
1425
+ }>>;
1426
+ align: z.ZodOptional<z.ZodEnum<{
1427
+ start: "start";
1428
+ center: "center";
1429
+ end: "end";
1430
+ }>>;
1431
+ fontScale: z.ZodOptional<z.ZodEnum<{
1432
+ sm: "sm";
1433
+ md: "md";
1434
+ lg: "lg";
1435
+ }>>;
1436
+ textDir: z.ZodOptional<z.ZodEnum<{
1437
+ auto: "auto";
1438
+ rtl: "rtl";
1439
+ ltr: "ltr";
1440
+ }>>;
1441
+ redacted: z.ZodOptional<z.ZodEnum<{
1442
+ text: "text";
1443
+ media: "media";
1444
+ }>>;
1445
+ redactedReason: z.ZodOptional<z.ZodString>;
1446
+ id: z.ZodString;
1447
+ kind: z.ZodLiteral<"checklist">;
1448
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
1449
+ id: z.ZodString;
1450
+ text: z.ZodDefault<z.ZodString>;
1451
+ }, z.core.$strip>>>;
1452
+ }, z.core.$strip>, z.ZodObject<{
1453
+ width: z.ZodOptional<z.ZodEnum<{
1454
+ full: "full";
1455
+ half: "half";
1456
+ }>>;
1457
+ surface: z.ZodOptional<z.ZodEnum<{
1458
+ default: "default";
1459
+ olive: "olive";
1460
+ amber: "amber";
1461
+ sky: "sky";
1462
+ plum: "plum";
1463
+ rose: "rose";
1464
+ }>>;
1465
+ align: z.ZodOptional<z.ZodEnum<{
1466
+ start: "start";
1467
+ center: "center";
1468
+ end: "end";
1469
+ }>>;
1470
+ fontScale: z.ZodOptional<z.ZodEnum<{
1471
+ sm: "sm";
1472
+ md: "md";
1473
+ lg: "lg";
1474
+ }>>;
1475
+ textDir: z.ZodOptional<z.ZodEnum<{
1476
+ auto: "auto";
1477
+ rtl: "rtl";
1478
+ ltr: "ltr";
1479
+ }>>;
1480
+ redacted: z.ZodOptional<z.ZodEnum<{
1481
+ text: "text";
1482
+ media: "media";
1483
+ }>>;
1484
+ redactedReason: z.ZodOptional<z.ZodString>;
1485
+ id: z.ZodString;
1486
+ kind: z.ZodLiteral<"quote">;
1487
+ text: z.ZodDefault<z.ZodString>;
1488
+ cite: z.ZodDefault<z.ZodString>;
1489
+ }, z.core.$strip>, z.ZodObject<{
1490
+ width: z.ZodOptional<z.ZodEnum<{
1491
+ full: "full";
1492
+ half: "half";
1493
+ }>>;
1494
+ surface: z.ZodOptional<z.ZodEnum<{
1495
+ default: "default";
1496
+ olive: "olive";
1497
+ amber: "amber";
1498
+ sky: "sky";
1499
+ plum: "plum";
1500
+ rose: "rose";
1501
+ }>>;
1502
+ align: z.ZodOptional<z.ZodEnum<{
1503
+ start: "start";
1504
+ center: "center";
1505
+ end: "end";
1506
+ }>>;
1507
+ fontScale: z.ZodOptional<z.ZodEnum<{
1508
+ sm: "sm";
1509
+ md: "md";
1510
+ lg: "lg";
1511
+ }>>;
1512
+ textDir: z.ZodOptional<z.ZodEnum<{
1513
+ auto: "auto";
1514
+ rtl: "rtl";
1515
+ ltr: "ltr";
1516
+ }>>;
1517
+ redacted: z.ZodOptional<z.ZodEnum<{
1518
+ text: "text";
1519
+ media: "media";
1520
+ }>>;
1521
+ redactedReason: z.ZodOptional<z.ZodString>;
1522
+ id: z.ZodString;
1523
+ kind: z.ZodLiteral<"divider">;
1524
+ }, z.core.$strip>, z.ZodObject<{
1525
+ width: z.ZodOptional<z.ZodEnum<{
1526
+ full: "full";
1527
+ half: "half";
1528
+ }>>;
1529
+ surface: z.ZodOptional<z.ZodEnum<{
1530
+ default: "default";
1531
+ olive: "olive";
1532
+ amber: "amber";
1533
+ sky: "sky";
1534
+ plum: "plum";
1535
+ rose: "rose";
1536
+ }>>;
1537
+ align: z.ZodOptional<z.ZodEnum<{
1538
+ start: "start";
1539
+ center: "center";
1540
+ end: "end";
1541
+ }>>;
1542
+ fontScale: z.ZodOptional<z.ZodEnum<{
1543
+ sm: "sm";
1544
+ md: "md";
1545
+ lg: "lg";
1546
+ }>>;
1547
+ textDir: z.ZodOptional<z.ZodEnum<{
1548
+ auto: "auto";
1549
+ rtl: "rtl";
1550
+ ltr: "ltr";
1551
+ }>>;
1552
+ redacted: z.ZodOptional<z.ZodEnum<{
1553
+ text: "text";
1554
+ media: "media";
1555
+ }>>;
1556
+ redactedReason: z.ZodOptional<z.ZodString>;
1557
+ id: z.ZodString;
1558
+ kind: z.ZodLiteral<"flashcard">;
1559
+ cards: z.ZodDefault<z.ZodArray<z.ZodObject<{
1560
+ id: z.ZodString;
1561
+ front: z.ZodDefault<z.ZodString>;
1562
+ back: z.ZodDefault<z.ZodString>;
1563
+ }, z.core.$strip>>>;
1564
+ }, z.core.$strip>, z.ZodObject<{
1565
+ width: z.ZodOptional<z.ZodEnum<{
1566
+ full: "full";
1567
+ half: "half";
1568
+ }>>;
1569
+ surface: z.ZodOptional<z.ZodEnum<{
1570
+ default: "default";
1571
+ olive: "olive";
1572
+ amber: "amber";
1573
+ sky: "sky";
1574
+ plum: "plum";
1575
+ rose: "rose";
1576
+ }>>;
1577
+ align: z.ZodOptional<z.ZodEnum<{
1578
+ start: "start";
1579
+ center: "center";
1580
+ end: "end";
1581
+ }>>;
1582
+ fontScale: z.ZodOptional<z.ZodEnum<{
1583
+ sm: "sm";
1584
+ md: "md";
1585
+ lg: "lg";
1586
+ }>>;
1587
+ textDir: z.ZodOptional<z.ZodEnum<{
1588
+ auto: "auto";
1589
+ rtl: "rtl";
1590
+ ltr: "ltr";
1591
+ }>>;
1592
+ redacted: z.ZodOptional<z.ZodEnum<{
1593
+ text: "text";
1594
+ media: "media";
1595
+ }>>;
1596
+ redactedReason: z.ZodOptional<z.ZodString>;
1597
+ id: z.ZodString;
1598
+ kind: z.ZodLiteral<"quiz">;
1599
+ question: z.ZodDefault<z.ZodString>;
1600
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
1601
+ id: z.ZodString;
1602
+ text: z.ZodDefault<z.ZodString>;
1603
+ }, z.core.$strip>>>;
1604
+ answer: z.ZodDefault<z.ZodString>;
1605
+ explanation: z.ZodDefault<z.ZodString>;
1606
+ }, z.core.$strip>], "kind">;
1607
+ export declare const newId: (prefix: string) => string;
1608
+ /**
1609
+ * Validates raw block input, fills default ids, and ensures schema conformity.
1610
+ */
1611
+ export declare function toValidBlocks(raw: unknown[]): NoteBlock[];
1612
+ /**
1613
+ * Creates SM-2 flashcard blocks (chunked up to 50 cards per block).
1614
+ */
1615
+ export declare function flashcardBlocks(cards: Array<{
1616
+ front: string;
1617
+ back: string;
1618
+ }>): NoteBlock[];
1619
+ export declare const clip: (text: string | undefined, max: number) => string;
1620
+ /**
1621
+ * Transforms a full NoteItem into a lightweight NoteCard projection (MCP-PERF-01).
1622
+ */
1623
+ export declare function toCard(note: NoteItem): NoteCard;
1624
+ //# sourceMappingURL=blocks.d.ts.map