import { Request, Response, NextFunction } from 'express';
import { RedisClientType } from 'redis';
import { Prometheus } from '../../prometheus';
interface RedisCacheOptions {
    keyName: (req: Request) => string;
    expireSec: number;
}
export declare const RedisCache: (redisClient: RedisClientType, prometheus: Prometheus, options: RedisCacheOptions) => (req: Request, res: Response, next: NextFunction) => Promise<void | Response<any, Record<string, any>>>;
export {};
//# sourceMappingURL=redis-cache.d.ts.map