@minto-ai/mt-ui
Version:
UI组件库
50 lines (49 loc) • 1.68 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"spinner" | "dots">;
readonly validator: (value: string) => boolean;
readonly default: "spinner";
};
readonly size: {
readonly type: NumberConstructor;
readonly default: 42;
};
readonly text: {
readonly type: StringConstructor;
readonly default: "";
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly type: {
readonly type: import('vue').PropType<"spinner" | "dots">;
readonly validator: (value: string) => boolean;
readonly default: "spinner";
};
readonly size: {
readonly type: NumberConstructor;
readonly default: 42;
};
readonly text: {
readonly type: StringConstructor;
readonly default: "";
};
}>> & Readonly<{}>, {
readonly size: number;
readonly type: "spinner" | "dots";
readonly text: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};