@artmate/chat
Version:
**开箱即用的AI组件库(基于 Vue3 + ElementPlus)**
36 lines (35 loc) • 1.16 kB
TypeScript
import { ItemType } from './interface';
type __VLS_Props = {
item: ItemType;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
icon?(_: {
info: ItemType;
}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
click: (menuInfo: {
item: import('./interface').ActionItem;
key: string;
keyPath: string[];
}) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onClick?: ((menuInfo: {
item: import('./interface').ActionItem;
key: string;
keyPath: string[];
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};