import { AuthService } from './auth.service'; import { ChangeDTO } from './dto/change.dto'; import { CreateUserDTO } from './dto/create-user.dto'; import { EmailDTO } from './dto/email.dto'; import { ForgetDTO } from './dto/forget.dto'; import { LoginWithCodeDTO } from './dto/login-with-code.dto'; import { LoginDTO } from './dto/login.dto'; import { RegisterDTO } from './dto/register.dto'; import { ResetDTO } from './dto/reset.dto'; import { User as UserType } from './types/user.type'; export declare class AuthController { private readonly service; constructor(service: AuthService); createUserCheck(code: string): Promise<{ name: string; id: number; email: string; }>; createUser(Locale: any, data: CreateUserDTO): Promise<{ token: string; mfa: boolean; }>; verify({ id }: UserType): Promise<{ code: string | null; name: string; id: number; created_at: Date; updated_at: Date; multifactor_id: number | null; email: string; password: string; }>; refreshToken({ id }: { id: any; }): any; login(locale: string, { email, password }: LoginDTO): Promise<{ token: string; mfa: boolean; } | { token: string; mfa: boolean; multifactor_id: any; }>; register({ email, password, name, code, multifactor_id }: RegisterDTO): Promise<{ token: string; mfa: boolean; }>; loginCode({ token, code }: LoginWithCodeDTO): Promise<{ token: string; mfa: boolean; }>; loginRecoveryCode({ token, code }: LoginWithCodeDTO): Promise<{ token: string; mfa: boolean; }>; forget(locale: string, { email, }: ForgetDTO & { subject: string; body: string; }): Promise<{ message: string; }>; reset(locale: string, { newPassword, confirmNewPassword, code }: ResetDTO): Promise; changePassword(locale: string, { email, currentPassword, newPassword, confirmNewPassword }: ChangeDTO): Promise<{ token: string; mfa: boolean; }>; changeEmail(locale: string, { currentEmail, password, newEmail }: EmailDTO): Promise<{ token: string; mfa: boolean; }>; removeMfa({ id }: { id: any; }, { token }: { token: string; }): Promise<{ token: string; mfa: boolean; }>; generateMfa({ id }: { id: any; }): Promise<{ otpauthUrl: any; qrCode: any; }>; verifyMfa({ token, email }: { token: string; email: string; }): Promise<{ codes: string[]; token: string; mfa: boolean; }>; } //# sourceMappingURL=auth.controller.d.ts.map