import { Strategy } from 'passport-jwt';
import { AuthService } from './auth.service';
export interface JwtPayload {
    sub: number;
    username: string;
    dbName?: string;
    dbType?: number;
}
declare const JwtStrategy_base: new (...args: [opt: import("passport-jwt").StrategyOptionsWithRequest] | [opt: import("passport-jwt").StrategyOptionsWithoutRequest]) => Strategy & {
    validate(...args: any[]): unknown;
};
export declare class JwtStrategy extends JwtStrategy_base {
    private authService;
    constructor(authService: AuthService);
    validate(payload: JwtPayload): Promise<{
        dbName: string | undefined;
        dbType: number | undefined;
        id: number;
        name: string | null;
        type: number;
        privileges: string | null;
    }>;
}
export {};
