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