import { JwtService } from "@nestjs/jwt"; import { CacheRepository } from "../dbrepository/cache.repo"; import { JwtPayload } from "../models/dto/jwtpayload.dto"; import { SessionCredential } from "../models/dto/sessioncredential.dto"; export declare class CacheService { private jwtService; private cacheRepo; private static instance; private cache; constructor(jwtService: JwtService, cacheRepo: CacheRepository); private static getInternalInstance; private initCache; private getInstance; private decode; private setToCache; private getFromCache; set(key: any, value: any): Promise; get(key: any): Promise; cacheCredential(credential: SessionCredential): void; getCachedCredential(jwtpayload: JwtPayload): Promise; }