import { OnModuleInit, OnModuleDestroy } from '@nestjs/common';
import { ICacheService, CacheItemOptions } from './cache.service';
import { CacheOptions } from './cache.module';
export declare class RedisCacheService implements ICacheService, OnModuleInit, OnModuleDestroy {
    private readonly options;
    private readonly logger;
    private client;
    private readonly defaultTtl;
    private readonly keyPrefix;
    private isConnected;
    constructor(options: CacheOptions);
    onModuleInit(): Promise<void>;
    onModuleDestroy(): Promise<void>;
    get<T>(key: string): Promise<T | null>;
    set<T>(key: string, value: T, options?: CacheItemOptions): Promise<void>;
    delete(key: string): Promise<boolean>;
    clear(): Promise<void>;
    has(key: string): Promise<boolean>;
    invalidateByTag(tag: string): Promise<void>;
    private getFullKey;
    private getTagKey;
}
