import { BaseAuthProvider } from './base-auth.provider';
import { DataSource } from 'typeorm';
import { JwtService } from '../services/jwt.service';
export declare class JwtAuthProvider extends BaseAuthProvider {
    readonly dataSource: DataSource;
    private readonly jwtService;
    providerName: string;
    private jwtConfig;
    constructor(dataSource: DataSource, jwtService: JwtService);
    validate(credentials: {
        accessToken: string;
    }): Promise<{
        userId: string;
        email: string;
        phone: string;
        metadata: {
            id?: string;
            sub?: string;
            email?: string;
            phone?: string;
            isVerified?: boolean;
            roles?: Partial<import("../../core").NestAuthRole>[];
            tenantId?: string;
            isMfaEnabled?: boolean;
            isMfaVerified?: boolean;
            sessionId?: string;
            type?: "access" | "refresh";
            exp?: number;
            iat?: number;
        };
    }>;
    getRequiredFields(): string[];
}
//# sourceMappingURL=jwt-auth.provider.d.ts.map