import type { MessageDoc, Id } from '../types'; export interface UseConversationReturn { messages: () => MessageDoc[]; isStreaming: () => boolean; load: () => Promise; send: (text: string, opts?: { attachments?: Id[]; }) => Promise; cancel: (messageId: Id) => Promise; } export interface UseConversationOptions { autoLoad?: boolean; } export declare function useConversation(id?: Id | (() => Id | undefined), options?: UseConversationOptions): UseConversationReturn; //# sourceMappingURL=useConversation.d.ts.map