declare class RedisService { private _client; private cursor; constructor(url: any); getClient(): any; _scan(result: any, pattern: any, key: any, extraKey: any, cursor?: string): any; private _del; _scanOne(pattern: any, cursor?: string): any; getByPattern(key: string): Promise; get(key: string): Promise; keys(pattern: string): Promise; set(key: string, data: any, ttl?: number, nx?: boolean): Promise; del(key: string): Promise; flush(pattern?: string): Promise; quit(): Promise; type(key: string): Promise; hgetall(key: string): Promise; lrange(key: string): Promise; smembers(key: string): Promise; zrange(key: string): Promise; zadd(key: string, score: number, member: string): Promise; zrem(key: string, ...members: string[]): Promise; zrangeWithScores(key: string, start: number, stop: number): Promise<{ member: string; score: number; }[]>; scan(pattern: string, key?: string, extraKey?: string): Promise; ttl(key: string): Promise; } declare const redisQueue: RedisService; declare const redisCache: RedisService; declare const redisSession: RedisService; declare const redisPublisher: any; declare const redisSubscriber: any; declare const publicMessage: (data: any, event?: string, customHandler?: any) => void; declare const registerCustomHandler: (customHandler: string, func: Function) => void; export { redisQueue, redisCache, redisSession, redisPublisher, redisSubscriber, publicMessage, registerCustomHandler, RedisService };