import { ConfigService } from '@nestjs/config'; import { Strategy } from 'passport-jwt'; import { Repository } from 'typeorm'; import { Member } from './entities/member.entity'; import { Organization } from './entities/organization.entity'; import { User } from './entities/user.entity'; import { CaliobaseJwtPayload } from './jwt-payload'; export declare class CaliobaseRequestUser { user: User | null; organization: Organization | null; member: Member | null; } declare global { namespace Express { interface User extends CaliobaseRequestUser { } } } declare const JwtStrategy_base: new (...args: any[]) => Strategy; export declare class JwtStrategy extends JwtStrategy_base { private memberRepo; private userRepo; private orgRepo; constructor(memberRepo: Repository, userRepo: Repository, orgRepo: Repository, config: ConfigService); validate({ userId, organizationId, }: CaliobaseJwtPayload): Promise; } export {};