import { type JSX } from 'react'; import type { StylingProps } from '../../../core/types/styling-props.js'; import type { StepDetails } from '../stepper-types.js'; /** * Accepted properties for StepperNavigation. * @public */ export interface StepperNavigationProps extends StylingProps { /** * The steps to display, in order. Each step needs a unique `id`. */ steps: StepDetails[]; /** * Identifier of the currently selected step. If no step matches, none is * marked as current and the first step is the one reached with Tab. */ currentStepId: string; /** * Controls the navigation layout. `'auto'` adapts to the container width. * ArrowUp and ArrowLeft move to the previous step, ArrowDown and ArrowRight * to the next, in every layout. Outside a Stepper, `'auto'` and `'horizontal'` measure a * wrapper that fills the parent, so the parent needs a definite width (a * shrink-to-fit parent collapses it). * @defaultValue 'auto' */ orientation?: 'auto' | 'vertical' | 'horizontal'; /** * Callback fired with the step's id when the user selects a step. It also * fires when the selected step is the current one, and never fires for * disabled steps. */ onNavigate?: (stepId: string) => void; } /** * Navigation sidebar / top-nav listing the steps of a stepper. It is a * "Wizard steps" navigation landmark with a single tab stop: Tab moves focus * to the current step, and the arrow keys, Home and End move between steps. * Enter and Space select the focused step. When the steps do not fit, the * list scrolls and scroll buttons appear. * @public */ export declare function StepperNavigation({ steps, currentStepId, orientation: orientationProp, onNavigate, className, style, }: Readonly): JSX.Element; //# sourceMappingURL=StepperNavigation.d.ts.map