export interface RedisClientType { isOpen: boolean; connect(): Promise; quit(): Promise; disconnect(): Promise; get(key: string): Promise; set(key: string, value: string, options?: { EX?: number; }): Promise; del(...keys: string[]): Promise; scanIterator(options: { MATCH: string; COUNT: number; }): AsyncIterable; publish(channel: string, message: string): Promise; duplicate(): any; on(event: string, listener: (...args: any[]) => void): this; } export declare function isRedisClient(client: any): client is RedisClientType;