import { PropType } from 'vue'; import { AIClient, AIProvider } from '../../../core/src'; import { Message } from '../composables/useChatEngine'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { header?(_: {}): any; 'user-message'?(_: { message: Message; index: number; }): any; 'assistant-message'?(_: { message: Message; index: number; }): any; message?(_: { message: Message; index: number; }): any; loading?(_: {}): any; error?(_: { error: Error; }): any; input?(_: { input: string; sendMessage: () => Promise; }): any; footer?(_: {}): any; }; refs: { messagesContainer: HTMLDivElement; inputElement: HTMLTextAreaElement; fileInput: HTMLInputElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent; default: null; }; provider: { type: PropType; default: null; }; apiKey: { type: StringConstructor; default: null; }; model: { type: StringConstructor; default: null; }; baseUrl: { type: StringConstructor; default: null; }; organizationId: { type: StringConstructor; default: null; }; useProxy: { type: BooleanConstructor; default: boolean; }; proxyUrl: { type: StringConstructor; default: string; }; language: { type: StringConstructor; default: string; }; texts: { type: PropType>; default: () => {}; }; demoMode: { type: BooleanConstructor; default: boolean; }; demoResponses: { type: PropType>; default: () => { hello: string; help: string; features: string; }; }; title: { type: StringConstructor; default: string; }; placeholder: { type: StringConstructor; default: string; }; initialMessages: { type: PropType; default: () => never[]; }; systemPrompt: { type: StringConstructor; default: string; }; streaming: { type: BooleanConstructor; default: boolean; }; loadingText: { type: StringConstructor; default: string; }; errorText: { type: StringConstructor; default: string; }; showTimestamps: { type: BooleanConstructor; default: boolean; }; showCopyButton: { type: BooleanConstructor; default: boolean; }; showAvatars: { type: BooleanConstructor; default: boolean; }; userAvatar: { type: StringConstructor; default: null; }; assistantAvatar: { type: StringConstructor; default: null; }; theme: { type: PropType<"light" | "dark">; default: string; validator: (value: string) => boolean; }; height: { type: StringConstructor; default: string; }; width: { type: StringConstructor; default: string; }; maxWidth: { type: StringConstructor; default: string; }; persistenceKey: { type: StringConstructor; default: null; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "message-sent": (...args: any[]) => void; "response-received": (...args: any[]) => void; error: (...args: any[]) => void; "attachments-sent": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly; default: null; }; provider: { type: PropType; default: null; }; apiKey: { type: StringConstructor; default: null; }; model: { type: StringConstructor; default: null; }; baseUrl: { type: StringConstructor; default: null; }; organizationId: { type: StringConstructor; default: null; }; useProxy: { type: BooleanConstructor; default: boolean; }; proxyUrl: { type: StringConstructor; default: string; }; language: { type: StringConstructor; default: string; }; texts: { type: PropType>; default: () => {}; }; demoMode: { type: BooleanConstructor; default: boolean; }; demoResponses: { type: PropType>; default: () => { hello: string; help: string; features: string; }; }; title: { type: StringConstructor; default: string; }; placeholder: { type: StringConstructor; default: string; }; initialMessages: { type: PropType; default: () => never[]; }; systemPrompt: { type: StringConstructor; default: string; }; streaming: { type: BooleanConstructor; default: boolean; }; loadingText: { type: StringConstructor; default: string; }; errorText: { type: StringConstructor; default: string; }; showTimestamps: { type: BooleanConstructor; default: boolean; }; showCopyButton: { type: BooleanConstructor; default: boolean; }; showAvatars: { type: BooleanConstructor; default: boolean; }; userAvatar: { type: StringConstructor; default: null; }; assistantAvatar: { type: StringConstructor; default: null; }; theme: { type: PropType<"light" | "dark">; default: string; validator: (value: string) => boolean; }; height: { type: StringConstructor; default: string; }; width: { type: StringConstructor; default: string; }; maxWidth: { type: StringConstructor; default: string; }; persistenceKey: { type: StringConstructor; default: null; }; }>> & Readonly<{ "onMessage-sent"?: ((...args: any[]) => any) | undefined; "onResponse-received"?: ((...args: any[]) => any) | undefined; onError?: ((...args: any[]) => any) | undefined; "onAttachments-sent"?: ((...args: any[]) => any) | undefined; }>, { title: string; model: string; provider: AIProvider; apiKey: string; baseUrl: string; initialMessages: Message[]; systemPrompt: string; streaming: boolean; persistenceKey: string; demoMode: boolean; demoResponses: Record; useProxy: boolean; proxyUrl: string; client: AIClient; organizationId: string; language: string; texts: Record; placeholder: string; loadingText: string; errorText: string; showTimestamps: boolean; showCopyButton: boolean; showAvatars: boolean; userAvatar: string; assistantAvatar: string; theme: "light" | "dark"; height: string; width: string; maxWidth: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { messagesContainer: HTMLDivElement; inputElement: HTMLTextAreaElement; fileInput: HTMLInputElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };