import type { HTMLAttributes, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.cjs'; export interface StepperStep { label: ReactNode; description?: ReactNode; icon?: ReactNode; /** Mark this step as failed (red marker, `aria-invalid`). Wins over complete/active styling. */ error?: boolean; } export interface StepperProps extends Omit, 'children'> { steps: StepperStep[]; /** Active step index (0-based). Steps before this are marked complete. */ active: number; orientation?: 'horizontal' | 'vertical'; size?: 'sm' | 'md'; /** Fired when a clickable step is clicked. By default only completed steps are clickable. */ onStepClick?: (index: number) => void; /** Let every step (including upcoming ones) fire `onStepClick`. Default: false. */ clickable?: boolean; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; } export declare const Stepper: import("react").ForwardRefExoticComponent>;