import { ButtonHTMLAttributes, HTMLAttributes, OlHTMLAttributes } from 'react';
import { StepperState } from './Stepper.helpers';
type StepperItemType = T extends true ? HTMLAttributes : ButtonHTMLAttributes;
export type StepperItem = StepperItemType & {
/** If provided, adds an label below each item */
feLabel?: string;
/** If provided, gives the supplied appearance */
feState?: Extract;
};
export interface StepperLinear {
/** Stepper items */
feItems?: StepperItem[];
/** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
feLinear: true;
}
export interface StepperNonlinear {
/** Stepper items */
feItems?: StepperItem[];
/** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
feLinear?: false;
}
export type StepperProps = OlHTMLAttributes & (StepperLinear | StepperNonlinear);
/**
* The `` provides visual feedback on a user’s progress through a series of steps
*/
declare const Stepper: import("react").ForwardRefExoticComponent>;
export default Stepper;