export declare function createChatHistory(): {
    getMessages: () => Promise<import("@langchain/core/messages").BaseMessage[]>;
    addUserMessage: (text: string) => Promise<void>;
    addAIMessage: (text: string) => Promise<void>;
    clear: () => Promise<void>;
};
