UNPKG

element-plus

Version:

A Component Library for Vue 3

23 lines (22 loc) 1.7 kB
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'; export declare const alertEffects: readonly ["light", "dark"]; export declare const alertProps: { readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>; readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>; readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>; readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "error" | "primary" | "success" | "warning" | "info", unknown, "info", boolean>; readonly closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; readonly closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly showIcon: BooleanConstructor; readonly center: BooleanConstructor; readonly effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>; }; export type AlertProps = ExtractPropTypes<typeof alertProps>; export type AlertPropsPublic = __ExtractPublicPropTypes<typeof alertProps>; export declare const alertEmits: { open: () => boolean; close: (evt?: Event) => boolean; }; export type AlertEmits = typeof alertEmits;