import { mongoose } from '@typegoose/typegoose'; import { PermissionDef } from '../../util/privilege'; import { AccountType } from '../../util/dict'; import { UserCredential } from '../po/usercredential.entity'; export declare class SessionCredential { userId: mongoose.Types.ObjectId; accessToken: string; permissions: PermissionDef[]; vendorId: string; accountType: AccountType; userCredential: UserCredential; constructor(userId: string, vendorId: string, accountType: AccountType, accessToken: string); }