@minto-ai/mt-ui
Version:
UI组件库
76 lines (75 loc) • 2.79 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLSpanElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
readonly validator: (value: string) => boolean;
readonly default: "default";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly size: {
type: import('vue').PropType<"normal" | "small" | "large">;
default: string;
validator: (value: "normal" | "small" | "large") => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly effect: {
readonly type: import('vue').PropType<"dark" | "light" | "plain">;
readonly validator: (value: string) => boolean;
readonly default: "light";
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
readonly validator: (value: string) => boolean;
readonly default: "default";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly size: {
type: import('vue').PropType<"normal" | "small" | "large">;
default: string;
validator: (value: "normal" | "small" | "large") => boolean;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly effect: {
readonly type: import('vue').PropType<"dark" | "light" | "plain">;
readonly validator: (value: string) => boolean;
readonly default: "light";
};
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
}>, {
readonly round: boolean;
readonly size: "normal" | "small" | "large";
readonly type: "default" | "error" | "primary" | "success" | "warning";
readonly effect: "dark" | "light" | "plain";
readonly closable: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};