@opentiny/tiny-robot 0.4.2-alpha.0 → 0.4.2-alpha.10

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.ts CHANGED
@@ -13,6 +13,7 @@ import { ComputedRef } from 'vue';
13
13
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
14
14
  import { CSSProperties } from 'vue';
15
15
  import { DebuggerEvent } from 'vue';
16
+ import { default as default_2 } from './Layout.vue';
16
17
  import { DefineComponent } from 'vue';
17
18
  import { Directive } from 'vue';
18
19
  import { Editor } from '@tiptap/vue-3';
@@ -43,6 +44,10 @@ value: unknown;
43
44
  messageIndex: number;
44
45
  contentIndex: number;
45
46
  }) => any;
47
+ "bubble-event": (payload: BubbleEvent & {
48
+ messageIndex: number;
49
+ contentIndex: number;
50
+ }) => any;
46
51
  }, string, PublicProps, Readonly<BubbleProps> & Readonly<{
47
52
  "onState-change"?: ((payload: {
48
53
  key: string;
@@ -50,6 +55,10 @@ value: unknown;
50
55
  messageIndex: number;
51
56
  contentIndex: number;
52
57
  }) => any) | undefined;
58
+ "onBubble-event"?: ((payload: BubbleEvent & {
59
+ messageIndex: number;
60
+ contentIndex: number;
61
+ }) => any) | undefined;
53
62
  }>, {
54
63
  placement: "start" | "end";
55
64
  shape: "corner" | "rounded" | "none";
@@ -59,63 +68,79 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
59
68
  bubbleRef: HTMLDivElement;
60
69
  }, HTMLDivElement>;
61
70
 
62
- declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_3, {
63
- children: ComputedRef<(HTMLElement | SVGElement)[]>;
64
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
65
- "update:showAll": (value: boolean | undefined) => any;
66
- } & {
67
- "click-outside": (event: MouseEvent) => any;
68
- }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
69
- "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
70
- "onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
71
- }>, {
72
- showAllButtonOn: "hover" | "always";
73
- overflowMode: "expand" | "scroll";
74
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
75
- containerWrapperRef: HTMLDivElement;
76
- containerRef: HTMLDivElement;
77
- staticMaybeItemRefs: unknown[];
78
- floatingItemsRef: HTMLDivElement;
79
- floatingMaybeItemRefs: unknown[];
80
- }, HTMLDivElement>;
81
-
82
- declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_4, {
83
- update: () => void;
84
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
85
- "update:selectedGroup": (value: string) => any;
86
- } & {
87
- close: () => any;
88
- open: () => any;
89
- "item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
90
- "click-outside": (event: MouseEvent) => any;
91
- "group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
92
- }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
93
- onClose?: (() => any) | undefined;
94
- onOpen?: (() => any) | undefined;
95
- "onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
96
- "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
97
- "onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
98
- "onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
71
+ declare const __VLS_component_10: DefineComponent<SenderProps_2, {
72
+ focus: () => void;
73
+ blur: () => void;
74
+ clear: () => void;
75
+ submit: () => void;
76
+ setTemplateData: (templateData: UserTemplateItem[]) => void;
77
+ startSpeech: () => void;
78
+ stopSpeech: () => void;
79
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
80
+ clear: () => any;
81
+ blur: (event: FocusEvent) => any;
82
+ cancel: () => any;
83
+ focus: (event: FocusEvent) => any;
84
+ submit: (value: string) => any;
85
+ "update:modelValue": (value: string) => any;
86
+ "speech-start": () => any;
87
+ "speech-interim": (transcript: string) => any;
88
+ "speech-end": (transcript?: string | undefined) => any;
89
+ "speech-error": (error: Error) => any;
90
+ "update:templateData": (value: UserItem[]) => any;
91
+ "suggestion-select": (value: string) => any;
92
+ "escape-press": () => any;
93
+ "reset-template": () => any;
94
+ "files-selected": (files: File[]) => any;
95
+ }, string, PublicProps, Readonly<SenderProps_2> & Readonly<{
96
+ onClear?: (() => any) | undefined;
97
+ onBlur?: ((event: FocusEvent) => any) | undefined;
98
+ onCancel?: (() => any) | undefined;
99
+ onFocus?: ((event: FocusEvent) => any) | undefined;
100
+ onSubmit?: ((value: string) => any) | undefined;
101
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
102
+ "onSpeech-start"?: (() => any) | undefined;
103
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
104
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
105
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
106
+ "onUpdate:templateData"?: ((value: UserItem[]) => any) | undefined;
107
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
108
+ "onEscape-press"?: (() => any) | undefined;
109
+ "onReset-template"?: (() => any) | undefined;
110
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
99
111
  }>, {
100
- title: string;
101
- trigger: "click" | "manual";
102
- groupShowMoreTrigger: "click" | "hover";
103
- topOffset: number;
112
+ placeholder: string;
113
+ mode: InputMode;
114
+ submitType: SubmitTrigger;
104
115
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
105
- basePopperRef: ({
116
+ senderRef: ({
106
117
  $: ComponentInternalInstance;
107
118
  $data: {};
108
119
  $props: {
109
- readonly appendTo?: (string | HTMLElement) | undefined;
110
- readonly offset?: number | {
111
- mainAxis?: number;
112
- crossAxis?: number;
113
- } | undefined;
114
- readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
115
- readonly preventOverflow?: boolean | undefined;
116
- readonly show?: boolean | undefined;
117
- readonly transitionProps?: TransitionProps | undefined;
118
- readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
120
+ readonly modelValue?: string | undefined;
121
+ readonly defaultValue?: string | undefined;
122
+ readonly placeholder?: string | undefined;
123
+ readonly disabled?: boolean | undefined;
124
+ readonly loading?: boolean | undefined;
125
+ readonly autofocus?: boolean | undefined;
126
+ readonly enterkeyhint?: EnterKeyHint | undefined;
127
+ readonly mode?: InputMode | undefined;
128
+ readonly autoSize?: AutoSize | undefined;
129
+ readonly maxLength?: number | undefined;
130
+ readonly showWordLimit?: boolean | undefined;
131
+ readonly clearable?: boolean | undefined;
132
+ readonly extensions?: Extension[] | any[] | undefined;
133
+ readonly size?: "normal" | "small" | undefined;
134
+ readonly stopText?: string | undefined;
135
+ readonly defaultActions?: DefaultActions | undefined;
136
+ readonly submitType?: SubmitTrigger | undefined;
137
+ readonly onClear?: (() => any) | undefined;
138
+ readonly onInput?: ((value: string) => any) | undefined;
139
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined;
140
+ readonly onCancel?: (() => any) | undefined;
141
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined;
142
+ readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
143
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
119
144
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
120
145
  $attrs: Attrs;
121
146
  $refs: {
@@ -127,25 +152,41 @@ $slots: Readonly<{
127
152
  $root: ComponentPublicInstance | null;
128
153
  $parent: ComponentPublicInstance | null;
129
154
  $host: Element | null;
130
- $emit: (event: string, ...args: any[]) => void;
131
- $el: any;
132
- $options: ComponentOptionsBase<Readonly<{
133
- appendTo?: string | HTMLElement;
134
- offset?: number | {
135
- mainAxis?: number;
136
- crossAxis?: number;
137
- };
138
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
139
- preventOverflow?: boolean;
140
- show?: boolean;
141
- transitionProps?: TransitionProps;
142
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
143
- }> & Readonly<{}>, {
144
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
145
- popperRef: ComputedRef<HTMLDivElement | null>;
146
- update: () => void;
147
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
148
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
155
+ $emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
156
+ $el: HTMLDivElement;
157
+ $options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
158
+ onClear?: (() => any) | undefined;
159
+ onInput?: ((value: string) => any) | undefined;
160
+ onBlur?: ((event: FocusEvent) => any) | undefined;
161
+ onCancel?: (() => any) | undefined;
162
+ onFocus?: ((event: FocusEvent) => any) | undefined;
163
+ onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
164
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
165
+ }>, {
166
+ submit: () => void;
167
+ clear: () => void;
168
+ cancel: () => void;
169
+ focus: () => void;
170
+ blur: () => void;
171
+ setContent: (content: string) => void;
172
+ getContent: () => string;
173
+ editor: SenderContext["editor"];
174
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
175
+ clear: () => any;
176
+ input: (value: string) => any;
177
+ blur: (event: FocusEvent) => any;
178
+ cancel: () => any;
179
+ focus: (event: FocusEvent) => any;
180
+ submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
181
+ "update:modelValue": (value: string) => any;
182
+ }, string, {
183
+ size: "normal" | "small";
184
+ placeholder: string;
185
+ mode: InputMode;
186
+ enterkeyhint: EnterKeyHint;
187
+ autoSize: AutoSize;
188
+ extensions: Extension[] | any[];
189
+ submitType: SubmitTrigger;
149
190
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
150
191
  beforeCreate?: (() => void) | (() => void)[];
151
192
  created?: (() => void) | (() => void)[];
@@ -167,125 +208,85 @@ $forceUpdate: () => void;
167
208
  $nextTick: nextTick;
168
209
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
169
210
  } & Readonly<{
170
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
171
- }> & Omit<Readonly<{
172
- appendTo?: string | HTMLElement;
173
- offset?: number | {
174
- mainAxis?: number;
175
- crossAxis?: number;
176
- };
177
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
178
- preventOverflow?: boolean;
179
- show?: boolean;
180
- transitionProps?: TransitionProps;
181
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
182
- }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
183
- triggerRef: HTMLElement | SVGElement | null | undefined;
184
- popperRef: HTMLDivElement | null;
185
- update: () => void;
211
+ size: "normal" | "small";
212
+ placeholder: string;
213
+ mode: InputMode;
214
+ enterkeyhint: EnterKeyHint;
215
+ autoSize: AutoSize;
216
+ extensions: Extension[] | any[];
217
+ submitType: SubmitTrigger;
218
+ }> & Omit<Readonly<SenderProps> & Readonly<{
219
+ onClear?: (() => any) | undefined;
220
+ onInput?: ((value: string) => any) | undefined;
221
+ onBlur?: ((event: FocusEvent) => any) | undefined;
222
+ onCancel?: (() => any) | undefined;
223
+ onFocus?: ((event: FocusEvent) => any) | undefined;
224
+ onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
225
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
226
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
227
+ submit: () => void;
228
+ clear: () => void;
229
+ cancel: () => void;
230
+ focus: () => void;
231
+ blur: () => void;
232
+ setContent: (content: string) => void;
233
+ getContent: () => string;
234
+ editor: Editor | undefined;
186
235
  } & {} & ComponentCustomProperties & {} & {
187
- $slots: Readonly<{
188
- trigger?: () => VNode[];
189
- content?: () => VNode[];
190
- }> & {
191
- trigger?: () => VNode[];
192
- content?: () => VNode[];
236
+ $slots: {
237
+ header?(_: {}): any;
238
+ header?(_: {}): any;
239
+ prefix?(_: {}): any;
240
+ prefix?(_: {}): any;
241
+ content?(_: {
242
+ editor: Editor | undefined;
243
+ }): any;
244
+ content?(_: {
245
+ editor: Ref<Editor | undefined, Editor | undefined>;
246
+ }): any;
247
+ 'actions-inline'?(_: {}): any;
248
+ footer?(_: {}): any;
249
+ 'footer-right'?(_: {}): any;
193
250
  };
194
251
  }) | null;
195
- listRef: HTMLUListElement;
196
- tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
197
- show?: TooltipContentProps["show"];
198
- } & TooltipContentProps> & Readonly<{
199
- "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
200
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
- "update:show": (value: boolean | undefined) => any;
202
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
203
- P: {};
204
- B: {};
205
- D: {};
206
- C: {};
207
- M: {};
208
- Defaults: {};
209
- }, Readonly<{
210
- show?: TooltipContentProps["show"];
211
- } & TooltipContentProps> & Readonly<{
212
- "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
213
- }>, {}, {}, {}, {}, {}> | null;
214
- }, any>;
215
-
216
- declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
217
- "update:theme": (value: string) => any;
218
- "update:colorMode": (value: ColorMode) => any;
219
- }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
220
- "onUpdate:theme"?: ((value: string) => any) | undefined;
221
- "onUpdate:colorMode"?: ((value: ColorMode) => any) | undefined;
222
- }>, {
223
- targetElement: string;
224
- storageKey: string;
225
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
226
-
227
- declare const __VLS_component_13: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
228
- align: "left" | "center" | "right" | string;
229
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
230
-
231
- declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
232
- "update:visible": (value: boolean) => any;
233
- } & {
234
- refresh: (tab: "installed" | "market") => any;
235
- "update:visible": (visible: boolean) => any;
236
- "market-category-change": (category: string) => any;
237
- "tab-change": (activeTab: "installed" | "market") => any;
238
- "plugin-toggle": (plugin: PluginInfo, enabled: boolean) => any;
239
- "plugin-delete": (plugin: PluginInfo) => any;
240
- "plugin-add": (plugin: PluginInfo) => any;
241
- "plugin-create": (type: "code" | "form", data: PluginCreationData) => any;
242
- "tool-toggle": (plugin: PluginInfo, toolId: string, enabled: boolean) => any;
243
- "update:activeCount": (count: number) => any;
244
- }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
245
- onRefresh?: ((tab: "installed" | "market") => any) | undefined;
246
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
247
- "onMarket-category-change"?: ((category: string) => any) | undefined;
248
- "onTab-change"?: ((activeTab: "installed" | "market") => any) | undefined;
249
- "onPlugin-toggle"?: ((plugin: PluginInfo, enabled: boolean) => any) | undefined;
250
- "onPlugin-delete"?: ((plugin: PluginInfo) => any) | undefined;
251
- "onPlugin-add"?: ((plugin: PluginInfo) => any) | undefined;
252
- "onPlugin-create"?: ((type: "code" | "form", data: PluginCreationData) => any) | undefined;
253
- "onTool-toggle"?: ((plugin: PluginInfo, toolId: string, enabled: boolean) => any) | undefined;
254
- "onUpdate:activeCount"?: ((count: number) => any) | undefined;
252
+ voiceRef: ({
253
+ $: ComponentInternalInstance;
254
+ $data: {};
255
+ $props: {
256
+ readonly icon?: (VNode | Component) | undefined;
257
+ readonly recordingIcon?: (VNode | Component) | undefined;
258
+ readonly disabled?: boolean | undefined;
259
+ readonly size?: "small" | "normal" | undefined;
260
+ readonly tooltip?: TooltipContent | undefined;
261
+ readonly tooltipPlacement?: TooltipPlacement | undefined;
262
+ readonly speechConfig?: SpeechConfig | undefined;
263
+ readonly autoInsert?: boolean | undefined;
264
+ readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
265
+ readonly "onSpeech-start"?: (() => any) | undefined;
266
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
267
+ readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
268
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
269
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
270
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
271
+ $attrs: Attrs;
272
+ $refs: {
273
+ [x: string]: unknown;
274
+ };
275
+ $slots: Readonly<{
276
+ [name: string]: Slot<any> | undefined;
277
+ }>;
278
+ $root: ComponentPublicInstance | null;
279
+ $parent: ComponentPublicInstance | null;
280
+ $host: Element | null;
281
+ $emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
282
+ $el: any;
283
+ $options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
284
+ "onSpeech-start"?: (() => any) | undefined;
285
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
286
+ "onSpeech-final"?: ((transcript: string) => any) | undefined;
287
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
288
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
255
289
  }>, {
256
- title: string;
257
- loading: boolean;
258
- installedPlugins: PluginInfo[];
259
- marketPlugins: PluginInfo[];
260
- searchPlaceholder: string;
261
- enableSearch: boolean;
262
- installedSearchFn: (query: string, item: PluginInfo) => boolean;
263
- marketSearchFn: (query: string, item: PluginInfo) => boolean;
264
- marketCategoryOptions: MarketCategoryOption[];
265
- marketCategoryPlaceholder: string;
266
- enableMarketCategoryFilter: boolean;
267
- defaultActiveTab: "installed" | "market";
268
- showInstalledTab: boolean;
269
- showMarketTab: boolean;
270
- popupConfig: PopupConfig;
271
- installedTabTitle: string;
272
- marketTabTitle: string;
273
- showCustomAddButton: boolean;
274
- customAddButtonText: string;
275
- allowPluginToggle: boolean;
276
- allowToolToggle: boolean;
277
- allowPluginDelete: boolean;
278
- allowPluginAdd: boolean;
279
- marketLoading: boolean;
280
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
281
-
282
- declare const __VLS_component_15: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
283
- disabled: boolean;
284
- active: boolean;
285
- tooltipPlacement: TooltipPlacement;
286
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
287
-
288
- declare const __VLS_component_16: DefineComponent<VoiceButtonProps, {
289
290
  start: () => void;
290
291
  stop: () => void;
291
292
  speechState: SpeechState;
@@ -295,72 +296,99 @@ speechState: SpeechState;
295
296
  "speech-final": (transcript: string) => any;
296
297
  "speech-end": (transcript?: string | undefined) => any;
297
298
  "speech-error": (error: Error) => any;
298
- }, string, PublicProps, Readonly<VoiceButtonProps> & Readonly<{
299
+ }, string, {
300
+ tooltipPlacement: TooltipPlacement;
301
+ autoInsert: boolean;
302
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
303
+ beforeCreate?: (() => void) | (() => void)[];
304
+ created?: (() => void) | (() => void)[];
305
+ beforeMount?: (() => void) | (() => void)[];
306
+ mounted?: (() => void) | (() => void)[];
307
+ beforeUpdate?: (() => void) | (() => void)[];
308
+ updated?: (() => void) | (() => void)[];
309
+ activated?: (() => void) | (() => void)[];
310
+ deactivated?: (() => void) | (() => void)[];
311
+ beforeDestroy?: (() => void) | (() => void)[];
312
+ beforeUnmount?: (() => void) | (() => void)[];
313
+ destroyed?: (() => void) | (() => void)[];
314
+ unmounted?: (() => void) | (() => void)[];
315
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
316
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
317
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
318
+ };
319
+ $forceUpdate: () => void;
320
+ $nextTick: nextTick;
321
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
322
+ } & Readonly<{
323
+ tooltipPlacement: TooltipPlacement;
324
+ autoInsert: boolean;
325
+ }> & Omit<Readonly<VoiceButtonProps> & Readonly<{
299
326
  "onSpeech-start"?: (() => any) | undefined;
300
327
  "onSpeech-interim"?: ((transcript: string) => any) | undefined;
301
328
  "onSpeech-final"?: ((transcript: string) => any) | undefined;
302
329
  "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
303
330
  "onSpeech-error"?: ((error: Error) => any) | undefined;
304
- }>, {
305
- tooltipPlacement: TooltipPlacement;
306
- autoInsert: boolean;
307
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
308
-
309
- declare const __VLS_component_2: DefineComponent<BubbleListProps, {
310
- scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
311
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
312
- "state-change": (payload: {
313
- key: string;
314
- value: unknown;
315
- messageIndex: number;
316
- contentIndex: number;
317
- }) => any;
318
- }, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
319
- "onState-change"?: ((payload: {
320
- key: string;
321
- value: unknown;
322
- messageIndex: number;
323
- contentIndex: number;
324
- }) => any) | undefined;
325
- }>, {
326
- contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
327
- groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
328
- dividerRole: string;
329
- fallbackRole: string;
330
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
331
- listRef: HTMLDivElement;
331
+ }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
332
+ start: () => void;
333
+ stop: () => void;
334
+ speechState: SpeechState;
335
+ } & {} & ComponentCustomProperties & {} & {
336
+ $slots: {
337
+ icon?(_: {
338
+ isRecording: boolean;
339
+ }): any;
340
+ 'recording-overlay'?(_: {
341
+ isRecording: boolean;
342
+ stop: () => void;
343
+ }): any;
344
+ };
345
+ }) | null;
332
346
  }, HTMLDivElement>;
333
347
 
334
- declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
348
+ declare const __VLS_component_11: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
335
349
 
336
- declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
337
- "update:show": (value: boolean) => any;
338
- "update:fullscreen": (value: boolean | undefined) => any;
350
+ declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_3, {
351
+ children: ComputedRef<(HTMLElement | SVGElement)[]>;
352
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
353
+ "update:showAll": (value: boolean | undefined) => any;
339
354
  } & {
340
- close: () => any;
341
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
342
- onClose?: (() => any) | undefined;
343
- "onUpdate:show"?: ((value: boolean) => any) | undefined;
344
- "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
355
+ "click-outside": (event: MouseEvent) => any;
356
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
357
+ "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
358
+ "onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
345
359
  }>, {
346
- title: string;
347
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
348
-
349
- declare const __VLS_component_5: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
360
+ showAllButtonOn: "hover" | "always";
361
+ overflowMode: "expand" | "scroll";
362
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
363
+ containerWrapperRef: HTMLDivElement;
364
+ containerRef: HTMLDivElement;
365
+ staticMaybeItemRefs: unknown[];
366
+ floatingItemsRef: HTMLDivElement;
367
+ floatingMaybeItemRefs: unknown[];
368
+ }, HTMLDivElement>;
350
369
 
351
- declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {
370
+ declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_4, {
352
371
  update: () => void;
353
372
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
354
- "update:show": (value: boolean) => any;
373
+ "update:selectedGroup": (value: string) => any;
355
374
  } & {
356
- "item-click": (item: DropdownMenuItem) => any;
375
+ close: () => any;
376
+ open: () => any;
377
+ "item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
357
378
  "click-outside": (event: MouseEvent) => any;
358
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
359
- "onUpdate:show"?: ((value: boolean) => any) | undefined;
360
- "onItem-click"?: ((item: DropdownMenuItem) => any) | undefined;
379
+ "group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
380
+ }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
381
+ onClose?: (() => any) | undefined;
382
+ onOpen?: (() => any) | undefined;
383
+ "onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
361
384
  "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
385
+ "onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
386
+ "onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
362
387
  }>, {
363
- trigger: "click" | "hover" | "manual";
388
+ title: string;
389
+ trigger: "click" | "manual";
390
+ groupShowMoreTrigger: "click" | "hover";
391
+ topOffset: number;
364
392
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
365
393
  basePopperRef: ({
366
394
  $: ComponentInternalInstance;
@@ -452,91 +480,187 @@ trigger?: () => VNode[];
452
480
  content?: () => VNode[];
453
481
  };
454
482
  }) | null;
483
+ listRef: HTMLUListElement;
484
+ tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
485
+ show?: TooltipContentProps["show"];
486
+ } & TooltipContentProps> & Readonly<{
487
+ "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
488
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
489
+ "update:show": (value: boolean | undefined) => any;
490
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
491
+ P: {};
492
+ B: {};
493
+ D: {};
494
+ C: {};
495
+ M: {};
496
+ Defaults: {};
497
+ }, Readonly<{
498
+ show?: TooltipContentProps["show"];
499
+ } & TooltipContentProps> & Readonly<{
500
+ "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
501
+ }>, {}, {}, {}, {}, {}> | null;
455
502
  }, any>;
456
503
 
457
- declare const __VLS_component_7: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
458
- "item-click": (ev: MouseEvent, item: PromptProps) => any;
459
- }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
460
- "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
461
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
462
-
463
- declare const __VLS_component_8: DefineComponent<SenderProps_2, {
464
- focus: () => void;
465
- blur: () => void;
466
- clear: () => void;
467
- submit: () => void;
468
- setTemplateData: (templateData: UserTemplateItem[]) => void;
469
- startSpeech: () => void;
470
- stopSpeech: () => void;
504
+ declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
505
+ "update:theme": (value: string) => any;
506
+ "update:colorMode": (value: ColorMode) => any;
507
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
508
+ "onUpdate:theme"?: ((value: string) => any) | undefined;
509
+ "onUpdate:colorMode"?: ((value: ColorMode) => any) | undefined;
510
+ }>, {
511
+ targetElement: string;
512
+ storageKey: string;
513
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
514
+
515
+ declare const __VLS_component_15: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
516
+ align: "left" | "center" | "right" | string;
517
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
518
+
519
+ declare const __VLS_component_16: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
520
+ "update:visible": (value: boolean) => any;
521
+ } & {
522
+ refresh: (tab: "installed" | "market") => any;
523
+ "update:visible": (visible: boolean) => any;
524
+ "market-category-change": (category: string) => any;
525
+ "tab-change": (activeTab: "installed" | "market") => any;
526
+ "plugin-toggle": (plugin: PluginInfo, enabled: boolean) => any;
527
+ "plugin-delete": (plugin: PluginInfo) => any;
528
+ "plugin-add": (plugin: PluginInfo) => any;
529
+ "plugin-create": (type: "code" | "form", data: PluginCreationData) => any;
530
+ "tool-toggle": (plugin: PluginInfo, toolId: string, enabled: boolean) => any;
531
+ "update:activeCount": (count: number) => any;
532
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
533
+ onRefresh?: ((tab: "installed" | "market") => any) | undefined;
534
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
535
+ "onMarket-category-change"?: ((category: string) => any) | undefined;
536
+ "onTab-change"?: ((activeTab: "installed" | "market") => any) | undefined;
537
+ "onPlugin-toggle"?: ((plugin: PluginInfo, enabled: boolean) => any) | undefined;
538
+ "onPlugin-delete"?: ((plugin: PluginInfo) => any) | undefined;
539
+ "onPlugin-add"?: ((plugin: PluginInfo) => any) | undefined;
540
+ "onPlugin-create"?: ((type: "code" | "form", data: PluginCreationData) => any) | undefined;
541
+ "onTool-toggle"?: ((plugin: PluginInfo, toolId: string, enabled: boolean) => any) | undefined;
542
+ "onUpdate:activeCount"?: ((count: number) => any) | undefined;
543
+ }>, {
544
+ title: string;
545
+ loading: boolean;
546
+ installedPlugins: PluginInfo[];
547
+ marketPlugins: PluginInfo[];
548
+ searchPlaceholder: string;
549
+ enableSearch: boolean;
550
+ installedSearchFn: (query: string, item: PluginInfo) => boolean;
551
+ marketSearchFn: (query: string, item: PluginInfo) => boolean;
552
+ marketCategoryOptions: MarketCategoryOption[];
553
+ marketCategoryPlaceholder: string;
554
+ enableMarketCategoryFilter: boolean;
555
+ defaultActiveTab: "installed" | "market";
556
+ showInstalledTab: boolean;
557
+ showMarketTab: boolean;
558
+ popupConfig: PopupConfig;
559
+ installedTabTitle: string;
560
+ marketTabTitle: string;
561
+ showCustomAddButton: boolean;
562
+ customAddButtonText: string;
563
+ allowPluginToggle: boolean;
564
+ allowToolToggle: boolean;
565
+ allowPluginDelete: boolean;
566
+ allowPluginAdd: boolean;
567
+ marketLoading: boolean;
568
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
569
+
570
+ declare const __VLS_component_17: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
571
+ disabled: boolean;
572
+ active: boolean;
573
+ tooltipPlacement: TooltipPlacement;
574
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
575
+
576
+ declare const __VLS_component_18: DefineComponent<VoiceButtonProps, {
577
+ start: () => void;
578
+ stop: () => void;
579
+ speechState: SpeechState;
471
580
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
472
- clear: () => any;
473
- blur: (event: FocusEvent) => any;
474
- cancel: () => any;
475
- focus: (event: FocusEvent) => any;
476
- submit: (value: string) => any;
477
- "update:modelValue": (value: string) => any;
478
581
  "speech-start": () => any;
479
582
  "speech-interim": (transcript: string) => any;
583
+ "speech-final": (transcript: string) => any;
480
584
  "speech-end": (transcript?: string | undefined) => any;
481
585
  "speech-error": (error: Error) => any;
482
- "update:templateData": (value: UserItem[]) => any;
483
- "suggestion-select": (value: string) => any;
484
- "escape-press": () => any;
485
- "reset-template": () => any;
486
- "files-selected": (files: File[]) => any;
487
- }, string, PublicProps, Readonly<SenderProps_2> & Readonly<{
488
- onClear?: (() => any) | undefined;
489
- onBlur?: ((event: FocusEvent) => any) | undefined;
490
- onCancel?: (() => any) | undefined;
491
- onFocus?: ((event: FocusEvent) => any) | undefined;
492
- onSubmit?: ((value: string) => any) | undefined;
493
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
586
+ }, string, PublicProps, Readonly<VoiceButtonProps> & Readonly<{
494
587
  "onSpeech-start"?: (() => any) | undefined;
495
588
  "onSpeech-interim"?: ((transcript: string) => any) | undefined;
589
+ "onSpeech-final"?: ((transcript: string) => any) | undefined;
496
590
  "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
497
591
  "onSpeech-error"?: ((error: Error) => any) | undefined;
498
- "onUpdate:templateData"?: ((value: UserItem[]) => any) | undefined;
499
- "onSuggestion-select"?: ((value: string) => any) | undefined;
500
- "onEscape-press"?: (() => any) | undefined;
501
- "onReset-template"?: (() => any) | undefined;
502
- "onFiles-selected"?: ((files: File[]) => any) | undefined;
503
592
  }>, {
504
- placeholder: string;
505
- mode: InputMode;
506
- submitType: SubmitTrigger;
593
+ tooltipPlacement: TooltipPlacement;
594
+ autoInsert: boolean;
595
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
596
+
597
+ declare const __VLS_component_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
598
+
599
+ declare const __VLS_component_2: DefineComponent<BubbleListProps, {
600
+ scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
601
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
602
+ "state-change": (payload: BubbleStateChangePayload) => any;
603
+ "bubble-event": (payload: BubbleEventPayload) => any;
604
+ }, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
605
+ "onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
606
+ "onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
607
+ }>, {
608
+ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
609
+ groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
610
+ dividerRole: string;
611
+ fallbackRole: string;
507
612
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
508
- senderRef: ({
613
+ listRef: HTMLDivElement;
614
+ }, HTMLDivElement>;
615
+
616
+ declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
617
+
618
+ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
619
+ "update:show": (value: boolean) => any;
620
+ "update:fullscreen": (value: boolean | undefined) => any;
621
+ } & {
622
+ close: () => any;
623
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
624
+ onClose?: (() => any) | undefined;
625
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
626
+ "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
627
+ }>, {
628
+ title: string;
629
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
630
+
631
+ declare const __VLS_component_5: DefineComponent<AnchorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
632
+ select: (item: AnchorItem) => any;
633
+ "update:searchQuery": (value: string) => any;
634
+ "update:activeId": (value: string | undefined) => any;
635
+ "update:expanded": (value: boolean) => any;
636
+ }, string, PublicProps, Readonly<AnchorProps> & Readonly<{
637
+ onSelect?: ((item: AnchorItem) => any) | undefined;
638
+ "onUpdate:searchQuery"?: ((value: string) => any) | undefined;
639
+ "onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
640
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
641
+ }>, {
642
+ placement: AnchorPlacement;
643
+ tooltipDelay: number;
644
+ emptyText: string;
645
+ activeOffset: number;
646
+ expandTrigger: AnchorExpandTrigger;
647
+ targetFeedbackDuration: number;
648
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
649
+ overlayShellRef: ({
509
650
  $: ComponentInternalInstance;
510
651
  $data: {};
511
652
  $props: {
512
- readonly modelValue?: string | undefined;
513
- readonly defaultValue?: string | undefined;
514
- readonly placeholder?: string | undefined;
515
- readonly disabled?: boolean | undefined;
516
- readonly loading?: boolean | undefined;
517
- readonly autofocus?: boolean | undefined;
518
- readonly enterkeyhint?: EnterKeyHint | undefined;
519
- readonly mode?: InputMode | undefined;
520
- readonly autoSize?: AutoSize | undefined;
521
- readonly maxLength?: number | undefined;
522
- readonly showWordLimit?: boolean | undefined;
523
- readonly clearable?: boolean | undefined;
524
- readonly extensions?: Extension[] | any[] | undefined;
525
- readonly size?: "normal" | "small" | undefined;
526
- readonly stopText?: string | undefined;
527
- readonly defaultActions?: DefaultActions | undefined;
528
- readonly submitType?: SubmitTrigger | undefined;
529
- readonly onClear?: (() => any) | undefined;
530
- readonly onInput?: ((value: string) => any) | undefined;
531
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
532
- readonly onCancel?: (() => any) | undefined;
533
- readonly onFocus?: ((event: FocusEvent) => any) | undefined;
534
- readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
535
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
653
+ readonly expanded: boolean;
654
+ readonly placement: AnchorPlacement;
655
+ readonly floatingOffset?: number | undefined;
536
656
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
537
657
  $attrs: Attrs;
538
658
  $refs: {
539
659
  [x: string]: unknown;
660
+ } & {
661
+ hostEl: HTMLDivElement;
662
+ overlayEl: HTMLDivElement;
663
+ navEl: HTMLElement;
540
664
  };
541
665
  $slots: Readonly<{
542
666
  [name: string]: Slot<any> | undefined;
@@ -544,41 +668,14 @@ $slots: Readonly<{
544
668
  $root: ComponentPublicInstance | null;
545
669
  $parent: ComponentPublicInstance | null;
546
670
  $host: Element | null;
547
- $emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
671
+ $emit: (event: string, ...args: any[]) => void;
548
672
  $el: HTMLDivElement;
549
- $options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
550
- onClear?: (() => any) | undefined;
551
- onInput?: ((value: string) => any) | undefined;
552
- onBlur?: ((event: FocusEvent) => any) | undefined;
553
- onCancel?: (() => any) | undefined;
554
- onFocus?: ((event: FocusEvent) => any) | undefined;
555
- onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
556
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
557
- }>, {
558
- submit: () => void;
559
- clear: () => void;
560
- cancel: () => void;
561
- focus: () => void;
562
- blur: () => void;
563
- setContent: (content: string) => void;
564
- getContent: () => string;
565
- editor: SenderContext["editor"];
566
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
567
- clear: () => any;
568
- input: (value: string) => any;
569
- blur: (event: FocusEvent) => any;
570
- cancel: () => any;
571
- focus: (event: FocusEvent) => any;
572
- submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
573
- "update:modelValue": (value: string) => any;
574
- }, string, {
575
- size: "normal" | "small";
576
- placeholder: string;
577
- mode: InputMode;
578
- enterkeyhint: EnterKeyHint;
579
- autoSize: AutoSize;
580
- extensions: Extension[] | any[];
581
- submitType: SubmitTrigger;
673
+ $options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
674
+ hostEl: Ref<HTMLElement | null, HTMLElement | null>;
675
+ overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
676
+ navEl: Ref<HTMLElement | null, HTMLElement | null>;
677
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
678
+ floatingOffset: number;
582
679
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
583
680
  beforeCreate?: (() => void) | (() => void)[];
584
681
  created?: (() => void) | (() => void)[];
@@ -600,65 +697,49 @@ $forceUpdate: () => void;
600
697
  $nextTick: nextTick;
601
698
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
602
699
  } & Readonly<{
603
- size: "normal" | "small";
604
- placeholder: string;
605
- mode: InputMode;
606
- enterkeyhint: EnterKeyHint;
607
- autoSize: AutoSize;
608
- extensions: Extension[] | any[];
609
- submitType: SubmitTrigger;
610
- }> & Omit<Readonly<SenderProps> & Readonly<{
611
- onClear?: (() => any) | undefined;
612
- onInput?: ((value: string) => any) | undefined;
613
- onBlur?: ((event: FocusEvent) => any) | undefined;
614
- onCancel?: (() => any) | undefined;
615
- onFocus?: ((event: FocusEvent) => any) | undefined;
616
- onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
617
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
618
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
619
- submit: () => void;
620
- clear: () => void;
621
- cancel: () => void;
622
- focus: () => void;
623
- blur: () => void;
624
- setContent: (content: string) => void;
625
- getContent: () => string;
626
- editor: Editor | undefined;
700
+ floatingOffset: number;
701
+ }> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
702
+ hostEl: HTMLElement | null;
703
+ overlayEl: HTMLElement | null;
704
+ navEl: HTMLElement | null;
627
705
  } & {} & ComponentCustomProperties & {} & {
628
706
  $slots: {
629
- header?(_: {}): any;
630
- header?(_: {}): any;
631
- prefix?(_: {}): any;
632
- prefix?(_: {}): any;
633
- content?(_: {
634
- editor: Editor | undefined;
635
- }): any;
636
- content?(_: {
637
- editor: Ref<Editor | undefined, Editor | undefined>;
638
- }): any;
639
- 'actions-inline'?(_: {}): any;
640
- footer?(_: {}): any;
641
- 'footer-right'?(_: {}): any;
707
+ search?(_: {}): any;
708
+ default?(_: {}): any;
642
709
  };
643
710
  }) | null;
644
- voiceRef: ({
711
+ }, any>;
712
+
713
+ declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
714
+
715
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
716
+ update: () => void;
717
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
718
+ "update:show": (value: boolean) => any;
719
+ } & {
720
+ "item-click": (item: DropdownMenuItem) => any;
721
+ "click-outside": (event: MouseEvent) => any;
722
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
723
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
724
+ "onItem-click"?: ((item: DropdownMenuItem) => any) | undefined;
725
+ "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
726
+ }>, {
727
+ trigger: "click" | "hover" | "manual";
728
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
729
+ basePopperRef: ({
645
730
  $: ComponentInternalInstance;
646
731
  $data: {};
647
732
  $props: {
648
- readonly icon?: (VNode | Component) | undefined;
649
- readonly recordingIcon?: (VNode | Component) | undefined;
650
- readonly disabled?: boolean | undefined;
651
- readonly size?: "small" | "normal" | undefined;
652
- readonly tooltip?: TooltipContent | undefined;
653
- readonly tooltipPlacement?: TooltipPlacement | undefined;
654
- readonly speechConfig?: SpeechConfig | undefined;
655
- readonly autoInsert?: boolean | undefined;
656
- readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
657
- readonly "onSpeech-start"?: (() => any) | undefined;
658
- readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
659
- readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
660
- readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
661
- readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
733
+ readonly appendTo?: (string | HTMLElement) | undefined;
734
+ readonly offset?: number | {
735
+ mainAxis?: number;
736
+ crossAxis?: number;
737
+ } | undefined;
738
+ readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
739
+ readonly preventOverflow?: boolean | undefined;
740
+ readonly show?: boolean | undefined;
741
+ readonly transitionProps?: TransitionProps | undefined;
742
+ readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
662
743
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
663
744
  $attrs: Attrs;
664
745
  $refs: {
@@ -670,27 +751,25 @@ $slots: Readonly<{
670
751
  $root: ComponentPublicInstance | null;
671
752
  $parent: ComponentPublicInstance | null;
672
753
  $host: Element | null;
673
- $emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
754
+ $emit: (event: string, ...args: any[]) => void;
674
755
  $el: any;
675
- $options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
676
- "onSpeech-start"?: (() => any) | undefined;
677
- "onSpeech-interim"?: ((transcript: string) => any) | undefined;
678
- "onSpeech-final"?: ((transcript: string) => any) | undefined;
679
- "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
680
- "onSpeech-error"?: ((error: Error) => any) | undefined;
681
- }>, {
682
- start: () => void;
683
- stop: () => void;
684
- speechState: SpeechState;
685
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
686
- "speech-start": () => any;
687
- "speech-interim": (transcript: string) => any;
688
- "speech-final": (transcript: string) => any;
689
- "speech-end": (transcript?: string | undefined) => any;
690
- "speech-error": (error: Error) => any;
691
- }, string, {
692
- tooltipPlacement: TooltipPlacement;
693
- autoInsert: boolean;
756
+ $options: ComponentOptionsBase<Readonly<{
757
+ appendTo?: string | HTMLElement;
758
+ offset?: number | {
759
+ mainAxis?: number;
760
+ crossAxis?: number;
761
+ };
762
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
763
+ preventOverflow?: boolean;
764
+ show?: boolean;
765
+ transitionProps?: TransitionProps;
766
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
767
+ }> & Readonly<{}>, {
768
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
769
+ popperRef: ComputedRef<HTMLDivElement | null>;
770
+ update: () => void;
771
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
772
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
694
773
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
695
774
  beforeCreate?: (() => void) | (() => void)[];
696
775
  created?: (() => void) | (() => void)[];
@@ -712,32 +791,40 @@ $forceUpdate: () => void;
712
791
  $nextTick: nextTick;
713
792
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
714
793
  } & Readonly<{
715
- tooltipPlacement: TooltipPlacement;
716
- autoInsert: boolean;
717
- }> & Omit<Readonly<VoiceButtonProps> & Readonly<{
718
- "onSpeech-start"?: (() => any) | undefined;
719
- "onSpeech-interim"?: ((transcript: string) => any) | undefined;
720
- "onSpeech-final"?: ((transcript: string) => any) | undefined;
721
- "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
722
- "onSpeech-error"?: ((error: Error) => any) | undefined;
723
- }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
724
- start: () => void;
725
- stop: () => void;
726
- speechState: SpeechState;
794
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
795
+ }> & Omit<Readonly<{
796
+ appendTo?: string | HTMLElement;
797
+ offset?: number | {
798
+ mainAxis?: number;
799
+ crossAxis?: number;
800
+ };
801
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
802
+ preventOverflow?: boolean;
803
+ show?: boolean;
804
+ transitionProps?: TransitionProps;
805
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
806
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
807
+ triggerRef: HTMLElement | SVGElement | null | undefined;
808
+ popperRef: HTMLDivElement | null;
809
+ update: () => void;
727
810
  } & {} & ComponentCustomProperties & {} & {
728
- $slots: {
729
- icon?(_: {
730
- isRecording: boolean;
731
- }): any;
732
- 'recording-overlay'?(_: {
733
- isRecording: boolean;
734
- stop: () => void;
735
- }): any;
811
+ $slots: Readonly<{
812
+ trigger?: () => VNode[];
813
+ content?: () => VNode[];
814
+ }> & {
815
+ trigger?: () => VNode[];
816
+ content?: () => VNode[];
736
817
  };
737
818
  }) | null;
738
- }, HTMLDivElement>;
819
+ }, any>;
739
820
 
740
- declare const __VLS_component_9: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
821
+ declare const __VLS_component_8: DefineComponent<LayoutAsideToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutAsideToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
822
+
823
+ declare const __VLS_component_9: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
824
+ "item-click": (ev: MouseEvent, item: PromptProps) => any;
825
+ }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
826
+ "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
827
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
741
828
 
742
829
  declare type __VLS_PrettifyLocal<T> = {
743
830
  [K in keyof T]: T[K];
@@ -790,7 +877,262 @@ declare function __VLS_template(): {
790
877
  rootEl: HTMLDivElement;
791
878
  };
792
879
 
793
- declare function __VLS_template_10(): {
880
+ declare function __VLS_template_10(): {
881
+ attrs: Partial<{}>;
882
+ slots: {
883
+ header?(_: {}): any;
884
+ prefix?(_: {}): any;
885
+ content?(_: {
886
+ editor: Ref<Editor | undefined, Editor | undefined>;
887
+ }): any;
888
+ actions?(_: {}): any;
889
+ 'footer-left'?(_: {}): any;
890
+ footer?(_: {}): any;
891
+ 'footer-right'?(_: {}): any;
892
+ };
893
+ refs: {
894
+ senderRef: ({
895
+ $: ComponentInternalInstance;
896
+ $data: {};
897
+ $props: {
898
+ readonly modelValue?: string | undefined;
899
+ readonly defaultValue?: string | undefined;
900
+ readonly placeholder?: string | undefined;
901
+ readonly disabled?: boolean | undefined;
902
+ readonly loading?: boolean | undefined;
903
+ readonly autofocus?: boolean | undefined;
904
+ readonly enterkeyhint?: EnterKeyHint | undefined;
905
+ readonly mode?: InputMode | undefined;
906
+ readonly autoSize?: AutoSize | undefined;
907
+ readonly maxLength?: number | undefined;
908
+ readonly showWordLimit?: boolean | undefined;
909
+ readonly clearable?: boolean | undefined;
910
+ readonly extensions?: Extension[] | any[] | undefined;
911
+ readonly size?: "normal" | "small" | undefined;
912
+ readonly stopText?: string | undefined;
913
+ readonly defaultActions?: DefaultActions | undefined;
914
+ readonly submitType?: SubmitTrigger | undefined;
915
+ readonly onClear?: (() => any) | undefined;
916
+ readonly onInput?: ((value: string) => any) | undefined;
917
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined;
918
+ readonly onCancel?: (() => any) | undefined;
919
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined;
920
+ readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
921
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
922
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
923
+ $attrs: Attrs;
924
+ $refs: {
925
+ [x: string]: unknown;
926
+ };
927
+ $slots: Readonly<{
928
+ [name: string]: Slot<any> | undefined;
929
+ }>;
930
+ $root: ComponentPublicInstance | null;
931
+ $parent: ComponentPublicInstance | null;
932
+ $host: Element | null;
933
+ $emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
934
+ $el: HTMLDivElement;
935
+ $options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
936
+ onClear?: (() => any) | undefined;
937
+ onInput?: ((value: string) => any) | undefined;
938
+ onBlur?: ((event: FocusEvent) => any) | undefined;
939
+ onCancel?: (() => any) | undefined;
940
+ onFocus?: ((event: FocusEvent) => any) | undefined;
941
+ onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
942
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
943
+ }>, {
944
+ submit: () => void;
945
+ clear: () => void;
946
+ cancel: () => void;
947
+ focus: () => void;
948
+ blur: () => void;
949
+ setContent: (content: string) => void;
950
+ getContent: () => string;
951
+ editor: SenderContext["editor"];
952
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
953
+ clear: () => any;
954
+ input: (value: string) => any;
955
+ blur: (event: FocusEvent) => any;
956
+ cancel: () => any;
957
+ focus: (event: FocusEvent) => any;
958
+ submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
959
+ "update:modelValue": (value: string) => any;
960
+ }, string, {
961
+ size: "normal" | "small";
962
+ placeholder: string;
963
+ mode: InputMode;
964
+ enterkeyhint: EnterKeyHint;
965
+ autoSize: AutoSize;
966
+ extensions: Extension[] | any[];
967
+ submitType: SubmitTrigger;
968
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
969
+ beforeCreate?: (() => void) | (() => void)[];
970
+ created?: (() => void) | (() => void)[];
971
+ beforeMount?: (() => void) | (() => void)[];
972
+ mounted?: (() => void) | (() => void)[];
973
+ beforeUpdate?: (() => void) | (() => void)[];
974
+ updated?: (() => void) | (() => void)[];
975
+ activated?: (() => void) | (() => void)[];
976
+ deactivated?: (() => void) | (() => void)[];
977
+ beforeDestroy?: (() => void) | (() => void)[];
978
+ beforeUnmount?: (() => void) | (() => void)[];
979
+ destroyed?: (() => void) | (() => void)[];
980
+ unmounted?: (() => void) | (() => void)[];
981
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
982
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
983
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
984
+ };
985
+ $forceUpdate: () => void;
986
+ $nextTick: nextTick;
987
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
988
+ } & Readonly<{
989
+ size: "normal" | "small";
990
+ placeholder: string;
991
+ mode: InputMode;
992
+ enterkeyhint: EnterKeyHint;
993
+ autoSize: AutoSize;
994
+ extensions: Extension[] | any[];
995
+ submitType: SubmitTrigger;
996
+ }> & Omit<Readonly<SenderProps> & Readonly<{
997
+ onClear?: (() => any) | undefined;
998
+ onInput?: ((value: string) => any) | undefined;
999
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1000
+ onCancel?: (() => any) | undefined;
1001
+ onFocus?: ((event: FocusEvent) => any) | undefined;
1002
+ onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1003
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1004
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
1005
+ submit: () => void;
1006
+ clear: () => void;
1007
+ cancel: () => void;
1008
+ focus: () => void;
1009
+ blur: () => void;
1010
+ setContent: (content: string) => void;
1011
+ getContent: () => string;
1012
+ editor: Editor | undefined;
1013
+ } & {} & ComponentCustomProperties & {} & {
1014
+ $slots: {
1015
+ header?(_: {}): any;
1016
+ header?(_: {}): any;
1017
+ prefix?(_: {}): any;
1018
+ prefix?(_: {}): any;
1019
+ content?(_: {
1020
+ editor: Editor | undefined;
1021
+ }): any;
1022
+ content?(_: {
1023
+ editor: Ref<Editor | undefined, Editor | undefined>;
1024
+ }): any;
1025
+ 'actions-inline'?(_: {}): any;
1026
+ footer?(_: {}): any;
1027
+ 'footer-right'?(_: {}): any;
1028
+ };
1029
+ }) | null;
1030
+ voiceRef: ({
1031
+ $: ComponentInternalInstance;
1032
+ $data: {};
1033
+ $props: {
1034
+ readonly icon?: (VNode | Component) | undefined;
1035
+ readonly recordingIcon?: (VNode | Component) | undefined;
1036
+ readonly disabled?: boolean | undefined;
1037
+ readonly size?: "small" | "normal" | undefined;
1038
+ readonly tooltip?: TooltipContent | undefined;
1039
+ readonly tooltipPlacement?: TooltipPlacement | undefined;
1040
+ readonly speechConfig?: SpeechConfig | undefined;
1041
+ readonly autoInsert?: boolean | undefined;
1042
+ readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
1043
+ readonly "onSpeech-start"?: (() => any) | undefined;
1044
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1045
+ readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
1046
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1047
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
1048
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1049
+ $attrs: Attrs;
1050
+ $refs: {
1051
+ [x: string]: unknown;
1052
+ };
1053
+ $slots: Readonly<{
1054
+ [name: string]: Slot<any> | undefined;
1055
+ }>;
1056
+ $root: ComponentPublicInstance | null;
1057
+ $parent: ComponentPublicInstance | null;
1058
+ $host: Element | null;
1059
+ $emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
1060
+ $el: any;
1061
+ $options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
1062
+ "onSpeech-start"?: (() => any) | undefined;
1063
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1064
+ "onSpeech-final"?: ((transcript: string) => any) | undefined;
1065
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1066
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
1067
+ }>, {
1068
+ start: () => void;
1069
+ stop: () => void;
1070
+ speechState: SpeechState;
1071
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1072
+ "speech-start": () => any;
1073
+ "speech-interim": (transcript: string) => any;
1074
+ "speech-final": (transcript: string) => any;
1075
+ "speech-end": (transcript?: string | undefined) => any;
1076
+ "speech-error": (error: Error) => any;
1077
+ }, string, {
1078
+ tooltipPlacement: TooltipPlacement;
1079
+ autoInsert: boolean;
1080
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1081
+ beforeCreate?: (() => void) | (() => void)[];
1082
+ created?: (() => void) | (() => void)[];
1083
+ beforeMount?: (() => void) | (() => void)[];
1084
+ mounted?: (() => void) | (() => void)[];
1085
+ beforeUpdate?: (() => void) | (() => void)[];
1086
+ updated?: (() => void) | (() => void)[];
1087
+ activated?: (() => void) | (() => void)[];
1088
+ deactivated?: (() => void) | (() => void)[];
1089
+ beforeDestroy?: (() => void) | (() => void)[];
1090
+ beforeUnmount?: (() => void) | (() => void)[];
1091
+ destroyed?: (() => void) | (() => void)[];
1092
+ unmounted?: (() => void) | (() => void)[];
1093
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1094
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1095
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1096
+ };
1097
+ $forceUpdate: () => void;
1098
+ $nextTick: nextTick;
1099
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1100
+ } & Readonly<{
1101
+ tooltipPlacement: TooltipPlacement;
1102
+ autoInsert: boolean;
1103
+ }> & Omit<Readonly<VoiceButtonProps> & Readonly<{
1104
+ "onSpeech-start"?: (() => any) | undefined;
1105
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1106
+ "onSpeech-final"?: ((transcript: string) => any) | undefined;
1107
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1108
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
1109
+ }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
1110
+ start: () => void;
1111
+ stop: () => void;
1112
+ speechState: SpeechState;
1113
+ } & {} & ComponentCustomProperties & {} & {
1114
+ $slots: {
1115
+ icon?(_: {
1116
+ isRecording: boolean;
1117
+ }): any;
1118
+ 'recording-overlay'?(_: {
1119
+ isRecording: boolean;
1120
+ stop: () => void;
1121
+ }): any;
1122
+ };
1123
+ }) | null;
1124
+ };
1125
+ rootEl: HTMLDivElement;
1126
+ };
1127
+
1128
+ declare function __VLS_template_11(): {
1129
+ attrs: Partial<{}>;
1130
+ slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1131
+ refs: {};
1132
+ rootEl: HTMLButtonElement;
1133
+ };
1134
+
1135
+ declare function __VLS_template_12(): {
794
1136
  attrs: Partial<{}>;
795
1137
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
796
1138
  refs: {
@@ -803,7 +1145,7 @@ declare function __VLS_template_10(): {
803
1145
  rootEl: HTMLDivElement;
804
1146
  };
805
1147
 
806
- declare function __VLS_template_11(): {
1148
+ declare function __VLS_template_13(): {
807
1149
  attrs: Partial<{}>;
808
1150
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
809
1151
  refs: {
@@ -920,7 +1262,7 @@ declare function __VLS_template_11(): {
920
1262
  rootEl: any;
921
1263
  };
922
1264
 
923
- declare function __VLS_template_12(): {
1265
+ declare function __VLS_template_14(): {
924
1266
  attrs: Partial<{}>;
925
1267
  slots: {
926
1268
  default?(_: {}): any;
@@ -929,14 +1271,14 @@ declare function __VLS_template_12(): {
929
1271
  rootEl: any;
930
1272
  };
931
1273
 
932
- declare function __VLS_template_13(): {
1274
+ declare function __VLS_template_15(): {
933
1275
  attrs: Partial<{}>;
934
1276
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
935
1277
  refs: {};
936
1278
  rootEl: HTMLDivElement;
937
1279
  };
938
1280
 
939
- declare function __VLS_template_14(): {
1281
+ declare function __VLS_template_16(): {
940
1282
  attrs: Partial<{}>;
941
1283
  slots: {
942
1284
  'header-actions'?(_: {}): any;
@@ -945,7 +1287,7 @@ declare function __VLS_template_14(): {
945
1287
  rootEl: any;
946
1288
  };
947
1289
 
948
- declare function __VLS_template_15(): {
1290
+ declare function __VLS_template_17(): {
949
1291
  attrs: Partial<{}>;
950
1292
  slots: {
951
1293
  icon?(_: {}): any;
@@ -955,7 +1297,7 @@ declare function __VLS_template_15(): {
955
1297
  rootEl: any;
956
1298
  };
957
1299
 
958
- declare function __VLS_template_16(): {
1300
+ declare function __VLS_template_18(): {
959
1301
  attrs: Partial<{}>;
960
1302
  slots: {
961
1303
  icon?(_: {
@@ -970,6 +1312,15 @@ declare function __VLS_template_16(): {
970
1312
  rootEl: any;
971
1313
  };
972
1314
 
1315
+ declare function __VLS_template_19(): {
1316
+ attrs: Partial<{}>;
1317
+ slots: {
1318
+ prepend?(_: {}): any;
1319
+ };
1320
+ refs: {};
1321
+ rootEl: any;
1322
+ };
1323
+
973
1324
  declare function __VLS_template_2(): {
974
1325
  attrs: Partial<{}>;
975
1326
  slots: Readonly<BubbleListSlots> & BubbleListSlots;
@@ -997,39 +1348,23 @@ declare function __VLS_template_4(): {
997
1348
 
998
1349
  declare function __VLS_template_5(): {
999
1350
  attrs: Partial<{}>;
1000
- slots: {
1001
- overlay?(_: {
1002
- isDragging: true;
1003
- }): any;
1004
- };
1005
- refs: {};
1006
- rootEl: any;
1007
- };
1008
-
1009
- declare function __VLS_template_6(): {
1010
- attrs: Partial<{}>;
1011
- slots: {
1012
- trigger?(_: {}): any;
1013
- };
1351
+ slots: Readonly<AnchorSlots> & AnchorSlots;
1014
1352
  refs: {
1015
- basePopperRef: ({
1353
+ overlayShellRef: ({
1016
1354
  $: ComponentInternalInstance;
1017
1355
  $data: {};
1018
1356
  $props: {
1019
- readonly appendTo?: (string | HTMLElement) | undefined;
1020
- readonly offset?: number | {
1021
- mainAxis?: number;
1022
- crossAxis?: number;
1023
- } | undefined;
1024
- readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
1025
- readonly preventOverflow?: boolean | undefined;
1026
- readonly show?: boolean | undefined;
1027
- readonly transitionProps?: TransitionProps | undefined;
1028
- readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
1357
+ readonly expanded: boolean;
1358
+ readonly placement: AnchorPlacement;
1359
+ readonly floatingOffset?: number | undefined;
1029
1360
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1030
1361
  $attrs: Attrs;
1031
1362
  $refs: {
1032
1363
  [x: string]: unknown;
1364
+ } & {
1365
+ hostEl: HTMLDivElement;
1366
+ overlayEl: HTMLDivElement;
1367
+ navEl: HTMLElement;
1033
1368
  };
1034
1369
  $slots: Readonly<{
1035
1370
  [name: string]: Slot<any> | undefined;
@@ -1038,24 +1373,13 @@ declare function __VLS_template_6(): {
1038
1373
  $parent: ComponentPublicInstance | null;
1039
1374
  $host: Element | null;
1040
1375
  $emit: (event: string, ...args: any[]) => void;
1041
- $el: any;
1042
- $options: ComponentOptionsBase<Readonly<{
1043
- appendTo?: string | HTMLElement;
1044
- offset?: number | {
1045
- mainAxis?: number;
1046
- crossAxis?: number;
1047
- };
1048
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1049
- preventOverflow?: boolean;
1050
- show?: boolean;
1051
- transitionProps?: TransitionProps;
1052
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1053
- }> & Readonly<{}>, {
1054
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1055
- popperRef: ComputedRef<HTMLDivElement | null>;
1056
- update: () => void;
1376
+ $el: HTMLDivElement;
1377
+ $options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
1378
+ hostEl: Ref<HTMLElement | null, HTMLElement | null>;
1379
+ overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
1380
+ navEl: Ref<HTMLElement | null, HTMLElement | null>;
1057
1381
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1058
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1382
+ floatingOffset: number;
1059
1383
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1060
1384
  beforeCreate?: (() => void) | (() => void)[];
1061
1385
  created?: (() => void) | (() => void)[];
@@ -1077,210 +1401,52 @@ declare function __VLS_template_6(): {
1077
1401
  $nextTick: nextTick;
1078
1402
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1079
1403
  } & Readonly<{
1080
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1081
- }> & Omit<Readonly<{
1082
- appendTo?: string | HTMLElement;
1083
- offset?: number | {
1084
- mainAxis?: number;
1085
- crossAxis?: number;
1086
- };
1087
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1088
- preventOverflow?: boolean;
1089
- show?: boolean;
1090
- transitionProps?: TransitionProps;
1091
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1092
- }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
1093
- triggerRef: HTMLElement | SVGElement | null | undefined;
1094
- popperRef: HTMLDivElement | null;
1095
- update: () => void;
1404
+ floatingOffset: number;
1405
+ }> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
1406
+ hostEl: HTMLElement | null;
1407
+ overlayEl: HTMLElement | null;
1408
+ navEl: HTMLElement | null;
1096
1409
  } & {} & ComponentCustomProperties & {} & {
1097
- $slots: Readonly<{
1098
- trigger?: () => VNode[];
1099
- content?: () => VNode[];
1100
- }> & {
1101
- trigger?: () => VNode[];
1102
- content?: () => VNode[];
1410
+ $slots: {
1411
+ search?(_: {}): any;
1412
+ default?(_: {}): any;
1103
1413
  };
1104
1414
  }) | null;
1105
1415
  };
1106
1416
  rootEl: any;
1107
1417
  };
1108
1418
 
1109
- declare function __VLS_template_7(): {
1419
+ declare function __VLS_template_6(): {
1110
1420
  attrs: Partial<{}>;
1111
- slots: Readonly<PromptsSlots> & PromptsSlots;
1421
+ slots: {
1422
+ overlay?(_: {
1423
+ isDragging: true;
1424
+ }): any;
1425
+ };
1112
1426
  refs: {};
1113
- rootEl: HTMLDivElement;
1427
+ rootEl: any;
1114
1428
  };
1115
1429
 
1116
- declare function __VLS_template_8(): {
1430
+ declare function __VLS_template_7(): {
1117
1431
  attrs: Partial<{}>;
1118
1432
  slots: {
1119
- header?(_: {}): any;
1120
- prefix?(_: {}): any;
1121
- content?(_: {
1122
- editor: Ref<Editor | undefined, Editor | undefined>;
1123
- }): any;
1124
- actions?(_: {}): any;
1125
- 'footer-left'?(_: {}): any;
1126
- footer?(_: {}): any;
1127
- 'footer-right'?(_: {}): any;
1433
+ trigger?(_: {}): any;
1128
1434
  };
1129
1435
  refs: {
1130
- senderRef: ({
1131
- $: ComponentInternalInstance;
1132
- $data: {};
1133
- $props: {
1134
- readonly modelValue?: string | undefined;
1135
- readonly defaultValue?: string | undefined;
1136
- readonly placeholder?: string | undefined;
1137
- readonly disabled?: boolean | undefined;
1138
- readonly loading?: boolean | undefined;
1139
- readonly autofocus?: boolean | undefined;
1140
- readonly enterkeyhint?: EnterKeyHint | undefined;
1141
- readonly mode?: InputMode | undefined;
1142
- readonly autoSize?: AutoSize | undefined;
1143
- readonly maxLength?: number | undefined;
1144
- readonly showWordLimit?: boolean | undefined;
1145
- readonly clearable?: boolean | undefined;
1146
- readonly extensions?: Extension[] | any[] | undefined;
1147
- readonly size?: "normal" | "small" | undefined;
1148
- readonly stopText?: string | undefined;
1149
- readonly defaultActions?: DefaultActions | undefined;
1150
- readonly submitType?: SubmitTrigger | undefined;
1151
- readonly onClear?: (() => any) | undefined;
1152
- readonly onInput?: ((value: string) => any) | undefined;
1153
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
1154
- readonly onCancel?: (() => any) | undefined;
1155
- readonly onFocus?: ((event: FocusEvent) => any) | undefined;
1156
- readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1157
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1158
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1159
- $attrs: Attrs;
1160
- $refs: {
1161
- [x: string]: unknown;
1162
- };
1163
- $slots: Readonly<{
1164
- [name: string]: Slot<any> | undefined;
1165
- }>;
1166
- $root: ComponentPublicInstance | null;
1167
- $parent: ComponentPublicInstance | null;
1168
- $host: Element | null;
1169
- $emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
1170
- $el: HTMLDivElement;
1171
- $options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
1172
- onClear?: (() => any) | undefined;
1173
- onInput?: ((value: string) => any) | undefined;
1174
- onBlur?: ((event: FocusEvent) => any) | undefined;
1175
- onCancel?: (() => any) | undefined;
1176
- onFocus?: ((event: FocusEvent) => any) | undefined;
1177
- onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1178
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1179
- }>, {
1180
- submit: () => void;
1181
- clear: () => void;
1182
- cancel: () => void;
1183
- focus: () => void;
1184
- blur: () => void;
1185
- setContent: (content: string) => void;
1186
- getContent: () => string;
1187
- editor: SenderContext["editor"];
1188
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1189
- clear: () => any;
1190
- input: (value: string) => any;
1191
- blur: (event: FocusEvent) => any;
1192
- cancel: () => any;
1193
- focus: (event: FocusEvent) => any;
1194
- submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
1195
- "update:modelValue": (value: string) => any;
1196
- }, string, {
1197
- size: "normal" | "small";
1198
- placeholder: string;
1199
- mode: InputMode;
1200
- enterkeyhint: EnterKeyHint;
1201
- autoSize: AutoSize;
1202
- extensions: Extension[] | any[];
1203
- submitType: SubmitTrigger;
1204
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1205
- beforeCreate?: (() => void) | (() => void)[];
1206
- created?: (() => void) | (() => void)[];
1207
- beforeMount?: (() => void) | (() => void)[];
1208
- mounted?: (() => void) | (() => void)[];
1209
- beforeUpdate?: (() => void) | (() => void)[];
1210
- updated?: (() => void) | (() => void)[];
1211
- activated?: (() => void) | (() => void)[];
1212
- deactivated?: (() => void) | (() => void)[];
1213
- beforeDestroy?: (() => void) | (() => void)[];
1214
- beforeUnmount?: (() => void) | (() => void)[];
1215
- destroyed?: (() => void) | (() => void)[];
1216
- unmounted?: (() => void) | (() => void)[];
1217
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1218
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1219
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1220
- };
1221
- $forceUpdate: () => void;
1222
- $nextTick: nextTick;
1223
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1224
- } & Readonly<{
1225
- size: "normal" | "small";
1226
- placeholder: string;
1227
- mode: InputMode;
1228
- enterkeyhint: EnterKeyHint;
1229
- autoSize: AutoSize;
1230
- extensions: Extension[] | any[];
1231
- submitType: SubmitTrigger;
1232
- }> & Omit<Readonly<SenderProps> & Readonly<{
1233
- onClear?: (() => any) | undefined;
1234
- onInput?: ((value: string) => any) | undefined;
1235
- onBlur?: ((event: FocusEvent) => any) | undefined;
1236
- onCancel?: (() => any) | undefined;
1237
- onFocus?: ((event: FocusEvent) => any) | undefined;
1238
- onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1239
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1240
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
1241
- submit: () => void;
1242
- clear: () => void;
1243
- cancel: () => void;
1244
- focus: () => void;
1245
- blur: () => void;
1246
- setContent: (content: string) => void;
1247
- getContent: () => string;
1248
- editor: Editor | undefined;
1249
- } & {} & ComponentCustomProperties & {} & {
1250
- $slots: {
1251
- header?(_: {}): any;
1252
- header?(_: {}): any;
1253
- prefix?(_: {}): any;
1254
- prefix?(_: {}): any;
1255
- content?(_: {
1256
- editor: Editor | undefined;
1257
- }): any;
1258
- content?(_: {
1259
- editor: Ref<Editor | undefined, Editor | undefined>;
1260
- }): any;
1261
- 'actions-inline'?(_: {}): any;
1262
- footer?(_: {}): any;
1263
- 'footer-right'?(_: {}): any;
1264
- };
1265
- }) | null;
1266
- voiceRef: ({
1436
+ basePopperRef: ({
1267
1437
  $: ComponentInternalInstance;
1268
1438
  $data: {};
1269
1439
  $props: {
1270
- readonly icon?: (VNode | Component) | undefined;
1271
- readonly recordingIcon?: (VNode | Component) | undefined;
1272
- readonly disabled?: boolean | undefined;
1273
- readonly size?: "small" | "normal" | undefined;
1274
- readonly tooltip?: TooltipContent | undefined;
1275
- readonly tooltipPlacement?: TooltipPlacement | undefined;
1276
- readonly speechConfig?: SpeechConfig | undefined;
1277
- readonly autoInsert?: boolean | undefined;
1278
- readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
1279
- readonly "onSpeech-start"?: (() => any) | undefined;
1280
- readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1281
- readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
1282
- readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1283
- readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
1440
+ readonly appendTo?: (string | HTMLElement) | undefined;
1441
+ readonly offset?: number | {
1442
+ mainAxis?: number;
1443
+ crossAxis?: number;
1444
+ } | undefined;
1445
+ readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
1446
+ readonly preventOverflow?: boolean | undefined;
1447
+ readonly show?: boolean | undefined;
1448
+ readonly transitionProps?: TransitionProps | undefined;
1449
+ readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
1284
1450
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1285
1451
  $attrs: Attrs;
1286
1452
  $refs: {
@@ -1292,27 +1458,25 @@ declare function __VLS_template_8(): {
1292
1458
  $root: ComponentPublicInstance | null;
1293
1459
  $parent: ComponentPublicInstance | null;
1294
1460
  $host: Element | null;
1295
- $emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
1461
+ $emit: (event: string, ...args: any[]) => void;
1296
1462
  $el: any;
1297
- $options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
1298
- "onSpeech-start"?: (() => any) | undefined;
1299
- "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1300
- "onSpeech-final"?: ((transcript: string) => any) | undefined;
1301
- "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1302
- "onSpeech-error"?: ((error: Error) => any) | undefined;
1303
- }>, {
1304
- start: () => void;
1305
- stop: () => void;
1306
- speechState: SpeechState;
1307
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1308
- "speech-start": () => any;
1309
- "speech-interim": (transcript: string) => any;
1310
- "speech-final": (transcript: string) => any;
1311
- "speech-end": (transcript?: string | undefined) => any;
1312
- "speech-error": (error: Error) => any;
1313
- }, string, {
1314
- tooltipPlacement: TooltipPlacement;
1315
- autoInsert: boolean;
1463
+ $options: ComponentOptionsBase<Readonly<{
1464
+ appendTo?: string | HTMLElement;
1465
+ offset?: number | {
1466
+ mainAxis?: number;
1467
+ crossAxis?: number;
1468
+ };
1469
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1470
+ preventOverflow?: boolean;
1471
+ show?: boolean;
1472
+ transitionProps?: TransitionProps;
1473
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1474
+ }> & Readonly<{}>, {
1475
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1476
+ popperRef: ComputedRef<HTMLDivElement | null>;
1477
+ update: () => void;
1478
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1479
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1316
1480
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1317
1481
  beforeCreate?: (() => void) | (() => void)[];
1318
1482
  created?: (() => void) | (() => void)[];
@@ -1334,40 +1498,53 @@ declare function __VLS_template_8(): {
1334
1498
  $nextTick: nextTick;
1335
1499
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1336
1500
  } & Readonly<{
1337
- tooltipPlacement: TooltipPlacement;
1338
- autoInsert: boolean;
1339
- }> & Omit<Readonly<VoiceButtonProps> & Readonly<{
1340
- "onSpeech-start"?: (() => any) | undefined;
1341
- "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1342
- "onSpeech-final"?: ((transcript: string) => any) | undefined;
1343
- "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1344
- "onSpeech-error"?: ((error: Error) => any) | undefined;
1345
- }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
1346
- start: () => void;
1347
- stop: () => void;
1348
- speechState: SpeechState;
1501
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1502
+ }> & Omit<Readonly<{
1503
+ appendTo?: string | HTMLElement;
1504
+ offset?: number | {
1505
+ mainAxis?: number;
1506
+ crossAxis?: number;
1507
+ };
1508
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1509
+ preventOverflow?: boolean;
1510
+ show?: boolean;
1511
+ transitionProps?: TransitionProps;
1512
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1513
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
1514
+ triggerRef: HTMLElement | SVGElement | null | undefined;
1515
+ popperRef: HTMLDivElement | null;
1516
+ update: () => void;
1349
1517
  } & {} & ComponentCustomProperties & {} & {
1350
- $slots: {
1351
- icon?(_: {
1352
- isRecording: boolean;
1353
- }): any;
1354
- 'recording-overlay'?(_: {
1355
- isRecording: boolean;
1356
- stop: () => void;
1357
- }): any;
1518
+ $slots: Readonly<{
1519
+ trigger?: () => VNode[];
1520
+ content?: () => VNode[];
1521
+ }> & {
1522
+ trigger?: () => VNode[];
1523
+ content?: () => VNode[];
1358
1524
  };
1359
1525
  }) | null;
1360
1526
  };
1361
- rootEl: HTMLDivElement;
1527
+ rootEl: any;
1362
1528
  };
1363
1529
 
1364
- declare function __VLS_template_9(): {
1530
+ declare function __VLS_template_8(): {
1365
1531
  attrs: Partial<{}>;
1366
- slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1532
+ slots: {
1533
+ default?(_: {
1534
+ isOpen: boolean;
1535
+ }): any;
1536
+ };
1367
1537
  refs: {};
1368
1538
  rootEl: HTMLButtonElement;
1369
1539
  };
1370
1540
 
1541
+ declare function __VLS_template_9(): {
1542
+ attrs: Partial<{}>;
1543
+ slots: Readonly<PromptsSlots> & PromptsSlots;
1544
+ refs: {};
1545
+ rootEl: HTMLDivElement;
1546
+ };
1547
+
1371
1548
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1372
1549
 
1373
1550
  declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
@@ -1384,6 +1561,12 @@ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
1384
1561
 
1385
1562
  declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
1386
1563
 
1564
+ declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
1565
+
1566
+ declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
1567
+
1568
+ declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
1569
+
1387
1570
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1388
1571
 
1389
1572
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -1448,6 +1631,24 @@ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
1448
1631
  };
1449
1632
  };
1450
1633
 
1634
+ declare type __VLS_WithTemplateSlots_17<T, S> = T & {
1635
+ new (): {
1636
+ $slots: S;
1637
+ };
1638
+ };
1639
+
1640
+ declare type __VLS_WithTemplateSlots_18<T, S> = T & {
1641
+ new (): {
1642
+ $slots: S;
1643
+ };
1644
+ };
1645
+
1646
+ declare type __VLS_WithTemplateSlots_19<T, S> = T & {
1647
+ new (): {
1648
+ $slots: S;
1649
+ };
1650
+ };
1651
+
1451
1652
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1452
1653
  new (): {
1453
1654
  $slots: S;
@@ -1536,6 +1737,80 @@ export declare interface ActionButtonProps {
1536
1737
 
1537
1738
  export declare type AddType = 'form' | 'code';
1538
1739
 
1740
+ export declare interface AnchorEmits {
1741
+ 'update:activeId': [value: string | undefined];
1742
+ 'update:expanded': [value: boolean];
1743
+ 'update:searchQuery': [value: string];
1744
+ select: [item: AnchorItem];
1745
+ }
1746
+
1747
+ export declare type AnchorExpandTrigger = 'hover' | 'manual';
1748
+
1749
+ export declare interface AnchorHighlightSegment {
1750
+ text: string;
1751
+ highlighted: boolean;
1752
+ }
1753
+
1754
+ export declare interface AnchorItem {
1755
+ id: string;
1756
+ label: string;
1757
+ searchText?: string;
1758
+ tooltipText?: string;
1759
+ meta?: Record<string, unknown>;
1760
+ }
1761
+
1762
+ declare interface AnchorOverlayProps {
1763
+ expanded: boolean;
1764
+ placement: AnchorPlacement;
1765
+ floatingOffset?: number;
1766
+ }
1767
+
1768
+ export declare type AnchorPlacement = 'left' | 'right';
1769
+
1770
+ export declare interface AnchorProps {
1771
+ items: AnchorItem[];
1772
+ scrollContainer?: HTMLElement | null;
1773
+ activeId?: string;
1774
+ activeOffset?: number;
1775
+ expanded?: boolean;
1776
+ searchQuery?: string;
1777
+ placement?: AnchorPlacement;
1778
+ expandTrigger?: AnchorExpandTrigger;
1779
+ searchOptions?: AnchorSearchOptions;
1780
+ tooltipDelay?: number;
1781
+ targetFeedbackClass?: string;
1782
+ targetFeedbackDuration?: number;
1783
+ emptyText?: string;
1784
+ }
1785
+
1786
+ export declare type AnchorSearchMatcher = (item: AnchorItem, searchQuery: string) => false | AnchorHighlightSegment[];
1787
+
1788
+ export declare interface AnchorSearchOptions {
1789
+ placeholder?: string;
1790
+ matcher?: AnchorSearchMatcher;
1791
+ clearOnCollapse?: boolean;
1792
+ }
1793
+
1794
+ export declare interface AnchorSlots {
1795
+ item?: (slotProps: {
1796
+ item: AnchorItem;
1797
+ segments: AnchorHighlightSegment[];
1798
+ active: boolean;
1799
+ expanded: boolean;
1800
+ highlighted: boolean;
1801
+ }) => VNode | VNode[];
1802
+ marker?: (slotProps: {
1803
+ item: AnchorItem;
1804
+ active: boolean;
1805
+ }) => VNode | VNode[];
1806
+ search?: (slotProps: {
1807
+ searchQuery: string;
1808
+ setSearchQuery: (value: string) => void;
1809
+ searchOptions: AnchorSearchOptions;
1810
+ }) => VNode | VNode[];
1811
+ empty?: () => VNode | VNode[];
1812
+ }
1813
+
1539
1814
  export declare type Attachment = UrlAttachment | RawFileAttachment;
1540
1815
 
1541
1816
  export declare interface AttachmentListEmits {
@@ -1580,12 +1855,22 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
1580
1855
 
1581
1856
  export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
1582
1857
 
1583
- declare const Bubble: typeof _default_25 & {
1858
+ declare const Bubble: typeof _default_26 & {
1584
1859
  install: typeof bubbleInstall;
1585
1860
  };
1586
1861
  export { Bubble }
1587
1862
  export { Bubble as TrBubble }
1588
1863
 
1864
+ export declare type BubbleAttributes = Record<string, unknown>;
1865
+
1866
+ export declare type BubbleBoxAttributesConfig = BubbleAttributes | BubbleBoxAttributesResolver;
1867
+
1868
+ export declare type BubbleBoxAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleAttributes | undefined;
1869
+
1870
+ export declare type BubbleBoxRendererAttributeMap = BubbleAttributes;
1871
+
1872
+ export declare type BubbleBoxRendererAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleBoxRendererAttributeMap | undefined;
1873
+
1589
1874
  export declare type BubbleBoxRendererMatch = {
1590
1875
  /**
1591
1876
  * 匹配函数,用于判断是否应该使用此渲染器
@@ -1597,11 +1882,15 @@ export declare type BubbleBoxRendererMatch = {
1597
1882
  find: (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => boolean;
1598
1883
  renderer: Component<BubbleBoxRendererProps>;
1599
1884
  priority?: number;
1600
- attributes?: Record<string, string>;
1885
+ attributes?: BubbleBoxRendererAttributeMap | BubbleBoxRendererAttributesResolver;
1601
1886
  };
1602
1887
 
1603
1888
  export declare type BubbleBoxRendererProps = Pick<BubbleProps, 'placement' | 'shape'>;
1604
1889
 
1890
+ export declare type BubbleContentAttributesConfig = BubbleAttributes | BubbleContentAttributesResolver;
1891
+
1892
+ export declare type BubbleContentAttributesResolver = (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => BubbleAttributes | undefined;
1893
+
1605
1894
  export declare type BubbleContentRendererMatch = {
1606
1895
  /**
1607
1896
  * 匹配函数,用于判断是否应该使用此渲染器
@@ -1613,7 +1902,7 @@ export declare type BubbleContentRendererMatch = {
1613
1902
  find: (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => boolean;
1614
1903
  renderer: Component<BubbleContentRendererProps>;
1615
1904
  priority?: number;
1616
- attributes?: Record<string, string>;
1905
+ attributes?: BubbleAttributes;
1617
1906
  };
1618
1907
 
1619
1908
  export declare type BubbleContentRendererProps<T extends ChatMessageContent = ChatMessageContent, S extends Record<string, unknown> = Record<string, unknown>> = {
@@ -1621,6 +1910,22 @@ export declare type BubbleContentRendererProps<T extends ChatMessageContent = Ch
1621
1910
  contentIndex: number;
1622
1911
  };
1623
1912
 
1913
+ export declare type BubbleEvent = {
1914
+ name: 'state:update';
1915
+ payload: {
1916
+ key: string;
1917
+ value: unknown;
1918
+ };
1919
+ } | {
1920
+ name: string;
1921
+ payload?: unknown;
1922
+ };
1923
+
1924
+ declare type BubbleEventPayload = BubbleEvent & {
1925
+ messageIndex: number;
1926
+ contentIndex: number;
1927
+ };
1928
+
1624
1929
  /**
1625
1930
  * 自定义分组函数类型
1626
1931
  */
@@ -1628,7 +1933,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
1628
1933
 
1629
1934
  declare const bubbleInstall: (app: App) => void;
1630
1935
 
1631
- declare const BubbleList: typeof _default_26 & {
1936
+ declare const BubbleList: typeof _default_27 & {
1632
1937
  install: typeof bubbleListInstall;
1633
1938
  };
1634
1939
  export { BubbleList }
@@ -1698,7 +2003,11 @@ export declare type BubbleMessageGroup = {
1698
2003
  role: string;
1699
2004
  messages: BubbleMessage[];
1700
2005
  messageIndexes: number[];
1701
- startIndex: number;
2006
+ /**
2007
+ * @deprecated For custom groups with non-contiguous messages, deriving the global index from
2008
+ * startIndex plus a local index can be incorrect. Use messageIndexes for index mapping instead.
2009
+ */
2010
+ startIndex?: number;
1702
2011
  };
1703
2012
 
1704
2013
  export declare type BubbleProps = BubbleMessage & {
@@ -1712,7 +2021,7 @@ export declare type BubbleProps = BubbleMessage & {
1712
2021
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
1713
2022
  };
1714
2023
 
1715
- declare const BubbleProvider: typeof _default_27 & {
2024
+ declare const BubbleProvider: typeof _default_28 & {
1716
2025
  install: typeof bubbleProviderInstall;
1717
2026
  };
1718
2027
  export { BubbleProvider }
@@ -1723,6 +2032,8 @@ declare const bubbleProviderInstall: (app: App) => void;
1723
2032
  export declare interface BubbleProviderProps {
1724
2033
  boxRendererMatches?: BubbleBoxRendererMatch[];
1725
2034
  contentRendererMatches?: BubbleContentRendererMatch[];
2035
+ boxAttributes?: BubbleBoxAttributesConfig;
2036
+ contentAttributes?: BubbleContentAttributesConfig;
1726
2037
  fallbackBoxRenderer?: Component<BubbleBoxRendererProps>;
1727
2038
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
1728
2039
  store?: Record<string, unknown>;
@@ -1859,6 +2170,13 @@ export declare interface BubbleSlots {
1859
2170
  }) => VNode | VNode[];
1860
2171
  }
1861
2172
 
2173
+ declare type BubbleStateChangePayload = {
2174
+ key: string;
2175
+ value: unknown;
2176
+ messageIndex: number;
2177
+ contentIndex: number;
2178
+ };
2179
+
1862
2180
  declare interface ButtonGroupConfig {
1863
2181
  file?: ControlState & fileUploadConfig;
1864
2182
  submit?: ControlState;
@@ -1936,67 +2254,73 @@ declare const _default: {
1936
2254
  };
1937
2255
  export default _default;
1938
2256
 
1939
- declare const _default_10: typeof _default_37 & {
2257
+ declare const _default_10: typeof _default_36 & {
1940
2258
  install: typeof install_9;
1941
2259
  };
1942
- export { _default_10 as SenderCompat }
1943
- export { _default_10 as TrSenderCompat }
2260
+ export { _default_10 as IconButton }
2261
+ export { _default_10 as TrIconButton }
1944
2262
 
1945
- declare const _default_11: typeof _default_39 & {
2263
+ declare const _default_11: typeof _default_41 & {
1946
2264
  install: typeof install_10;
1947
2265
  };
1948
- export { _default_11 as SuggestionPills }
1949
- export { _default_11 as TrSuggestionPills }
2266
+ export { _default_11 as SenderCompat }
2267
+ export { _default_11 as TrSenderCompat }
1950
2268
 
1951
- declare const _default_12: typeof _default_40 & {
2269
+ declare const _default_12: typeof _default_43 & {
1952
2270
  install: typeof install_11;
1953
2271
  };
1954
- export { _default_12 as SuggestionPopover }
1955
- export { _default_12 as TrSuggestionPopover }
2272
+ export { _default_12 as SuggestionPills }
2273
+ export { _default_12 as TrSuggestionPills }
1956
2274
 
1957
- declare const _default_13: typeof _default_41 & {
2275
+ declare const _default_13: typeof _default_44 & {
1958
2276
  install: typeof install_12;
1959
2277
  };
1960
- export { _default_13 as ThemeProvider }
1961
- export { _default_13 as TrThemeProvider }
2278
+ export { _default_13 as SuggestionPopover }
2279
+ export { _default_13 as TrSuggestionPopover }
1962
2280
 
1963
- declare const _default_14: typeof _default_42 & {
2281
+ declare const _default_14: typeof _default_45 & {
1964
2282
  install: typeof install_13;
1965
2283
  };
1966
- export { _default_14 as TrWelcome }
1967
- export { _default_14 as Welcome }
2284
+ export { _default_14 as ThemeProvider }
2285
+ export { _default_14 as TrThemeProvider }
1968
2286
 
1969
- declare const _default_15: typeof _default_43 & {
2287
+ declare const _default_15: typeof _default_46 & {
1970
2288
  install: typeof install_14;
1971
2289
  };
1972
- export { _default_15 as McpServerPicker }
1973
- export { _default_15 as TrMcpServerPicker }
2290
+ export { _default_15 as TrWelcome }
2291
+ export { _default_15 as Welcome }
1974
2292
 
1975
- declare const _default_16: typeof _default_44 & {
2293
+ declare const _default_16: typeof _default_47 & {
1976
2294
  install: typeof install_15;
1977
2295
  };
1978
- export { _default_16 as McpAddForm }
1979
- export { _default_16 as TrMcpAddForm }
2296
+ export { _default_16 as McpServerPicker }
2297
+ export { _default_16 as TrMcpServerPicker }
1980
2298
 
1981
- declare const _default_17: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1982
- export { _default_17 as ActionButton }
1983
- export { _default_17 as TrActionButton }
2299
+ declare const _default_17: typeof _default_48 & {
2300
+ install: typeof install_16;
2301
+ };
2302
+ export { _default_17 as McpAddForm }
2303
+ export { _default_17 as TrMcpAddForm }
1984
2304
 
1985
- declare const _default_18: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1986
- export { _default_18 as SubmitButton }
1987
- export { _default_18 as TrSubmitButton }
2305
+ declare const _default_18: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2306
+ export { _default_18 as ActionButton }
2307
+ export { _default_18 as TrActionButton }
1988
2308
 
1989
2309
  declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1990
- export { _default_19 as ClearButton }
1991
- export { _default_19 as TrClearButton }
2310
+ export { _default_19 as SubmitButton }
2311
+ export { _default_19 as TrSubmitButton }
1992
2312
 
1993
- declare const _default_2: typeof _default_24 & {
2313
+ declare const _default_2: typeof _default_25 & {
1994
2314
  install: typeof install;
1995
2315
  };
1996
2316
  export { _default_2 as Attachments }
1997
2317
  export { _default_2 as TrAttachments }
1998
2318
 
1999
- declare const _default_20: DefineComponent<UploadButtonProps, {
2319
+ declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2320
+ export { _default_20 as ClearButton }
2321
+ export { _default_20 as TrClearButton }
2322
+
2323
+ declare const _default_21: DefineComponent<UploadButtonProps, {
2000
2324
  open: (localOptions?: Partial<UseFileDialogOptions>) => void;
2001
2325
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2002
2326
  error: (error: Error, files?: File[] | undefined) => any;
@@ -2010,22 +2334,22 @@ multiple: boolean;
2010
2334
  tooltipPlacement: TooltipPlacement;
2011
2335
  accept: string;
2012
2336
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2013
- export { _default_20 as TrUploadButton }
2014
- export { _default_20 as UploadButton }
2337
+ export { _default_21 as TrUploadButton }
2338
+ export { _default_21 as UploadButton }
2015
2339
 
2016
- declare const _default_21: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2017
- export { _default_21 as TrVoiceButton }
2018
- export { _default_21 as VoiceButton }
2340
+ declare const _default_22: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2341
+ export { _default_22 as TrVoiceButton }
2342
+ export { _default_22 as VoiceButton }
2019
2343
 
2020
- declare const _default_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2021
- export { _default_22 as TrWordCounter }
2022
- export { _default_22 as WordCounter }
2344
+ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2345
+ export { _default_23 as TrWordCounter }
2346
+ export { _default_23 as WordCounter }
2023
2347
 
2024
- declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2025
- export { _default_23 as DefaultActionButtons }
2026
- export { _default_23 as TrDefaultActionButtons }
2348
+ declare const _default_24: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2349
+ export { _default_24 as DefaultActionButtons }
2350
+ export { _default_24 as TrDefaultActionButtons }
2027
2351
 
2028
- declare const _default_24: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2352
+ declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2029
2353
  "update:items": (items: Attachment[]) => any;
2030
2354
  remove: (file: Attachment) => any;
2031
2355
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2051,17 +2375,15 @@ fileMatchers: FileTypeMatcher[];
2051
2375
  variant: DisplayVariant;
2052
2376
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2053
2377
 
2054
- declare const _default_25: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2378
+ declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2055
2379
 
2056
- declare const _default_26: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2380
+ declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2057
2381
 
2058
- declare const _default_27: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2382
+ declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2059
2383
 
2060
- declare const _default_28: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2384
+ declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2061
2385
 
2062
- declare const _default_29: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2063
-
2064
- declare const _default_3: typeof _default_28 & {
2386
+ declare const _default_3: typeof _default_29 & {
2065
2387
  install: typeof install_2;
2066
2388
  };
2067
2389
  export { _default_3 as Container }
@@ -2069,9 +2391,13 @@ export { _default_3 as TrContainer }
2069
2391
 
2070
2392
  declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2071
2393
 
2072
- declare const _default_31: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2394
+ declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2395
+
2396
+ declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2073
2397
 
2074
- declare const _default_32: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2398
+ declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2399
+
2400
+ declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2075
2401
  action: (name: string) => any;
2076
2402
  operation: (name: string) => any;
2077
2403
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2083,7 +2409,7 @@ actionsLimit: number;
2083
2409
  sourcesLinesLimit: number;
2084
2410
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2085
2411
 
2086
- declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2412
+ declare const _default_35: <T extends HistoryItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2087
2413
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2088
2414
  readonly "onItem-click"?: ((item: T) => any) | undefined;
2089
2415
  readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
@@ -2097,38 +2423,45 @@ declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
2097
2423
  __ctx?: Awaited<typeof __VLS_setup>;
2098
2424
  };
2099
2425
 
2100
- declare const _default_34: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2426
+ declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2101
2427
  size: string | number;
2102
2428
  svgSize: string | number;
2103
2429
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2104
2430
 
2105
- declare const _default_35: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2431
+ declare const _default_37: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2432
+ scrollbarRef: HTMLDivElement;
2433
+ thumbRef: HTMLDivElement;
2434
+ }, any>;
2435
+
2436
+ declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2437
+
2438
+ declare const _default_39: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2106
2439
  size: "small" | "medium" | "large";
2107
2440
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2108
2441
 
2109
- declare const _default_36: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2442
+ declare const _default_4: typeof _default_30 & {
2443
+ install: typeof install_3;
2444
+ };
2445
+ export { _default_4 as Anchor }
2446
+ export { _default_4 as TrAnchor }
2110
2447
 
2111
- declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2448
+ declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2112
2449
 
2113
- declare const _default_38: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2450
+ declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2114
2451
 
2115
- declare const _default_39: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2452
+ declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2116
2453
 
2117
- declare const _default_4: typeof _default_29 & {
2118
- install: typeof install_3;
2119
- };
2120
- export { _default_4 as Conversations }
2121
- export { _default_4 as TrConversations }
2454
+ declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2122
2455
 
2123
- declare const _default_40: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2456
+ declare const _default_44: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2124
2457
 
2125
- declare const _default_41: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2458
+ declare const _default_45: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2126
2459
 
2127
- declare const _default_42: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2460
+ declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2128
2461
 
2129
- declare const _default_43: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2462
+ declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2130
2463
 
2131
- declare const _default_44: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2464
+ declare const _default_48: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2132
2465
  cancel: () => any;
2133
2466
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2134
2467
  "update:addType": (value: AddType) => any;
@@ -2140,35 +2473,35 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
2140
2473
  addType: AddType;
2141
2474
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2142
2475
 
2143
- declare const _default_5: typeof _default_30 & {
2476
+ declare const _default_5: typeof _default_31 & {
2144
2477
  install: typeof install_4;
2145
2478
  };
2146
- export { _default_5 as DragOverlay }
2147
- export { _default_5 as TrDragOverlay }
2479
+ export { _default_5 as Conversations }
2480
+ export { _default_5 as TrConversations }
2148
2481
 
2149
- declare const _default_6: typeof _default_31 & {
2482
+ declare const _default_6: typeof _default_32 & {
2150
2483
  install: typeof install_5;
2151
2484
  };
2152
- export { _default_6 as DropdownMenu }
2153
- export { _default_6 as TrDropdownMenu }
2485
+ export { _default_6 as DragOverlay }
2486
+ export { _default_6 as TrDragOverlay }
2154
2487
 
2155
- declare const _default_7: typeof _default_32 & {
2488
+ declare const _default_7: typeof _default_33 & {
2156
2489
  install: typeof install_6;
2157
2490
  };
2158
- export { _default_7 as Feedback }
2159
- export { _default_7 as TrFeedback }
2491
+ export { _default_7 as DropdownMenu }
2492
+ export { _default_7 as TrDropdownMenu }
2160
2493
 
2161
- declare const _default_8: typeof _default_33 & {
2494
+ declare const _default_8: typeof _default_34 & {
2162
2495
  install: typeof install_7;
2163
2496
  };
2164
- export { _default_8 as History }
2165
- export { _default_8 as TrHistory }
2497
+ export { _default_8 as Feedback }
2498
+ export { _default_8 as TrFeedback }
2166
2499
 
2167
- declare const _default_9: typeof _default_34 & {
2500
+ declare const _default_9: typeof _default_35 & {
2168
2501
  install: typeof install_8;
2169
2502
  };
2170
- export { _default_9 as IconButton }
2171
- export { _default_9 as TrIconButton }
2503
+ export { _default_9 as History }
2504
+ export { _default_9 as TrHistory }
2172
2505
 
2173
2506
  /**
2174
2507
  * 默认操作按钮配置
@@ -2553,6 +2886,8 @@ declare const install_14: <T>(app: App<T>) => void;
2553
2886
 
2554
2887
  declare const install_15: <T>(app: App<T>) => void;
2555
2888
 
2889
+ declare const install_16: <T>(app: App<T>) => void;
2890
+
2556
2891
  declare const install_2: <T>(app: App<T>) => void;
2557
2892
 
2558
2893
  declare const install_3: <T>(app: App<T>) => void;
@@ -2589,6 +2924,169 @@ export declare interface KeyboardHandlers {
2589
2924
  submit: () => void;
2590
2925
  }
2591
2926
 
2927
+ declare const Layout: LayoutCompound;
2928
+ export { Layout }
2929
+ export { Layout as TrLayout }
2930
+
2931
+ export declare type LayoutAsideCollapseEffect = 'overlay' | 'slide';
2932
+
2933
+ export declare type LayoutAsideMode = 'dock' | 'drawer';
2934
+
2935
+ export declare interface LayoutAsideOpenDetail {
2936
+ side: LayoutSide;
2937
+ open: boolean;
2938
+ }
2939
+
2940
+ export declare interface LayoutAsideOpenValue {
2941
+ open: boolean;
2942
+ }
2943
+
2944
+ export declare interface LayoutAsidePanelsProps {
2945
+ leftAside?: LayoutAsideProps;
2946
+ rightAside?: LayoutAsideProps;
2947
+ }
2948
+
2949
+ export declare interface LayoutAsideProps {
2950
+ mode?: LayoutAsideMode;
2951
+ open?: boolean;
2952
+ defaultOpen?: boolean;
2953
+ expandedWidth?: number;
2954
+ defaultExpandedWidth?: number;
2955
+ minExpandedWidth?: number;
2956
+ maxExpandedWidth?: number;
2957
+ collapsedWidth?: number;
2958
+ collapseEffect?: LayoutAsideCollapseEffect;
2959
+ resizable?: boolean;
2960
+ }
2961
+
2962
+ export declare interface LayoutAsideResizeDetail {
2963
+ side: LayoutSide;
2964
+ expandedWidth: number;
2965
+ }
2966
+
2967
+ export declare interface LayoutAsideResizeValue {
2968
+ expandedWidth: number;
2969
+ }
2970
+
2971
+ declare const LayoutAsideToggle: typeof _default_38 & {
2972
+ install: typeof layoutAsideToggleInstall;
2973
+ };
2974
+ export { LayoutAsideToggle }
2975
+ export { LayoutAsideToggle as TrLayoutAsideToggle }
2976
+
2977
+ declare const layoutAsideToggleInstall: <T>(app: App<T>) => void;
2978
+
2979
+ export declare interface LayoutAsideToggleProps {
2980
+ side: LayoutSide;
2981
+ }
2982
+
2983
+ declare type LayoutCompound = typeof default_2 & {
2984
+ install: typeof layoutInstall;
2985
+ ProxyScrollbar: typeof LayoutProxyScrollbar;
2986
+ AsideToggle: typeof LayoutAsideToggle;
2987
+ };
2988
+
2989
+ export declare interface LayoutEmits {
2990
+ 'update:floatingState': [value: LayoutFloatingState];
2991
+ 'floating-drag-start': [detail: LayoutFloatingDragDetail];
2992
+ 'floating-drag': [detail: LayoutFloatingDragDetail];
2993
+ 'floating-drag-end': [detail: LayoutFloatingDragDetail];
2994
+ 'floating-resize-start': [detail: LayoutFloatingResizeDetail];
2995
+ 'floating-resize': [detail: LayoutFloatingResizeDetail];
2996
+ 'floating-resize-end': [detail: LayoutFloatingResizeDetail];
2997
+ 'aside-open-change': [detail: LayoutAsideOpenDetail];
2998
+ 'aside-resize-start': [detail: LayoutAsideResizeDetail];
2999
+ 'aside-resize': [detail: LayoutAsideResizeDetail];
3000
+ 'aside-resize-end': [detail: LayoutAsideResizeDetail];
3001
+ 'left-aside-open-change': [detail: LayoutAsideOpenValue];
3002
+ 'left-aside-resize-start': [detail: LayoutAsideResizeValue];
3003
+ 'left-aside-resize': [detail: LayoutAsideResizeValue];
3004
+ 'left-aside-resize-end': [detail: LayoutAsideResizeValue];
3005
+ 'right-aside-open-change': [detail: LayoutAsideOpenValue];
3006
+ 'right-aside-resize-start': [detail: LayoutAsideResizeValue];
3007
+ 'right-aside-resize': [detail: LayoutAsideResizeValue];
3008
+ 'right-aside-resize-end': [detail: LayoutAsideResizeValue];
3009
+ }
3010
+
3011
+ export declare type LayoutFloatingDragDetail = LayoutFloatingState;
3012
+
3013
+ export declare interface LayoutFloatingOptions {
3014
+ draggable?: boolean;
3015
+ resizable?: boolean;
3016
+ minWidth?: number;
3017
+ maxWidth?: number;
3018
+ minHeight?: number;
3019
+ maxHeight?: number;
3020
+ }
3021
+
3022
+ export declare type LayoutFloatingPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
3023
+
3024
+ export declare type LayoutFloatingProps = LayoutAsidePanelsProps & LayoutFloatingStateControlProps & {
3025
+ mode: 'floating';
3026
+ floatingOptions?: LayoutFloatingOptions;
3027
+ };
3028
+
3029
+ export declare type LayoutFloatingResizeDetail = LayoutFloatingState & {
3030
+ handle: LayoutFloatingResizeHandle;
3031
+ };
3032
+
3033
+ export declare type LayoutFloatingResizeHandle = 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
3034
+
3035
+ export declare interface LayoutFloatingState {
3036
+ placement: LayoutFloatingPlacement;
3037
+ offsetX: number;
3038
+ offsetY: number;
3039
+ width: number;
3040
+ height: number;
3041
+ }
3042
+
3043
+ declare type LayoutFloatingStateControlProps = {
3044
+ floatingState?: LayoutFloatingState;
3045
+ defaultFloatingState?: never;
3046
+ } | {
3047
+ floatingState?: never;
3048
+ defaultFloatingState?: LayoutFloatingState;
3049
+ };
3050
+
3051
+ declare const layoutInstall: <T>(app: App<T>) => void;
3052
+
3053
+ export declare type LayoutMode = 'normal' | 'floating';
3054
+
3055
+ export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
3056
+ mode: 'normal';
3057
+ floatingState?: never;
3058
+ defaultFloatingState?: never;
3059
+ floatingOptions?: never;
3060
+ }
3061
+
3062
+ export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
3063
+
3064
+ declare const LayoutProxyScrollbar: typeof _default_37 & {
3065
+ install: typeof layoutProxyScrollbarInstall;
3066
+ };
3067
+ export { LayoutProxyScrollbar }
3068
+ export { LayoutProxyScrollbar as TrLayoutProxyScrollbar }
3069
+
3070
+ declare const layoutProxyScrollbarInstall: <T>(app: App<T>) => void;
3071
+
3072
+ export declare interface LayoutProxyScrollbarProps {
3073
+ scrollTarget?: LayoutScrollTarget;
3074
+ }
3075
+
3076
+ export declare type LayoutScrollTarget = HTMLElement | LayoutScrollTargetComponent | null | undefined;
3077
+
3078
+ export declare type LayoutScrollTargetComponent = Pick<ComponentPublicInstance, '$el'>;
3079
+
3080
+ export declare type LayoutSide = 'left' | 'right';
3081
+
3082
+ export declare interface LayoutSlots {
3083
+ 'left-aside'?: () => VNode | VNode[];
3084
+ header?: () => VNode | VNode[];
3085
+ main?: () => VNode | VNode[];
3086
+ footer?: () => VNode | VNode[];
3087
+ 'right-aside'?: () => VNode | VNode[];
3088
+ }
3089
+
2592
3090
  export declare interface MarketCategoryOption {
2593
3091
  value: string;
2594
3092
  label: string;
@@ -2802,7 +3300,7 @@ export declare interface PopupConfig {
2802
3300
  };
2803
3301
  }
2804
3302
 
2805
- declare const Prompt: typeof _default_35 & {
3303
+ declare const Prompt: typeof _default_39 & {
2806
3304
  install: typeof installPrompt;
2807
3305
  };
2808
3306
  export { Prompt }
@@ -2839,7 +3337,7 @@ export declare interface PromptProps {
2839
3337
  size?: 'small' | 'medium' | 'large';
2840
3338
  }
2841
3339
 
2842
- declare const Prompts: typeof _default_36 & {
3340
+ declare const Prompts: typeof _default_40 & {
2843
3341
  install: typeof installPrompts;
2844
3342
  };
2845
3343
  export { Prompts }
@@ -3920,7 +4418,7 @@ export declare interface SuggestionOptions {
3920
4418
  onSelect?: (item: SenderSuggestionItem) => void | false;
3921
4419
  }
3922
4420
 
3923
- declare const SuggestionPillButton: typeof _default_38 & {
4421
+ declare const SuggestionPillButton: typeof _default_42 & {
3924
4422
  install: typeof installPillButton;
3925
4423
  };
3926
4424
  export { SuggestionPillButton }
@@ -4351,7 +4849,7 @@ export declare interface UploadButtonProps {
4351
4849
 
4352
4850
  export declare interface UrlAttachment extends BaseAttachment {
4353
4851
  url: string;
4354
- size: number;
4852
+ size?: number;
4355
4853
  rawFile?: File;
4356
4854
  }
4357
4855
 
@@ -4380,12 +4878,17 @@ export declare function useAutoScroll(target: MaybeComputedElementRef, source: M
4380
4878
 
4381
4879
  export declare function useBubbleBoxRenderer(messages: MaybeRefOrGetter<BubbleMessage[]>, contentIndex?: number): ComputedRef<{
4382
4880
  renderer: Component;
4383
- attributes?: Record<string, string>;
4881
+ attributes?: BubbleAttributes;
4882
+ }>;
4883
+
4884
+ export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<{
4885
+ renderer: Component;
4886
+ attributes?: BubbleAttributes;
4384
4887
  }>;
4385
4888
 
4386
- export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<Component>;
4889
+ export declare function useBubbleEventFn(): (event: BubbleEvent) => void;
4387
4890
 
4388
- export declare function useBubbleStateChangeFn(): (key: string, _value: unknown) => void;
4891
+ export declare function useBubbleStateChangeFn(): (key: string, value: unknown) => void;
4389
4892
 
4390
4893
  /**
4391
4894
  * useEditor 返回类型