import type { LucideIcon } from 'lucide-react'; export type ProcessStepDef = { /** Stable key for React lists. */ key: string; label: React.ReactNode; /** Icon for upcoming / active steps; without one the step number is shown. */ icon?: LucideIcon; }; export type ProcessStepperProps = { steps: readonly ProcessStepDef[]; /** 0-based index of the current step. */ activeIndex: number; /** Called when a completed step's circle is clicked (backwards navigation). */ onStepClick?: (index: number) => void; className?: string; /** aria-label for the