import { type Request, type Response } from 'express'; import { AuthService } from '../services/auth.service'; import { type NestAuthConfig } from '..'; export declare class AuthController { private authService; private adminConfig; constructor(authService: AuthService, adminConfig: NestAuthConfig); private extractToken; private extractRefreshToken; private setCookie; register(body: any, res: Response): Promise; login(body: any, res: Response): Promise; verifyPasswordless(code: string, res: Response): Promise; oauthCallback(code: string, state: string, provider: string, res: Response): Promise; logout(req: Request, res: Response): Promise; refresh(req: Request, res: Response): Promise; verifyEmail(userId: string, code: string, res: Response): Promise; sendVerificationEmail(email: string, res: Response, redirectUrl?: string): Promise; forgotPassword(email: string, res: Response, redirectUrl?: string): Promise; verifyResetToken(userId: string, token: string, res: Response): Promise; resetPassword(userId: string, token: string, newPassword: string, res: Response): Promise; changePassword(req: Request, oldPassword: string, newPassword: string, res: Response): Promise; verifySms(userId: string, code: string, res: Response): Promise; verifyMfa(userId: string, code: string, res: Response): Promise; enableMfa(req: Request, code: string, res: Response): Promise; getCurrentUser(req: Request): Promise<{ user: Request; }>; verifyToken(token: string, res: Response): Promise; disableMfa(req: Request, code: string, res: Response): Promise; addLabels(data: { userId: string; labels: string[]; }, res: Response): Promise; setLabels(data: { userId: string; labels: string[]; }, res: Response): Promise; removeLabels(data: { userId: string; labels: string[]; }, res: Response): Promise; addPermissions(data: { userId: string; permissions: string[]; }, res: Response): Promise; setPermissions(data: { userId: string; permissions: string[]; }, res: Response): Promise; removePermissions(data: { userId: string; permissions: string[]; }, res: Response): Promise; setTeams(data: { userId: string; teams: string[]; }, res: Response): Promise; addTeams(data: { userId: string; teams: string[]; }, res: Response): Promise; removeTeams(data: { userId: string; teams: string[]; }, res: Response): Promise; updateRole(data: { userId: string; role: string; }, res: Response): Promise; } //# sourceMappingURL=auth.controller.d.ts.map