@botpress/webchat 1.0.26 → 1.0.28

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/App.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Container } from './components';
4
4
  import { Theme } from './schemas';
5
5
  type Props = {
6
6
  theme: Theme;
7
- client: WebChatClient;
7
+ client?: WebChatClient;
8
8
  } & ComponentProps<typeof Container>;
9
9
  export declare const App: ({ theme, client }: Props) => JSX.Element;
10
10
  export {};
@@ -18,16 +18,16 @@ export declare const BaseCardSchema: z.ZodObject<{
18
18
  action: z.ZodLiteral<"Say something">;
19
19
  text: z.ZodString;
20
20
  }, "strip", z.ZodTypeAny, {
21
- title: string;
22
21
  text: string;
22
+ title: string;
23
23
  action: "Say something";
24
24
  }, {
25
- title: string;
26
25
  text: string;
26
+ title: string;
27
27
  action: "Say something";
28
28
  }>, ButtonBlock, {
29
- title: string;
30
29
  text: string;
30
+ title: string;
31
31
  action: "Say something";
32
32
  }>, z.ZodEffects<z.ZodObject<{
33
33
  title: z.ZodString;
@@ -35,16 +35,16 @@ export declare const BaseCardSchema: z.ZodObject<{
35
35
  url: z.ZodString;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  title: string;
38
- url: string;
39
38
  action: "Open URL";
39
+ url: string;
40
40
  }, {
41
41
  title: string;
42
- url: string;
43
42
  action: "Open URL";
43
+ url: string;
44
44
  }>, ButtonBlock, {
45
45
  title: string;
46
- url: string;
47
46
  action: "Open URL";
47
+ url: string;
48
48
  }>, z.ZodEffects<z.ZodObject<{
49
49
  title: z.ZodString;
50
50
  action: z.ZodLiteral<"Postback">;
@@ -71,13 +71,13 @@ export declare const BaseCardSchema: z.ZodObject<{
71
71
  }, {
72
72
  type: "card";
73
73
  actions: ({
74
- title: string;
75
74
  text: string;
75
+ title: string;
76
76
  action: "Say something";
77
77
  } | {
78
78
  title: string;
79
- url: string;
80
79
  action: "Open URL";
80
+ url: string;
81
81
  } | {
82
82
  title: string;
83
83
  action: "Postback";
@@ -98,16 +98,16 @@ export declare const CardSchema: z.ZodEffects<z.ZodObject<{
98
98
  action: z.ZodLiteral<"Say something">;
99
99
  text: z.ZodString;
100
100
  }, "strip", z.ZodTypeAny, {
101
- title: string;
102
101
  text: string;
102
+ title: string;
103
103
  action: "Say something";
104
104
  }, {
105
- title: string;
106
105
  text: string;
106
+ title: string;
107
107
  action: "Say something";
108
108
  }>, ButtonBlock, {
109
- title: string;
110
109
  text: string;
110
+ title: string;
111
111
  action: "Say something";
112
112
  }>, z.ZodEffects<z.ZodObject<{
113
113
  title: z.ZodString;
@@ -115,16 +115,16 @@ export declare const CardSchema: z.ZodEffects<z.ZodObject<{
115
115
  url: z.ZodString;
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  title: string;
118
- url: string;
119
118
  action: "Open URL";
119
+ url: string;
120
120
  }, {
121
121
  title: string;
122
- url: string;
123
122
  action: "Open URL";
123
+ url: string;
124
124
  }>, ButtonBlock, {
125
125
  title: string;
126
- url: string;
127
126
  action: "Open URL";
127
+ url: string;
128
128
  }>, z.ZodEffects<z.ZodObject<{
129
129
  title: z.ZodString;
130
130
  action: z.ZodLiteral<"Postback">;
@@ -151,13 +151,13 @@ export declare const CardSchema: z.ZodEffects<z.ZodObject<{
151
151
  }, {
152
152
  type: "card";
153
153
  actions: ({
154
- title: string;
155
154
  text: string;
155
+ title: string;
156
156
  action: "Say something";
157
157
  } | {
158
158
  title: string;
159
- url: string;
160
159
  action: "Open URL";
160
+ url: string;
161
161
  } | {
162
162
  title: string;
163
163
  action: "Postback";
@@ -169,13 +169,13 @@ export declare const CardSchema: z.ZodEffects<z.ZodObject<{
169
169
  }>, WithBubble<CardBlockType>, {
170
170
  type: "card";
171
171
  actions: ({
172
- title: string;
173
172
  text: string;
173
+ title: string;
174
174
  action: "Say something";
175
175
  } | {
176
176
  title: string;
177
- url: string;
178
177
  action: "Open URL";
178
+ url: string;
179
179
  } | {
180
180
  title: string;
181
181
  action: "Postback";
@@ -16,16 +16,16 @@ export declare const CarouselSchema: z.ZodEffects<z.ZodObject<{
16
16
  action: z.ZodLiteral<"Say something">;
17
17
  text: z.ZodString;
18
18
  }, "strip", z.ZodTypeAny, {
19
- title: string;
20
19
  text: string;
20
+ title: string;
21
21
  action: "Say something";
22
22
  }, {
23
- title: string;
24
23
  text: string;
24
+ title: string;
25
25
  action: "Say something";
26
26
  }>, import("../../../types").ButtonBlock, {
27
- title: string;
28
27
  text: string;
28
+ title: string;
29
29
  action: "Say something";
30
30
  }>, z.ZodEffects<z.ZodObject<{
31
31
  title: z.ZodString;
@@ -33,16 +33,16 @@ export declare const CarouselSchema: z.ZodEffects<z.ZodObject<{
33
33
  url: z.ZodString;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  title: string;
36
- url: string;
37
36
  action: "Open URL";
37
+ url: string;
38
38
  }, {
39
39
  title: string;
40
- url: string;
41
40
  action: "Open URL";
41
+ url: string;
42
42
  }>, import("../../../types").ButtonBlock, {
43
43
  title: string;
44
- url: string;
45
44
  action: "Open URL";
45
+ url: string;
46
46
  }>, z.ZodEffects<z.ZodObject<{
47
47
  title: z.ZodString;
48
48
  action: z.ZodLiteral<"Postback">;
@@ -62,42 +62,42 @@ export declare const CarouselSchema: z.ZodEffects<z.ZodObject<{
62
62
  }>]>, "many">;
63
63
  }, "type">, "strip", z.ZodTypeAny, {
64
64
  actions: import("../../../types").ButtonBlock[];
65
- title?: string | undefined;
66
65
  image?: string | undefined;
66
+ title?: string | undefined;
67
67
  subtitle?: string | undefined;
68
68
  }, {
69
69
  actions: ({
70
- title: string;
71
70
  text: string;
71
+ title: string;
72
72
  action: "Say something";
73
73
  } | {
74
74
  title: string;
75
- url: string;
76
75
  action: "Open URL";
76
+ url: string;
77
77
  } | {
78
78
  title: string;
79
79
  action: "Postback";
80
80
  payload: string;
81
81
  })[];
82
- title?: string | undefined;
83
82
  image?: string | undefined;
83
+ title?: string | undefined;
84
84
  subtitle?: string | undefined;
85
85
  }>, CardBlockType, {
86
86
  actions: ({
87
- title: string;
88
87
  text: string;
88
+ title: string;
89
89
  action: "Say something";
90
90
  } | {
91
91
  title: string;
92
- url: string;
93
92
  action: "Open URL";
93
+ url: string;
94
94
  } | {
95
95
  title: string;
96
96
  action: "Postback";
97
97
  payload: string;
98
98
  })[];
99
- title?: string | undefined;
100
99
  image?: string | undefined;
100
+ title?: string | undefined;
101
101
  subtitle?: string | undefined;
102
102
  }>, "many">;
103
103
  }, "strip", z.ZodTypeAny, {
@@ -107,40 +107,40 @@ export declare const CarouselSchema: z.ZodEffects<z.ZodObject<{
107
107
  type: "carousel";
108
108
  items: {
109
109
  actions: ({
110
- title: string;
111
110
  text: string;
111
+ title: string;
112
112
  action: "Say something";
113
113
  } | {
114
114
  title: string;
115
- url: string;
116
115
  action: "Open URL";
116
+ url: string;
117
117
  } | {
118
118
  title: string;
119
119
  action: "Postback";
120
120
  payload: string;
121
121
  })[];
122
- title?: string | undefined;
123
122
  image?: string | undefined;
123
+ title?: string | undefined;
124
124
  subtitle?: string | undefined;
125
125
  }[];
126
126
  }>, CarouselBlockType, {
127
127
  type: "carousel";
128
128
  items: {
129
129
  actions: ({
130
- title: string;
131
130
  text: string;
131
+ title: string;
132
132
  action: "Say something";
133
133
  } | {
134
134
  title: string;
135
- url: string;
136
135
  action: "Open URL";
136
+ url: string;
137
137
  } | {
138
138
  title: string;
139
139
  action: "Postback";
140
140
  payload: string;
141
141
  })[];
142
- title?: string | undefined;
143
142
  image?: string | undefined;
143
+ title?: string | undefined;
144
144
  subtitle?: string | undefined;
145
145
  }[];
146
146
  }>;
@@ -14,32 +14,32 @@ export declare const ChoiceSchema: z.ZodEffects<z.ZodObject<{
14
14
  title: z.ZodString;
15
15
  value: z.ZodString;
16
16
  }, "strip", z.ZodTypeAny, {
17
- title: string;
18
17
  value: string;
19
- }, {
20
18
  title: string;
19
+ }, {
21
20
  value: string;
21
+ title: string;
22
22
  }>, "many">;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  text: string;
25
25
  type: "single-choice";
26
26
  choices: {
27
- title: string;
28
27
  value: string;
28
+ title: string;
29
29
  }[];
30
30
  }, {
31
31
  text: string;
32
32
  type: "single-choice";
33
33
  choices: {
34
- title: string;
35
34
  value: string;
35
+ title: string;
36
36
  }[];
37
37
  }>, WithBubble<ChoiceBlockType>, {
38
38
  text: string;
39
39
  type: "single-choice";
40
40
  choices: {
41
- title: string;
42
41
  value: string;
42
+ title: string;
43
43
  }[];
44
44
  }>;
45
45
  export {};
@@ -12,32 +12,32 @@ export declare const DropdownSchema: z.ZodEffects<z.ZodObject<{
12
12
  label: z.ZodString;
13
13
  value: z.ZodString;
14
14
  }, "strip", z.ZodTypeAny, {
15
- label: string;
16
15
  value: string;
17
- }, {
18
16
  label: string;
17
+ }, {
19
18
  value: string;
19
+ label: string;
20
20
  }>, "many">;
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  options: {
23
- label: string;
24
23
  value: string;
24
+ label: string;
25
25
  }[];
26
26
  type: "dropdown";
27
27
  text?: string | undefined;
28
28
  message?: string | undefined;
29
29
  }, {
30
30
  options: {
31
- label: string;
32
31
  value: string;
32
+ label: string;
33
33
  }[];
34
34
  type: "dropdown";
35
35
  text?: string | undefined;
36
36
  message?: string | undefined;
37
37
  }>, WithBubble<DropdownBlockType>, {
38
38
  options: {
39
- label: string;
40
39
  value: string;
40
+ label: string;
41
41
  }[];
42
42
  type: "dropdown";
43
43
  text?: string | undefined;
@@ -5,15 +5,15 @@ export declare const FileSchema: z.ZodEffects<z.ZodObject<{
5
5
  file: z.ZodString;
6
6
  title: z.ZodOptional<z.ZodString>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- type: "file";
9
8
  file: string;
9
+ type: "file";
10
10
  title?: string | undefined;
11
11
  }, {
12
- type: "file";
13
12
  file: string;
13
+ type: "file";
14
14
  title?: string | undefined;
15
15
  }>, FileBlock, {
16
- type: "file";
17
16
  file: string;
17
+ type: "file";
18
18
  title?: string | undefined;
19
19
  }>;
@@ -75,16 +75,16 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
75
75
  action: z.ZodLiteral<"Say something">;
76
76
  text: z.ZodString;
77
77
  }, "strip", z.ZodTypeAny, {
78
- title: string;
79
78
  text: string;
79
+ title: string;
80
80
  action: "Say something";
81
81
  }, {
82
- title: string;
83
82
  text: string;
83
+ title: string;
84
84
  action: "Say something";
85
85
  }>, import("../../../index.ts").ButtonBlock, {
86
- title: string;
87
86
  text: string;
87
+ title: string;
88
88
  action: "Say something";
89
89
  }>, z.ZodEffects<z.ZodObject<{
90
90
  title: z.ZodString;
@@ -92,16 +92,16 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
92
92
  url: z.ZodString;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  title: string;
95
- url: string;
96
95
  action: "Open URL";
96
+ url: string;
97
97
  }, {
98
98
  title: string;
99
- url: string;
100
99
  action: "Open URL";
100
+ url: string;
101
101
  }>, import("../../../index.ts").ButtonBlock, {
102
102
  title: string;
103
- url: string;
104
103
  action: "Open URL";
104
+ url: string;
105
105
  }>, z.ZodEffects<z.ZodObject<{
106
106
  title: z.ZodString;
107
107
  action: z.ZodLiteral<"Postback">;
@@ -121,42 +121,42 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
121
121
  }>]>, "many">;
122
122
  }, "type">, "strip", z.ZodTypeAny, {
123
123
  actions: import("../../../index.ts").ButtonBlock[];
124
- title?: string | undefined;
125
124
  image?: string | undefined;
125
+ title?: string | undefined;
126
126
  subtitle?: string | undefined;
127
127
  }, {
128
128
  actions: ({
129
- title: string;
130
129
  text: string;
130
+ title: string;
131
131
  action: "Say something";
132
132
  } | {
133
133
  title: string;
134
- url: string;
135
134
  action: "Open URL";
135
+ url: string;
136
136
  } | {
137
137
  title: string;
138
138
  action: "Postback";
139
139
  payload: string;
140
140
  })[];
141
- title?: string | undefined;
142
141
  image?: string | undefined;
142
+ title?: string | undefined;
143
143
  subtitle?: string | undefined;
144
144
  }>, import("./Card").CardBlockType, {
145
145
  actions: ({
146
- title: string;
147
146
  text: string;
147
+ title: string;
148
148
  action: "Say something";
149
149
  } | {
150
150
  title: string;
151
- url: string;
152
151
  action: "Open URL";
152
+ url: string;
153
153
  } | {
154
154
  title: string;
155
155
  action: "Postback";
156
156
  payload: string;
157
157
  })[];
158
- title?: string | undefined;
159
158
  image?: string | undefined;
159
+ title?: string | undefined;
160
160
  subtitle?: string | undefined;
161
161
  }>, "many">;
162
162
  }, "strip", z.ZodTypeAny, {
@@ -166,20 +166,20 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
166
166
  type: "carousel";
167
167
  items: {
168
168
  actions: ({
169
- title: string;
170
169
  text: string;
170
+ title: string;
171
171
  action: "Say something";
172
172
  } | {
173
173
  title: string;
174
- url: string;
175
174
  action: "Open URL";
175
+ url: string;
176
176
  } | {
177
177
  title: string;
178
178
  action: "Postback";
179
179
  payload: string;
180
180
  })[];
181
- title?: string | undefined;
182
181
  image?: string | undefined;
182
+ title?: string | undefined;
183
183
  subtitle?: string | undefined;
184
184
  }[];
185
185
  }>, {
@@ -188,20 +188,20 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
188
188
  type: "carousel";
189
189
  items: {
190
190
  actions: ({
191
- title: string;
192
191
  text: string;
192
+ title: string;
193
193
  action: "Say something";
194
194
  } | {
195
195
  title: string;
196
- url: string;
197
196
  action: "Open URL";
197
+ url: string;
198
198
  } | {
199
199
  title: string;
200
200
  action: "Postback";
201
201
  payload: string;
202
202
  })[];
203
- title?: string | undefined;
204
203
  image?: string | undefined;
204
+ title?: string | undefined;
205
205
  subtitle?: string | undefined;
206
206
  }[];
207
207
  }>, z.ZodEffects<z.ZodObject<{
@@ -214,16 +214,16 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
214
214
  action: z.ZodLiteral<"Say something">;
215
215
  text: z.ZodString;
216
216
  }, "strip", z.ZodTypeAny, {
217
- title: string;
218
217
  text: string;
218
+ title: string;
219
219
  action: "Say something";
220
220
  }, {
221
- title: string;
222
221
  text: string;
222
+ title: string;
223
223
  action: "Say something";
224
224
  }>, import("../../../index.ts").ButtonBlock, {
225
- title: string;
226
225
  text: string;
226
+ title: string;
227
227
  action: "Say something";
228
228
  }>, z.ZodEffects<z.ZodObject<{
229
229
  title: z.ZodString;
@@ -231,16 +231,16 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
231
231
  url: z.ZodString;
232
232
  }, "strip", z.ZodTypeAny, {
233
233
  title: string;
234
- url: string;
235
234
  action: "Open URL";
235
+ url: string;
236
236
  }, {
237
237
  title: string;
238
- url: string;
239
238
  action: "Open URL";
239
+ url: string;
240
240
  }>, import("../../../index.ts").ButtonBlock, {
241
241
  title: string;
242
- url: string;
243
242
  action: "Open URL";
243
+ url: string;
244
244
  }>, z.ZodEffects<z.ZodObject<{
245
245
  title: z.ZodString;
246
246
  action: z.ZodLiteral<"Postback">;
@@ -267,13 +267,13 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
267
267
  }, {
268
268
  type: "card";
269
269
  actions: ({
270
- title: string;
271
270
  text: string;
271
+ title: string;
272
272
  action: "Say something";
273
273
  } | {
274
274
  title: string;
275
- url: string;
276
275
  action: "Open URL";
276
+ url: string;
277
277
  } | {
278
278
  title: string;
279
279
  action: "Postback";
@@ -285,13 +285,13 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
285
285
  }>, import("./Utils.ts").WithBubble<import("./Card").CardBlockType>, {
286
286
  type: "card";
287
287
  actions: ({
288
- title: string;
289
288
  text: string;
289
+ title: string;
290
290
  action: "Say something";
291
291
  } | {
292
292
  title: string;
293
- url: string;
294
293
  action: "Open URL";
294
+ url: string;
295
295
  } | {
296
296
  title: string;
297
297
  action: "Postback";
@@ -329,16 +329,16 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
329
329
  file: z.ZodString;
330
330
  title: z.ZodOptional<z.ZodString>;
331
331
  }, "strip", z.ZodTypeAny, {
332
- type: "file";
333
332
  file: string;
333
+ type: "file";
334
334
  title?: string | undefined;
335
335
  }, {
336
- type: "file";
337
336
  file: string;
337
+ type: "file";
338
338
  title?: string | undefined;
339
339
  }>, import("../../../index.ts").FileBlock, {
340
- type: "file";
341
340
  file: string;
341
+ type: "file";
342
342
  title?: string | undefined;
343
343
  }>, z.ZodEffects<z.ZodObject<{
344
344
  type: z.ZodLiteral<"voice">;
@@ -359,25 +359,25 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
359
359
  title: z.ZodString;
360
360
  value: z.ZodString;
361
361
  }, "strip", z.ZodTypeAny, {
362
- title: string;
363
362
  value: string;
364
- }, {
365
363
  title: string;
364
+ }, {
366
365
  value: string;
366
+ title: string;
367
367
  }>, "many">;
368
368
  }, "strip", z.ZodTypeAny, {
369
369
  text: string;
370
370
  type: "single-choice";
371
371
  choices: {
372
- title: string;
373
372
  value: string;
373
+ title: string;
374
374
  }[];
375
375
  }, {
376
376
  text: string;
377
377
  type: "single-choice";
378
378
  choices: {
379
- title: string;
380
379
  value: string;
380
+ title: string;
381
381
  }[];
382
382
  }>, import("./Utils.ts").WithBubble<{
383
383
  blocks: (import("../../../index.ts").TextBlock | ({
@@ -387,8 +387,8 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
387
387
  text: string;
388
388
  type: "single-choice";
389
389
  choices: {
390
- title: string;
391
390
  value: string;
391
+ title: string;
392
392
  }[];
393
393
  }>, z.ZodEffects<z.ZodObject<{
394
394
  type: z.ZodLiteral<"dropdown">;
@@ -398,24 +398,24 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
398
398
  label: z.ZodString;
399
399
  value: z.ZodString;
400
400
  }, "strip", z.ZodTypeAny, {
401
- label: string;
402
401
  value: string;
403
- }, {
404
402
  label: string;
403
+ }, {
405
404
  value: string;
405
+ label: string;
406
406
  }>, "many">;
407
407
  }, "strip", z.ZodTypeAny, {
408
408
  options: {
409
- label: string;
410
409
  value: string;
410
+ label: string;
411
411
  }[];
412
412
  type: "dropdown";
413
413
  text?: string | undefined;
414
414
  message?: string | undefined;
415
415
  }, {
416
416
  options: {
417
- label: string;
418
417
  value: string;
418
+ label: string;
419
419
  }[];
420
420
  type: "dropdown";
421
421
  text?: string | undefined;
@@ -424,8 +424,8 @@ export declare const MessageContentSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<
424
424
  blocks: (import("../../../index.ts").DropdownBlock | import("../../../index.ts").TextBlock)[];
425
425
  } & Omit<import("../../../index.ts").ColumnBlock, "blocks">>, {
426
426
  options: {
427
- label: string;
428
427
  value: string;
428
+ label: string;
429
429
  }[];
430
430
  type: "dropdown";
431
431
  text?: string | undefined;
@@ -1,6 +1,9 @@
1
- /// <reference types="react" />
2
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
- declare const Avatar: import("react").ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
4
- declare const AvatarImage: import("react").ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & import("react").RefAttributes<HTMLImageElement>, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
5
- declare const AvatarFallback: import("react").ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
6
- export { Avatar, AvatarImage, AvatarFallback };
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { z } from 'zod';
3
+ import * as Themes from '../schemas';
4
+ type AvatarProps = {
5
+ userId?: string;
6
+ src?: string;
7
+ } & Omit<ComponentPropsWithRef<'span'>, 'className' | 'style'> & z.infer<typeof Themes.AvatarSchema>;
8
+ export declare const Avatar: import("react").ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
9
+ export {};
@@ -1,4 +1,4 @@
1
1
  import { BlockMap, CommonBlockProps } from '../types';
2
- export declare const Block: <T extends "button" | "audio" | "video" | "image" | "text" | "row" | "location" | "column" | "file" | "bubble" | "carousel" | "dropdown">({ block, styles, ...props }: {
2
+ export declare const Block: <T extends "button" | "text" | "image" | "audio" | "video" | "file" | "location" | "column" | "row" | "bubble" | "carousel" | "dropdown">({ block, styles, ...props }: {
3
3
  block: BlockMap[T];
4
4
  } & CommonBlockProps) => JSX.Element;