import type { TabsRootProps, TabsRootEmits } from 'reka-ui'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/ui/tabs'; import type { AvatarProps } from '../types'; import type { DynamicSlots, ComponentConfig } from '../types/utils'; type Tabs = ComponentConfig; export interface TabsItem { label?: string; /** * @IconifyIcon */ icon?: string; avatar?: AvatarProps; slot?: string; content?: string; /** A unique value for the tab item. Defaults to the index. */ value?: string | number; disabled?: boolean; class?: any; ui?: Pick; [key: string]: any; } export interface TabsProps extends Pick, 'defaultValue' | 'modelValue' | 'activationMode' | 'unmountOnHide'> { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; items?: T[]; /** * @defaultValue 'primary' */ color?: Tabs['variants']['color']; /** * @defaultValue 'pill' */ variant?: Tabs['variants']['variant']; /** * @defaultValue 'md' */ size?: Tabs['variants']['size']; /** * The orientation of the tabs. * @defaultValue 'horizontal' */ orientation?: TabsRootProps['orientation']; /** * The content of the tabs, can be disabled to prevent rendering the content. * @defaultValue true */ content?: boolean; /** * The key used to get the label from the item. * @defaultValue 'label' */ labelKey?: string; class?: any; ui?: Tabs['slots']; } export interface TabsEmits extends TabsRootEmits { } type SlotProps = (props: { item: T; index: number; }) => any; export type TabsSlots = { 'leading': SlotProps; 'default': SlotProps; 'trailing': SlotProps; 'content': SlotProps; 'list-leading': (props?: {}) => any; 'list-trailing': (props?: {}) => any; } & DynamicSlots; declare const _default: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & Omit<{ readonly "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & TabsProps & Partial<{}>> & import("vue").PublicProps; expose(exposed: import("vue").ShallowUnwrapRef<{}>): void; attrs: any; slots: TabsSlots; emit: (evt: "update:modelValue", payload: string | number) => void; }>) => import("vue").VNode & { __ctx?: Awaited; }; export default _default; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};