import type { FC, HTMLAttributes } from "react";
import type { BaseStep } from "./types";
export type StepperLocale = {
disabledStep?: string | ((stepName: string) => string);
activeStep?: string | ((stepName: string) => string);
incompletedStep?: string | ((stepName: string) => string);
completedStep?: string | ((stepName: string) => string);
};
export type StepperSizes = "small" | "default" | "large";
export type StepperOrientation = "horizontal" | "vertical";
export interface StepperProps extends Omit, "children"> {
/**
* Defines the steps of the Stepper.
*/
steps: BaseStep[];
/**
* Defines the controlled index of the active step.
* If omitted, the first step will be active by default
* and the Stepper will be uncontrolled.
*/
activeStep?: number;
/**
* Defines the callback fired when a step is clicked.
*/
onStepChange?: (index: number) => void;
/**
* Defines the size of the Stepper.
* @default "default"
*/
size?: StepperSizes;
/**
* Defines the orientation of the Stepper.
* @default "vertical"
*/
orientation?: StepperOrientation;
/**
* Defines whether the connectors should be displayed.
* @default true
*/
connectors?: boolean;
/**
* Defines the text describing the steps.
* If not provided, default values will be used.
*/
locale?: StepperLocale;
}
/**
* The `Stepper` is an interactive, navigational component that visually guides users through multi-step processes in a linear, defined order.
*
* See the [Stepper documentation page](https://satellite.algolia.com/8261d6576/p/28fd3b-stepper) for more information.
*/
export declare const Stepper: FC;