UNPKG

@artmate/chat

Version:

**开箱即用的AI组件库(基于 Vue3 + ElementPlus)**

45 lines (44 loc) 1.62 kB
import { CSSProperties } from 'vue'; import { ThoughtChainItemProps, ThoughtChainProps } from './interface'; interface ThoughtChainNodeProps { info?: ThoughtChainItemProps; nextStatus?: ThoughtChainItemProps['status']; headerClick?: (key: string) => void; expandedKeys?: string[]; className?: string; style?: CSSProperties; classNames?: ThoughtChainProps['classNames']; styles?: ThoughtChainProps['styles']; enableCollapse?: boolean; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { icon?(_: { info: ThoughtChainItemProps; }): any; extra?(_: { info: ThoughtChainItemProps; }): any; content?(_: { info: ThoughtChainItemProps; }): any; footer?(_: { info: ThoughtChainItemProps; }): any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<ThoughtChainNodeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ThoughtChainNodeProps> & Readonly<{}>, { info: ThoughtChainItemProps; headerClick: (key: string) => void; }, {}, {}, {}, 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; }; };