export class Tips { $container: Element; $tips: Element; $icon: Element; $message: Element; render(): void; showModal({ title, content, showCancel, cancelText, cancelColor, confirmText, confirmColor, }: { title: any; content: any; showCancel?: boolean; cancelText?: string; cancelColor?: string; confirmText?: string; confirmColor?: string; }): Promise; confirm(title: any, content?: string, opts?: {}): Promise; alert(content: any, opts?: {}): Promise; show(message: any, { type, waitForHide, mask, duration, delayDuration, canClickClose, canBeReplace, noTimeout, }?: { type?: string; waitForHide?: boolean; mask?: boolean; duration?: number; delayDuration?: number; canClickClose?: boolean; canBeReplace?: boolean; noTimeout?: boolean; }): Promise; canBeReplace: boolean; canClickClose: boolean; delayReject: (reason?: any) => void; tipsTimer: NodeJS.Timeout; tipsPromise: Promise; promiseResolve: (value: any) => void; hide(): Promise; /** * 新增的轻量提示,行为尽量和原notice模块一致 */ showError(err: any, { defaultMsg, mask, duration, ...opts }?: { defaultMsg: any; mask?: boolean; duration?: number; }): Promise; showInfo(message: any, opts?: {}): Promise; showSuccess(message: any, { mask, ...opts }?: { mask?: boolean; }): Promise; showLoading(message?: string, { mask, noTimeout, ...opts }?: { mask?: boolean; noTimeout?: boolean; }): Promise; hideLoading(): Promise; }