import { RedisOptions, Redis } from 'ioredis'; export declare class RedisConnectError extends Error { constructor(message: string); } /** Connects to Redis and provides functionality to Timeout */ export declare namespace RedisConnect { /** Connects to Redis with the given parameters */ function connect(port?: number, host?: string, options?: RedisOptions): Promise; /** Connects to Redis with the given parameters */ function connect(host?: string, options?: RedisOptions): Promise; /** Connects to Redis with the given parameters */ function connect(options: RedisOptions): Promise; }