import { Store } from '../../../../core/domain/cache/Store';
import { Redis } from 'ioredis';
export declare class RedisStore implements Store {
    protected readonly redis: Redis;
    protected readonly prefix: string;
    constructor(redis: Redis, prefix?: string);
    get<T>(key: string): Promise<T | null>;
    put(key: string, value: unknown, ttl: number): Promise<boolean>;
    forever(key: string, value: unknown): Promise<boolean>;
    forget(key: string): Promise<boolean>;
    flush(): Promise<boolean>;
    getPrefix(): string;
}
