/** * 消息服务 */ declare class MessageService { /** * 显示全局成功消息 */ static success: (message: string) => void; /** * 显示全局警告消息 */ static warning: (message: string) => void; /** * 显示全局信息消息 */ static info: (message: string) => void; /** * 显示全局错误消息 */ static error: (message: string) => void; /** * 显示全局错误消息 */ static confirm: (title: string, message: string, options?: any) => Promise; /** * 显示警告框 */ static alert: (title: string, message: string, options?: any) => Promise; /** * 通知 */ static notify: (title: string, message: string, type: string) => import("element-plus").NotificationHandle; } export default MessageService;