import Vue from 'vue' export interface SMessageBoxShortcutMethod { (options?: SMessageBoxOptions): void } export interface SMessageBoxOptions { title: string message: string showCancel?: boolean tapMaskHide?: boolean $type?: string actionCallback?: (action: string, cb: any) => void appearCallback?: (isShowup: boolean) => void } export interface _SMessageBox { (options: SMessageBoxOptions): void alert: SMessageBoxShortcutMethod }