import ConversationContext from './conversation-context'; import { Session } from "../types/session"; /** * In memory conversation context manager. */ declare class MemoryConversationContext extends ConversationContext { private readonly conversationContexts; /** * Constructor of the class. * @param {Object} settings Settings for the instance. */ constructor(settings: object); /** * Gets the conversation context from the session. * @param {Object} session Chatbot session of the conversation. * @returns {Promise} Promise to resolve the conversation context. */ getConversationContext(session: Session): Promise; setConversationContext(session: Session, context: any): Promise; } export default MemoryConversationContext;