import { UseFieldOptions, UseFieldResults } from './use-field.d'; /** @deprecated */ export const useForm: ( /** Needs all the useFields that the Form should validate. */ ...fields: UseFieldOptions[] ) => { touchFields: () => void; /** Returns a submit function to submit the form with help from the form data and if the form is valid. */ submit: (callback: (isValid?: boolean, data?: any) => void) => void; /** Returns a reset function to reset the form. */ reset: () => void; }; /** @deprecated */ export const useFormDebugger: ( /** Needs all the useFields that the Form should validate. */ ...fields: UseFieldOptions[] ) => { data: Record; fields: Record; isValid: boolean; }; export {};