/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { DialogContext } from 'botbuilder-dialogs'; export declare namespace DialogContextEx { const suppressDialogCompletionKey = "suppressDialogCompletionMessage"; /** * Provides an extension method to DialogContext enabling a Dialog to indicate whether it wishes to suppress any dialog * completion method if for example it's handled itself or the operation (e.g. cancel, repeat) doesn't call for it. * @param dc DialogContext * @param suppress Boolean indicating whether any automatic dialog completion message should be suppressed. */ function suppressCompletionMessage(dc: DialogContext, suppress: boolean): void; /** * Provides an extension method to DialogContext enabling the caller to retrieve whether it should suppress a dialog completion message. * @param dc DialogContext * @returns Indicates whether a dialog completion message should be sent. */ function suppressCompletionMessageValidation(dc: DialogContext): boolean; }