import type { CSSProperties, HTMLAttributes, VNode } from 'vue'; import type { AvoidValidation } from '../type-utility'; export type ThinkSemanticType = 'root' | 'status' | 'content'; export interface ThinkRef { nativeElement: HTMLElement; } export interface ThinkProps extends /* @vue-ignore */ Omit { prefixCls?: string; rootClassName?: string; className?: string; class?: string; style?: CSSProperties; classNames?: Partial>; styles?: Partial>; title?: AvoidValidation VNode | string)>; icon?: AvoidValidation VNode)>; loading?: AvoidValidation VNode)>; defaultExpanded?: boolean; expanded?: boolean; onExpand?: (expand: boolean) => void; blink?: boolean; /** * @desc 隐藏时是否销毁内容节点 * @descEN Whether to destroy content node when hidden * @default true */ destroyOnHidden?: boolean; } export type ThinkSlots = { default?(): any; title?(): any; icon?(): any; loading?(): any; };