import { ICallback } from '../async/index.js'; import { IEventBusRedisConfig, TEventBusEvent } from './types/index.js'; import { RedisClientFactory } from '../redis-client/index.js'; import { EventBus } from './event-bus.js'; export declare class EventBusRedis extends EventBus { protected pubClient: RedisClientFactory; protected subClient: RedisClientFactory; private readonly subscribedEvents; constructor(config: IEventBusRedisConfig, namespace?: string); emit(event: E, ...args: Parameters): boolean; on(event: E, listener: Events[E]): this; once(event: E, listener: Events[E]): this; removeListener(event: E, listener: Events[E]): this; removeAllListeners(event?: Extract): this; private ensureSubscribed; private ensureUnsubscribed; private syncSubscriptionsWithListeners; private getListenerEventNames; protected goingUp(): ((cb: ICallback) => void)[]; protected goingDown(): ((cb: ICallback) => void)[]; } //# sourceMappingURL=event-bus-redis.d.ts.map