import { type AssistantAttachment, type AssistantContext, type AssistantError, type AssistantTransport } from '../core/types'; export interface UseAssistantOptions { transport: AssistantTransport; locale: string; getContext?: () => AssistantContext | Promise; onThreadChange?: (threadId: string) => void; onRunChange?: (runId: string, state: string) => void; onError?: (error: AssistantError) => void; } export declare function useAssistant(options: UseAssistantOptions): { state: import("..").AssistantViewState; busy: boolean; send: (text: string, attachments?: AssistantAttachment[]) => Promise; cancel: () => Promise; newConversation: () => Promise; }; //# sourceMappingURL=useAssistant.d.ts.map