import type { ConversationDoc, Id } from '../types'; export interface UseChatReturn { conversations: () => ConversationDoc[]; activeId: () => Id | undefined; setActive: (id: Id) => void; loadConversations: () => Promise; createConversation: (title?: string) => Promise; sendMessage: (conversationId: Id | null, text: string, opts?: { attachments?: Id[]; }) => Promise; cancelMessage: (conversationId: Id, messageId: Id) => Promise; isConnected: () => boolean; } export declare function useChat(): UseChatReturn; //# sourceMappingURL=useChat.d.ts.map