import { CompleteUserAuthProps, InitUserAuthProps, OnErrorCallback, UseUserAuthOptions, UseUserAuthProps } from './useUserAuth.types'; export declare const useUserAuth: ({ authMethod, }: UseUserAuthProps) => { cancelAuth: () => Promise; completeAuth: ({ completeSignInFlow, updateJwtFunction, onValidUpdatedJwt, options, }: CompleteUserAuthProps) => Promise; handleAuthError: (error: any, { options, onError, }: { options?: UseUserAuthOptions[T_1] | undefined; onError?: OnErrorCallback | undefined; }) => void; initAuth: ({ isSignIn, verifyFunction, onVerifySuccess, onSettled, onError, showSuccessMessage, skipDefaultErrorHandling, }: InitUserAuthProps) => Promise; };