import { NotifyService } from '@farris/ui-notify'; import { MessagerService } from '@farris/ui-messager'; import { HttpRequestFaildInfo } from '../types'; export declare class NotifyType { static INFO: string; static SUCCESS: string; static ERROR: string; static WARNING: string; } export declare class MessageNotifyService { private notifyService; private messagerService; constructor(notifyService: NotifyService, messagerService: MessagerService); /** * 弹出通知提示框 * @param message 提示信息 * @param notifyType 提示类型 */ notify(message: string, notifyType: string): void; /** * 弹出错误信息提示框 */ showRequestErrorMessage(requestError: HttpRequestFaildInfo, safeHtml?: boolean): void; getErrorMessage(requestError: HttpRequestFaildInfo): string; /** 将请求异常信息体格式化为object */ private getServerExceptionEntity; /** * 获取信息提示类型 */ private getMessageType; }