import { type JSX } from 'react'; import type { StylingProps } from '../../../core/types/styling-props.js'; /** * Accepted properties for StepperFooter. * @public */ export interface StepperFooterProps extends StylingProps { /** * Zero-based index of the current step. Drives the "Step X of Y" counter. * Back is hidden on the first step and Next is hidden on the last step. */ currentStepIndex: number; /** * Total number of steps. */ totalSteps: number; /** * When `true`, shows a loading spinner on the primary button (Next, or Finish * on the last step), announces "Loading" and ignores presses on it. The * button hides its label while loading and stays in the tab sequence. The Back button * stays active, so the consumer must handle `onBack` while a request is * pending, for example by aborting it. * @defaultValue false */ isPending?: boolean; /** * Called when the user clicks Back. */ onBack?: () => void; /** * Called when the user clicks Next. */ onNext?: () => void; /** * Called when the user clicks Finish. */ onComplete?: () => void; } /** * Standalone stepper footer — a "Step X of Y" progress counter announced to * assistive technology, and Back/Next/Finish buttons. Receives all data via * props; no store or context dependency. * @public */ declare function StepperFooter({ currentStepIndex, totalSteps, isPending, onBack, onNext, onComplete, className, style, }: Readonly): JSX.Element; export { StepperFooter }; //# sourceMappingURL=StepperFooter.d.ts.map