import { UserSession } from '../entity/user-session.entity'; import { ClockIDGenService } from '../../../utils/service/clockIDGenUtil.service'; import { UserSessionRepository } from '../repository/userSession.repository'; import { JwtAuthService } from 'src/module/auth/services/jwt.service'; import { ConfigService } from '@nestjs/config'; import { Repository } from 'typeorm'; import { UserRoleMapping } from '../entity/user-role-mapping.entity'; import { UserData } from '../entity/user.entity'; import { ReflectionHelper } from '../../../utils/service/reflection-helper.service'; export declare class UserSessionService { private readonly userSessionRepository; private readonly jwtAuthService; private readonly clockIDGenService; private configService; private readonly userDataRepository; private readonly userRoleMappingRepository; private readonly reflectionHelper; constructor(userSessionRepository: UserSessionRepository, jwtAuthService: JwtAuthService, clockIDGenService: ClockIDGenService, configService: ConfigService, userDataRepository: Repository, userRoleMappingRepository: Repository, reflectionHelper: ReflectionHelper); createSession(user: any, appcode?: string, accessInfo?: any): Promise; findBySessionKey(sessionKey: string): Promise; updateSession(userSession: UserSession): Promise; switchCurrentLevelService(currentUser: any, data: any): Promise<{ success: boolean; accessToken: string; appcode: string; level_type: string; level_id: string; }>; checkIfUserHasMapping(userId: number, appcode: string, levelType: string, levelId: string): Promise; getUserRoleMappingForApp(userId: number, appcode: string): Promise; }