export interface IRedisCache { get(key: string): Promise; set(key: string, value: unknown, ttlSeconds?: number): Promise; del(key: string): Promise; exists(key: string): Promise; setAdd(key: string, value: string): Promise; setRemove(key: string, value: string): Promise; getSetLength(key: string): Promise; disconnect(): Promise; publishInvalidation(type: string, slug: string): Promise; incrementKey(key: string): Promise; decrementKey(key: string): Promise; setKeyExpiry(key: string, time: number): Promise; } export interface ICacheAnalytics { responseSize: number; responseTime: string; projectId: string; }