import { TypeComponentsMap } from 'element-plus/es/utils'; import type { ExtractPublicPropTypes } from 'vue'; export declare const alertEffects: readonly ["light", "dark"]; export interface AlertProps { /** * @description alert title. */ title?: string; /** * @description descriptive text. */ description?: string; /** * @description alert type. */ type?: keyof typeof TypeComponentsMap; /** * @description whether alert can be dismissed. */ closable?: boolean; /** * @description text for replacing x button */ closeText?: string; /** * @description whether show icon */ showIcon?: boolean; /** * @description should content be placed in center. */ center?: boolean; /** * @description theme style */ effect?: 'light' | 'dark'; } /** * @deprecated Removed after 3.0.0, Use `AlertProps` instead. */ export declare const alertProps: { readonly title: import("element-plus/es/utils").EpPropFinalized; readonly description: import("element-plus/es/utils").EpPropFinalized; readonly type: import("element-plus/es/utils").EpPropFinalized; readonly closable: import("element-plus/es/utils").EpPropFinalized; readonly closeText: import("element-plus/es/utils").EpPropFinalized; readonly showIcon: BooleanConstructor; readonly center: BooleanConstructor; readonly effect: import("element-plus/es/utils").EpPropFinalized; }; /** * @deprecated Removed after 3.0.0, Use `AlertProps` instead. */ export type AlertPropsPublic = ExtractPublicPropTypes; export declare const alertEmits: { close: (evt: MouseEvent) => boolean; }; export type AlertEmits = typeof alertEmits;