import { StepperContextValue, StepperTypeMap, StepAccessor } from '../types';
type UseStepperStateReturn<TDataMap extends StepperTypeMap, K extends keyof TDataMap & string = keyof TDataMap & string> = Pick<StepperContextValue<TDataMap>, 'activeStep' | 'activeStepId' | 'isFirst' | 'isLast' | 'steps'> & {
    /** Zero-based index of the step currently rendering this hook (from `StepContext`). */
    index: number;
    /** Typed accessor for the current step — initialData (def fields) + storedData. */
    currentStep: StepAccessor<TDataMap, K>;
};
declare function useStepperState<TDataMap extends StepperTypeMap = StepperTypeMap, K extends keyof TDataMap & string = keyof TDataMap & string>(): UseStepperStateReturn<TDataMap, K>;
export default useStepperState;
export type { UseStepperStateReturn };
