export type { StepItem } from './ui-app.types'; /** * SvStepper - a progress stepper for wizards/multi-step forms. Shows completed * / active / upcoming steps horizontally or vertically. In `linear` mode only * completed steps (and the active one) are clickable; otherwise any step is. * Parity: Smart steps / wizard nav. * * ```svelte * (i = n)} /> * ``` */ import type { StepItem } from './ui-app.types'; type Props = { steps: ReadonlyArray; /** 0-based index of the active step. */ current: number; onChange?: (index: number) => void; /** Only allow navigating to already-reached steps. Default true. */ linear?: boolean; orientation?: 'horizontal' | 'vertical'; }; declare const SvStepper: import("svelte").Component; type SvStepper = ReturnType; export default SvStepper;