import { ConfigService } from '@nestjs/config';
import { Strategy } from 'passport-jwt';
import { Repository } from 'typeorm';
import { User } from '../../../database/entities/user.entity';
export interface JwtPayload {
    sub: string;
    email: string;
}
export interface AuthenticatedUser {
    id: string;
    email: string;
    name: string;
    isPlatformAdmin: boolean;
    isActive: boolean;
}
declare const JwtStrategy_base: new (...args: any[]) => Strategy;
export declare class JwtStrategy extends JwtStrategy_base {
    private readonly userRepo;
    constructor(config: ConfigService, userRepo: Repository<User>);
    validate(payload: JwtPayload): Promise<AuthenticatedUser>;
}
export {};
