import type { AgUiClient, Id, ConversationDoc } from '../types'; import type { ChatState } from './state'; export interface AgUiStore { state: ChatState; isConnected: () => boolean; loadConversations: () => Promise; createConversation: (title?: string, metadata?: Record) => Promise; setActiveConversation: (id: Id) => void; updateConversation: (id: Id, updates: Partial) => Promise; archiveConversation: (id: Id) => Promise; loadMessages: (conversationId: Id) => Promise; sendMessage: (conversationId: Id | null, text: string, options?: { attachments?: Id[]; metadata?: Record; }) => Promise; cancelMessage: (conversationId: Id, messageId: Id) => Promise; close: () => void; _debug: { clearPersistedState: () => void; viewPersistedState: () => any; getStorageStats: () => { used: number; total: number; percentage: number; }; }; } export declare function createAgUiStore(client: AgUiClient): AgUiStore; //# sourceMappingURL=createAgUiStore.d.ts.map