@yimou6/common-ui 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/cdn/index.cdn.js +10 -9
  2. package/cdn/index.cdn.js.map +1 -1
  3. package/cdn/index.cdn.mjs +10 -9
  4. package/cdn/index.cdn.mjs.map +1 -1
  5. package/cdn/index.css +1 -1
  6. package/es/components/index.d.ts +1 -0
  7. package/es/components/index.mjs +1 -0
  8. package/es/components/index.mjs.map +1 -1
  9. package/es/components/wisdom-chat/index.d.ts +941 -0
  10. package/es/components/wisdom-chat/index.mjs +8 -0
  11. package/es/components/wisdom-chat/index.mjs.map +1 -0
  12. package/es/components/wisdom-chat/src/wisdom-chat.d.ts +82 -0
  13. package/es/components/wisdom-chat/src/wisdom-chat.mjs +139 -0
  14. package/es/components/wisdom-chat/src/wisdom-chat.mjs.map +1 -0
  15. package/es/components/wisdom-chat/src/wisdom-chat.vue.d.ts +941 -0
  16. package/es/components/wisdom-chat/src/wisdom-chat.vue.mjs +6 -0
  17. package/es/components/wisdom-chat/src/wisdom-chat.vue.mjs.map +1 -0
  18. package/es/components/wisdom-chat/src/wisdom-chat.vue2.mjs +393 -0
  19. package/es/components/wisdom-chat/src/wisdom-chat.vue2.mjs.map +1 -0
  20. package/es/index.mjs +1 -0
  21. package/es/index.mjs.map +1 -1
  22. package/es/installer.mjs +3 -1
  23. package/es/installer.mjs.map +1 -1
  24. package/global.d.ts +1 -0
  25. package/lib/components/index.d.ts +1 -0
  26. package/lib/components/index.js +2 -0
  27. package/lib/components/index.js.map +1 -1
  28. package/lib/components/wisdom-chat/index.d.ts +941 -0
  29. package/lib/components/wisdom-chat/index.js +13 -0
  30. package/lib/components/wisdom-chat/index.js.map +1 -0
  31. package/lib/components/wisdom-chat/src/wisdom-chat.d.ts +82 -0
  32. package/lib/components/wisdom-chat/src/wisdom-chat.js +142 -0
  33. package/lib/components/wisdom-chat/src/wisdom-chat.js.map +1 -0
  34. package/lib/components/wisdom-chat/src/wisdom-chat.vue.d.ts +941 -0
  35. package/lib/components/wisdom-chat/src/wisdom-chat.vue.js +10 -0
  36. package/lib/components/wisdom-chat/src/wisdom-chat.vue.js.map +1 -0
  37. package/lib/components/wisdom-chat/src/wisdom-chat.vue2.js +397 -0
  38. package/lib/components/wisdom-chat/src/wisdom-chat.vue2.js.map +1 -0
  39. package/lib/index.js +6 -4
  40. package/lib/index.js.map +1 -1
  41. package/lib/installer.js +3 -1
  42. package/lib/installer.js.map +1 -1
  43. package/package.json +3 -2
  44. package/theme-default/i-wisdom-chat.css +1 -0
  45. package/theme-default/index.css +1 -1
@@ -0,0 +1,941 @@
1
+ import type { ChatMessageItemType, ChatMessageType, ModelType, SSEEvent, SSEOptions, WisdomChatInstance, WisdomChatPropsType, WisdomChatRobotType, WisdomChatSelfType } from './src/wisdom-chat';
2
+ export declare const IWisdomChat: import("../../types").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ self: {
4
+ type: import("vue").PropType<WisdomChatSelfType>;
5
+ default: () => {
6
+ name: string;
7
+ avatar: string;
8
+ };
9
+ };
10
+ robot: {
11
+ type: import("vue").PropType<WisdomChatRobotType>;
12
+ default: () => {
13
+ name: string;
14
+ avatar: string;
15
+ };
16
+ };
17
+ models: {
18
+ type: import("vue").PropType<ModelType[]>;
19
+ default: () => never[];
20
+ };
21
+ apiUrl: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ welcomeMessage: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ showModelSelector: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ showClearButton: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ maxImageSize: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ }>, {
42
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
43
+ self: {
44
+ type: import("vue").PropType<WisdomChatSelfType>;
45
+ default: () => {
46
+ name: string;
47
+ avatar: string;
48
+ };
49
+ };
50
+ robot: {
51
+ type: import("vue").PropType<WisdomChatRobotType>;
52
+ default: () => {
53
+ name: string;
54
+ avatar: string;
55
+ };
56
+ };
57
+ models: {
58
+ type: import("vue").PropType<ModelType[]>;
59
+ default: () => never[];
60
+ };
61
+ apiUrl: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ welcomeMessage: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ showModelSelector: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ showClearButton: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ maxImageSize: {
78
+ type: NumberConstructor;
79
+ default: number;
80
+ };
81
+ }>> & Readonly<{}> & {}>;
82
+ chatRef: import("vue").Ref<any, any>;
83
+ chatList: import("vue").Ref<{
84
+ avatar?: string | undefined;
85
+ name?: string | undefined;
86
+ datetime: string;
87
+ content: string;
88
+ role: "assistant" | "user" | "model-change" | "error" | "system" | undefined;
89
+ image?: string | undefined;
90
+ }[], ChatMessageItemType[] | {
91
+ avatar?: string | undefined;
92
+ name?: string | undefined;
93
+ datetime: string;
94
+ content: string;
95
+ role: "assistant" | "user" | "model-change" | "error" | "system" | undefined;
96
+ image?: string | undefined;
97
+ }[]>;
98
+ isStreamLoad: import("vue").Ref<boolean, boolean>;
99
+ loading: import("vue").Ref<boolean, boolean>;
100
+ inputValue: import("vue").Ref<string, string>;
101
+ selectValue: import("vue").Ref<string, string>;
102
+ inputImage: import("vue").Ref<string, string>;
103
+ inputFileName: import("vue").Ref<string, string>;
104
+ fetchCancel: import("vue").Ref<AbortController | undefined, AbortController | undefined>;
105
+ modelISImage: import("vue").ComputedRef<boolean>;
106
+ showClearHistory: import("vue").ComputedRef<boolean>;
107
+ showModelSelect: import("vue").ComputedRef<boolean>;
108
+ handleClear: () => void;
109
+ handleSenderStop: () => void;
110
+ handleSenderSend: (value: string) => void;
111
+ handleSenderFileSelect: (params: {
112
+ files: File[];
113
+ name: import("@tdesign-vue-next/chat").UploadActionType;
114
+ }) => void;
115
+ handleDelInputImage: () => void;
116
+ handleDelInputFile: () => void;
117
+ isImage: (file: File) => boolean;
118
+ chatSenderRef: import("vue").Ref<any, any>;
119
+ sendMsg: () => void;
120
+ readonly TChat: {
121
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
122
+ actions: {
123
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["actions"]>;
124
+ };
125
+ animation: {
126
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["animation"]>;
127
+ default: import("@tdesign-vue-next/chat").TdChatProps["animation"];
128
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["animation"]): boolean;
129
+ };
130
+ avatar: {
131
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["avatar"]>;
132
+ };
133
+ clearHistory: {
134
+ type: BooleanConstructor;
135
+ default: boolean;
136
+ };
137
+ content: {
138
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["content"]>;
139
+ };
140
+ data: {
141
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["data"]>;
142
+ };
143
+ datetime: {
144
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["datetime"]>;
145
+ };
146
+ isStreamLoad: BooleanConstructor;
147
+ layout: {
148
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["layout"]>;
149
+ default: import("@tdesign-vue-next/chat").TdChatProps["layout"];
150
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["layout"]): boolean;
151
+ };
152
+ name: {
153
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["name"]>;
154
+ };
155
+ reasoning: {
156
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["reasoning"]>;
157
+ };
158
+ reverse: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ };
162
+ textLoading: BooleanConstructor;
163
+ onClear: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onClear"]>;
164
+ onScroll: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onScroll"]>;
165
+ }>> & {
166
+ onScroll?: (...args: any[]) => any;
167
+ onClear?: (...args: any[]) => any;
168
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "clear")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
169
+ actions: {
170
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["actions"]>;
171
+ };
172
+ animation: {
173
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["animation"]>;
174
+ default: import("@tdesign-vue-next/chat").TdChatProps["animation"];
175
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["animation"]): boolean;
176
+ };
177
+ avatar: {
178
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["avatar"]>;
179
+ };
180
+ clearHistory: {
181
+ type: BooleanConstructor;
182
+ default: boolean;
183
+ };
184
+ content: {
185
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["content"]>;
186
+ };
187
+ data: {
188
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["data"]>;
189
+ };
190
+ datetime: {
191
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["datetime"]>;
192
+ };
193
+ isStreamLoad: BooleanConstructor;
194
+ layout: {
195
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["layout"]>;
196
+ default: import("@tdesign-vue-next/chat").TdChatProps["layout"];
197
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["layout"]): boolean;
198
+ };
199
+ name: {
200
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["name"]>;
201
+ };
202
+ reasoning: {
203
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["reasoning"]>;
204
+ };
205
+ reverse: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ textLoading: BooleanConstructor;
210
+ onClear: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onClear"]>;
211
+ onScroll: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onScroll"]>;
212
+ }>> & {
213
+ onScroll?: (...args: any[]) => any;
214
+ onClear?: (...args: any[]) => any;
215
+ }, {
216
+ reverse: boolean;
217
+ animation: "gradient" | "skeleton" | "moving";
218
+ layout: "single" | "both";
219
+ textLoading: boolean;
220
+ clearHistory: boolean;
221
+ isStreamLoad: boolean;
222
+ }, true, {}, {}, {
223
+ P: {};
224
+ B: {};
225
+ D: {};
226
+ C: {};
227
+ M: {};
228
+ Defaults: {};
229
+ }, Readonly<import("vue").ExtractPropTypes<{
230
+ actions: {
231
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["actions"]>;
232
+ };
233
+ animation: {
234
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["animation"]>;
235
+ default: import("@tdesign-vue-next/chat").TdChatProps["animation"];
236
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["animation"]): boolean;
237
+ };
238
+ avatar: {
239
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["avatar"]>;
240
+ };
241
+ clearHistory: {
242
+ type: BooleanConstructor;
243
+ default: boolean;
244
+ };
245
+ content: {
246
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["content"]>;
247
+ };
248
+ data: {
249
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["data"]>;
250
+ };
251
+ datetime: {
252
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["datetime"]>;
253
+ };
254
+ isStreamLoad: BooleanConstructor;
255
+ layout: {
256
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["layout"]>;
257
+ default: import("@tdesign-vue-next/chat").TdChatProps["layout"];
258
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["layout"]): boolean;
259
+ };
260
+ name: {
261
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["name"]>;
262
+ };
263
+ reasoning: {
264
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["reasoning"]>;
265
+ };
266
+ reverse: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ };
270
+ textLoading: BooleanConstructor;
271
+ onClear: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onClear"]>;
272
+ onScroll: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onScroll"]>;
273
+ }>> & {
274
+ onScroll?: (...args: any[]) => any;
275
+ onClear?: (...args: any[]) => any;
276
+ }, () => JSX.Element, {}, {}, {}, {
277
+ reverse: boolean;
278
+ animation: "gradient" | "skeleton" | "moving";
279
+ layout: "single" | "both";
280
+ textLoading: boolean;
281
+ clearHistory: boolean;
282
+ isStreamLoad: boolean;
283
+ }>;
284
+ __isFragment?: never;
285
+ __isTeleport?: never;
286
+ __isSuspense?: never;
287
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
288
+ actions: {
289
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["actions"]>;
290
+ };
291
+ animation: {
292
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["animation"]>;
293
+ default: import("@tdesign-vue-next/chat").TdChatProps["animation"];
294
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["animation"]): boolean;
295
+ };
296
+ avatar: {
297
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["avatar"]>;
298
+ };
299
+ clearHistory: {
300
+ type: BooleanConstructor;
301
+ default: boolean;
302
+ };
303
+ content: {
304
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["content"]>;
305
+ };
306
+ data: {
307
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["data"]>;
308
+ };
309
+ datetime: {
310
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["datetime"]>;
311
+ };
312
+ isStreamLoad: BooleanConstructor;
313
+ layout: {
314
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["layout"]>;
315
+ default: import("@tdesign-vue-next/chat").TdChatProps["layout"];
316
+ validator(val: import("@tdesign-vue-next/chat").TdChatProps["layout"]): boolean;
317
+ };
318
+ name: {
319
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["name"]>;
320
+ };
321
+ reasoning: {
322
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["reasoning"]>;
323
+ };
324
+ reverse: {
325
+ type: BooleanConstructor;
326
+ default: boolean;
327
+ };
328
+ textLoading: BooleanConstructor;
329
+ onClear: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onClear"]>;
330
+ onScroll: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatProps["onScroll"]>;
331
+ }>> & {
332
+ onScroll?: (...args: any[]) => any;
333
+ onClear?: (...args: any[]) => any;
334
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "scroll")[], "clear" | "scroll", {
335
+ reverse: boolean;
336
+ animation: "gradient" | "skeleton" | "moving";
337
+ layout: "single" | "both";
338
+ textLoading: boolean;
339
+ clearHistory: boolean;
340
+ isStreamLoad: boolean;
341
+ }, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin<any[]>));
342
+ readonly TChatContent: {
343
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
344
+ content: {
345
+ type: StringConstructor;
346
+ default: string;
347
+ };
348
+ role: {
349
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatContentProps["role"]>;
350
+ validator(val: import("@tdesign-vue-next/chat").TdChatContentProps["role"]): boolean;
351
+ };
352
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
353
+ content: {
354
+ type: StringConstructor;
355
+ default: string;
356
+ };
357
+ role: {
358
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatContentProps["role"]>;
359
+ validator(val: import("@tdesign-vue-next/chat").TdChatContentProps["role"]): boolean;
360
+ };
361
+ }>>, {
362
+ content: string;
363
+ }, true, {}, {}, {
364
+ P: {};
365
+ B: {};
366
+ D: {};
367
+ C: {};
368
+ M: {};
369
+ Defaults: {};
370
+ }, Readonly<import("vue").ExtractPropTypes<{
371
+ content: {
372
+ type: StringConstructor;
373
+ default: string;
374
+ };
375
+ role: {
376
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatContentProps["role"]>;
377
+ validator(val: import("@tdesign-vue-next/chat").TdChatContentProps["role"]): boolean;
378
+ };
379
+ }>>, () => JSX.Element, {}, {}, {}, {
380
+ content: string;
381
+ }>;
382
+ __isFragment?: never;
383
+ __isTeleport?: never;
384
+ __isSuspense?: never;
385
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
386
+ content: {
387
+ type: StringConstructor;
388
+ default: string;
389
+ };
390
+ role: {
391
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatContentProps["role"]>;
392
+ validator(val: import("@tdesign-vue-next/chat").TdChatContentProps["role"]): boolean;
393
+ };
394
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
395
+ content: string;
396
+ }, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin<any[]>));
397
+ readonly TChatItem: {
398
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
399
+ reasoningLoading: {
400
+ type: BooleanConstructor;
401
+ default: boolean;
402
+ };
403
+ actions: {
404
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["actions"]>;
405
+ };
406
+ animation: {
407
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["animation"]>;
408
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["animation"];
409
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["animation"]): boolean;
410
+ };
411
+ avatar: {
412
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["avatar"]>;
413
+ };
414
+ content: {
415
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["content"]>;
416
+ };
417
+ datetime: {
418
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["datetime"]>;
419
+ };
420
+ name: {
421
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["name"]>;
422
+ };
423
+ reasoning: {
424
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"]>;
425
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"];
426
+ };
427
+ role: {
428
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["role"]>;
429
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["role"]): boolean;
430
+ };
431
+ textLoading: BooleanConstructor;
432
+ variant: {
433
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["variant"]>;
434
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["variant"];
435
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["variant"]): boolean;
436
+ };
437
+ }>> & {
438
+ onOperation?: (...args: any[]) => any;
439
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "operation"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
440
+ reasoningLoading: {
441
+ type: BooleanConstructor;
442
+ default: boolean;
443
+ };
444
+ actions: {
445
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["actions"]>;
446
+ };
447
+ animation: {
448
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["animation"]>;
449
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["animation"];
450
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["animation"]): boolean;
451
+ };
452
+ avatar: {
453
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["avatar"]>;
454
+ };
455
+ content: {
456
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["content"]>;
457
+ };
458
+ datetime: {
459
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["datetime"]>;
460
+ };
461
+ name: {
462
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["name"]>;
463
+ };
464
+ reasoning: {
465
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"]>;
466
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"];
467
+ };
468
+ role: {
469
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["role"]>;
470
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["role"]): boolean;
471
+ };
472
+ textLoading: BooleanConstructor;
473
+ variant: {
474
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["variant"]>;
475
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["variant"];
476
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["variant"]): boolean;
477
+ };
478
+ }>> & {
479
+ onOperation?: (...args: any[]) => any;
480
+ }, {
481
+ animation: "gradient" | "skeleton" | "moving";
482
+ variant: "base" | "text" | "outline";
483
+ reasoning: boolean | import("@tdesign-vue-next/chat/es/type").TdChatReasoning;
484
+ reasoningLoading: boolean;
485
+ textLoading: boolean;
486
+ }, true, {}, {}, {
487
+ P: {};
488
+ B: {};
489
+ D: {};
490
+ C: {};
491
+ M: {};
492
+ Defaults: {};
493
+ }, Readonly<import("vue").ExtractPropTypes<{
494
+ reasoningLoading: {
495
+ type: BooleanConstructor;
496
+ default: boolean;
497
+ };
498
+ actions: {
499
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["actions"]>;
500
+ };
501
+ animation: {
502
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["animation"]>;
503
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["animation"];
504
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["animation"]): boolean;
505
+ };
506
+ avatar: {
507
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["avatar"]>;
508
+ };
509
+ content: {
510
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["content"]>;
511
+ };
512
+ datetime: {
513
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["datetime"]>;
514
+ };
515
+ name: {
516
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["name"]>;
517
+ };
518
+ reasoning: {
519
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"]>;
520
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"];
521
+ };
522
+ role: {
523
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["role"]>;
524
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["role"]): boolean;
525
+ };
526
+ textLoading: BooleanConstructor;
527
+ variant: {
528
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["variant"]>;
529
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["variant"];
530
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["variant"]): boolean;
531
+ };
532
+ }>> & {
533
+ onOperation?: (...args: any[]) => any;
534
+ }, () => JSX.Element, {}, {}, {}, {
535
+ animation: "gradient" | "skeleton" | "moving";
536
+ variant: "base" | "text" | "outline";
537
+ reasoning: boolean | import("@tdesign-vue-next/chat/es/type").TdChatReasoning;
538
+ reasoningLoading: boolean;
539
+ textLoading: boolean;
540
+ }>;
541
+ __isFragment?: never;
542
+ __isTeleport?: never;
543
+ __isSuspense?: never;
544
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
545
+ reasoningLoading: {
546
+ type: BooleanConstructor;
547
+ default: boolean;
548
+ };
549
+ actions: {
550
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["actions"]>;
551
+ };
552
+ animation: {
553
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["animation"]>;
554
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["animation"];
555
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["animation"]): boolean;
556
+ };
557
+ avatar: {
558
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["avatar"]>;
559
+ };
560
+ content: {
561
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["content"]>;
562
+ };
563
+ datetime: {
564
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["datetime"]>;
565
+ };
566
+ name: {
567
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["name"]>;
568
+ };
569
+ reasoning: {
570
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"]>;
571
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["reasoning"];
572
+ };
573
+ role: {
574
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["role"]>;
575
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["role"]): boolean;
576
+ };
577
+ textLoading: BooleanConstructor;
578
+ variant: {
579
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatItemProps["variant"]>;
580
+ default: import("@tdesign-vue-next/chat").TdChatItemProps["variant"];
581
+ validator(val: import("@tdesign-vue-next/chat").TdChatItemProps["variant"]): boolean;
582
+ };
583
+ }>> & {
584
+ onOperation?: (...args: any[]) => any;
585
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "operation"[], "operation", {
586
+ animation: "gradient" | "skeleton" | "moving";
587
+ variant: "base" | "text" | "outline";
588
+ reasoning: boolean | import("@tdesign-vue-next/chat").TdChatReasoning;
589
+ reasoningLoading: boolean;
590
+ textLoading: boolean;
591
+ }, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin<any[]>));
592
+ readonly TChatSender: {
593
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
594
+ disabled: BooleanConstructor;
595
+ placeholder: {
596
+ type: StringConstructor;
597
+ default: string;
598
+ };
599
+ prefix: {
600
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["prefix"]>;
601
+ };
602
+ stopDisabled: {
603
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["stopDisabled"]>;
604
+ default: boolean;
605
+ };
606
+ loading: {
607
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["loading"]>;
608
+ default: boolean;
609
+ };
610
+ suffix: {
611
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["suffix"]>;
612
+ };
613
+ textareaProps: {
614
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["textareaProps"]>;
615
+ };
616
+ value: {
617
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
618
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
619
+ };
620
+ modelValue: {
621
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
622
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
623
+ };
624
+ defaultValue: {
625
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["defaultValue"]>;
626
+ };
627
+ onBlur: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onBlur"]>;
628
+ onChange: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onChange"]>;
629
+ onFocus: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onFocus"]>;
630
+ onSend: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onSend"]>;
631
+ onStop: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onStop"]>;
632
+ }>> & {
633
+ onFocus?: (...args: any[]) => any;
634
+ onBlur?: (...args: any[]) => any;
635
+ onSend?: (...args: any[]) => any;
636
+ onStop?: (...args: any[]) => any;
637
+ "onUpdate:modelValue"?: (...args: any[]) => any;
638
+ onFileSelect?: (...args: any[]) => any;
639
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "stop" | "update:modelValue" | "send" | "fileSelect")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
640
+ disabled: BooleanConstructor;
641
+ placeholder: {
642
+ type: StringConstructor;
643
+ default: string;
644
+ };
645
+ prefix: {
646
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["prefix"]>;
647
+ };
648
+ stopDisabled: {
649
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["stopDisabled"]>;
650
+ default: boolean;
651
+ };
652
+ loading: {
653
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["loading"]>;
654
+ default: boolean;
655
+ };
656
+ suffix: {
657
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["suffix"]>;
658
+ };
659
+ textareaProps: {
660
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["textareaProps"]>;
661
+ };
662
+ value: {
663
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
664
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
665
+ };
666
+ modelValue: {
667
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
668
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
669
+ };
670
+ defaultValue: {
671
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["defaultValue"]>;
672
+ };
673
+ onBlur: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onBlur"]>;
674
+ onChange: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onChange"]>;
675
+ onFocus: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onFocus"]>;
676
+ onSend: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onSend"]>;
677
+ onStop: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onStop"]>;
678
+ }>> & {
679
+ onFocus?: (...args: any[]) => any;
680
+ onBlur?: (...args: any[]) => any;
681
+ onSend?: (...args: any[]) => any;
682
+ onStop?: (...args: any[]) => any;
683
+ "onUpdate:modelValue"?: (...args: any[]) => any;
684
+ onFileSelect?: (...args: any[]) => any;
685
+ }, {
686
+ value: string;
687
+ disabled: boolean;
688
+ loading: boolean;
689
+ placeholder: string;
690
+ modelValue: string;
691
+ stopDisabled: boolean;
692
+ }, true, {}, {}, {
693
+ P: {};
694
+ B: {};
695
+ D: {};
696
+ C: {};
697
+ M: {};
698
+ Defaults: {};
699
+ }, Readonly<import("vue").ExtractPropTypes<{
700
+ disabled: BooleanConstructor;
701
+ placeholder: {
702
+ type: StringConstructor;
703
+ default: string;
704
+ };
705
+ prefix: {
706
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["prefix"]>;
707
+ };
708
+ stopDisabled: {
709
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["stopDisabled"]>;
710
+ default: boolean;
711
+ };
712
+ loading: {
713
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["loading"]>;
714
+ default: boolean;
715
+ };
716
+ suffix: {
717
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["suffix"]>;
718
+ };
719
+ textareaProps: {
720
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["textareaProps"]>;
721
+ };
722
+ value: {
723
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
724
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
725
+ };
726
+ modelValue: {
727
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
728
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
729
+ };
730
+ defaultValue: {
731
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["defaultValue"]>;
732
+ };
733
+ onBlur: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onBlur"]>;
734
+ onChange: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onChange"]>;
735
+ onFocus: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onFocus"]>;
736
+ onSend: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onSend"]>;
737
+ onStop: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onStop"]>;
738
+ }>> & {
739
+ onFocus?: (...args: any[]) => any;
740
+ onBlur?: (...args: any[]) => any;
741
+ onSend?: (...args: any[]) => any;
742
+ onStop?: (...args: any[]) => any;
743
+ "onUpdate:modelValue"?: (...args: any[]) => any;
744
+ onFileSelect?: (...args: any[]) => any;
745
+ }, () => JSX.Element, {}, {}, {}, {
746
+ value: string;
747
+ disabled: boolean;
748
+ loading: boolean;
749
+ placeholder: string;
750
+ modelValue: string;
751
+ stopDisabled: boolean;
752
+ }>;
753
+ __isFragment?: never;
754
+ __isTeleport?: never;
755
+ __isSuspense?: never;
756
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
757
+ disabled: BooleanConstructor;
758
+ placeholder: {
759
+ type: StringConstructor;
760
+ default: string;
761
+ };
762
+ prefix: {
763
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["prefix"]>;
764
+ };
765
+ stopDisabled: {
766
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["stopDisabled"]>;
767
+ default: boolean;
768
+ };
769
+ loading: {
770
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["loading"]>;
771
+ default: boolean;
772
+ };
773
+ suffix: {
774
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["suffix"]>;
775
+ };
776
+ textareaProps: {
777
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["textareaProps"]>;
778
+ };
779
+ value: {
780
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
781
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
782
+ };
783
+ modelValue: {
784
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["value"]>;
785
+ default: import("@tdesign-vue-next/chat").TdChatSenderProps["value"];
786
+ };
787
+ defaultValue: {
788
+ type: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["defaultValue"]>;
789
+ };
790
+ onBlur: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onBlur"]>;
791
+ onChange: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onChange"]>;
792
+ onFocus: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onFocus"]>;
793
+ onSend: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onSend"]>;
794
+ onStop: import("vue").PropType<import("@tdesign-vue-next/chat").TdChatSenderProps["onStop"]>;
795
+ }>> & {
796
+ onFocus?: (...args: any[]) => any;
797
+ onBlur?: (...args: any[]) => any;
798
+ onSend?: (...args: any[]) => any;
799
+ onStop?: (...args: any[]) => any;
800
+ "onUpdate:modelValue"?: (...args: any[]) => any;
801
+ onFileSelect?: (...args: any[]) => any;
802
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "stop" | "send" | "fileSelect")[], "update:modelValue" | "blur" | "focus" | "stop" | "send" | "fileSelect", {
803
+ value: string;
804
+ disabled: boolean;
805
+ loading: boolean;
806
+ placeholder: string;
807
+ modelValue: string;
808
+ stopDisabled: boolean;
809
+ }, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin<any[]>));
810
+ readonly ElAvatar: import("element-plus/es/utils").SFCWithInstall<{
811
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
812
+ readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
813
+ readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
814
+ readonly icon: {
815
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
816
+ readonly required: false;
817
+ readonly validator: ((val: unknown) => boolean) | undefined;
818
+ __epPropKey: true;
819
+ };
820
+ readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
821
+ readonly alt: StringConstructor;
822
+ readonly srcSet: StringConstructor;
823
+ readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
824
+ }>> & {
825
+ onError?: ((evt: Event) => any) | undefined;
826
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
827
+ error: (evt: Event) => void;
828
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
829
+ readonly size: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
830
+ readonly shape: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown>;
831
+ readonly src: string;
832
+ readonly fit: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty))[], unknown, unknown>;
833
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
834
+ P: {};
835
+ B: {};
836
+ D: {};
837
+ C: {};
838
+ M: {};
839
+ Defaults: {};
840
+ }, Readonly<import("vue").ExtractPropTypes<{
841
+ readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
842
+ readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
843
+ readonly icon: {
844
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
845
+ readonly required: false;
846
+ readonly validator: ((val: unknown) => boolean) | undefined;
847
+ __epPropKey: true;
848
+ };
849
+ readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
850
+ readonly alt: StringConstructor;
851
+ readonly srcSet: StringConstructor;
852
+ readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
853
+ }>> & {
854
+ onError?: ((evt: Event) => any) | undefined;
855
+ }, {}, {}, {}, {}, {
856
+ readonly size: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
857
+ readonly shape: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown>;
858
+ readonly src: string;
859
+ readonly fit: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty))[], unknown, unknown>;
860
+ }>;
861
+ __isFragment?: never;
862
+ __isTeleport?: never;
863
+ __isSuspense?: never;
864
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
865
+ readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
866
+ readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
867
+ readonly icon: {
868
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
869
+ readonly required: false;
870
+ readonly validator: ((val: unknown) => boolean) | undefined;
871
+ __epPropKey: true;
872
+ };
873
+ readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
874
+ readonly alt: StringConstructor;
875
+ readonly srcSet: StringConstructor;
876
+ readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
877
+ }>> & {
878
+ onError?: ((evt: Event) => any) | undefined;
879
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
880
+ error: (evt: Event) => void;
881
+ }, string, {
882
+ readonly size: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
883
+ readonly shape: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown>;
884
+ readonly src: string;
885
+ readonly fit: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => import("csstype").ObjectFitProperty))[], unknown, unknown>;
886
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
887
+ $slots: {
888
+ default?(_: {}): any;
889
+ };
890
+ })>;
891
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
892
+ self: {
893
+ type: import("vue").PropType<WisdomChatSelfType>;
894
+ default: () => {
895
+ name: string;
896
+ avatar: string;
897
+ };
898
+ };
899
+ robot: {
900
+ type: import("vue").PropType<WisdomChatRobotType>;
901
+ default: () => {
902
+ name: string;
903
+ avatar: string;
904
+ };
905
+ };
906
+ models: {
907
+ type: import("vue").PropType<ModelType[]>;
908
+ default: () => never[];
909
+ };
910
+ apiUrl: {
911
+ type: StringConstructor;
912
+ default: string;
913
+ };
914
+ welcomeMessage: {
915
+ type: StringConstructor;
916
+ default: string;
917
+ };
918
+ showModelSelector: {
919
+ type: BooleanConstructor;
920
+ default: boolean;
921
+ };
922
+ showClearButton: {
923
+ type: BooleanConstructor;
924
+ default: boolean;
925
+ };
926
+ maxImageSize: {
927
+ type: NumberConstructor;
928
+ default: number;
929
+ };
930
+ }>> & Readonly<{}>, {
931
+ self: WisdomChatSelfType;
932
+ robot: WisdomChatRobotType;
933
+ models: ModelType[];
934
+ apiUrl: string;
935
+ welcomeMessage: string;
936
+ showModelSelector: boolean;
937
+ showClearButton: boolean;
938
+ maxImageSize: number;
939
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
940
+ export { ChatMessageItemType, ChatMessageType, ModelType, SSEEvent, SSEOptions, WisdomChatInstance, WisdomChatPropsType, WisdomChatRobotType, WisdomChatSelfType, };
941
+ export default IWisdomChat;