import { AdaptiveCardDialogInfo } from '../../interfaces'; import { DialogSubmitHandler } from '../dialog'; import * as bot from './bot'; /** * Allows app to open an adaptive card based dialog. * * @remarks * This function cannot be called from inside of a dialog * * @param adaptiveCardDialogInfo - An object containing the parameters of the dialog module {@link AdaptiveCardDialogInfo}. * @param submitHandler - Handler that triggers when a dialog fires an [Action.Submit](https://adaptivecards.io/explorer/Action.Submit.html) or when the user closes the dialog. */ export declare function open(adaptiveCardDialogInfo: AdaptiveCardDialogInfo, submitHandler?: DialogSubmitHandler): void; /** * Checks if dialog.adaptiveCard module is supported by the host * * @returns boolean to represent whether dialog.adaptiveCard module is supported * * @throws Error if {@linkcode app.initialize} has not successfully completed */ export declare function isSupported(): boolean; export { bot };