import { ClusterEngine, type Message } from "./engine"; import { type ServerOptions } from "engine.io"; interface PrimaryWithRedisOptions { /** * The prefix for the Redis Pub/Sub channels. * * @default "engine.io" */ channelPrefix?: string; } export declare function setupPrimaryWithRedis(pubClient: any, subClient: any, opts?: PrimaryWithRedisOptions): void; interface RedisEngineOptions extends ServerOptions { /** * The prefix for the Redis Pub/Sub channels. * * @default "engine.io" */ channelPrefix?: string; } export declare class RedisEngine extends ClusterEngine { private readonly _pubClient; private readonly _channelPrefix; constructor(pubClient: any, subClient: any, opts?: RedisEngineOptions); publishMessage(message: Message & { _source?: string; }): void; } export {};