vue3-chat-yzx
Version:
vue3-chat-yzx
48 lines (47 loc) • 1.62 kB
TypeScript
import { ThinkingProps, ThinkingStatus } from './types';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
icon?(_: {
status: ThinkingStatus;
}): any;
label?(_: {
status: ThinkingStatus;
}): any;
arrow?(_: {}): any;
error?(_: {}): any;
content?(_: {
status: ThinkingStatus;
content: string;
}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<ThinkingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
"update:modelValue": (value: boolean) => any;
change: (value: boolean, status: ThinkingStatus) => any;
}, string, import('vue').PublicProps, Readonly<ThinkingProps> & Readonly<{
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
onChange?: ((value: boolean, status: ThinkingStatus) => any) | undefined;
}>, {
content: string;
modelValue: boolean;
status: ThinkingStatus;
autoCollapse: boolean;
disabled: boolean;
duration: string;
buttonWidth: string;
maxWidth: string;
color: string;
isBorder: boolean;
lb: boolean;
}, {}, {}, {}, 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;
};
};