///
import { CanActivate, ExecutionContext } from '@nestjs/common';
import { AdminUser } from './auth.entities';
import type { JwtPayload } from './auth.interfaces';
import type { AnyAuthRequest, AuthInfo } from '../../helper/interfaces';
export declare type JwtAuthRequest = AnyAuthRequest;
export declare class JwtAuthRequestExtractor {
static of: (req: JwtAuthRequest) => Partial<{
payload?: JwtPayload;
user?: User;
profile?: import("./user.entities").UserProfile;
identifier?: string;
tenant?: import("../..").Tenant;
roles?: import("./auth.entities").Role[];
}>;
}
declare const JwtAuthGuard_base: import("@nestjs/passport").Type;
export declare class JwtAuthGuard extends JwtAuthGuard_base {
private readonly opts;
private logger;
constructor(opts?: {
anonymousSupport: boolean;
});
handleRequest(err: any, payload: JwtPayload, info: any, context: ExecutionContext): Promise;
}
export declare class AnyAuthGuard implements CanActivate {
private logger;
canActivate(context: ExecutionContext): Promise;
}
export {};