import type { StepperRootProps, StepperRootEmits } from 'reka-ui'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/ui/stepper'; import type { DynamicSlots, ComponentConfig } from '../types/utils'; type Stepper = ComponentConfig; export interface StepperItem { slot?: string; value?: string | number; title?: string; description?: string; /** * @IconifyIcon */ icon?: string; content?: string; disabled?: boolean; class?: any; ui?: Pick; [key: string]: any; } export interface StepperProps extends Pick { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; items: T[]; /** * @defaultValue 'md' */ size?: Stepper['variants']['size']; /** * @defaultValue 'primary' */ color?: Stepper['variants']['color']; /** * The orientation of the stepper. * @defaultValue 'horizontal' */ orientation?: Stepper['variants']['orientation']; /** * The value of the step that should be active when initially rendered. Use when you do not need to control the state of the steps. */ defaultValue?: string | number; disabled?: boolean; class?: any; ui?: Stepper['slots']; } export type StepperEmits = Omit & { next: [payload: T]; prev: [payload: T]; }; type SlotProps = (props: { item: T; }) => any; export type StepperSlots = { indicator: SlotProps; title: SlotProps; description: SlotProps; content: SlotProps; } & 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 onPrev?: ((payload: T) => any) | undefined; readonly onNext?: ((payload: T) => any) | undefined; readonly "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onPrev" | "onNext"> & (StepperProps & { modelValue?: string | number; }) & Partial<{}>> & import("vue").PublicProps; expose(exposed: import("vue").ShallowUnwrapRef<{ next(): void; prev(): void; hasNext: import("vue").ComputedRef; hasPrev: import("vue").ComputedRef; }>): void; attrs: any; slots: StepperSlots; emit: (((evt: "prev", payload: T) => void) & ((evt: "next", payload: T) => void)) & ((evt: "update:modelValue", value: string | number | undefined) => void); }>) => import("vue").VNode & { __ctx?: Awaited; }; export default _default; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};