import { AiAction, AiContext, AiConversation, AiProviderSettings } from './types'; type __VLS_Props = { /** 初始会话列表 */ conversations?: AiConversation[]; /** 初始上下文 */ context?: AiContext | null; /** 初始设置 */ settings?: AiProviderSettings; }; declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, { copilot: { conversations: import('vue').Ref<{ id: string; name: string; messages: { id: string; role: import('./types').AiRole; content: string; createdAt: number; status: import('./types').AiMessageStatus; actions?: { id: string; type: import('./types').AiActionType; description: string; payload?: Record; applied?: boolean; }[]; streaming?: boolean; }[]; createdAt: number; updatedAt: number; }[], AiConversation[] | { id: string; name: string; messages: { id: string; role: import('./types').AiRole; content: string; createdAt: number; status: import('./types').AiMessageStatus; actions?: { id: string; type: import('./types').AiActionType; description: string; payload?: Record; applied?: boolean; }[]; streaming?: boolean; }[]; createdAt: number; updatedAt: number; }[]>; currentConversationId: import('vue').Ref; currentConversation: import('vue').ComputedRef; messages: import('vue').ComputedRef; isGenerating: import('vue').Ref; context: import('vue').Ref<{ type: import('./types').AiContextType; name: string; fields?: { name: string; label?: string; type?: string; required?: boolean; }[]; selectedId?: string; selectedName?: string; description?: string; raw?: Record; }, AiContext | { type: import('./types').AiContextType; name: string; fields?: { name: string; label?: string; type?: string; required?: boolean; }[]; selectedId?: string; selectedName?: string; description?: string; raw?: Record; }>; settings: import('vue').Ref<{ provider: import('./types').AiProviderName; model: string; temperature: number; maxTokens: number; systemPrompt: string; }, AiProviderSettings | { provider: import('./types').AiProviderName; model: string; temperature: number; maxTokens: number; systemPrompt: string; }>; pendingActions: import('vue').ComputedRef; newConversation: (name?: string) => AiConversation; loadConversation: (id: string) => void; deleteConversation: (id: string) => void; renameConversation: (id: string, name: string) => void; clearHistory: () => void; setContext: (ctx: AiContext | null) => void; updateSettings: (patch: Partial) => void; sendMessage: (text: string, onDone?: () => void) => void; stopGeneration: () => void; applyAction: (action: AiAction) => void; rejectAction: (action: AiAction) => void; }; setContext: (ctx: AiContext | null) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { send: (text: string) => any; "apply-action": (action: AiAction) => any; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onSend?: (text: string) => any; "onApply-action"?: (action: AiAction) => any; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: typeof __VLS_export; export default _default;