import { OnApplicationShutdown } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { CronExpression } from '@nestjs/schedule'; import { Cache } from 'cache-manager'; import Redis from 'ioredis'; import { FindManyResponseObject } from '../../dtos/response.dto'; import { Logger } from '../../helpers/Logger'; import { Query } from '../../helpers/Query'; import { Schema } from '../../helpers/Schema'; export declare class DataCacheService implements OnApplicationShutdown { private readonly logger; private readonly redis; private cacheManager; private readonly configService; private readonly query; private readonly schema; constructor(logger: Logger, redis: Redis, cacheManager: Cache, configService: ConfigService, query: Query, schema: Schema); onApplicationShutdown(): void; useRedis(): boolean; cacheType(): 'READ' | 'WRITE' | undefined; read(key: string): Promise; write(key: string, value: any, ttl: number): Promise; del(key: string): Promise; get(options: { originalUrl: string; x_request_id: string; }): Promise; ping(table: string): Promise; refresh(cronSchedule: CronExpression): Promise; }