import Redis, { type RedisOptions } from 'ioredis';
export interface RedisConnection<TClient = Redis> {
    client: TClient;
    prefix: string;
}
export declare function createRedisOptions(configPrefix?: string): {
    options: RedisOptions;
    prefix: string;
};
export declare function createRedis(configPrefix?: string): RedisConnection;
export declare function disconnectAllRedis(): Promise<void>;
//# sourceMappingURL=redis.d.ts.map