import { BaseRecord, HttpError } from "@pankod/refine-core"; import { UseFormProps, UseFormReturnType } from "../useForm"; export declare type UseStepsFormReturnType, TTransformed = TVariables> = UseFormReturnType & { steps: { currentStep: number; gotoStep: (step: number) => void; }; }; export declare type UseStepsFormProps, TTransformed = TVariables> = UseFormProps & { /** * @description Configuration object for the steps. * `defaultStep`: Allows you to set the initial step. * * `isBackValidate`: Whether to validation the current step when going back. * @type `{ defaultStep?: number; isBackValidate?: boolean; }` * @default `defaultStep = 0` `isBackValidate = false` */ stepsProps?: { defaultStep?: number; isBackValidate?: boolean; }; }; export declare const useStepsForm: , TTransformed = TVariables>({ stepsProps, ...rest }?: UseStepsFormProps) => UseStepsFormReturnType; //# sourceMappingURL=index.d.ts.map