/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { MemoryScope } from './memoryScope'; import { DialogContext } from '../../dialogContext'; import { Dialog } from '../../dialog'; /** * A memory scope that provides access to the properties of the active dialog. * This scope binds to the active dialog and clones its properties for use in memory. */ export declare class ClassMemoryScope extends MemoryScope { /** * Initializes a new instance of the ClassMemoryScope class. * * @param name - Name of the scope class. Defaults to `ScopePath.class`. */ constructor(name?: string); /** * Gets the backing memory for this scope. * * @param dialogContext - The DialogContext object for this turn. * @returns The memory for the scope, containing cloned properties of the active dialog. */ getMemory(dialogContext: DialogContext): object; /** * Override to find the dialog instance referenced by the scope. * * @param dialogContext - Current dialog context. * @returns The dialog instance referenced by the scope, or undefined if not found. */ protected onFindDialog(dialogContext: DialogContext): Dialog | undefined; }