UNPKG

@artmate/chat

Version:

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

66 lines (65 loc) 2.38 kB
import { BubbleDataType, BubbleListProps, scrollTopParameters } from './interface'; declare function scrollTo({ key, offset, behavior, block }: scrollTopParameters): void; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ leading?: (slotProps: { info: BubbleDataType; }, index: number) => void; avatar?: (slotProps: { info: BubbleDataType; }, index: number) => void; header?: (slotProps: { info: BubbleDataType; }, index: number) => void; loading?: (slotProps: { info: BubbleDataType; }, index: number) => void; footer?: (slotProps: { info: BubbleDataType; }, index: number) => void; content?: (slotProps: { info: BubbleDataType; }, index: number) => void; }> & { leading?: (slotProps: { info: BubbleDataType; }, index: number) => void; avatar?: (slotProps: { info: BubbleDataType; }, index: number) => void; header?: (slotProps: { info: BubbleDataType; }, index: number) => void; loading?: (slotProps: { info: BubbleDataType; }, index: number) => void; footer?: (slotProps: { info: BubbleDataType; }, index: number) => void; content?: (slotProps: { info: BubbleDataType; }, index: number) => void; }; refs: { listRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<BubbleListProps, { nativeElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>; scrollTo: typeof scrollTo; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BubbleListProps> & Readonly<{}>, { items: BubbleDataType[]; autoScroll: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { listRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };