import type { Step, MultiStepContextValue } from './types';
/**
 * Core hook for multi-step form logic
 *
 * Manages step navigation, data accumulation, and validation.
 * This is the engine that powers the MultiStepForm component.
 */
export declare function useMultiStep<TData = unknown>({ steps, initialData, onStepChange, onDataChange, onComplete, persistToUrl, }: {
    steps: Step<TData>[];
    initialData?: Partial<TData>;
    onStepChange?: (stepId: string, stepIndex: number) => void;
    onDataChange?: (data: Partial<TData>) => void;
    onComplete?: (data: TData) => void | Promise<void>;
    persistToUrl?: boolean;
}): MultiStepContextValue<TData>;
