import { MDialog, MDialogMessageStyle, MDialogState, MDialogWidth } from '../../components/dialog/dialog'; export declare class DialogService { /** * * @param message the message of the confirmation dialog * @param title a title label if any * @param okLabel a cancel label if any */ alert(message: string, title?: string, okLabel?: string): Promise; /** * * @param message the message of the confirmation dialog * @param title a title label if any * @param okLabel a ok label if any * @param cancelLabel a cancel label if any */ confirm(message: string, title?: string, okLabel?: string, cancelLabel?: string): Promise; /** * * @param options all configuration options * @param message the message of the confirmation dialog * @param state the dialog state * @param title a title label if any * @param okLabel a ok label if any * @param secBtn secBtn if any * @param secBtnLabel a secBtnLabel label if any * @param btnWidth a btnWidth if any * @param negativeLink negativeLink if any * @param cancelLabel a cancel label if any * @param width the width of the dialog if any * @param messageStyle Ssyle applied to the message */ generic(options: { message: string; messageStyle?: MDialogMessageStyle; title?: string; state?: MDialogState; okLabel?: string; secBtn?: boolean; secBtnLabel?: string; btnWidth?: string; negativeLink?: boolean; cancelLabel?: string; width?: MDialogWidth; }): Promise; generic(message: string, state?: MDialogState, title?: string, okLabel?: string, secBtn?: boolean, secBtnLabel?: string, btnWidth?: string, negativeLink?: boolean, cancelLabel?: string, width?: MDialogWidth, messageStyle?: MDialogMessageStyle): Promise; /** * * @param mDialogInstance the MDialog instance * @param rejectOnCancel if true, the promise will be rejected on cancel */ show(mDialogInstance: MDialog, rejectOnCancel?: boolean): Promise; } //# sourceMappingURL=dialog-service.d.ts.map