import { CanActivate, ExecutionContext } from '@nestjs/common';
import { JwtService } from '@nestjs/jwt';
import { Request } from 'express';
import { AuthService } from 'src/auth/auth.service';
import { Reflector } from '@nestjs/core';
import { DbService } from 'src/db/db.service';
export declare class AuthGuard implements CanActivate {
    private model;
    private authService;
    private jwtService;
    private reflector;
    constructor(model: DbService, authService: AuthService, jwtService: JwtService, reflector: Reflector);
    canActivate(context: ExecutionContext): Promise<boolean>;
    extractTokenFromHeader(request: Request): string | undefined;
}
