@kontakto/email-template-editor 1.6.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -15,6 +15,8 @@ declare const TextPropsSchema: z.ZodObject<{
15
15
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
16
16
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
17
17
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
18
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
18
20
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
19
21
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
20
22
  top: z.ZodNumber;
@@ -38,6 +40,8 @@ declare const TextPropsSchema: z.ZodObject<{
38
40
  fontSize?: number | null | undefined;
39
41
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
40
42
  fontWeight?: "bold" | "normal" | null | undefined;
43
+ lineHeight?: number | null | undefined;
44
+ letterSpacing?: number | null | undefined;
41
45
  textAlign?: "right" | "left" | "center" | null | undefined;
42
46
  padding?: {
43
47
  top: number;
@@ -51,6 +55,8 @@ declare const TextPropsSchema: z.ZodObject<{
51
55
  fontSize?: number | null | undefined;
52
56
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
53
57
  fontWeight?: "bold" | "normal" | null | undefined;
58
+ lineHeight?: number | null | undefined;
59
+ letterSpacing?: number | null | undefined;
54
60
  textAlign?: "right" | "left" | "center" | null | undefined;
55
61
  padding?: {
56
62
  top: number;
@@ -76,6 +82,8 @@ declare const TextPropsSchema: z.ZodObject<{
76
82
  fontSize?: number | null | undefined;
77
83
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
78
84
  fontWeight?: "bold" | "normal" | null | undefined;
85
+ lineHeight?: number | null | undefined;
86
+ letterSpacing?: number | null | undefined;
79
87
  textAlign?: "right" | "left" | "center" | null | undefined;
80
88
  padding?: {
81
89
  top: number;
@@ -95,6 +103,8 @@ declare const TextPropsSchema: z.ZodObject<{
95
103
  fontSize?: number | null | undefined;
96
104
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
97
105
  fontWeight?: "bold" | "normal" | null | undefined;
106
+ lineHeight?: number | null | undefined;
107
+ letterSpacing?: number | null | undefined;
98
108
  textAlign?: "right" | "left" | "center" | null | undefined;
99
109
  padding?: {
100
110
  top: number;
@@ -116,6 +126,8 @@ declare const TextProps: z.ZodObject<{
116
126
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
117
127
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
118
128
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
129
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
130
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
119
131
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
120
132
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
121
133
  top: z.ZodNumber;
@@ -139,6 +151,8 @@ declare const TextProps: z.ZodObject<{
139
151
  fontSize?: number | null | undefined;
140
152
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
141
153
  fontWeight?: "bold" | "normal" | null | undefined;
154
+ lineHeight?: number | null | undefined;
155
+ letterSpacing?: number | null | undefined;
142
156
  textAlign?: "right" | "left" | "center" | null | undefined;
143
157
  padding?: {
144
158
  top: number;
@@ -152,6 +166,8 @@ declare const TextProps: z.ZodObject<{
152
166
  fontSize?: number | null | undefined;
153
167
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
154
168
  fontWeight?: "bold" | "normal" | null | undefined;
169
+ lineHeight?: number | null | undefined;
170
+ letterSpacing?: number | null | undefined;
155
171
  textAlign?: "right" | "left" | "center" | null | undefined;
156
172
  padding?: {
157
173
  top: number;
@@ -177,6 +193,8 @@ declare const TextProps: z.ZodObject<{
177
193
  fontSize?: number | null | undefined;
178
194
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
179
195
  fontWeight?: "bold" | "normal" | null | undefined;
196
+ lineHeight?: number | null | undefined;
197
+ letterSpacing?: number | null | undefined;
180
198
  textAlign?: "right" | "left" | "center" | null | undefined;
181
199
  padding?: {
182
200
  top: number;
@@ -196,6 +214,8 @@ declare const TextProps: z.ZodObject<{
196
214
  fontSize?: number | null | undefined;
197
215
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
198
216
  fontWeight?: "bold" | "normal" | null | undefined;
217
+ lineHeight?: number | null | undefined;
218
+ letterSpacing?: number | null | undefined;
199
219
  textAlign?: "right" | "left" | "center" | null | undefined;
200
220
  padding?: {
201
221
  top: number;
@@ -399,6 +419,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
399
419
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
400
420
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
401
421
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
422
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
423
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
402
424
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
403
425
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
404
426
  top: z.ZodNumber;
@@ -421,6 +443,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
421
443
  fontSize?: number | null | undefined;
422
444
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
423
445
  fontWeight?: "bold" | "normal" | null | undefined;
446
+ lineHeight?: number | null | undefined;
447
+ letterSpacing?: number | null | undefined;
424
448
  textAlign?: "right" | "left" | "center" | null | undefined;
425
449
  padding?: {
426
450
  top: number;
@@ -433,6 +457,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
433
457
  fontSize?: number | null | undefined;
434
458
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
435
459
  fontWeight?: "bold" | "normal" | null | undefined;
460
+ lineHeight?: number | null | undefined;
461
+ letterSpacing?: number | null | undefined;
436
462
  textAlign?: "right" | "left" | "center" | null | undefined;
437
463
  padding?: {
438
464
  top: number;
@@ -472,6 +498,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
472
498
  fontSize?: number | null | undefined;
473
499
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
474
500
  fontWeight?: "bold" | "normal" | null | undefined;
501
+ lineHeight?: number | null | undefined;
502
+ letterSpacing?: number | null | undefined;
475
503
  textAlign?: "right" | "left" | "center" | null | undefined;
476
504
  padding?: {
477
505
  top: number;
@@ -495,6 +523,8 @@ declare const ButtonPropsSchema: z.ZodObject<{
495
523
  fontSize?: number | null | undefined;
496
524
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
497
525
  fontWeight?: "bold" | "normal" | null | undefined;
526
+ lineHeight?: number | null | undefined;
527
+ letterSpacing?: number | null | undefined;
498
528
  textAlign?: "right" | "left" | "center" | null | undefined;
499
529
  padding?: {
500
530
  top: number;
@@ -520,6 +550,8 @@ declare const ButtonProps: z.ZodObject<{
520
550
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
521
551
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
522
552
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
553
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
554
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
523
555
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
524
556
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
525
557
  top: z.ZodNumber;
@@ -542,6 +574,8 @@ declare const ButtonProps: z.ZodObject<{
542
574
  fontSize?: number | null | undefined;
543
575
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
544
576
  fontWeight?: "bold" | "normal" | null | undefined;
577
+ lineHeight?: number | null | undefined;
578
+ letterSpacing?: number | null | undefined;
545
579
  textAlign?: "right" | "left" | "center" | null | undefined;
546
580
  padding?: {
547
581
  top: number;
@@ -554,6 +588,8 @@ declare const ButtonProps: z.ZodObject<{
554
588
  fontSize?: number | null | undefined;
555
589
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
556
590
  fontWeight?: "bold" | "normal" | null | undefined;
591
+ lineHeight?: number | null | undefined;
592
+ letterSpacing?: number | null | undefined;
557
593
  textAlign?: "right" | "left" | "center" | null | undefined;
558
594
  padding?: {
559
595
  top: number;
@@ -593,6 +629,8 @@ declare const ButtonProps: z.ZodObject<{
593
629
  fontSize?: number | null | undefined;
594
630
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
595
631
  fontWeight?: "bold" | "normal" | null | undefined;
632
+ lineHeight?: number | null | undefined;
633
+ letterSpacing?: number | null | undefined;
596
634
  textAlign?: "right" | "left" | "center" | null | undefined;
597
635
  padding?: {
598
636
  top: number;
@@ -616,6 +654,8 @@ declare const ButtonProps: z.ZodObject<{
616
654
  fontSize?: number | null | undefined;
617
655
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
618
656
  fontWeight?: "bold" | "normal" | null | undefined;
657
+ lineHeight?: number | null | undefined;
658
+ letterSpacing?: number | null | undefined;
619
659
  textAlign?: "right" | "left" | "center" | null | undefined;
620
660
  padding?: {
621
661
  top: number;
@@ -1001,11 +1041,11 @@ declare const DividerPropsSchema: z.ZodObject<{
1001
1041
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
1042
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1003
1043
  }, "strip", z.ZodTypeAny, {
1004
- lineColor?: string | null | undefined;
1005
1044
  lineHeight?: number | null | undefined;
1006
- }, {
1007
1045
  lineColor?: string | null | undefined;
1046
+ }, {
1008
1047
  lineHeight?: number | null | undefined;
1048
+ lineColor?: string | null | undefined;
1009
1049
  }>>>;
1010
1050
  }, "strip", z.ZodTypeAny, {
1011
1051
  style?: {
@@ -1018,8 +1058,8 @@ declare const DividerPropsSchema: z.ZodObject<{
1018
1058
  } | null | undefined;
1019
1059
  } | null | undefined;
1020
1060
  props?: {
1021
- lineColor?: string | null | undefined;
1022
1061
  lineHeight?: number | null | undefined;
1062
+ lineColor?: string | null | undefined;
1023
1063
  } | null | undefined;
1024
1064
  }, {
1025
1065
  style?: {
@@ -1032,8 +1072,8 @@ declare const DividerPropsSchema: z.ZodObject<{
1032
1072
  } | null | undefined;
1033
1073
  } | null | undefined;
1034
1074
  props?: {
1035
- lineColor?: string | null | undefined;
1036
1075
  lineHeight?: number | null | undefined;
1076
+ lineColor?: string | null | undefined;
1037
1077
  } | null | undefined;
1038
1078
  }>;
1039
1079
  type DividerProps = z.infer<typeof DividerPropsSchema>;
@@ -1077,11 +1117,11 @@ declare const DividerProps: z.ZodObject<{
1077
1117
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
1118
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1079
1119
  }, "strip", z.ZodTypeAny, {
1080
- lineColor?: string | null | undefined;
1081
1120
  lineHeight?: number | null | undefined;
1082
- }, {
1083
1121
  lineColor?: string | null | undefined;
1122
+ }, {
1084
1123
  lineHeight?: number | null | undefined;
1124
+ lineColor?: string | null | undefined;
1085
1125
  }>>>;
1086
1126
  }, "strip", z.ZodTypeAny, {
1087
1127
  style?: {
@@ -1094,8 +1134,8 @@ declare const DividerProps: z.ZodObject<{
1094
1134
  } | null | undefined;
1095
1135
  } | null | undefined;
1096
1136
  props?: {
1097
- lineColor?: string | null | undefined;
1098
1137
  lineHeight?: number | null | undefined;
1138
+ lineColor?: string | null | undefined;
1099
1139
  } | null | undefined;
1100
1140
  }, {
1101
1141
  style?: {
@@ -1108,8 +1148,8 @@ declare const DividerProps: z.ZodObject<{
1108
1148
  } | null | undefined;
1109
1149
  } | null | undefined;
1110
1150
  props?: {
1111
- lineColor?: string | null | undefined;
1112
1151
  lineHeight?: number | null | undefined;
1152
+ lineColor?: string | null | undefined;
1113
1153
  } | null | undefined;
1114
1154
  }>;
1115
1155
  declare const DividerPropsDefaults: {
@@ -1134,6 +1174,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1134
1174
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1135
1175
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
1136
1176
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
1177
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1178
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1137
1179
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
1138
1180
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1139
1181
  top: z.ZodNumber;
@@ -1156,6 +1198,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1156
1198
  backgroundColor?: string | null | undefined;
1157
1199
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1158
1200
  fontWeight?: "bold" | "normal" | null | undefined;
1201
+ lineHeight?: number | null | undefined;
1202
+ letterSpacing?: number | null | undefined;
1159
1203
  textAlign?: "right" | "left" | "center" | null | undefined;
1160
1204
  padding?: {
1161
1205
  top: number;
@@ -1168,6 +1212,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1168
1212
  backgroundColor?: string | null | undefined;
1169
1213
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1170
1214
  fontWeight?: "bold" | "normal" | null | undefined;
1215
+ lineHeight?: number | null | undefined;
1216
+ letterSpacing?: number | null | undefined;
1171
1217
  textAlign?: "right" | "left" | "center" | null | undefined;
1172
1218
  padding?: {
1173
1219
  top: number;
@@ -1182,6 +1228,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1182
1228
  backgroundColor?: string | null | undefined;
1183
1229
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1184
1230
  fontWeight?: "bold" | "normal" | null | undefined;
1231
+ lineHeight?: number | null | undefined;
1232
+ letterSpacing?: number | null | undefined;
1185
1233
  textAlign?: "right" | "left" | "center" | null | undefined;
1186
1234
  padding?: {
1187
1235
  top: number;
@@ -1200,6 +1248,8 @@ declare const HeadingPropsSchema: z.ZodObject<{
1200
1248
  backgroundColor?: string | null | undefined;
1201
1249
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1202
1250
  fontWeight?: "bold" | "normal" | null | undefined;
1251
+ lineHeight?: number | null | undefined;
1252
+ letterSpacing?: number | null | undefined;
1203
1253
  textAlign?: "right" | "left" | "center" | null | undefined;
1204
1254
  padding?: {
1205
1255
  top: number;
@@ -1230,6 +1280,8 @@ declare const HeadingProps: z.ZodObject<{
1230
1280
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
1281
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
1232
1282
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
1283
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1284
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1233
1285
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
1234
1286
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1235
1287
  top: z.ZodNumber;
@@ -1252,6 +1304,8 @@ declare const HeadingProps: z.ZodObject<{
1252
1304
  backgroundColor?: string | null | undefined;
1253
1305
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1254
1306
  fontWeight?: "bold" | "normal" | null | undefined;
1307
+ lineHeight?: number | null | undefined;
1308
+ letterSpacing?: number | null | undefined;
1255
1309
  textAlign?: "right" | "left" | "center" | null | undefined;
1256
1310
  padding?: {
1257
1311
  top: number;
@@ -1264,6 +1318,8 @@ declare const HeadingProps: z.ZodObject<{
1264
1318
  backgroundColor?: string | null | undefined;
1265
1319
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1266
1320
  fontWeight?: "bold" | "normal" | null | undefined;
1321
+ lineHeight?: number | null | undefined;
1322
+ letterSpacing?: number | null | undefined;
1267
1323
  textAlign?: "right" | "left" | "center" | null | undefined;
1268
1324
  padding?: {
1269
1325
  top: number;
@@ -1278,6 +1334,8 @@ declare const HeadingProps: z.ZodObject<{
1278
1334
  backgroundColor?: string | null | undefined;
1279
1335
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1280
1336
  fontWeight?: "bold" | "normal" | null | undefined;
1337
+ lineHeight?: number | null | undefined;
1338
+ letterSpacing?: number | null | undefined;
1281
1339
  textAlign?: "right" | "left" | "center" | null | undefined;
1282
1340
  padding?: {
1283
1341
  top: number;
@@ -1296,6 +1354,8 @@ declare const HeadingProps: z.ZodObject<{
1296
1354
  backgroundColor?: string | null | undefined;
1297
1355
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
1298
1356
  fontWeight?: "bold" | "normal" | null | undefined;
1357
+ lineHeight?: number | null | undefined;
1358
+ letterSpacing?: number | null | undefined;
1299
1359
  textAlign?: "right" | "left" | "center" | null | undefined;
1300
1360
  padding?: {
1301
1361
  top: number;
@@ -2324,6 +2384,20 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2324
2384
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2325
2385
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2326
2386
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2387
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2388
+ variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2389
+ name: z.ZodString;
2390
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2391
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2392
+ }, "strip", z.ZodTypeAny, {
2393
+ name: string;
2394
+ description?: string | null | undefined;
2395
+ sampleValue?: string | null | undefined;
2396
+ }, {
2397
+ name: string;
2398
+ description?: string | null | undefined;
2399
+ sampleValue?: string | null | undefined;
2400
+ }>, "many">>>;
2327
2401
  }, "strip", z.ZodTypeAny, {
2328
2402
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2329
2403
  borderColor?: string | null | undefined;
@@ -2333,6 +2407,12 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2333
2407
  backdropColor?: string | null | undefined;
2334
2408
  backdropDisabled?: boolean | null | undefined;
2335
2409
  canvasColor?: string | null | undefined;
2410
+ subject?: string | null | undefined;
2411
+ variables?: {
2412
+ name: string;
2413
+ description?: string | null | undefined;
2414
+ sampleValue?: string | null | undefined;
2415
+ }[] | null | undefined;
2336
2416
  }, {
2337
2417
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2338
2418
  borderColor?: string | null | undefined;
@@ -2342,6 +2422,12 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2342
2422
  backdropColor?: string | null | undefined;
2343
2423
  backdropDisabled?: boolean | null | undefined;
2344
2424
  canvasColor?: string | null | undefined;
2425
+ subject?: string | null | undefined;
2426
+ variables?: {
2427
+ name: string;
2428
+ description?: string | null | undefined;
2429
+ sampleValue?: string | null | undefined;
2430
+ }[] | null | undefined;
2345
2431
  }>;
2346
2432
  Avatar: z.ZodObject<{
2347
2433
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -2434,6 +2520,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2434
2520
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2435
2521
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2436
2522
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
2523
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2524
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2437
2525
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2438
2526
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2439
2527
  top: z.ZodNumber;
@@ -2456,6 +2544,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2456
2544
  fontSize?: number | null | undefined;
2457
2545
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2458
2546
  fontWeight?: "bold" | "normal" | null | undefined;
2547
+ lineHeight?: number | null | undefined;
2548
+ letterSpacing?: number | null | undefined;
2459
2549
  textAlign?: "right" | "left" | "center" | null | undefined;
2460
2550
  padding?: {
2461
2551
  top: number;
@@ -2468,6 +2558,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2468
2558
  fontSize?: number | null | undefined;
2469
2559
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2470
2560
  fontWeight?: "bold" | "normal" | null | undefined;
2561
+ lineHeight?: number | null | undefined;
2562
+ letterSpacing?: number | null | undefined;
2471
2563
  textAlign?: "right" | "left" | "center" | null | undefined;
2472
2564
  padding?: {
2473
2565
  top: number;
@@ -2507,6 +2599,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2507
2599
  fontSize?: number | null | undefined;
2508
2600
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2509
2601
  fontWeight?: "bold" | "normal" | null | undefined;
2602
+ lineHeight?: number | null | undefined;
2603
+ letterSpacing?: number | null | undefined;
2510
2604
  textAlign?: "right" | "left" | "center" | null | undefined;
2511
2605
  padding?: {
2512
2606
  top: number;
@@ -2530,6 +2624,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2530
2624
  fontSize?: number | null | undefined;
2531
2625
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2532
2626
  fontWeight?: "bold" | "normal" | null | undefined;
2627
+ lineHeight?: number | null | undefined;
2628
+ letterSpacing?: number | null | undefined;
2533
2629
  textAlign?: "right" | "left" | "center" | null | undefined;
2534
2630
  padding?: {
2535
2631
  top: number;
@@ -2588,11 +2684,11 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2588
2684
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2589
2685
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2590
2686
  }, "strip", z.ZodTypeAny, {
2591
- lineColor?: string | null | undefined;
2592
2687
  lineHeight?: number | null | undefined;
2593
- }, {
2594
2688
  lineColor?: string | null | undefined;
2689
+ }, {
2595
2690
  lineHeight?: number | null | undefined;
2691
+ lineColor?: string | null | undefined;
2596
2692
  }>>>;
2597
2693
  }, "strip", z.ZodTypeAny, {
2598
2694
  style?: {
@@ -2605,8 +2701,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2605
2701
  } | null | undefined;
2606
2702
  } | null | undefined;
2607
2703
  props?: {
2608
- lineColor?: string | null | undefined;
2609
2704
  lineHeight?: number | null | undefined;
2705
+ lineColor?: string | null | undefined;
2610
2706
  } | null | undefined;
2611
2707
  }, {
2612
2708
  style?: {
@@ -2619,8 +2715,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2619
2715
  } | null | undefined;
2620
2716
  } | null | undefined;
2621
2717
  props?: {
2622
- lineColor?: string | null | undefined;
2623
2718
  lineHeight?: number | null | undefined;
2719
+ lineColor?: string | null | undefined;
2624
2720
  } | null | undefined;
2625
2721
  }>;
2626
2722
  Heading: z.ZodObject<{
@@ -2639,6 +2735,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2639
2735
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2640
2736
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2641
2737
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
2738
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2739
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2642
2740
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2643
2741
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2644
2742
  top: z.ZodNumber;
@@ -2661,6 +2759,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2661
2759
  backgroundColor?: string | null | undefined;
2662
2760
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2663
2761
  fontWeight?: "bold" | "normal" | null | undefined;
2762
+ lineHeight?: number | null | undefined;
2763
+ letterSpacing?: number | null | undefined;
2664
2764
  textAlign?: "right" | "left" | "center" | null | undefined;
2665
2765
  padding?: {
2666
2766
  top: number;
@@ -2673,6 +2773,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2673
2773
  backgroundColor?: string | null | undefined;
2674
2774
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2675
2775
  fontWeight?: "bold" | "normal" | null | undefined;
2776
+ lineHeight?: number | null | undefined;
2777
+ letterSpacing?: number | null | undefined;
2676
2778
  textAlign?: "right" | "left" | "center" | null | undefined;
2677
2779
  padding?: {
2678
2780
  top: number;
@@ -2687,6 +2789,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2687
2789
  backgroundColor?: string | null | undefined;
2688
2790
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2689
2791
  fontWeight?: "bold" | "normal" | null | undefined;
2792
+ lineHeight?: number | null | undefined;
2793
+ letterSpacing?: number | null | undefined;
2690
2794
  textAlign?: "right" | "left" | "center" | null | undefined;
2691
2795
  padding?: {
2692
2796
  top: number;
@@ -2705,6 +2809,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2705
2809
  backgroundColor?: string | null | undefined;
2706
2810
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2707
2811
  fontWeight?: "bold" | "normal" | null | undefined;
2812
+ lineHeight?: number | null | undefined;
2813
+ letterSpacing?: number | null | undefined;
2708
2814
  textAlign?: "right" | "left" | "center" | null | undefined;
2709
2815
  padding?: {
2710
2816
  top: number;
@@ -2932,6 +3038,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2932
3038
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2933
3039
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
2934
3040
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
3041
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3042
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2935
3043
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
2936
3044
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2937
3045
  top: z.ZodNumber;
@@ -2955,6 +3063,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2955
3063
  fontSize?: number | null | undefined;
2956
3064
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2957
3065
  fontWeight?: "bold" | "normal" | null | undefined;
3066
+ lineHeight?: number | null | undefined;
3067
+ letterSpacing?: number | null | undefined;
2958
3068
  textAlign?: "right" | "left" | "center" | null | undefined;
2959
3069
  padding?: {
2960
3070
  top: number;
@@ -2968,6 +3078,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2968
3078
  fontSize?: number | null | undefined;
2969
3079
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2970
3080
  fontWeight?: "bold" | "normal" | null | undefined;
3081
+ lineHeight?: number | null | undefined;
3082
+ letterSpacing?: number | null | undefined;
2971
3083
  textAlign?: "right" | "left" | "center" | null | undefined;
2972
3084
  padding?: {
2973
3085
  top: number;
@@ -2993,6 +3105,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2993
3105
  fontSize?: number | null | undefined;
2994
3106
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
2995
3107
  fontWeight?: "bold" | "normal" | null | undefined;
3108
+ lineHeight?: number | null | undefined;
3109
+ letterSpacing?: number | null | undefined;
2996
3110
  textAlign?: "right" | "left" | "center" | null | undefined;
2997
3111
  padding?: {
2998
3112
  top: number;
@@ -3012,6 +3126,8 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
3012
3126
  fontSize?: number | null | undefined;
3013
3127
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3014
3128
  fontWeight?: "bold" | "normal" | null | undefined;
3129
+ lineHeight?: number | null | undefined;
3130
+ letterSpacing?: number | null | undefined;
3015
3131
  textAlign?: "right" | "left" | "center" | null | undefined;
3016
3132
  padding?: {
3017
3133
  top: number;
@@ -3394,6 +3510,20 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3394
3510
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3395
3511
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
3396
3512
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3513
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3514
+ variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3515
+ name: z.ZodString;
3516
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3517
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3518
+ }, "strip", z.ZodTypeAny, {
3519
+ name: string;
3520
+ description?: string | null | undefined;
3521
+ sampleValue?: string | null | undefined;
3522
+ }, {
3523
+ name: string;
3524
+ description?: string | null | undefined;
3525
+ sampleValue?: string | null | undefined;
3526
+ }>, "many">>>;
3397
3527
  }, "strip", z.ZodTypeAny, {
3398
3528
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3399
3529
  borderColor?: string | null | undefined;
@@ -3403,6 +3533,12 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3403
3533
  backdropColor?: string | null | undefined;
3404
3534
  backdropDisabled?: boolean | null | undefined;
3405
3535
  canvasColor?: string | null | undefined;
3536
+ subject?: string | null | undefined;
3537
+ variables?: {
3538
+ name: string;
3539
+ description?: string | null | undefined;
3540
+ sampleValue?: string | null | undefined;
3541
+ }[] | null | undefined;
3406
3542
  }, {
3407
3543
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3408
3544
  borderColor?: string | null | undefined;
@@ -3412,6 +3548,12 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3412
3548
  backdropColor?: string | null | undefined;
3413
3549
  backdropDisabled?: boolean | null | undefined;
3414
3550
  canvasColor?: string | null | undefined;
3551
+ subject?: string | null | undefined;
3552
+ variables?: {
3553
+ name: string;
3554
+ description?: string | null | undefined;
3555
+ sampleValue?: string | null | undefined;
3556
+ }[] | null | undefined;
3415
3557
  }>;
3416
3558
  Avatar: z.ZodObject<{
3417
3559
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -3504,6 +3646,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3504
3646
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3505
3647
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
3506
3648
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
3649
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3650
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3507
3651
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
3508
3652
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3509
3653
  top: z.ZodNumber;
@@ -3526,6 +3670,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3526
3670
  fontSize?: number | null | undefined;
3527
3671
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3528
3672
  fontWeight?: "bold" | "normal" | null | undefined;
3673
+ lineHeight?: number | null | undefined;
3674
+ letterSpacing?: number | null | undefined;
3529
3675
  textAlign?: "right" | "left" | "center" | null | undefined;
3530
3676
  padding?: {
3531
3677
  top: number;
@@ -3538,6 +3684,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3538
3684
  fontSize?: number | null | undefined;
3539
3685
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3540
3686
  fontWeight?: "bold" | "normal" | null | undefined;
3687
+ lineHeight?: number | null | undefined;
3688
+ letterSpacing?: number | null | undefined;
3541
3689
  textAlign?: "right" | "left" | "center" | null | undefined;
3542
3690
  padding?: {
3543
3691
  top: number;
@@ -3577,6 +3725,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3577
3725
  fontSize?: number | null | undefined;
3578
3726
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3579
3727
  fontWeight?: "bold" | "normal" | null | undefined;
3728
+ lineHeight?: number | null | undefined;
3729
+ letterSpacing?: number | null | undefined;
3580
3730
  textAlign?: "right" | "left" | "center" | null | undefined;
3581
3731
  padding?: {
3582
3732
  top: number;
@@ -3600,6 +3750,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3600
3750
  fontSize?: number | null | undefined;
3601
3751
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3602
3752
  fontWeight?: "bold" | "normal" | null | undefined;
3753
+ lineHeight?: number | null | undefined;
3754
+ letterSpacing?: number | null | undefined;
3603
3755
  textAlign?: "right" | "left" | "center" | null | undefined;
3604
3756
  padding?: {
3605
3757
  top: number;
@@ -3658,11 +3810,11 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3658
3810
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3659
3811
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3660
3812
  }, "strip", z.ZodTypeAny, {
3661
- lineColor?: string | null | undefined;
3662
3813
  lineHeight?: number | null | undefined;
3663
- }, {
3664
3814
  lineColor?: string | null | undefined;
3815
+ }, {
3665
3816
  lineHeight?: number | null | undefined;
3817
+ lineColor?: string | null | undefined;
3666
3818
  }>>>;
3667
3819
  }, "strip", z.ZodTypeAny, {
3668
3820
  style?: {
@@ -3675,8 +3827,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3675
3827
  } | null | undefined;
3676
3828
  } | null | undefined;
3677
3829
  props?: {
3678
- lineColor?: string | null | undefined;
3679
3830
  lineHeight?: number | null | undefined;
3831
+ lineColor?: string | null | undefined;
3680
3832
  } | null | undefined;
3681
3833
  }, {
3682
3834
  style?: {
@@ -3689,8 +3841,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3689
3841
  } | null | undefined;
3690
3842
  } | null | undefined;
3691
3843
  props?: {
3692
- lineColor?: string | null | undefined;
3693
3844
  lineHeight?: number | null | undefined;
3845
+ lineColor?: string | null | undefined;
3694
3846
  } | null | undefined;
3695
3847
  }>;
3696
3848
  Heading: z.ZodObject<{
@@ -3709,6 +3861,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3709
3861
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
3862
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
3711
3863
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
3864
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3865
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3712
3866
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
3713
3867
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3714
3868
  top: z.ZodNumber;
@@ -3731,6 +3885,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3731
3885
  backgroundColor?: string | null | undefined;
3732
3886
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3733
3887
  fontWeight?: "bold" | "normal" | null | undefined;
3888
+ lineHeight?: number | null | undefined;
3889
+ letterSpacing?: number | null | undefined;
3734
3890
  textAlign?: "right" | "left" | "center" | null | undefined;
3735
3891
  padding?: {
3736
3892
  top: number;
@@ -3743,6 +3899,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3743
3899
  backgroundColor?: string | null | undefined;
3744
3900
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3745
3901
  fontWeight?: "bold" | "normal" | null | undefined;
3902
+ lineHeight?: number | null | undefined;
3903
+ letterSpacing?: number | null | undefined;
3746
3904
  textAlign?: "right" | "left" | "center" | null | undefined;
3747
3905
  padding?: {
3748
3906
  top: number;
@@ -3757,6 +3915,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3757
3915
  backgroundColor?: string | null | undefined;
3758
3916
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3759
3917
  fontWeight?: "bold" | "normal" | null | undefined;
3918
+ lineHeight?: number | null | undefined;
3919
+ letterSpacing?: number | null | undefined;
3760
3920
  textAlign?: "right" | "left" | "center" | null | undefined;
3761
3921
  padding?: {
3762
3922
  top: number;
@@ -3775,6 +3935,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3775
3935
  backgroundColor?: string | null | undefined;
3776
3936
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
3777
3937
  fontWeight?: "bold" | "normal" | null | undefined;
3938
+ lineHeight?: number | null | undefined;
3939
+ letterSpacing?: number | null | undefined;
3778
3940
  textAlign?: "right" | "left" | "center" | null | undefined;
3779
3941
  padding?: {
3780
3942
  top: number;
@@ -4002,6 +4164,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4002
4164
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4003
4165
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
4004
4166
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
4167
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4168
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4005
4169
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
4006
4170
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4007
4171
  top: z.ZodNumber;
@@ -4025,6 +4189,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4025
4189
  fontSize?: number | null | undefined;
4026
4190
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4027
4191
  fontWeight?: "bold" | "normal" | null | undefined;
4192
+ lineHeight?: number | null | undefined;
4193
+ letterSpacing?: number | null | undefined;
4028
4194
  textAlign?: "right" | "left" | "center" | null | undefined;
4029
4195
  padding?: {
4030
4196
  top: number;
@@ -4038,6 +4204,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4038
4204
  fontSize?: number | null | undefined;
4039
4205
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4040
4206
  fontWeight?: "bold" | "normal" | null | undefined;
4207
+ lineHeight?: number | null | undefined;
4208
+ letterSpacing?: number | null | undefined;
4041
4209
  textAlign?: "right" | "left" | "center" | null | undefined;
4042
4210
  padding?: {
4043
4211
  top: number;
@@ -4063,6 +4231,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4063
4231
  fontSize?: number | null | undefined;
4064
4232
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4065
4233
  fontWeight?: "bold" | "normal" | null | undefined;
4234
+ lineHeight?: number | null | undefined;
4235
+ letterSpacing?: number | null | undefined;
4066
4236
  textAlign?: "right" | "left" | "center" | null | undefined;
4067
4237
  padding?: {
4068
4238
  top: number;
@@ -4082,6 +4252,8 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
4082
4252
  fontSize?: number | null | undefined;
4083
4253
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4084
4254
  fontWeight?: "bold" | "normal" | null | undefined;
4255
+ lineHeight?: number | null | undefined;
4256
+ letterSpacing?: number | null | undefined;
4085
4257
  textAlign?: "right" | "left" | "center" | null | undefined;
4086
4258
  padding?: {
4087
4259
  top: number;
@@ -4509,6 +4681,19 @@ type ContainerProps = z.infer<typeof ContainerPropsSchema>;
4509
4681
  */
4510
4682
  declare function ContainerReader({ style, props }: ContainerProps): React.JSX.Element;
4511
4683
 
4684
+ declare const TemplateVariableSchema: z.ZodObject<{
4685
+ name: z.ZodString;
4686
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4687
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4688
+ }, "strip", z.ZodTypeAny, {
4689
+ name: string;
4690
+ description?: string | null | undefined;
4691
+ sampleValue?: string | null | undefined;
4692
+ }, {
4693
+ name: string;
4694
+ description?: string | null | undefined;
4695
+ sampleValue?: string | null | undefined;
4696
+ }>;
4512
4697
  declare const EmailLayoutPropsSchema: z.ZodObject<{
4513
4698
  backdropColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4514
4699
  backdropDisabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
@@ -4518,6 +4703,20 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
4518
4703
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4519
4704
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
4520
4705
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4706
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4707
+ variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4708
+ name: z.ZodString;
4709
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4710
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4711
+ }, "strip", z.ZodTypeAny, {
4712
+ name: string;
4713
+ description?: string | null | undefined;
4714
+ sampleValue?: string | null | undefined;
4715
+ }, {
4716
+ name: string;
4717
+ description?: string | null | undefined;
4718
+ sampleValue?: string | null | undefined;
4719
+ }>, "many">>>;
4521
4720
  }, "strip", z.ZodTypeAny, {
4522
4721
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4523
4722
  borderColor?: string | null | undefined;
@@ -4527,6 +4726,12 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
4527
4726
  backdropColor?: string | null | undefined;
4528
4727
  backdropDisabled?: boolean | null | undefined;
4529
4728
  canvasColor?: string | null | undefined;
4729
+ subject?: string | null | undefined;
4730
+ variables?: {
4731
+ name: string;
4732
+ description?: string | null | undefined;
4733
+ sampleValue?: string | null | undefined;
4734
+ }[] | null | undefined;
4530
4735
  }, {
4531
4736
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4532
4737
  borderColor?: string | null | undefined;
@@ -4536,6 +4741,12 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
4536
4741
  backdropColor?: string | null | undefined;
4537
4742
  backdropDisabled?: boolean | null | undefined;
4538
4743
  canvasColor?: string | null | undefined;
4744
+ subject?: string | null | undefined;
4745
+ variables?: {
4746
+ name: string;
4747
+ description?: string | null | undefined;
4748
+ sampleValue?: string | null | undefined;
4749
+ }[] | null | undefined;
4539
4750
  }>;
4540
4751
  type EmailLayoutProps = z.infer<typeof EmailLayoutPropsSchema>;
4541
4752
 
@@ -4635,6 +4846,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4635
4846
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4636
4847
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
4637
4848
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
4849
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4850
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4638
4851
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
4639
4852
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4640
4853
  top: z.ZodNumber;
@@ -4657,6 +4870,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4657
4870
  fontSize?: number | null | undefined;
4658
4871
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4659
4872
  fontWeight?: "bold" | "normal" | null | undefined;
4873
+ lineHeight?: number | null | undefined;
4874
+ letterSpacing?: number | null | undefined;
4660
4875
  textAlign?: "right" | "left" | "center" | null | undefined;
4661
4876
  padding?: {
4662
4877
  top: number;
@@ -4669,6 +4884,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4669
4884
  fontSize?: number | null | undefined;
4670
4885
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4671
4886
  fontWeight?: "bold" | "normal" | null | undefined;
4887
+ lineHeight?: number | null | undefined;
4888
+ letterSpacing?: number | null | undefined;
4672
4889
  textAlign?: "right" | "left" | "center" | null | undefined;
4673
4890
  padding?: {
4674
4891
  top: number;
@@ -4708,6 +4925,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4708
4925
  fontSize?: number | null | undefined;
4709
4926
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4710
4927
  fontWeight?: "bold" | "normal" | null | undefined;
4928
+ lineHeight?: number | null | undefined;
4929
+ letterSpacing?: number | null | undefined;
4711
4930
  textAlign?: "right" | "left" | "center" | null | undefined;
4712
4931
  padding?: {
4713
4932
  top: number;
@@ -4731,6 +4950,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4731
4950
  fontSize?: number | null | undefined;
4732
4951
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
4733
4952
  fontWeight?: "bold" | "normal" | null | undefined;
4953
+ lineHeight?: number | null | undefined;
4954
+ letterSpacing?: number | null | undefined;
4734
4955
  textAlign?: "right" | "left" | "center" | null | undefined;
4735
4956
  padding?: {
4736
4957
  top: number;
@@ -4977,6 +5198,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4977
5198
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4978
5199
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
4979
5200
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
5201
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5202
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4980
5203
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
4981
5204
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4982
5205
  top: z.ZodNumber;
@@ -4999,6 +5222,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
4999
5222
  backgroundColor?: string | null | undefined;
5000
5223
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5001
5224
  fontWeight?: "bold" | "normal" | null | undefined;
5225
+ lineHeight?: number | null | undefined;
5226
+ letterSpacing?: number | null | undefined;
5002
5227
  textAlign?: "right" | "left" | "center" | null | undefined;
5003
5228
  padding?: {
5004
5229
  top: number;
@@ -5011,6 +5236,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5011
5236
  backgroundColor?: string | null | undefined;
5012
5237
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5013
5238
  fontWeight?: "bold" | "normal" | null | undefined;
5239
+ lineHeight?: number | null | undefined;
5240
+ letterSpacing?: number | null | undefined;
5014
5241
  textAlign?: "right" | "left" | "center" | null | undefined;
5015
5242
  padding?: {
5016
5243
  top: number;
@@ -5025,6 +5252,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5025
5252
  backgroundColor?: string | null | undefined;
5026
5253
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5027
5254
  fontWeight?: "bold" | "normal" | null | undefined;
5255
+ lineHeight?: number | null | undefined;
5256
+ letterSpacing?: number | null | undefined;
5028
5257
  textAlign?: "right" | "left" | "center" | null | undefined;
5029
5258
  padding?: {
5030
5259
  top: number;
@@ -5043,6 +5272,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5043
5272
  backgroundColor?: string | null | undefined;
5044
5273
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5045
5274
  fontWeight?: "bold" | "normal" | null | undefined;
5275
+ lineHeight?: number | null | undefined;
5276
+ letterSpacing?: number | null | undefined;
5046
5277
  textAlign?: "right" | "left" | "center" | null | undefined;
5047
5278
  padding?: {
5048
5279
  top: number;
@@ -5253,6 +5484,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5253
5484
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5254
5485
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
5255
5486
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
5487
+ lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5488
+ letterSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5256
5489
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
5257
5490
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5258
5491
  top: z.ZodNumber;
@@ -5276,6 +5509,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5276
5509
  fontSize?: number | null | undefined;
5277
5510
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5278
5511
  fontWeight?: "bold" | "normal" | null | undefined;
5512
+ lineHeight?: number | null | undefined;
5513
+ letterSpacing?: number | null | undefined;
5279
5514
  textAlign?: "right" | "left" | "center" | null | undefined;
5280
5515
  padding?: {
5281
5516
  top: number;
@@ -5289,6 +5524,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5289
5524
  fontSize?: number | null | undefined;
5290
5525
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5291
5526
  fontWeight?: "bold" | "normal" | null | undefined;
5527
+ lineHeight?: number | null | undefined;
5528
+ letterSpacing?: number | null | undefined;
5292
5529
  textAlign?: "right" | "left" | "center" | null | undefined;
5293
5530
  padding?: {
5294
5531
  top: number;
@@ -5314,6 +5551,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5314
5551
  fontSize?: number | null | undefined;
5315
5552
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5316
5553
  fontWeight?: "bold" | "normal" | null | undefined;
5554
+ lineHeight?: number | null | undefined;
5555
+ letterSpacing?: number | null | undefined;
5317
5556
  textAlign?: "right" | "left" | "center" | null | undefined;
5318
5557
  padding?: {
5319
5558
  top: number;
@@ -5333,6 +5572,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5333
5572
  fontSize?: number | null | undefined;
5334
5573
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5335
5574
  fontWeight?: "bold" | "normal" | null | undefined;
5575
+ lineHeight?: number | null | undefined;
5576
+ letterSpacing?: number | null | undefined;
5336
5577
  textAlign?: "right" | "left" | "center" | null | undefined;
5337
5578
  padding?: {
5338
5579
  top: number;
@@ -5355,6 +5596,20 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5355
5596
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5356
5597
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
5357
5598
  childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5599
+ subject: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5600
+ variables: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5601
+ name: z.ZodString;
5602
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5603
+ sampleValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5604
+ }, "strip", z.ZodTypeAny, {
5605
+ name: string;
5606
+ description?: string | null | undefined;
5607
+ sampleValue?: string | null | undefined;
5608
+ }, {
5609
+ name: string;
5610
+ description?: string | null | undefined;
5611
+ sampleValue?: string | null | undefined;
5612
+ }>, "many">>>;
5358
5613
  }, "strip", z.ZodTypeAny, {
5359
5614
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5360
5615
  borderColor?: string | null | undefined;
@@ -5364,6 +5619,12 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5364
5619
  backdropColor?: string | null | undefined;
5365
5620
  backdropDisabled?: boolean | null | undefined;
5366
5621
  canvasColor?: string | null | undefined;
5622
+ subject?: string | null | undefined;
5623
+ variables?: {
5624
+ name: string;
5625
+ description?: string | null | undefined;
5626
+ sampleValue?: string | null | undefined;
5627
+ }[] | null | undefined;
5367
5628
  }, {
5368
5629
  fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
5369
5630
  borderColor?: string | null | undefined;
@@ -5373,6 +5634,12 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5373
5634
  backdropColor?: string | null | undefined;
5374
5635
  backdropDisabled?: boolean | null | undefined;
5375
5636
  canvasColor?: string | null | undefined;
5637
+ subject?: string | null | undefined;
5638
+ variables?: {
5639
+ name: string;
5640
+ description?: string | null | undefined;
5641
+ sampleValue?: string | null | undefined;
5642
+ }[] | null | undefined;
5376
5643
  }>;
5377
5644
  Spacer: z.ZodObject<{
5378
5645
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -5431,11 +5698,11 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5431
5698
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5432
5699
  lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5433
5700
  }, "strip", z.ZodTypeAny, {
5434
- lineColor?: string | null | undefined;
5435
5701
  lineHeight?: number | null | undefined;
5436
- }, {
5437
5702
  lineColor?: string | null | undefined;
5703
+ }, {
5438
5704
  lineHeight?: number | null | undefined;
5705
+ lineColor?: string | null | undefined;
5439
5706
  }>>>;
5440
5707
  }, "strip", z.ZodTypeAny, {
5441
5708
  style?: {
@@ -5448,8 +5715,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5448
5715
  } | null | undefined;
5449
5716
  } | null | undefined;
5450
5717
  props?: {
5451
- lineColor?: string | null | undefined;
5452
5718
  lineHeight?: number | null | undefined;
5719
+ lineColor?: string | null | undefined;
5453
5720
  } | null | undefined;
5454
5721
  }, {
5455
5722
  style?: {
@@ -5462,8 +5729,8 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5462
5729
  } | null | undefined;
5463
5730
  } | null | undefined;
5464
5731
  props?: {
5465
- lineColor?: string | null | undefined;
5466
5732
  lineHeight?: number | null | undefined;
5733
+ lineColor?: string | null | undefined;
5467
5734
  } | null | undefined;
5468
5735
  }>;
5469
5736
  Signature: z.ZodObject<{
@@ -5615,35 +5882,86 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5615
5882
  type TEditorBlock = z.infer<typeof EditorBlockSchema>;
5616
5883
  type TEditorConfiguration = Record<string, TEditorBlock>;
5617
5884
 
5885
+ type TemplateVariable = {
5886
+ name: string;
5887
+ description?: string;
5888
+ /** Optional sample value used by the editor's Preview mode to substitute `{{name}}` tokens. */
5889
+ sampleValue?: string;
5890
+ };
5891
+ /**
5892
+ * Payload passed to `onSave` / `saveAs`. The editor renders body HTML and
5893
+ * plain text on every save so consumers don't have to call the renderers
5894
+ * themselves — keeps the consumer's bundle decoupled from a specific
5895
+ * renderer version.
5896
+ */
5897
+ type SavePayload = {
5898
+ editorConfig: TEditorConfiguration;
5899
+ subject?: string;
5900
+ variables?: TemplateVariable[];
5901
+ bodyHtml: string;
5902
+ bodyText: string;
5903
+ };
5904
+
5905
+ type TemplateKind$1 = 'template' | 'sample';
5618
5906
  interface EmailEditorContextType {
5619
5907
  currentTemplateId: string | null;
5620
5908
  currentTemplateName: string | null;
5909
+ currentTemplateKind: TemplateKind$1 | null;
5621
5910
  saveTemplate: () => TEditorConfiguration;
5622
- loadTemplate: (template: TEditorConfiguration, templateId?: string, templateName?: string) => void;
5911
+ loadTemplate: (template: TEditorConfiguration, templateId?: string, templateName?: string, kind?: TemplateKind$1 | null) => void;
5623
5912
  registerSaveListener: (callback: (template: TEditorConfiguration) => void) => () => void;
5624
- setCurrentTemplate: (templateId: string | null, templateName: string | null) => void;
5913
+ setCurrentTemplate: (templateId: string | null, templateName: string | null, kind?: TemplateKind$1 | null) => void;
5625
5914
  }
5626
5915
  interface EmailEditorProviderProps {
5627
5916
  children: React.ReactNode;
5628
5917
  initialTemplate?: TEditorConfiguration;
5629
5918
  initialTemplateId?: string;
5630
5919
  initialTemplateName?: string;
5631
- onSave?: (template: TEditorConfiguration) => void;
5920
+ onSave?: (payload: SavePayload) => void | Promise<void>;
5632
5921
  onChange?: (template: TEditorConfiguration) => void;
5633
5922
  }
5634
5923
  declare const EmailEditorProvider: React.FC<EmailEditorProviderProps>;
5635
5924
  declare const useEmailEditor: () => EmailEditorContextType;
5636
5925
 
5926
+ type UploadedImage = {
5927
+ url: string;
5928
+ width?: number;
5929
+ height?: number;
5930
+ alt?: string;
5931
+ };
5932
+ type LibraryImage = {
5933
+ url: string;
5934
+ thumbnailUrl?: string;
5935
+ width?: number;
5936
+ height?: number;
5937
+ alt?: string;
5938
+ uploadedAt?: string;
5939
+ };
5940
+ type ImageCallbacks = {
5941
+ uploadImage?: (file: File) => Promise<UploadedImage>;
5942
+ loadImages?: () => Promise<LibraryImage[]>;
5943
+ deleteImage?: (url: string) => Promise<void>;
5944
+ };
5945
+
5637
5946
  /**
5638
5947
  * Wraps a raw HTML string in an editor config with an EmailLayout root + one Html block.
5639
5948
  */
5640
5949
  declare function htmlToEditorConfig(html: string): TEditorConfiguration;
5641
- interface SampleTemplate {
5950
+ type TemplateKind = 'template' | 'sample';
5951
+ interface TemplateListItem {
5642
5952
  id: string;
5643
- name: string;
5953
+ slug: string;
5954
+ kind: TemplateKind;
5644
5955
  description?: string;
5645
- category?: string;
5646
- thumbnail?: string;
5956
+ subject?: string;
5957
+ variables?: Array<{
5958
+ name: string;
5959
+ description?: string;
5960
+ }>;
5961
+ tags?: string[];
5962
+ thumbnailUrl?: string;
5963
+ createdAt?: string;
5964
+ updatedAt?: string;
5647
5965
  }
5648
5966
  interface EmailEditorRef {
5649
5967
  saveTemplate: () => TEditorConfiguration;
@@ -5659,7 +5977,12 @@ interface EmailEditorProps {
5659
5977
  initialTemplate?: TEditorConfiguration | string;
5660
5978
  initialTemplateId?: string;
5661
5979
  initialTemplateName?: string;
5662
- onSave?: (template: TEditorConfiguration) => void;
5980
+ /**
5981
+ * Called when the user saves the current template. Receives a `SavePayload`
5982
+ * containing the source `editorConfig` plus pre-rendered `bodyHtml` /
5983
+ * `bodyText` and the editor-managed `subject` / `variables` metadata.
5984
+ */
5985
+ onSave?: (payload: SavePayload) => void | Promise<void>;
5663
5986
  onChange?: (template: TEditorConfiguration) => void;
5664
5987
  /**
5665
5988
  * Duration for drawer enter transition in milliseconds. Set to 0 for instant.
@@ -5696,12 +6019,12 @@ interface EmailEditorProps {
5696
6019
  * Callback to load samples dynamically.
5697
6020
  * This will be called when the samples drawer is opened.
5698
6021
  */
5699
- loadSamples?: () => Promise<SampleTemplate[]>;
6022
+ loadSamples?: () => Promise<TemplateListItem[]>;
5700
6023
  /**
5701
6024
  * Callback to load existing templates dynamically.
5702
6025
  * This will be called when the samples drawer is opened.
5703
6026
  */
5704
- loadTemplates?: () => Promise<SampleTemplate[]>;
6027
+ loadTemplates?: () => Promise<TemplateListItem[]>;
5705
6028
  /**
5706
6029
  * Callback to load a specific template by ID.
5707
6030
  * This will be called when a sample is selected from the drawer.
@@ -5716,12 +6039,38 @@ interface EmailEditorProps {
5716
6039
  */
5717
6040
  copyTemplate?: (templateName: string, content: any) => void;
5718
6041
  /**
5719
- * Callback to save a template with a new name.
6042
+ * Callback to rename a template by ID. Receives the new slug.
6043
+ */
6044
+ renameTemplate?: (templateId: string, newSlug: string) => void | Promise<void>;
6045
+ /**
6046
+ * Callback to promote/demote a row between `template` and `sample`.
6047
+ * When omitted, promote/demote menu items are hidden.
5720
6048
  */
5721
- saveAs?: (templateName: string, content: any) => Promise<{
6049
+ setTemplateKind?: (templateId: string, kind: TemplateKind) => void | Promise<void>;
6050
+ /**
6051
+ * Callback to save a template with a new name. Receives the same
6052
+ * `SavePayload` shape as `onSave`. Returns the new row's `id` and `slug`.
6053
+ */
6054
+ saveAs?: (templateName: string, payload: SavePayload) => Promise<{
5722
6055
  id: string;
5723
- name: string;
6056
+ slug: string;
5724
6057
  }>;
6058
+ /**
6059
+ * Uploads a single image file and returns its public URL plus optional
6060
+ * intrinsic dimensions. When omitted, upload UI (button, drag-drop,
6061
+ * paste-to-insert) is hidden; URL paste still works.
6062
+ */
6063
+ uploadImage?: (file: File) => Promise<UploadedImage>;
6064
+ /**
6065
+ * Returns previously uploaded images for the library picker. When omitted,
6066
+ * the "Pick from library" button is hidden.
6067
+ */
6068
+ loadImages?: () => Promise<LibraryImage[]>;
6069
+ /**
6070
+ * Deletes an image from the library by URL. When omitted, the delete button
6071
+ * on library rows is hidden.
6072
+ */
6073
+ deleteImage?: (url: string) => Promise<void>;
5725
6074
  /**
5726
6075
  * Optional theme override. If not provided, the default theme will be used.
5727
6076
  * This allows for easy styling without requiring a separate ThemeProvider.
@@ -5730,4 +6079,4 @@ interface EmailEditorProps {
5730
6079
  }
5731
6080
  declare const EmailEditor: React.ForwardRefExoticComponent<EmailEditorProps & React.RefAttributes<EmailEditorRef>>;
5732
6081
 
5733
- export { Avatar, AvatarProps, AvatarPropsDefaults, AvatarPropsSchema, BlockConfiguration, Button, ButtonProps, ButtonPropsDefaults, ButtonPropsSchema, ColumnsContainer, ColumnsContainerProps$1 as ColumnsContainerProps, ColumnsContainerPropsSchema$1 as ColumnsContainerPropsSchema, ColumnsContainerReader, Container, ContainerProps$1 as ContainerProps, ContainerPropsSchema$1 as ContainerPropsSchema, ContainerReader, Divider, DividerProps, DividerPropsDefaults, DividerPropsSchema, DocumentBlocksDictionary, EmailEditor, type EmailEditorContextType, type EmailEditorProps, EmailEditorProvider, type EmailEditorProviderProps, type EmailEditorRef, EmailLayoutPropsSchema, EmailLayoutReader, EmailMarkdown, Heading, HeadingProps, HeadingPropsDefaults, HeadingPropsSchema, Html, HtmlProps, HtmlPropsSchema, Image, ImageProps, ImagePropsSchema, Reader, ReaderBlock, ReaderBlockSchema, ReaderDocumentSchema, Signature, SignatureProps, SignaturePropsDefaults, SignaturePropsSchema, Spacer, SpacerProps, SpacerPropsDefaults, SpacerPropsSchema, type TReaderBlock, type TReaderBlockProps, type TReaderDocument, type TReaderProps, Text, TextProps, TextPropsDefaults, TextPropsSchema, buildBlockComponent, buildBlockConfigurationDictionary, buildBlockConfigurationSchema, htmlToEditorConfig, renderToStaticMarkup, renderToText, THEME as theme, useEmailEditor };
6082
+ export { Avatar, AvatarProps, AvatarPropsDefaults, AvatarPropsSchema, BlockConfiguration, Button, ButtonProps, ButtonPropsDefaults, ButtonPropsSchema, ColumnsContainer, ColumnsContainerProps$1 as ColumnsContainerProps, ColumnsContainerPropsSchema$1 as ColumnsContainerPropsSchema, ColumnsContainerReader, Container, ContainerProps$1 as ContainerProps, ContainerPropsSchema$1 as ContainerPropsSchema, ContainerReader, Divider, DividerProps, DividerPropsDefaults, DividerPropsSchema, DocumentBlocksDictionary, EmailEditor, type EmailEditorContextType, type EmailEditorProps, EmailEditorProvider, type EmailEditorProviderProps, type EmailEditorRef, EmailLayoutPropsSchema, EmailLayoutReader, EmailMarkdown, Heading, HeadingProps, HeadingPropsDefaults, HeadingPropsSchema, Html, HtmlProps, HtmlPropsSchema, Image, type ImageCallbacks, ImageProps, ImagePropsSchema, type LibraryImage, Reader, ReaderBlock, ReaderBlockSchema, ReaderDocumentSchema, type SavePayload, Signature, SignatureProps, SignaturePropsDefaults, SignaturePropsSchema, Spacer, SpacerProps, SpacerPropsDefaults, SpacerPropsSchema, type TReaderBlock, type TReaderBlockProps, type TReaderDocument, type TReaderProps, type TemplateKind, type TemplateListItem, TemplateVariableSchema, Text, TextProps, TextPropsDefaults, TextPropsSchema, type UploadedImage, buildBlockComponent, buildBlockConfigurationDictionary, buildBlockConfigurationSchema, htmlToEditorConfig, renderToStaticMarkup, renderToText, THEME as theme, useEmailEditor };