import { JwtService } from '@nestjs/jwt';
import { BusinessService } from 'src/business/business.service';
import { EmailService } from 'src/email-sender/email.service';
import { UsersService } from 'src/users/users.service';
import { LoginDto } from './dto/login.dto';
import { RegisterAdminDto } from './dto/register-company.dto';
export declare class AuthService {
    private readonly userService;
    private readonly businessService;
    private readonly emailService;
    private readonly jwtService;
    constructor(userService: UsersService, businessService: BusinessService, emailService: EmailService, jwtService: JwtService);
    login(loginDto: LoginDto): Promise<{
        access_token: string;
        user: import("../users/entities/user.entity").User;
    }>;
    registerCompany(registerDto: RegisterAdminDto): Promise<{
        access_token: string;
    }>;
    private createUser;
    private createBusiness;
    private validateUser;
    private validatePassword;
    private createToken;
    validateToken(token: string): Promise<import("../users/entities/user.entity").User>;
    refreshToken(user: any): Promise<{
        access_token: string;
    }>;
}
