import * as React from 'react'; import type { StepperContextValue, StepperItemState, StepperNavigationMode, StepperProps, StepStatus } from './types.js'; export declare const StepperProvider: React.FC, useStepperContext: (consumerName: string) => StepperContextValue; /** @internal Derives step status by precedence: `current` > `error` > `completed` > `disabled` > `incomplete`. */ export declare function stepStatus(item: { completed?: boolean | undefined; disabled?: boolean | undefined; error?: boolean | undefined; }, current: boolean): StepStatus; /** @internal Whether a step is reachable: completed, current, or first incomplete; disabled steps never activate. */ export declare function canActivateStep(items: StepperItemState[], value: string, currentValue: string | undefined, navigationMode: StepperNavigationMode): boolean; /** * Step sequence root that renders `
    ` and owns the current step, controlled or uncontrolled. * * @example * ```tsx * setCurrent(Number(next))} * items={[ * { label: 'Cart' }, * { label: 'Shipping', description: 'Where it goes.' }, * { label: 'Payment' }, * ]} * /> * ``` */ export declare const Stepper: { ({ value: valueProp, defaultValue, onValueChange, orientation, navigationMode, completedLabel, currentLabel, incompleteLabel, disabledLabel, errorLabel, items: steps, current, children, ref: forwardedRef, ...props }: StepperProps): React.ReactNode; displayName: string; };