import { Cache as CacheContract } from '../../../core/domain/cache/Cache';
import { Redis } from 'ioredis';
/**
 * @deprecated
 */
export declare class RedisCache implements CacheContract {
    protected readonly TTL: number;
    protected readonly redis: Redis;
    private readonly namespace;
    constructor();
    get<T>(key: string): Promise<T | null>;
    set(key: string, data: Record<string, unknown>, ttl?: number): Promise<void>;
    invalidate(key: string): Promise<void>;
    private getCacheKey;
}
