import { type PropsWithChildren, type ReactElement } from 'react'; /** Define the props interface for Stepper component */ export type StepperProps = { readonly onChange?: (stepKey: string, allSteps: StepKey[]) => void; readonly forceOrder?: boolean; readonly initialStepKey?: string; readonly stepKey?: string; readonly hideNavButtons?: boolean; readonly verticalSteps?: boolean; readonly horizontalTitle?: boolean; readonly divider?: boolean; }; /** Define the type for StepKey */ export type StepKey = { key: string; position: number; disabled: boolean; done: boolean; }; export type StepKeys = StepKey[]; /** Create context for Stepper */ type StepperContextType = { verticalSteps?: boolean; horizontalTitle?: boolean; canPrev: boolean; canNext: boolean; forceOrder: boolean; stepKeys: StepKey[]; currentStepKey: string; activeStepPosition: number; handleChange: (stepKey: string, allSteps: StepKey[]) => void; }; export declare const useStepperContext: () => StepperContextType; export declare const Stepper: { ({ children, initialStepKey, stepKey, forceOrder, onChange, hideNavButtons, verticalSteps, horizontalTitle, divider, }: PropsWithChildren): ReactElement; displayName: string; }; export default Stepper; //# sourceMappingURL=Stepper.d.ts.map