import { ConfigService } from '@nestjs/config'; import { Cache } from 'cache-manager'; export declare class CacheService { private readonly cacheManager; private readonly configService; constructor(cacheManager: Cache, configService: ConfigService); private readonly logger; getOrSet(key: string, func: () => any, ttl?: any): Promise; set(key: string, data: any, ttl?: number): Promise; get(key: string): Promise; delete(key: string): Promise; clear(prefixKey: string): Promise; checkIfKeyExist(key: string): Promise; disconnect(): Promise; }