import { AiConversation, AiEngineConfig } from './engine'; import type { AiChatItem, ProposalStatus } from './types'; export type UseAiAssistantConfig = AiEngineConfig; /** * Binds the conversation engine to React. `conversation` is the Conversation * to drive — typically from useConversation(id) so it survives remounts and * can be shown elsewhere; omitted, a private one is created for this mount. * Returns the same surface API either way. */ export declare const useAiAssistant: (config: AiEngineConfig, conversation?: AiConversation) => { items: readonly AiChatItem[]; sending: boolean; draft: string; send: (userText: string, model: string, contextKey?: string) => Promise; setProposalStatus: (id: number, status: ProposalStatus) => void; notifyContextSwitch: (noticeText: string, historyMarker: string) => void; clear: () => void; conversation: AiConversation; }; //# sourceMappingURL=useAiAssistant.d.ts.map