import type { InjectedDependenciesParam, InjectedOptionsParam } from '.'; import type { UserInfo, WhoamiResult } from './types/auth'; declare const getAuth: (deps: InjectedDependenciesParam, opts: InjectedOptionsParam) => { twoFactor: { isEnabled: () => Promise; isPassed: () => Promise; getSetupKey: () => Promise; enable: (code: string) => Promise; verify: (code: string) => Promise; challenge: (code: string) => Promise; disable: (password: string) => Promise; }; whoami: () => Promise; authenticate: (credentials: { email: string; password: string; }) => Promise; login: (credentials: { email: string; password: string; }) => Promise; loginWithToken: (authToken: string) => Promise; isLoggedIn: () => Promise; getToken: () => Promise; getActorId: () => Promise; getUserInfo: () => Promise; logout: () => Promise; register: (credentials: { email: string; password: string; "g-recaptcha-response"?: string; }) => Promise; verifyEmail: (verificationPayload: { email: string; token: string; }) => Promise; requestVerificationEmail: () => Promise; }; export default getAuth;