type __VLS_Props = { variant?: "default" | "secondary" | "destructive" | "outline"; size?: "sm" | "default" | "lg"; /** v1 兼容:直接传文本,slot 优先级更高 */ text?: string; /** 是否可关闭 */ closable?: boolean; }; declare var __VLS_10: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_10) => any; }; declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (e: MouseEvent) => any; close: () => any; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; onClose?: (() => any) | undefined; }>, { size: "sm" | "default" | "lg"; variant: "default" | "secondary" | "destructive" | "outline"; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };