import { OnModuleDestroy } from '@nestjs/common'; import type { RedisClientType } from 'redis'; export declare class RedisService implements OnModuleDestroy { private readonly redisClient; constructor(redisClient: RedisClientType); set(key: string, value: any, ttlSeconds?: number): Promise; get(key: string): Promise; del(key: string): Promise; onModuleDestroy(): Promise; }