import type { EventHubStore } from '@pikku/core/channel'; import { Redis, type RedisOptions } from 'ioredis'; export declare class RedisEventHubStore implements EventHubStore { private redis; private keyPrefix; private ownsConnection; constructor(connectionOrConfig: Redis | RedisOptions | string, keyPrefix?: string); init(): Promise; private topicKey; private channelSubsKey; getChannelIdsForTopic(topic: string): Promise; subscribe(topic: string, channelId: string): Promise; unsubscribe(topic: string, channelId: string): Promise; close(): Promise; }