import { ModuleMetadata } from '@nestjs/common'; import { RedisOptions } from 'ioredis'; export declare class RedisCacheClientError extends Error { } export interface RedisCacheModuleOptions extends RedisOptions { url?: string; ttl?: number; } export interface RedisCacheModuleAsyncOptions extends Pick { useFactory?: (...args: any[]) => RedisCacheModuleOptions | Promise; inject?: any[]; } export interface CacheService { set(key: string, value: string): Promise; get(key: string): Promise; del(key: string): Promise; }