@artmate/chat
Version:
**开箱即用的AI组件库(基于 Vue3 + ElementPlus)**
38 lines (37 loc) • 1.23 kB
TypeScript
import { ItemProps } from './interface';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {
class: string;
}): any;
label?(_: {
item: import('./interface').Conversation | undefined;
}): any;
'menu-icon'?(_: {
info: import('./interface').Conversation | undefined;
}): any;
};
refs: {
textRef: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<ItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<ItemProps> & Readonly<{
onClick?: ((...args: any[]) => any) | undefined;
}>, {
line: number;
inEllipsis: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
textRef: HTMLDivElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};