import { ButtonProps, StepConnectorProps, StepIconProps, StepLabelProps, StepperProps, TypographyProps } from "@mui/material"; import { MouseEvent } from "react"; type step = { label?: string; error?: { hasError?: boolean; errorMessage?: string; }; canSkipping?: boolean; completed?: boolean; }; export interface ICustomStepper { steps: step[]; activeStep: number; orientation?: "vertical" | "horizontal"; alternativeLabel?: boolean; stepperProps?: StepperProps; stepConnectorProps?: StepConnectorProps; stepLabelProps?: StepLabelProps; errorTypographyProps?: TypographyProps; stepButtonProps?: ButtonProps; nonLinear?: boolean; clickableItem?: boolean; onClickItem?: (index: number, e?: MouseEvent) => void; completedIconComponent?: (props: StepIconProps) => JSX.Element; activeIconComponent?: (props: StepIconProps) => JSX.Element; errorIconComponent?: (props: StepIconProps) => JSX.Element; defaultIconComponent?: (props: StepIconProps) => JSX.Element; } declare const CustomStepper: ({ steps, activeStep, orientation, alternativeLabel, nonLinear, clickableItem, errorTypographyProps, completedIconComponent, activeIconComponent, errorIconComponent, defaultIconComponent, stepperProps, stepConnectorProps, stepLabelProps, stepButtonProps, onClickItem, }: ICustomStepper) => import("react/jsx-runtime").JSX.Element; export default CustomStepper;