import { App, VNode } from 'vue'; export type Action = 'confirm' | 'close' | 'cancel'; export type MessageBoxProps = { visible?: boolean; title?: string; message?: string | VNode; type?: 'alert' | 'confirm'; icon?: string; titleAlign?: 'left' | 'center' | 'right' | string; messageAlign?: 'left' | 'center' | 'right' | string; confirmButtonText?: string; cancelButtonText?: string; showCancelButton?: boolean; callback?: (action: Action) => void; beforeClose?: () => boolean; }; export type IMessageBox = { alert(options: MessageBoxProps): Promise; confirm(options: MessageBoxProps): Promise; }; export declare const messageBoxPlugin: { install: (Vue: App) => void; }; export declare const OtMessageBox: IMessageBox;