import Redis from 'ioredis';
export declare const setCache: (redisClient: Redis, key: string, value: any, ttlInSeconds?: number) => Promise<void>;
export declare const getCache: <T = any>(redisClient: Redis, key: string) => Promise<T | null>;
export declare const deleteCache: (redisClient: Redis, key: string) => Promise<void>;
export declare const deleteCachePattern: (redisClient: Redis, pattern: string) => Promise<void>;
export declare const updateCache: (redisClient: Redis, key: string, value: any, ttlInSeconds?: number) => Promise<void>;
export declare const hsetCache: (redisClient: Redis, key: string, field: string, value: any, ttlInSeconds?: number) => Promise<void>;
export declare const hgetCache: <T = any>(redisClient: Redis, key: string, field: string) => Promise<T | null>;
