/** * @description 提供警告消息 */ declare class Alert { protected element: HTMLElement; protected icon: HTMLElement; protected text: Text; protected parent: HTMLElement | null; protected iconCls: string; protected isVisible: boolean; static showKeyframes: Keyframe[]; static hiddenKeyframes: Keyframe[]; constructor(text?: string, icon?: string); protected initEle(icon: string, text: string): void; mountTo(parent: HTMLElement): void; unMount(): void; show(): void; hidden(): void; toggle(): void; setIcon(icon?: string): void; setText(text?: string): void; getEle(): HTMLElement; } export { Alert };