import { Session } from "../types/session"; /** * Abstract class for a conversation context of a chatbot. * The conversation context is the responsible for storing and retrieving * the context scope variables based on the current conversation. * The getConversationContext receive the session of the chatbot, and must return * a promise with the context in the resolve. */ declare class ConversationContext { private settings; /** * Constructor of the class. * @param {Object} settings Settings for the instance. */ constructor(settings: object); /** * Given a session instance of a chatbot, return the conversation identifier. * @param {Object} session Session instance of a message of chatbot. * @returns {String} Identifier of the conversation. */ getConversationId(session: Session): string | undefined; } export default ConversationContext;