import AuthApi from '../../../services/auth'; import type { LoginChangeExpiredPasswordRedirectResponse, LoginJWTResponse, LoginMfaRequest } from '../../../types/auth'; import type { ApiClass, LoginParams, UseLoginOptions } from './types'; declare const useLogin: ({ loginFormOptions, loginOptions, mfaOptions, accessKeyName, refreshKeyName, ApiClass, enableFormApiErrors, }?: UseLoginOptions) => { form: { handleSubmit: (e?: React.BaseSyntheticEvent) => Promise; watch: import("react-hook-form").UseFormWatch>; getValues: import("react-hook-form").UseFormGetValues>; getFieldState: import("react-hook-form").UseFormGetFieldState>; setError: import("react-hook-form").UseFormSetError>; clearErrors: import("react-hook-form").UseFormClearErrors>; setValue: import("react-hook-form").UseFormSetValue>; trigger: import("react-hook-form").UseFormTrigger>; formState: import("react-hook-form").FormState>; resetField: import("react-hook-form").UseFormResetField>; reset: import("react-hook-form").UseFormReset>; unregister: import("react-hook-form").UseFormUnregister>; control: import("react-hook-form").Control, any, LoginParams>; register: import("react-hook-form").UseFormRegister>; setFocus: import("react-hook-form").UseFormSetFocus>; subscribe: import("react-hook-form").UseFromSubscribe>; }; mutation: import("@tanstack/react-query").UseMutationResult>, unknown, LoginParams, any>; mfaForm: { handleSubmit: (e?: React.BaseSyntheticEvent) => Promise; watch: import("react-hook-form").UseFormWatch<{ code: string; }>; getValues: import("react-hook-form").UseFormGetValues<{ code: string; }>; getFieldState: import("react-hook-form").UseFormGetFieldState<{ code: string; }>; setError: import("react-hook-form").UseFormSetError<{ code: string; }>; clearErrors: import("react-hook-form").UseFormClearErrors<{ code: string; }>; setValue: import("react-hook-form").UseFormSetValue<{ code: string; }>; trigger: import("react-hook-form").UseFormTrigger<{ code: string; }>; formState: import("react-hook-form").FormState<{ code: string; }>; resetField: import("react-hook-form").UseFormResetField<{ code: string; }>; reset: import("react-hook-form").UseFormReset<{ code: string; }>; unregister: import("react-hook-form").UseFormUnregister<{ code: string; }>; control: import("react-hook-form").Control<{ code: string; }, unknown, { code: string; }>; register: import("react-hook-form").UseFormRegister<{ code: string; }>; setFocus: import("react-hook-form").UseFormSetFocus<{ code: string; }>; subscribe: import("react-hook-form").UseFromSubscribe<{ code: string; }>; }; mfaMutation: import("@tanstack/react-query").UseMutationResult; }; export default useLogin; //# sourceMappingURL=index.d.ts.map