export interface WizardState { activeStep: string; visitedSteps: Set; } export type WizardAction = { type: 'STEP_CHANGED'; step: string; } | { type: 'STRUCTURAL_CHANGE'; affectsFrom: string; steps: string[]; }; export declare const createInitialState: (firstStep: string) => WizardState; export declare const wizardReducer: (state: WizardState, action: WizardAction) => WizardState;