@valbuild/shared 0.49.0 → 0.51.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.
@@ -0,0 +1,1889 @@
1
+ import { z } from "zod";
2
+ export declare const RemirrorTextMark: z.ZodObject<{
3
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ type: "bold" | "strike" | "italic";
6
+ }, {
7
+ type: "bold" | "strike" | "italic";
8
+ }>;
9
+ export type RemirrorTextMark = z.infer<typeof RemirrorTextMark>;
10
+ export declare const RemirrorLinkMark: z.ZodObject<{
11
+ type: z.ZodLiteral<"link">;
12
+ attrs: z.ZodObject<{
13
+ href: z.ZodString;
14
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
15
+ auto: z.ZodBoolean;
16
+ }, "strip", z.ZodTypeAny, {
17
+ href: string;
18
+ target: "_blank" | null;
19
+ auto: boolean;
20
+ }, {
21
+ href: string;
22
+ target: "_blank" | null;
23
+ auto: boolean;
24
+ }>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "link";
27
+ attrs: {
28
+ href: string;
29
+ target: "_blank" | null;
30
+ auto: boolean;
31
+ };
32
+ }, {
33
+ type: "link";
34
+ attrs: {
35
+ href: string;
36
+ target: "_blank" | null;
37
+ auto: boolean;
38
+ };
39
+ }>;
40
+ export type RemirrorLinkMark = z.infer<typeof RemirrorLinkMark>;
41
+ export declare const RemirrorText: z.ZodIntersection<z.ZodObject<{
42
+ type: z.ZodLiteral<"text">;
43
+ text: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ type: "text";
46
+ text: string;
47
+ }, {
48
+ type: "text";
49
+ text: string;
50
+ }>, z.ZodObject<{
51
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
52
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ type: "bold" | "strike" | "italic";
55
+ }, {
56
+ type: "bold" | "strike" | "italic";
57
+ }>, z.ZodObject<{
58
+ type: z.ZodLiteral<"link">;
59
+ attrs: z.ZodObject<{
60
+ href: z.ZodString;
61
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
62
+ auto: z.ZodBoolean;
63
+ }, "strip", z.ZodTypeAny, {
64
+ href: string;
65
+ target: "_blank" | null;
66
+ auto: boolean;
67
+ }, {
68
+ href: string;
69
+ target: "_blank" | null;
70
+ auto: boolean;
71
+ }>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ type: "link";
74
+ attrs: {
75
+ href: string;
76
+ target: "_blank" | null;
77
+ auto: boolean;
78
+ };
79
+ }, {
80
+ type: "link";
81
+ attrs: {
82
+ href: string;
83
+ target: "_blank" | null;
84
+ auto: boolean;
85
+ };
86
+ }>]>, "many">>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ marks?: ({
89
+ type: "bold" | "strike" | "italic";
90
+ } | {
91
+ type: "link";
92
+ attrs: {
93
+ href: string;
94
+ target: "_blank" | null;
95
+ auto: boolean;
96
+ };
97
+ })[] | undefined;
98
+ }, {
99
+ marks?: ({
100
+ type: "bold" | "strike" | "italic";
101
+ } | {
102
+ type: "link";
103
+ attrs: {
104
+ href: string;
105
+ target: "_blank" | null;
106
+ auto: boolean;
107
+ };
108
+ })[] | undefined;
109
+ }>>;
110
+ export type RemirrorText = z.infer<typeof RemirrorText>;
111
+ export declare const RemirrorBr: z.ZodIntersection<z.ZodObject<{
112
+ type: z.ZodLiteral<"hardBreak">;
113
+ }, "strip", z.ZodTypeAny, {
114
+ type: "hardBreak";
115
+ }, {
116
+ type: "hardBreak";
117
+ }>, z.ZodObject<{
118
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: "bold" | "strike" | "italic";
122
+ }, {
123
+ type: "bold" | "strike" | "italic";
124
+ }>, "many">>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ marks?: {
127
+ type: "bold" | "strike" | "italic";
128
+ }[] | undefined;
129
+ }, {
130
+ marks?: {
131
+ type: "bold" | "strike" | "italic";
132
+ }[] | undefined;
133
+ }>>;
134
+ export type RemirrorBr = z.infer<typeof RemirrorBr>;
135
+ export declare const RemirrorImage: z.ZodIntersection<z.ZodObject<{
136
+ type: z.ZodLiteral<"image">;
137
+ }, "strip", z.ZodTypeAny, {
138
+ type: "image";
139
+ }, {
140
+ type: "image";
141
+ }>, z.ZodObject<{
142
+ attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
143
+ src: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ src: string;
146
+ }, {
147
+ src: string;
148
+ }>, z.ZodObject<{
149
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
150
+ alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
151
+ height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
152
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
153
+ rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
154
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
155
+ fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
158
+ alt?: string | null | undefined;
159
+ height?: string | number | null | undefined;
160
+ width?: string | number | null | undefined;
161
+ rotate?: string | null | undefined;
162
+ title?: string | null | undefined;
163
+ fileName?: string | null | undefined;
164
+ }, {
165
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
166
+ alt?: string | null | undefined;
167
+ height?: string | number | null | undefined;
168
+ width?: string | number | null | undefined;
169
+ rotate?: string | null | undefined;
170
+ title?: string | null | undefined;
171
+ fileName?: string | null | undefined;
172
+ }>>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ attrs?: ({
175
+ src: string;
176
+ } & {
177
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
178
+ alt?: string | null | undefined;
179
+ height?: string | number | null | undefined;
180
+ width?: string | number | null | undefined;
181
+ rotate?: string | null | undefined;
182
+ title?: string | null | undefined;
183
+ fileName?: string | null | undefined;
184
+ }) | undefined;
185
+ }, {
186
+ attrs?: ({
187
+ src: string;
188
+ } & {
189
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
190
+ alt?: string | null | undefined;
191
+ height?: string | number | null | undefined;
192
+ width?: string | number | null | undefined;
193
+ rotate?: string | null | undefined;
194
+ title?: string | null | undefined;
195
+ fileName?: string | null | undefined;
196
+ }) | undefined;
197
+ }>>;
198
+ export type RemirrorImage = z.infer<typeof RemirrorImage>;
199
+ export declare const RemirrorHeading: z.ZodIntersection<z.ZodObject<{
200
+ type: z.ZodLiteral<"heading">;
201
+ }, "strip", z.ZodTypeAny, {
202
+ type: "heading";
203
+ }, {
204
+ type: "heading";
205
+ }>, z.ZodObject<{
206
+ attrs: z.ZodOptional<z.ZodObject<{
207
+ level: z.ZodNumber;
208
+ }, "strip", z.ZodTypeAny, {
209
+ level: number;
210
+ }, {
211
+ level: number;
212
+ }>>;
213
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
214
+ type: z.ZodLiteral<"text">;
215
+ text: z.ZodString;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: "text";
218
+ text: string;
219
+ }, {
220
+ type: "text";
221
+ text: string;
222
+ }>, z.ZodObject<{
223
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
224
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ type: "bold" | "strike" | "italic";
227
+ }, {
228
+ type: "bold" | "strike" | "italic";
229
+ }>, z.ZodObject<{
230
+ type: z.ZodLiteral<"link">;
231
+ attrs: z.ZodObject<{
232
+ href: z.ZodString;
233
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
234
+ auto: z.ZodBoolean;
235
+ }, "strip", z.ZodTypeAny, {
236
+ href: string;
237
+ target: "_blank" | null;
238
+ auto: boolean;
239
+ }, {
240
+ href: string;
241
+ target: "_blank" | null;
242
+ auto: boolean;
243
+ }>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ type: "link";
246
+ attrs: {
247
+ href: string;
248
+ target: "_blank" | null;
249
+ auto: boolean;
250
+ };
251
+ }, {
252
+ type: "link";
253
+ attrs: {
254
+ href: string;
255
+ target: "_blank" | null;
256
+ auto: boolean;
257
+ };
258
+ }>]>, "many">>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ marks?: ({
261
+ type: "bold" | "strike" | "italic";
262
+ } | {
263
+ type: "link";
264
+ attrs: {
265
+ href: string;
266
+ target: "_blank" | null;
267
+ auto: boolean;
268
+ };
269
+ })[] | undefined;
270
+ }, {
271
+ marks?: ({
272
+ type: "bold" | "strike" | "italic";
273
+ } | {
274
+ type: "link";
275
+ attrs: {
276
+ href: string;
277
+ target: "_blank" | null;
278
+ auto: boolean;
279
+ };
280
+ })[] | undefined;
281
+ }>>, z.ZodIntersection<z.ZodObject<{
282
+ type: z.ZodLiteral<"hardBreak">;
283
+ }, "strip", z.ZodTypeAny, {
284
+ type: "hardBreak";
285
+ }, {
286
+ type: "hardBreak";
287
+ }>, z.ZodObject<{
288
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ type: "bold" | "strike" | "italic";
292
+ }, {
293
+ type: "bold" | "strike" | "italic";
294
+ }>, "many">>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ marks?: {
297
+ type: "bold" | "strike" | "italic";
298
+ }[] | undefined;
299
+ }, {
300
+ marks?: {
301
+ type: "bold" | "strike" | "italic";
302
+ }[] | undefined;
303
+ }>>]>, "many">>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ attrs?: {
306
+ level: number;
307
+ } | undefined;
308
+ content?: (({
309
+ type: "text";
310
+ text: string;
311
+ } & {
312
+ marks?: ({
313
+ type: "bold" | "strike" | "italic";
314
+ } | {
315
+ type: "link";
316
+ attrs: {
317
+ href: string;
318
+ target: "_blank" | null;
319
+ auto: boolean;
320
+ };
321
+ })[] | undefined;
322
+ }) | ({
323
+ type: "hardBreak";
324
+ } & {
325
+ marks?: {
326
+ type: "bold" | "strike" | "italic";
327
+ }[] | undefined;
328
+ }))[] | undefined;
329
+ }, {
330
+ attrs?: {
331
+ level: number;
332
+ } | undefined;
333
+ content?: (({
334
+ type: "text";
335
+ text: string;
336
+ } & {
337
+ marks?: ({
338
+ type: "bold" | "strike" | "italic";
339
+ } | {
340
+ type: "link";
341
+ attrs: {
342
+ href: string;
343
+ target: "_blank" | null;
344
+ auto: boolean;
345
+ };
346
+ })[] | undefined;
347
+ }) | ({
348
+ type: "hardBreak";
349
+ } & {
350
+ marks?: {
351
+ type: "bold" | "strike" | "italic";
352
+ }[] | undefined;
353
+ }))[] | undefined;
354
+ }>>;
355
+ export type RemirrorHeading = z.infer<typeof RemirrorHeading>;
356
+ export declare const RemirrorBulletList: z.ZodType<{
357
+ type: "bulletList";
358
+ content?: RemirrorListItem[];
359
+ }>;
360
+ export type RemirrorBulletList = z.infer<typeof RemirrorBulletList>;
361
+ export declare const RemirrorOrderedList: z.ZodType<{
362
+ type: "orderedList";
363
+ content?: RemirrorListItem[];
364
+ }>;
365
+ export type RemirrorOrderedList = z.infer<typeof RemirrorOrderedList>;
366
+ export declare const RemirrorListItem: z.ZodLazy<z.ZodIntersection<z.ZodObject<{
367
+ type: z.ZodLiteral<"listItem">;
368
+ }, "strip", z.ZodTypeAny, {
369
+ type: "listItem";
370
+ }, {
371
+ type: "listItem";
372
+ }>, z.ZodObject<{
373
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
374
+ type: z.ZodLiteral<"paragraph">;
375
+ }, "strip", z.ZodTypeAny, {
376
+ type: "paragraph";
377
+ }, {
378
+ type: "paragraph";
379
+ }>, z.ZodObject<{
380
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
381
+ type: z.ZodLiteral<"text">;
382
+ text: z.ZodString;
383
+ }, "strip", z.ZodTypeAny, {
384
+ type: "text";
385
+ text: string;
386
+ }, {
387
+ type: "text";
388
+ text: string;
389
+ }>, z.ZodObject<{
390
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
391
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ type: "bold" | "strike" | "italic";
394
+ }, {
395
+ type: "bold" | "strike" | "italic";
396
+ }>, z.ZodObject<{
397
+ type: z.ZodLiteral<"link">;
398
+ attrs: z.ZodObject<{
399
+ href: z.ZodString;
400
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
401
+ auto: z.ZodBoolean;
402
+ }, "strip", z.ZodTypeAny, {
403
+ href: string;
404
+ target: "_blank" | null;
405
+ auto: boolean;
406
+ }, {
407
+ href: string;
408
+ target: "_blank" | null;
409
+ auto: boolean;
410
+ }>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ type: "link";
413
+ attrs: {
414
+ href: string;
415
+ target: "_blank" | null;
416
+ auto: boolean;
417
+ };
418
+ }, {
419
+ type: "link";
420
+ attrs: {
421
+ href: string;
422
+ target: "_blank" | null;
423
+ auto: boolean;
424
+ };
425
+ }>]>, "many">>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ marks?: ({
428
+ type: "bold" | "strike" | "italic";
429
+ } | {
430
+ type: "link";
431
+ attrs: {
432
+ href: string;
433
+ target: "_blank" | null;
434
+ auto: boolean;
435
+ };
436
+ })[] | undefined;
437
+ }, {
438
+ marks?: ({
439
+ type: "bold" | "strike" | "italic";
440
+ } | {
441
+ type: "link";
442
+ attrs: {
443
+ href: string;
444
+ target: "_blank" | null;
445
+ auto: boolean;
446
+ };
447
+ })[] | undefined;
448
+ }>>, z.ZodIntersection<z.ZodObject<{
449
+ type: z.ZodLiteral<"image">;
450
+ }, "strip", z.ZodTypeAny, {
451
+ type: "image";
452
+ }, {
453
+ type: "image";
454
+ }>, z.ZodObject<{
455
+ attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
456
+ src: z.ZodString;
457
+ }, "strip", z.ZodTypeAny, {
458
+ src: string;
459
+ }, {
460
+ src: string;
461
+ }>, z.ZodObject<{
462
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
463
+ alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
464
+ height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
465
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
466
+ rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
467
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
468
+ fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
471
+ alt?: string | null | undefined;
472
+ height?: string | number | null | undefined;
473
+ width?: string | number | null | undefined;
474
+ rotate?: string | null | undefined;
475
+ title?: string | null | undefined;
476
+ fileName?: string | null | undefined;
477
+ }, {
478
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
479
+ alt?: string | null | undefined;
480
+ height?: string | number | null | undefined;
481
+ width?: string | number | null | undefined;
482
+ rotate?: string | null | undefined;
483
+ title?: string | null | undefined;
484
+ fileName?: string | null | undefined;
485
+ }>>>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ attrs?: ({
488
+ src: string;
489
+ } & {
490
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
491
+ alt?: string | null | undefined;
492
+ height?: string | number | null | undefined;
493
+ width?: string | number | null | undefined;
494
+ rotate?: string | null | undefined;
495
+ title?: string | null | undefined;
496
+ fileName?: string | null | undefined;
497
+ }) | undefined;
498
+ }, {
499
+ attrs?: ({
500
+ src: string;
501
+ } & {
502
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
503
+ alt?: string | null | undefined;
504
+ height?: string | number | null | undefined;
505
+ width?: string | number | null | undefined;
506
+ rotate?: string | null | undefined;
507
+ title?: string | null | undefined;
508
+ fileName?: string | null | undefined;
509
+ }) | undefined;
510
+ }>>, z.ZodIntersection<z.ZodObject<{
511
+ type: z.ZodLiteral<"hardBreak">;
512
+ }, "strip", z.ZodTypeAny, {
513
+ type: "hardBreak";
514
+ }, {
515
+ type: "hardBreak";
516
+ }>, z.ZodObject<{
517
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
518
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ type: "bold" | "strike" | "italic";
521
+ }, {
522
+ type: "bold" | "strike" | "italic";
523
+ }>, "many">>;
524
+ }, "strip", z.ZodTypeAny, {
525
+ marks?: {
526
+ type: "bold" | "strike" | "italic";
527
+ }[] | undefined;
528
+ }, {
529
+ marks?: {
530
+ type: "bold" | "strike" | "italic";
531
+ }[] | undefined;
532
+ }>>]>, "many">>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ content?: (({
535
+ type: "text";
536
+ text: string;
537
+ } & {
538
+ marks?: ({
539
+ type: "bold" | "strike" | "italic";
540
+ } | {
541
+ type: "link";
542
+ attrs: {
543
+ href: string;
544
+ target: "_blank" | null;
545
+ auto: boolean;
546
+ };
547
+ })[] | undefined;
548
+ }) | ({
549
+ type: "image";
550
+ } & {
551
+ attrs?: ({
552
+ src: string;
553
+ } & {
554
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
555
+ alt?: string | null | undefined;
556
+ height?: string | number | null | undefined;
557
+ width?: string | number | null | undefined;
558
+ rotate?: string | null | undefined;
559
+ title?: string | null | undefined;
560
+ fileName?: string | null | undefined;
561
+ }) | undefined;
562
+ }) | ({
563
+ type: "hardBreak";
564
+ } & {
565
+ marks?: {
566
+ type: "bold" | "strike" | "italic";
567
+ }[] | undefined;
568
+ }))[] | undefined;
569
+ }, {
570
+ content?: (({
571
+ type: "text";
572
+ text: string;
573
+ } & {
574
+ marks?: ({
575
+ type: "bold" | "strike" | "italic";
576
+ } | {
577
+ type: "link";
578
+ attrs: {
579
+ href: string;
580
+ target: "_blank" | null;
581
+ auto: boolean;
582
+ };
583
+ })[] | undefined;
584
+ }) | ({
585
+ type: "image";
586
+ } & {
587
+ attrs?: ({
588
+ src: string;
589
+ } & {
590
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
591
+ alt?: string | null | undefined;
592
+ height?: string | number | null | undefined;
593
+ width?: string | number | null | undefined;
594
+ rotate?: string | null | undefined;
595
+ title?: string | null | undefined;
596
+ fileName?: string | null | undefined;
597
+ }) | undefined;
598
+ }) | ({
599
+ type: "hardBreak";
600
+ } & {
601
+ marks?: {
602
+ type: "bold" | "strike" | "italic";
603
+ }[] | undefined;
604
+ }))[] | undefined;
605
+ }>>, z.ZodType<{
606
+ type: "bulletList";
607
+ content?: ({
608
+ type: "listItem";
609
+ } & {
610
+ content?: (({
611
+ type: "paragraph";
612
+ } & {
613
+ content?: (({
614
+ type: "text";
615
+ text: string;
616
+ } & {
617
+ marks?: ({
618
+ type: "bold" | "strike" | "italic";
619
+ } | {
620
+ type: "link";
621
+ attrs: {
622
+ href: string;
623
+ target: "_blank" | null;
624
+ auto: boolean;
625
+ };
626
+ })[] | undefined;
627
+ }) | ({
628
+ type: "image";
629
+ } & {
630
+ attrs?: ({
631
+ src: string;
632
+ } & {
633
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
634
+ alt?: string | null | undefined;
635
+ height?: string | number | null | undefined;
636
+ width?: string | number | null | undefined;
637
+ rotate?: string | null | undefined;
638
+ title?: string | null | undefined;
639
+ fileName?: string | null | undefined;
640
+ }) | undefined;
641
+ }) | ({
642
+ type: "hardBreak";
643
+ } & {
644
+ marks?: {
645
+ type: "bold" | "strike" | "italic";
646
+ }[] | undefined;
647
+ }))[] | undefined;
648
+ }) | any | {
649
+ type: "orderedList";
650
+ content?: ({
651
+ type: "listItem";
652
+ } & any)[] | undefined;
653
+ })[] | undefined;
654
+ })[] | undefined;
655
+ }, z.ZodTypeDef, {
656
+ type: "bulletList";
657
+ content?: ({
658
+ type: "listItem";
659
+ } & {
660
+ content?: (({
661
+ type: "paragraph";
662
+ } & {
663
+ content?: (({
664
+ type: "text";
665
+ text: string;
666
+ } & {
667
+ marks?: ({
668
+ type: "bold" | "strike" | "italic";
669
+ } | {
670
+ type: "link";
671
+ attrs: {
672
+ href: string;
673
+ target: "_blank" | null;
674
+ auto: boolean;
675
+ };
676
+ })[] | undefined;
677
+ }) | ({
678
+ type: "image";
679
+ } & {
680
+ attrs?: ({
681
+ src: string;
682
+ } & {
683
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
684
+ alt?: string | null | undefined;
685
+ height?: string | number | null | undefined;
686
+ width?: string | number | null | undefined;
687
+ rotate?: string | null | undefined;
688
+ title?: string | null | undefined;
689
+ fileName?: string | null | undefined;
690
+ }) | undefined;
691
+ }) | ({
692
+ type: "hardBreak";
693
+ } & {
694
+ marks?: {
695
+ type: "bold" | "strike" | "italic";
696
+ }[] | undefined;
697
+ }))[] | undefined;
698
+ }) | any | {
699
+ type: "orderedList";
700
+ content?: ({
701
+ type: "listItem";
702
+ } & any)[] | undefined;
703
+ })[] | undefined;
704
+ })[] | undefined;
705
+ }>, z.ZodType<{
706
+ type: "orderedList";
707
+ content?: ({
708
+ type: "listItem";
709
+ } & any)[] | undefined;
710
+ }, z.ZodTypeDef, {
711
+ type: "orderedList";
712
+ content?: ({
713
+ type: "listItem";
714
+ } & any)[] | undefined;
715
+ }>]>, "many">>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ content?: (({
718
+ type: "paragraph";
719
+ } & {
720
+ content?: (({
721
+ type: "text";
722
+ text: string;
723
+ } & {
724
+ marks?: ({
725
+ type: "bold" | "strike" | "italic";
726
+ } | {
727
+ type: "link";
728
+ attrs: {
729
+ href: string;
730
+ target: "_blank" | null;
731
+ auto: boolean;
732
+ };
733
+ })[] | undefined;
734
+ }) | ({
735
+ type: "image";
736
+ } & {
737
+ attrs?: ({
738
+ src: string;
739
+ } & {
740
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
741
+ alt?: string | null | undefined;
742
+ height?: string | number | null | undefined;
743
+ width?: string | number | null | undefined;
744
+ rotate?: string | null | undefined;
745
+ title?: string | null | undefined;
746
+ fileName?: string | null | undefined;
747
+ }) | undefined;
748
+ }) | ({
749
+ type: "hardBreak";
750
+ } & {
751
+ marks?: {
752
+ type: "bold" | "strike" | "italic";
753
+ }[] | undefined;
754
+ }))[] | undefined;
755
+ }) | {
756
+ type: "bulletList";
757
+ content?: ({
758
+ type: "listItem";
759
+ } & {
760
+ content?: (({
761
+ type: "paragraph";
762
+ } & {
763
+ content?: (({
764
+ type: "text";
765
+ text: string;
766
+ } & {
767
+ marks?: ({
768
+ type: "bold" | "strike" | "italic";
769
+ } | {
770
+ type: "link";
771
+ attrs: {
772
+ href: string;
773
+ target: "_blank" | null;
774
+ auto: boolean;
775
+ };
776
+ })[] | undefined;
777
+ }) | ({
778
+ type: "image";
779
+ } & {
780
+ attrs?: ({
781
+ src: string;
782
+ } & {
783
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
784
+ alt?: string | null | undefined;
785
+ height?: string | number | null | undefined;
786
+ width?: string | number | null | undefined;
787
+ rotate?: string | null | undefined;
788
+ title?: string | null | undefined;
789
+ fileName?: string | null | undefined;
790
+ }) | undefined;
791
+ }) | ({
792
+ type: "hardBreak";
793
+ } & {
794
+ marks?: {
795
+ type: "bold" | "strike" | "italic";
796
+ }[] | undefined;
797
+ }))[] | undefined;
798
+ }) | any | {
799
+ type: "orderedList";
800
+ content?: ({
801
+ type: "listItem";
802
+ } & any)[] | undefined;
803
+ })[] | undefined;
804
+ })[] | undefined;
805
+ } | {
806
+ type: "orderedList";
807
+ content?: ({
808
+ type: "listItem";
809
+ } & any)[] | undefined;
810
+ })[] | undefined;
811
+ }, {
812
+ content?: (({
813
+ type: "paragraph";
814
+ } & {
815
+ content?: (({
816
+ type: "text";
817
+ text: string;
818
+ } & {
819
+ marks?: ({
820
+ type: "bold" | "strike" | "italic";
821
+ } | {
822
+ type: "link";
823
+ attrs: {
824
+ href: string;
825
+ target: "_blank" | null;
826
+ auto: boolean;
827
+ };
828
+ })[] | undefined;
829
+ }) | ({
830
+ type: "image";
831
+ } & {
832
+ attrs?: ({
833
+ src: string;
834
+ } & {
835
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
836
+ alt?: string | null | undefined;
837
+ height?: string | number | null | undefined;
838
+ width?: string | number | null | undefined;
839
+ rotate?: string | null | undefined;
840
+ title?: string | null | undefined;
841
+ fileName?: string | null | undefined;
842
+ }) | undefined;
843
+ }) | ({
844
+ type: "hardBreak";
845
+ } & {
846
+ marks?: {
847
+ type: "bold" | "strike" | "italic";
848
+ }[] | undefined;
849
+ }))[] | undefined;
850
+ }) | {
851
+ type: "bulletList";
852
+ content?: ({
853
+ type: "listItem";
854
+ } & {
855
+ content?: (({
856
+ type: "paragraph";
857
+ } & {
858
+ content?: (({
859
+ type: "text";
860
+ text: string;
861
+ } & {
862
+ marks?: ({
863
+ type: "bold" | "strike" | "italic";
864
+ } | {
865
+ type: "link";
866
+ attrs: {
867
+ href: string;
868
+ target: "_blank" | null;
869
+ auto: boolean;
870
+ };
871
+ })[] | undefined;
872
+ }) | ({
873
+ type: "image";
874
+ } & {
875
+ attrs?: ({
876
+ src: string;
877
+ } & {
878
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
879
+ alt?: string | null | undefined;
880
+ height?: string | number | null | undefined;
881
+ width?: string | number | null | undefined;
882
+ rotate?: string | null | undefined;
883
+ title?: string | null | undefined;
884
+ fileName?: string | null | undefined;
885
+ }) | undefined;
886
+ }) | ({
887
+ type: "hardBreak";
888
+ } & {
889
+ marks?: {
890
+ type: "bold" | "strike" | "italic";
891
+ }[] | undefined;
892
+ }))[] | undefined;
893
+ }) | any | {
894
+ type: "orderedList";
895
+ content?: ({
896
+ type: "listItem";
897
+ } & any)[] | undefined;
898
+ })[] | undefined;
899
+ })[] | undefined;
900
+ } | {
901
+ type: "orderedList";
902
+ content?: ({
903
+ type: "listItem";
904
+ } & any)[] | undefined;
905
+ })[] | undefined;
906
+ }>>>;
907
+ export type RemirrorListItem = z.infer<typeof RemirrorListItem>;
908
+ export declare const RemirrorParagraph: z.ZodIntersection<z.ZodObject<{
909
+ type: z.ZodLiteral<"paragraph">;
910
+ }, "strip", z.ZodTypeAny, {
911
+ type: "paragraph";
912
+ }, {
913
+ type: "paragraph";
914
+ }>, z.ZodObject<{
915
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
916
+ type: z.ZodLiteral<"text">;
917
+ text: z.ZodString;
918
+ }, "strip", z.ZodTypeAny, {
919
+ type: "text";
920
+ text: string;
921
+ }, {
922
+ type: "text";
923
+ text: string;
924
+ }>, z.ZodObject<{
925
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
926
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
927
+ }, "strip", z.ZodTypeAny, {
928
+ type: "bold" | "strike" | "italic";
929
+ }, {
930
+ type: "bold" | "strike" | "italic";
931
+ }>, z.ZodObject<{
932
+ type: z.ZodLiteral<"link">;
933
+ attrs: z.ZodObject<{
934
+ href: z.ZodString;
935
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
936
+ auto: z.ZodBoolean;
937
+ }, "strip", z.ZodTypeAny, {
938
+ href: string;
939
+ target: "_blank" | null;
940
+ auto: boolean;
941
+ }, {
942
+ href: string;
943
+ target: "_blank" | null;
944
+ auto: boolean;
945
+ }>;
946
+ }, "strip", z.ZodTypeAny, {
947
+ type: "link";
948
+ attrs: {
949
+ href: string;
950
+ target: "_blank" | null;
951
+ auto: boolean;
952
+ };
953
+ }, {
954
+ type: "link";
955
+ attrs: {
956
+ href: string;
957
+ target: "_blank" | null;
958
+ auto: boolean;
959
+ };
960
+ }>]>, "many">>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ marks?: ({
963
+ type: "bold" | "strike" | "italic";
964
+ } | {
965
+ type: "link";
966
+ attrs: {
967
+ href: string;
968
+ target: "_blank" | null;
969
+ auto: boolean;
970
+ };
971
+ })[] | undefined;
972
+ }, {
973
+ marks?: ({
974
+ type: "bold" | "strike" | "italic";
975
+ } | {
976
+ type: "link";
977
+ attrs: {
978
+ href: string;
979
+ target: "_blank" | null;
980
+ auto: boolean;
981
+ };
982
+ })[] | undefined;
983
+ }>>, z.ZodIntersection<z.ZodObject<{
984
+ type: z.ZodLiteral<"image">;
985
+ }, "strip", z.ZodTypeAny, {
986
+ type: "image";
987
+ }, {
988
+ type: "image";
989
+ }>, z.ZodObject<{
990
+ attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
991
+ src: z.ZodString;
992
+ }, "strip", z.ZodTypeAny, {
993
+ src: string;
994
+ }, {
995
+ src: string;
996
+ }>, z.ZodObject<{
997
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
998
+ alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
999
+ height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
1000
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
1001
+ rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1002
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1003
+ fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1004
+ }, "strip", z.ZodTypeAny, {
1005
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1006
+ alt?: string | null | undefined;
1007
+ height?: string | number | null | undefined;
1008
+ width?: string | number | null | undefined;
1009
+ rotate?: string | null | undefined;
1010
+ title?: string | null | undefined;
1011
+ fileName?: string | null | undefined;
1012
+ }, {
1013
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1014
+ alt?: string | null | undefined;
1015
+ height?: string | number | null | undefined;
1016
+ width?: string | number | null | undefined;
1017
+ rotate?: string | null | undefined;
1018
+ title?: string | null | undefined;
1019
+ fileName?: string | null | undefined;
1020
+ }>>>;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ attrs?: ({
1023
+ src: string;
1024
+ } & {
1025
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1026
+ alt?: string | null | undefined;
1027
+ height?: string | number | null | undefined;
1028
+ width?: string | number | null | undefined;
1029
+ rotate?: string | null | undefined;
1030
+ title?: string | null | undefined;
1031
+ fileName?: string | null | undefined;
1032
+ }) | undefined;
1033
+ }, {
1034
+ attrs?: ({
1035
+ src: string;
1036
+ } & {
1037
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1038
+ alt?: string | null | undefined;
1039
+ height?: string | number | null | undefined;
1040
+ width?: string | number | null | undefined;
1041
+ rotate?: string | null | undefined;
1042
+ title?: string | null | undefined;
1043
+ fileName?: string | null | undefined;
1044
+ }) | undefined;
1045
+ }>>, z.ZodIntersection<z.ZodObject<{
1046
+ type: z.ZodLiteral<"hardBreak">;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ type: "hardBreak";
1049
+ }, {
1050
+ type: "hardBreak";
1051
+ }>, z.ZodObject<{
1052
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1053
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ type: "bold" | "strike" | "italic";
1056
+ }, {
1057
+ type: "bold" | "strike" | "italic";
1058
+ }>, "many">>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ marks?: {
1061
+ type: "bold" | "strike" | "italic";
1062
+ }[] | undefined;
1063
+ }, {
1064
+ marks?: {
1065
+ type: "bold" | "strike" | "italic";
1066
+ }[] | undefined;
1067
+ }>>]>, "many">>;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ content?: (({
1070
+ type: "text";
1071
+ text: string;
1072
+ } & {
1073
+ marks?: ({
1074
+ type: "bold" | "strike" | "italic";
1075
+ } | {
1076
+ type: "link";
1077
+ attrs: {
1078
+ href: string;
1079
+ target: "_blank" | null;
1080
+ auto: boolean;
1081
+ };
1082
+ })[] | undefined;
1083
+ }) | ({
1084
+ type: "image";
1085
+ } & {
1086
+ attrs?: ({
1087
+ src: string;
1088
+ } & {
1089
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1090
+ alt?: string | null | undefined;
1091
+ height?: string | number | null | undefined;
1092
+ width?: string | number | null | undefined;
1093
+ rotate?: string | null | undefined;
1094
+ title?: string | null | undefined;
1095
+ fileName?: string | null | undefined;
1096
+ }) | undefined;
1097
+ }) | ({
1098
+ type: "hardBreak";
1099
+ } & {
1100
+ marks?: {
1101
+ type: "bold" | "strike" | "italic";
1102
+ }[] | undefined;
1103
+ }))[] | undefined;
1104
+ }, {
1105
+ content?: (({
1106
+ type: "text";
1107
+ text: string;
1108
+ } & {
1109
+ marks?: ({
1110
+ type: "bold" | "strike" | "italic";
1111
+ } | {
1112
+ type: "link";
1113
+ attrs: {
1114
+ href: string;
1115
+ target: "_blank" | null;
1116
+ auto: boolean;
1117
+ };
1118
+ })[] | undefined;
1119
+ }) | ({
1120
+ type: "image";
1121
+ } & {
1122
+ attrs?: ({
1123
+ src: string;
1124
+ } & {
1125
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1126
+ alt?: string | null | undefined;
1127
+ height?: string | number | null | undefined;
1128
+ width?: string | number | null | undefined;
1129
+ rotate?: string | null | undefined;
1130
+ title?: string | null | undefined;
1131
+ fileName?: string | null | undefined;
1132
+ }) | undefined;
1133
+ }) | ({
1134
+ type: "hardBreak";
1135
+ } & {
1136
+ marks?: {
1137
+ type: "bold" | "strike" | "italic";
1138
+ }[] | undefined;
1139
+ }))[] | undefined;
1140
+ }>>;
1141
+ export type RemirrorParagraph = z.infer<typeof RemirrorParagraph>;
1142
+ export declare const RemirrorJSON: z.ZodObject<{
1143
+ type: z.ZodLiteral<"doc">;
1144
+ content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
1145
+ type: z.ZodLiteral<"paragraph">;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ type: "paragraph";
1148
+ }, {
1149
+ type: "paragraph";
1150
+ }>, z.ZodObject<{
1151
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
1152
+ type: z.ZodLiteral<"text">;
1153
+ text: z.ZodString;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ type: "text";
1156
+ text: string;
1157
+ }, {
1158
+ type: "text";
1159
+ text: string;
1160
+ }>, z.ZodObject<{
1161
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1162
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ type: "bold" | "strike" | "italic";
1165
+ }, {
1166
+ type: "bold" | "strike" | "italic";
1167
+ }>, z.ZodObject<{
1168
+ type: z.ZodLiteral<"link">;
1169
+ attrs: z.ZodObject<{
1170
+ href: z.ZodString;
1171
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
1172
+ auto: z.ZodBoolean;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ href: string;
1175
+ target: "_blank" | null;
1176
+ auto: boolean;
1177
+ }, {
1178
+ href: string;
1179
+ target: "_blank" | null;
1180
+ auto: boolean;
1181
+ }>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ type: "link";
1184
+ attrs: {
1185
+ href: string;
1186
+ target: "_blank" | null;
1187
+ auto: boolean;
1188
+ };
1189
+ }, {
1190
+ type: "link";
1191
+ attrs: {
1192
+ href: string;
1193
+ target: "_blank" | null;
1194
+ auto: boolean;
1195
+ };
1196
+ }>]>, "many">>;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ marks?: ({
1199
+ type: "bold" | "strike" | "italic";
1200
+ } | {
1201
+ type: "link";
1202
+ attrs: {
1203
+ href: string;
1204
+ target: "_blank" | null;
1205
+ auto: boolean;
1206
+ };
1207
+ })[] | undefined;
1208
+ }, {
1209
+ marks?: ({
1210
+ type: "bold" | "strike" | "italic";
1211
+ } | {
1212
+ type: "link";
1213
+ attrs: {
1214
+ href: string;
1215
+ target: "_blank" | null;
1216
+ auto: boolean;
1217
+ };
1218
+ })[] | undefined;
1219
+ }>>, z.ZodIntersection<z.ZodObject<{
1220
+ type: z.ZodLiteral<"image">;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ type: "image";
1223
+ }, {
1224
+ type: "image";
1225
+ }>, z.ZodObject<{
1226
+ attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
1227
+ src: z.ZodString;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ src: string;
1230
+ }, {
1231
+ src: string;
1232
+ }>, z.ZodObject<{
1233
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
1234
+ alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1235
+ height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
1236
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
1237
+ rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1238
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1239
+ fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1242
+ alt?: string | null | undefined;
1243
+ height?: string | number | null | undefined;
1244
+ width?: string | number | null | undefined;
1245
+ rotate?: string | null | undefined;
1246
+ title?: string | null | undefined;
1247
+ fileName?: string | null | undefined;
1248
+ }, {
1249
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1250
+ alt?: string | null | undefined;
1251
+ height?: string | number | null | undefined;
1252
+ width?: string | number | null | undefined;
1253
+ rotate?: string | null | undefined;
1254
+ title?: string | null | undefined;
1255
+ fileName?: string | null | undefined;
1256
+ }>>>;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ attrs?: ({
1259
+ src: string;
1260
+ } & {
1261
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1262
+ alt?: string | null | undefined;
1263
+ height?: string | number | null | undefined;
1264
+ width?: string | number | null | undefined;
1265
+ rotate?: string | null | undefined;
1266
+ title?: string | null | undefined;
1267
+ fileName?: string | null | undefined;
1268
+ }) | undefined;
1269
+ }, {
1270
+ attrs?: ({
1271
+ src: string;
1272
+ } & {
1273
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1274
+ alt?: string | null | undefined;
1275
+ height?: string | number | null | undefined;
1276
+ width?: string | number | null | undefined;
1277
+ rotate?: string | null | undefined;
1278
+ title?: string | null | undefined;
1279
+ fileName?: string | null | undefined;
1280
+ }) | undefined;
1281
+ }>>, z.ZodIntersection<z.ZodObject<{
1282
+ type: z.ZodLiteral<"hardBreak">;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ type: "hardBreak";
1285
+ }, {
1286
+ type: "hardBreak";
1287
+ }>, z.ZodObject<{
1288
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1289
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ type: "bold" | "strike" | "italic";
1292
+ }, {
1293
+ type: "bold" | "strike" | "italic";
1294
+ }>, "many">>;
1295
+ }, "strip", z.ZodTypeAny, {
1296
+ marks?: {
1297
+ type: "bold" | "strike" | "italic";
1298
+ }[] | undefined;
1299
+ }, {
1300
+ marks?: {
1301
+ type: "bold" | "strike" | "italic";
1302
+ }[] | undefined;
1303
+ }>>]>, "many">>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ content?: (({
1306
+ type: "text";
1307
+ text: string;
1308
+ } & {
1309
+ marks?: ({
1310
+ type: "bold" | "strike" | "italic";
1311
+ } | {
1312
+ type: "link";
1313
+ attrs: {
1314
+ href: string;
1315
+ target: "_blank" | null;
1316
+ auto: boolean;
1317
+ };
1318
+ })[] | undefined;
1319
+ }) | ({
1320
+ type: "image";
1321
+ } & {
1322
+ attrs?: ({
1323
+ src: string;
1324
+ } & {
1325
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1326
+ alt?: string | null | undefined;
1327
+ height?: string | number | null | undefined;
1328
+ width?: string | number | null | undefined;
1329
+ rotate?: string | null | undefined;
1330
+ title?: string | null | undefined;
1331
+ fileName?: string | null | undefined;
1332
+ }) | undefined;
1333
+ }) | ({
1334
+ type: "hardBreak";
1335
+ } & {
1336
+ marks?: {
1337
+ type: "bold" | "strike" | "italic";
1338
+ }[] | undefined;
1339
+ }))[] | undefined;
1340
+ }, {
1341
+ content?: (({
1342
+ type: "text";
1343
+ text: string;
1344
+ } & {
1345
+ marks?: ({
1346
+ type: "bold" | "strike" | "italic";
1347
+ } | {
1348
+ type: "link";
1349
+ attrs: {
1350
+ href: string;
1351
+ target: "_blank" | null;
1352
+ auto: boolean;
1353
+ };
1354
+ })[] | undefined;
1355
+ }) | ({
1356
+ type: "image";
1357
+ } & {
1358
+ attrs?: ({
1359
+ src: string;
1360
+ } & {
1361
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1362
+ alt?: string | null | undefined;
1363
+ height?: string | number | null | undefined;
1364
+ width?: string | number | null | undefined;
1365
+ rotate?: string | null | undefined;
1366
+ title?: string | null | undefined;
1367
+ fileName?: string | null | undefined;
1368
+ }) | undefined;
1369
+ }) | ({
1370
+ type: "hardBreak";
1371
+ } & {
1372
+ marks?: {
1373
+ type: "bold" | "strike" | "italic";
1374
+ }[] | undefined;
1375
+ }))[] | undefined;
1376
+ }>>, z.ZodIntersection<z.ZodObject<{
1377
+ type: z.ZodLiteral<"heading">;
1378
+ }, "strip", z.ZodTypeAny, {
1379
+ type: "heading";
1380
+ }, {
1381
+ type: "heading";
1382
+ }>, z.ZodObject<{
1383
+ attrs: z.ZodOptional<z.ZodObject<{
1384
+ level: z.ZodNumber;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ level: number;
1387
+ }, {
1388
+ level: number;
1389
+ }>>;
1390
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
1391
+ type: z.ZodLiteral<"text">;
1392
+ text: z.ZodString;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ type: "text";
1395
+ text: string;
1396
+ }, {
1397
+ type: "text";
1398
+ text: string;
1399
+ }>, z.ZodObject<{
1400
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1401
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
1402
+ }, "strip", z.ZodTypeAny, {
1403
+ type: "bold" | "strike" | "italic";
1404
+ }, {
1405
+ type: "bold" | "strike" | "italic";
1406
+ }>, z.ZodObject<{
1407
+ type: z.ZodLiteral<"link">;
1408
+ attrs: z.ZodObject<{
1409
+ href: z.ZodString;
1410
+ target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
1411
+ auto: z.ZodBoolean;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ href: string;
1414
+ target: "_blank" | null;
1415
+ auto: boolean;
1416
+ }, {
1417
+ href: string;
1418
+ target: "_blank" | null;
1419
+ auto: boolean;
1420
+ }>;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ type: "link";
1423
+ attrs: {
1424
+ href: string;
1425
+ target: "_blank" | null;
1426
+ auto: boolean;
1427
+ };
1428
+ }, {
1429
+ type: "link";
1430
+ attrs: {
1431
+ href: string;
1432
+ target: "_blank" | null;
1433
+ auto: boolean;
1434
+ };
1435
+ }>]>, "many">>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ marks?: ({
1438
+ type: "bold" | "strike" | "italic";
1439
+ } | {
1440
+ type: "link";
1441
+ attrs: {
1442
+ href: string;
1443
+ target: "_blank" | null;
1444
+ auto: boolean;
1445
+ };
1446
+ })[] | undefined;
1447
+ }, {
1448
+ marks?: ({
1449
+ type: "bold" | "strike" | "italic";
1450
+ } | {
1451
+ type: "link";
1452
+ attrs: {
1453
+ href: string;
1454
+ target: "_blank" | null;
1455
+ auto: boolean;
1456
+ };
1457
+ })[] | undefined;
1458
+ }>>, z.ZodIntersection<z.ZodObject<{
1459
+ type: z.ZodLiteral<"hardBreak">;
1460
+ }, "strip", z.ZodTypeAny, {
1461
+ type: "hardBreak";
1462
+ }, {
1463
+ type: "hardBreak";
1464
+ }>, z.ZodObject<{
1465
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1466
+ type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ type: "bold" | "strike" | "italic";
1469
+ }, {
1470
+ type: "bold" | "strike" | "italic";
1471
+ }>, "many">>;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ marks?: {
1474
+ type: "bold" | "strike" | "italic";
1475
+ }[] | undefined;
1476
+ }, {
1477
+ marks?: {
1478
+ type: "bold" | "strike" | "italic";
1479
+ }[] | undefined;
1480
+ }>>]>, "many">>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ attrs?: {
1483
+ level: number;
1484
+ } | undefined;
1485
+ content?: (({
1486
+ type: "text";
1487
+ text: string;
1488
+ } & {
1489
+ marks?: ({
1490
+ type: "bold" | "strike" | "italic";
1491
+ } | {
1492
+ type: "link";
1493
+ attrs: {
1494
+ href: string;
1495
+ target: "_blank" | null;
1496
+ auto: boolean;
1497
+ };
1498
+ })[] | undefined;
1499
+ }) | ({
1500
+ type: "hardBreak";
1501
+ } & {
1502
+ marks?: {
1503
+ type: "bold" | "strike" | "italic";
1504
+ }[] | undefined;
1505
+ }))[] | undefined;
1506
+ }, {
1507
+ attrs?: {
1508
+ level: number;
1509
+ } | undefined;
1510
+ content?: (({
1511
+ type: "text";
1512
+ text: string;
1513
+ } & {
1514
+ marks?: ({
1515
+ type: "bold" | "strike" | "italic";
1516
+ } | {
1517
+ type: "link";
1518
+ attrs: {
1519
+ href: string;
1520
+ target: "_blank" | null;
1521
+ auto: boolean;
1522
+ };
1523
+ })[] | undefined;
1524
+ }) | ({
1525
+ type: "hardBreak";
1526
+ } & {
1527
+ marks?: {
1528
+ type: "bold" | "strike" | "italic";
1529
+ }[] | undefined;
1530
+ }))[] | undefined;
1531
+ }>>, z.ZodType<{
1532
+ type: "bulletList";
1533
+ content?: ({
1534
+ type: "listItem";
1535
+ } & {
1536
+ content?: (({
1537
+ type: "paragraph";
1538
+ } & {
1539
+ content?: (({
1540
+ type: "text";
1541
+ text: string;
1542
+ } & {
1543
+ marks?: ({
1544
+ type: "bold" | "strike" | "italic";
1545
+ } | {
1546
+ type: "link";
1547
+ attrs: {
1548
+ href: string;
1549
+ target: "_blank" | null;
1550
+ auto: boolean;
1551
+ };
1552
+ })[] | undefined;
1553
+ }) | ({
1554
+ type: "image";
1555
+ } & {
1556
+ attrs?: ({
1557
+ src: string;
1558
+ } & {
1559
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1560
+ alt?: string | null | undefined;
1561
+ height?: string | number | null | undefined;
1562
+ width?: string | number | null | undefined;
1563
+ rotate?: string | null | undefined;
1564
+ title?: string | null | undefined;
1565
+ fileName?: string | null | undefined;
1566
+ }) | undefined;
1567
+ }) | ({
1568
+ type: "hardBreak";
1569
+ } & {
1570
+ marks?: {
1571
+ type: "bold" | "strike" | "italic";
1572
+ }[] | undefined;
1573
+ }))[] | undefined;
1574
+ }) | any | {
1575
+ type: "orderedList";
1576
+ content?: ({
1577
+ type: "listItem";
1578
+ } & any)[] | undefined;
1579
+ })[] | undefined;
1580
+ })[] | undefined;
1581
+ }, z.ZodTypeDef, {
1582
+ type: "bulletList";
1583
+ content?: ({
1584
+ type: "listItem";
1585
+ } & {
1586
+ content?: (({
1587
+ type: "paragraph";
1588
+ } & {
1589
+ content?: (({
1590
+ type: "text";
1591
+ text: string;
1592
+ } & {
1593
+ marks?: ({
1594
+ type: "bold" | "strike" | "italic";
1595
+ } | {
1596
+ type: "link";
1597
+ attrs: {
1598
+ href: string;
1599
+ target: "_blank" | null;
1600
+ auto: boolean;
1601
+ };
1602
+ })[] | undefined;
1603
+ }) | ({
1604
+ type: "image";
1605
+ } & {
1606
+ attrs?: ({
1607
+ src: string;
1608
+ } & {
1609
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1610
+ alt?: string | null | undefined;
1611
+ height?: string | number | null | undefined;
1612
+ width?: string | number | null | undefined;
1613
+ rotate?: string | null | undefined;
1614
+ title?: string | null | undefined;
1615
+ fileName?: string | null | undefined;
1616
+ }) | undefined;
1617
+ }) | ({
1618
+ type: "hardBreak";
1619
+ } & {
1620
+ marks?: {
1621
+ type: "bold" | "strike" | "italic";
1622
+ }[] | undefined;
1623
+ }))[] | undefined;
1624
+ }) | any | {
1625
+ type: "orderedList";
1626
+ content?: ({
1627
+ type: "listItem";
1628
+ } & any)[] | undefined;
1629
+ })[] | undefined;
1630
+ })[] | undefined;
1631
+ }>, z.ZodType<{
1632
+ type: "orderedList";
1633
+ content?: ({
1634
+ type: "listItem";
1635
+ } & any)[] | undefined;
1636
+ }, z.ZodTypeDef, {
1637
+ type: "orderedList";
1638
+ content?: ({
1639
+ type: "listItem";
1640
+ } & any)[] | undefined;
1641
+ }>]>, "many">;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ type: "doc";
1644
+ content: (({
1645
+ type: "paragraph";
1646
+ } & {
1647
+ content?: (({
1648
+ type: "text";
1649
+ text: string;
1650
+ } & {
1651
+ marks?: ({
1652
+ type: "bold" | "strike" | "italic";
1653
+ } | {
1654
+ type: "link";
1655
+ attrs: {
1656
+ href: string;
1657
+ target: "_blank" | null;
1658
+ auto: boolean;
1659
+ };
1660
+ })[] | undefined;
1661
+ }) | ({
1662
+ type: "image";
1663
+ } & {
1664
+ attrs?: ({
1665
+ src: string;
1666
+ } & {
1667
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1668
+ alt?: string | null | undefined;
1669
+ height?: string | number | null | undefined;
1670
+ width?: string | number | null | undefined;
1671
+ rotate?: string | null | undefined;
1672
+ title?: string | null | undefined;
1673
+ fileName?: string | null | undefined;
1674
+ }) | undefined;
1675
+ }) | ({
1676
+ type: "hardBreak";
1677
+ } & {
1678
+ marks?: {
1679
+ type: "bold" | "strike" | "italic";
1680
+ }[] | undefined;
1681
+ }))[] | undefined;
1682
+ }) | ({
1683
+ type: "heading";
1684
+ } & {
1685
+ attrs?: {
1686
+ level: number;
1687
+ } | undefined;
1688
+ content?: (({
1689
+ type: "text";
1690
+ text: string;
1691
+ } & {
1692
+ marks?: ({
1693
+ type: "bold" | "strike" | "italic";
1694
+ } | {
1695
+ type: "link";
1696
+ attrs: {
1697
+ href: string;
1698
+ target: "_blank" | null;
1699
+ auto: boolean;
1700
+ };
1701
+ })[] | undefined;
1702
+ }) | ({
1703
+ type: "hardBreak";
1704
+ } & {
1705
+ marks?: {
1706
+ type: "bold" | "strike" | "italic";
1707
+ }[] | undefined;
1708
+ }))[] | undefined;
1709
+ }) | {
1710
+ type: "bulletList";
1711
+ content?: ({
1712
+ type: "listItem";
1713
+ } & {
1714
+ content?: (({
1715
+ type: "paragraph";
1716
+ } & {
1717
+ content?: (({
1718
+ type: "text";
1719
+ text: string;
1720
+ } & {
1721
+ marks?: ({
1722
+ type: "bold" | "strike" | "italic";
1723
+ } | {
1724
+ type: "link";
1725
+ attrs: {
1726
+ href: string;
1727
+ target: "_blank" | null;
1728
+ auto: boolean;
1729
+ };
1730
+ })[] | undefined;
1731
+ }) | ({
1732
+ type: "image";
1733
+ } & {
1734
+ attrs?: ({
1735
+ src: string;
1736
+ } & {
1737
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1738
+ alt?: string | null | undefined;
1739
+ height?: string | number | null | undefined;
1740
+ width?: string | number | null | undefined;
1741
+ rotate?: string | null | undefined;
1742
+ title?: string | null | undefined;
1743
+ fileName?: string | null | undefined;
1744
+ }) | undefined;
1745
+ }) | ({
1746
+ type: "hardBreak";
1747
+ } & {
1748
+ marks?: {
1749
+ type: "bold" | "strike" | "italic";
1750
+ }[] | undefined;
1751
+ }))[] | undefined;
1752
+ }) | any | {
1753
+ type: "orderedList";
1754
+ content?: ({
1755
+ type: "listItem";
1756
+ } & any)[] | undefined;
1757
+ })[] | undefined;
1758
+ })[] | undefined;
1759
+ } | {
1760
+ type: "orderedList";
1761
+ content?: ({
1762
+ type: "listItem";
1763
+ } & any)[] | undefined;
1764
+ })[];
1765
+ }, {
1766
+ type: "doc";
1767
+ content: (({
1768
+ type: "paragraph";
1769
+ } & {
1770
+ content?: (({
1771
+ type: "text";
1772
+ text: string;
1773
+ } & {
1774
+ marks?: ({
1775
+ type: "bold" | "strike" | "italic";
1776
+ } | {
1777
+ type: "link";
1778
+ attrs: {
1779
+ href: string;
1780
+ target: "_blank" | null;
1781
+ auto: boolean;
1782
+ };
1783
+ })[] | undefined;
1784
+ }) | ({
1785
+ type: "image";
1786
+ } & {
1787
+ attrs?: ({
1788
+ src: string;
1789
+ } & {
1790
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1791
+ alt?: string | null | undefined;
1792
+ height?: string | number | null | undefined;
1793
+ width?: string | number | null | undefined;
1794
+ rotate?: string | null | undefined;
1795
+ title?: string | null | undefined;
1796
+ fileName?: string | null | undefined;
1797
+ }) | undefined;
1798
+ }) | ({
1799
+ type: "hardBreak";
1800
+ } & {
1801
+ marks?: {
1802
+ type: "bold" | "strike" | "italic";
1803
+ }[] | undefined;
1804
+ }))[] | undefined;
1805
+ }) | ({
1806
+ type: "heading";
1807
+ } & {
1808
+ attrs?: {
1809
+ level: number;
1810
+ } | undefined;
1811
+ content?: (({
1812
+ type: "text";
1813
+ text: string;
1814
+ } & {
1815
+ marks?: ({
1816
+ type: "bold" | "strike" | "italic";
1817
+ } | {
1818
+ type: "link";
1819
+ attrs: {
1820
+ href: string;
1821
+ target: "_blank" | null;
1822
+ auto: boolean;
1823
+ };
1824
+ })[] | undefined;
1825
+ }) | ({
1826
+ type: "hardBreak";
1827
+ } & {
1828
+ marks?: {
1829
+ type: "bold" | "strike" | "italic";
1830
+ }[] | undefined;
1831
+ }))[] | undefined;
1832
+ }) | {
1833
+ type: "bulletList";
1834
+ content?: ({
1835
+ type: "listItem";
1836
+ } & {
1837
+ content?: (({
1838
+ type: "paragraph";
1839
+ } & {
1840
+ content?: (({
1841
+ type: "text";
1842
+ text: string;
1843
+ } & {
1844
+ marks?: ({
1845
+ type: "bold" | "strike" | "italic";
1846
+ } | {
1847
+ type: "link";
1848
+ attrs: {
1849
+ href: string;
1850
+ target: "_blank" | null;
1851
+ auto: boolean;
1852
+ };
1853
+ })[] | undefined;
1854
+ }) | ({
1855
+ type: "image";
1856
+ } & {
1857
+ attrs?: ({
1858
+ src: string;
1859
+ } & {
1860
+ align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1861
+ alt?: string | null | undefined;
1862
+ height?: string | number | null | undefined;
1863
+ width?: string | number | null | undefined;
1864
+ rotate?: string | null | undefined;
1865
+ title?: string | null | undefined;
1866
+ fileName?: string | null | undefined;
1867
+ }) | undefined;
1868
+ }) | ({
1869
+ type: "hardBreak";
1870
+ } & {
1871
+ marks?: {
1872
+ type: "bold" | "strike" | "italic";
1873
+ }[] | undefined;
1874
+ }))[] | undefined;
1875
+ }) | any | {
1876
+ type: "orderedList";
1877
+ content?: ({
1878
+ type: "listItem";
1879
+ } & any)[] | undefined;
1880
+ })[] | undefined;
1881
+ })[] | undefined;
1882
+ } | {
1883
+ type: "orderedList";
1884
+ content?: ({
1885
+ type: "listItem";
1886
+ } & any)[] | undefined;
1887
+ })[];
1888
+ }>;
1889
+ export type RemirrorJSON = z.infer<typeof RemirrorJSON>;