/// import * as Redis from 'ioredis'; import { Hub } from './hub'; import * as fmt from './sse_formatter'; export declare class RedisHub extends Hub { readonly channel: string; private readonly pub; private readonly sub; constructor(channel: string, pub?: Redis.Redis, sub?: Redis.Redis); data(data: fmt.SseValue, id?: string): void; event(event: string, data: fmt.SseValue, id?: string): void; comment(comment: string): void; private publish(type, args); private handleRedisMessage(jsonMessage); }