import type { AutopilotChatMessage } from './ChatModel';
import type { AutopilotChatService } from './ChatService';
interface Conversation {
    id: string;
    name: string;
    timestamp: string;
    lastUpdated: number;
}
export declare class LocalHistoryService {
    private static CONVERSATIONS_DB_BASE_NAME;
    private static MESSAGES_DB_BASE_NAME;
    private static DB_VERSION;
    private static ACTIVE_CONVERSATION_ID;
    private static CONVERSATIONS_DB_NAME;
    private static MESSAGES_DB_NAME;
    private static UNSUBSCRIBE_CALLBACKS;
    private static getConversationsDb;
    private static getMessagesDb;
    static createConversation(conversationId: string, conversationName: string): Promise<string>;
    static getAllConversations(): Promise<Array<{
        id: string;
        name: string;
        timestamp: string;
    }>>;
    static getConversation(conversationId: string): Promise<Conversation | null>;
    static saveMessage(conversationId: string, message: AutopilotChatMessage): Promise<string>;
    static patchMessage(conversationId: string, message: AutopilotChatMessage): Promise<string | null>;
    static getConversationMessages(conversationId: string): Promise<AutopilotChatMessage[]>;
    static deleteConversation(conversationId: string): Promise<void>;
    static Initialize(instanceName: string, chatService: AutopilotChatService): Promise<void>;
}
export {};
//# sourceMappingURL=LocalHistory.d.ts.map