import * as React from 'react'; interface StepperContextValue { currentStep: number; totalSteps: number; orientation: 'horizontal' | 'vertical'; } declare const useStepperContext: () => StepperContextValue; interface StepperProps extends React.HTMLAttributes { currentStep: number; /** Layout direction. @default "horizontal" */ orientation?: 'horizontal' | 'vertical'; } /** * Multi-step progress indicator for sequential forms and wizards. * * @description * Guides the user through a linear multi-step flow. Supports horizontal (default) * and vertical orientations. Steps before `currentStep` show as completed (checkmark), * the current step as active (primary), error steps show an X, and future steps as pending (muted). * * @ai-rules * 1. `step` props are 1-indexed — the first step is `step={1}`, not `step={0}`. * 2. Control the active step with `currentStep` on `` (1-indexed). * 3. Validate the current step's form data BEFORE advancing `currentStep`. * 4. Use `error={true}` on a `` to indicate a validation failure on that step. */ declare const Stepper: React.ForwardRefExoticComponent>; interface StepProps extends React.HTMLAttributes { step: number; label: string; description?: string; /** Marks this step as having a validation error. Renders a red X icon. */ error?: boolean; } declare const Step: React.ForwardRefExoticComponent>; export { Stepper, Step, useStepperContext };