UNPKG

vue3-chat-yz

Version:

vue3-chat-yz

59 lines (58 loc) 1.95 kB
import { BubbleListProps, scrollTopParameters, BubbleDataType } from './types'; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ avatar?: (slotProps: { info: BubbleDataType; }) => void; header?: (slotProps: { info: BubbleDataType; }) => void; loading?: (slotProps: { info: BubbleDataType; }) => void; footer?: (slotProps: { info: BubbleDataType; }) => void; thinking?: (slotProps: { info: BubbleDataType; }) => void; }> & { avatar?: (slotProps: { info: BubbleDataType; }) => void; header?: (slotProps: { info: BubbleDataType; }) => void; loading?: (slotProps: { info: BubbleDataType; }) => void; footer?: (slotProps: { info: BubbleDataType; }) => void; thinking?: (slotProps: { info: BubbleDataType; }) => void; }; refs: { listRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<BubbleListProps, { nativeElement: HTMLDivElement | undefined; scrollTo: ({ key, offset, behavior, block }: scrollTopParameters) => void; }, {}, {}, {}, 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; }; };