import { AgentChat, AgentMessage } from '../types'; declare class ChatStorage { private db; private initPromise; private init; private normalizeStoredChat; saveChat(chat: AgentChat): Promise; getChat(chatId: string): Promise; listChats(filter?: { contextKey?: string; userId?: string; multiUser?: boolean; }): Promise; deleteChat(chatId: string): Promise; clearAll(): Promise; getMessages(chatId: string): Promise; saveMessages(chatId: string, messages: AgentMessage[]): Promise; appendMessages(chatId: string, toAppend: AgentMessage[]): Promise; } export declare const chatStorage: ChatStorage; export {}; //# sourceMappingURL=ChatStorage.d.ts.map