import { Dispatch, SetStateAction } from 'react'; declare const Directions: { readonly STATIC: 0; readonly FORWARD: 1; readonly BACKWARD: -1; }; type Direction = (typeof Directions)[keyof typeof Directions]; interface UseStepActions { goToNextStep: () => void; goToPrevStep: () => void; reset: () => void; canGoToNextStep: boolean; canGoToPrevStep: boolean; setStep: Dispatch>; direction: Direction; } export declare function useStep(maxStep: number, startingStep?: number): [number, UseStepActions]; export {}; //# sourceMappingURL=use-step.d.ts.map