import { DialogValues, InputBase, InputBaseOptions } from ".."; /** * Namespace for any confirmation dialog */ export declare namespace ConfirmationDialog { /** * The options for any confirmation dialog. */ interface ConfirmationDialogOptions extends InputBaseOptions { /** * The normal message of the dialog. */ readonly message: string; /** * The detail message of this modal dialog. This will be dynamically generated from the other inputs. * * @param currentResult - the current dialog results * @returns the generated detail message */ readonly detail: (currentResult: DialogValues) => string; /** * The name of the confirm button. */ readonly confirmButtonName: string; } } /** * Any confirmation dialog. * This dialog will be shown as a modal dialog and therefore be in the front. */ export declare class ConfirmationDialog extends InputBase { /** * @override */ showDialog(currentResults: DialogValues): Promise; }