import type { UseMutationOptions } from '@tanstack/react-query' import type { UseFormProps } from 'react-hook-form' import AuthApi from '../../../services/auth' import type { RegisterRequest } from '../../../types/auth' type ApiClass = Pick export interface UseSignUpOptions { formOptions?: UseFormProps> defaultValues?: TRegisterRequest ApiClass?: ApiClass options?: UseMutationOptions enableFormApiErrors?: boolean useNameField?: boolean }