/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import * as BB from 'botbuilder'; import { BotMemory } from './Memory/BotMemory'; import { BotState } from './Memory/BotState'; import { AppBase } from '@conversationlearner/models'; export declare class CLMemory { private static memoryStorage; private memCache; private userkey; private turnContext; static Init(memoryStorage: BB.Storage | null): void; private constructor(); static GetMemory(key: string): CLMemory; static InitMemory(turnContext: BB.TurnContext): Promise; private Key; GetAsync(datakey: string): Promise; SetAsync(datakey: string, jsonString: string): Promise; DeleteAsync(datakey: string): Promise; SetAppAsync(app: AppBase | null): Promise; readonly BotMemory: BotMemory; readonly BotState: BotState; readonly TurnContext: BB.TurnContext | undefined; }