import { StepperOptions } from './stepper.types'; /** * Headless stepper / wizard. Tracks an ordered set of steps and exposes * completed/current/upcoming state via `data-state`, with linear or free * navigation. Replaces the old Alpine status-indicator state machine. * * Markup: * ```html *
*
* * *
...
*
*
* ``` */ export declare class Stepper { private readonly root; private readonly linear; private steps; private currentIndex; private readonly completed; private cleanups; constructor(root: HTMLElement, options?: StepperOptions); private init; private resolveIndex; private isReachable; private stateOf; private render; private emit; goTo(target: string | number): void; next(): void; prev(): void; get value(): string; get index(): number; on(event: string, handler: (event: E) => void): () => void; destroy(): void; }