@artmate/chat
Version:
**开箱即用的AI组件库(基于 Vue3 + ElementPlus)**
43 lines (42 loc) • 1.65 kB
TypeScript
import { BubbleContentType, BubbleProps } from './interface';
declare const _default: <T extends BubbleContentType = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly onUpdate?: (() => any) | undefined;
readonly onTypingComplete?: (() => any) | undefined;
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate" | "onTypingComplete"> & BubbleProps<T> & Partial<{}>> & import('vue').PublicProps;
expose(exposed: import('vue').ShallowUnwrapRef<{
nativeElement: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
}>): void;
attrs: any;
slots: {
avatar?(_: {
content: T;
}): any;
header?(_: {
content: T;
}): any;
loading?(_: {}): any;
loading?(_: {}): any;
content?(_: {
content: T;
}): any;
content?(_: {
content: T;
}): any;
suffix?(_: {}): any;
suffix?(_: {}): any;
footer?(_: {
content: T;
}): any;
};
emit: {
(e: "update"): void;
(e: "typingComplete"): void;
};
}>) => import('vue').VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};