import type React from 'react'; import type { SelectDetail, StepperStep } from './types.js'; /** * @csspart base */ export interface StepperOwnProps { /** * Unique identifier for the element. * @example 'example-id' */ id?: string; /** * Visible label text. * @example 'Example label' */ label?: string; /** * Index or ID of the currently active step. * @defaultValue 0 * @example 1 */ current?: number; /** * Visual style variant. Allowed values: `outline`, `filled`, `ghost`. * @example 'outline' */ variant?: 'outline' | 'filled' | 'ghost'; /** * Corner radius style. Allowed values: `sharp`, `rounded`. * @example 'sharp' */ shape?: 'sharp' | 'rounded'; /** * Layout orientation (horizontal or vertical). Allowed values: `horizontal`, `vertical`. * @example 'horizontal' */ orientation?: 'horizontal' | 'vertical'; /** * Component size. Allowed values: `xs`, `sm`, `md`, `lg`, `xl`. * @example 'xs' */ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; /** * When true, steps must be completed in order — users cannot skip ahead. * @defaultValue false * @example true */ linear?: boolean; /** * Array of step definitions. Each step has id, label, optional description/icon. * @example [{ id: 'details', label: 'Details' }] */ steps?: StepperStep[]; /** * Fires when the committed component value or state changes. Detail: `SelectDetail`. * @example (event) => console.log(event.detail.value) */ onChange?: (event: CustomEvent) => void; /** CSS class applied to the Custom Element host. * @example 'my-component' */ className?: string; /** Inline styles applied to the Custom Element host. * @example { marginTop: 8 } */ style?: React.CSSProperties; } /** * Props for ``: the component's own API plus every standard DOM * attribute and native React event handler, forwarded verbatim to the * `` host — `id`, `data-*`, `aria-*`, `title`, `tabIndex`, * `slot`, `onMouseEnter`, and the rest. Own props always win over a * same-named DOM attribute. */ export type StepperProps = StepperOwnProps & Omit, keyof StepperOwnProps | 'children' | 'dangerouslySetInnerHTML'>; export declare const Stepper: React.ForwardRefExoticComponent, "children" | "dangerouslySetInnerHTML" | keyof StepperOwnProps> & React.RefAttributes>;