import { Strategy } from 'passport-jwt';
import { UnauthorizedException } from '@nestjs/common';
import { Request } from 'express';
import { ModuleRef } from '@nestjs/core';
import { AuthService } from '../auth.service';
interface AuthTokens {
    access_token: string;
    refresh_token: string;
}
declare const RefreshTokenStrategy_base: new (...args: any[]) => Strategy;
export declare class RefreshTokenStrategy extends RefreshTokenStrategy_base {
    private authService;
    private moduleRef;
    constructor(authService: AuthService, moduleRef: ModuleRef);
    validate(req: Request, payload: {
        sub: number;
        username: string;
        user_class_id: number;
    }): Promise<AuthTokens | UnauthorizedException>;
}
export {};
