import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/user'; import type { AvatarProps, ChipProps, LinkProps } from '../types'; import type { ComponentConfig } from '../types/tv'; type User = ComponentConfig; export interface UserProps { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; name?: string; description?: string; avatar?: Omit & { [key: string]: any; }; chip?: boolean | Omit; /** * @defaultValue 'md' */ size?: User['variants']['size']; /** * The orientation of the user. * @defaultValue 'horizontal' */ orientation?: User['variants']['orientation']; to?: LinkProps['to']; target?: LinkProps['target']; onClick?: (event: MouseEvent) => void | Promise; class?: any; b24ui?: User['slots']; } export interface UserSlots { avatar?(props: { b24ui: User['b24ui']; }): VNode[]; name?(props?: {}): VNode[]; description?(props?: {}): VNode[]; default?(props?: {}): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, { orientation: User["variants"]["orientation"]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, UserSlots>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };