@artmate/chat
Version:
借鉴字节开源react库AntX,通过vue实现的版本
51 lines (50 loc) • 1.88 kB
TypeScript
import { ThoughtChainItemProps, ThoughtChainProps } from './interface';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
icon?(slotProps: {
info: ThoughtChainItemProps;
}): void;
content?(slotProps: {
info: ThoughtChainItemProps;
}): void;
extra?(slotProps: {
info: ThoughtChainItemProps;
}): void;
footer?(slotProps: {
info: ThoughtChainItemProps;
}): void;
}> & {
icon?(slotProps: {
info: ThoughtChainItemProps;
}): void;
content?(slotProps: {
info: ThoughtChainItemProps;
}): void;
extra?(slotProps: {
info: ThoughtChainItemProps;
}): void;
footer?(slotProps: {
info: ThoughtChainItemProps;
}): void;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<ThoughtChainProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ThoughtChainProps> & Readonly<{}>, {
size: import('./interface').SizeType;
rootClassName: string;
items: ThoughtChainItemProps[];
classNames: Partial<Record<import('./interface').ThoughtSemanticType, string>>;
styles: Partial<Record<import('./interface').ThoughtSemanticType, import('vue').CSSProperties>>;
prefixCls: string;
collapsible: 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;
};
};