import type { EventManager } from '@declaro/core';
import type Redis from 'ioredis';
export declare class RedisEventAdapter {
    protected readonly eventManager: EventManager;
    protected readonly publisher: Redis;
    protected readonly subscriber: Redis;
    constructor(eventManager: EventManager, publisher: Redis, subscriber: Redis);
    protected onMessage: (pattern: string, channel: string, message: string) => void;
    unsubscribe(): void;
}
