import { Response } from 'express';
import { AuthService } from './auth.service';
import { RolesService } from 'src/roles/roles.service';
import RequestWithUser from '../common/interfaces/requestWithUser.interface';
import { ResetPasswordDto } from './dto/reset-password.dto';
export declare class AuthController {
    private authService;
    private rolesService;
    constructor(authService: AuthService, rolesService: RolesService);
    login(req: RequestWithUser, res: Response): Promise<{
        access_token: string;
        refresh_token: string;
        redirect: string;
    }>;
    reset(req: RequestWithUser, body: ResetPasswordDto, res: Response): Promise<{
        redirect: string;
    }>;
    refresh(req: RequestWithUser, res: Response): Promise<{
        tokens: {
            access_token: string;
            refresh_token: string;
        };
    }>;
    logout(req: RequestWithUser, res: Response): Promise<void>;
    confirmRegistration(type: string, userHash: string, token: string): Promise<void>;
}
