import { FormStatusLoad } from '../../components/hook-form/RHFormProvider/types';
import { UseFormAddEditProps } from './types';
import { FieldValues } from 'react-hook-form';
/**
 * Hook to add or edit a form
 * @deprecated Use useFormAddEdit from @m4l/layouts instead
 */
export declare function useFormAddEdit<TValues extends FieldValues = FieldValues, TEndpointValues extends FieldValues = FieldValues>(props: UseFormAddEditProps<TValues, TEndpointValues>): {
    formValues: TValues;
    statusLoad: FormStatusLoad;
    setRefresh: () => void;
};
//# sourceMappingURL=useFormAddEdit.d.ts.map