import { ChannelStore } from '@pikku/core/channel'; import type { Channel } from '@pikku/core/channel'; import { Redis, type RedisOptions } from 'ioredis'; export declare class RedisChannelStore extends ChannelStore { private redis; private keyPrefix; private ownsConnection; constructor(connectionOrConfig: Redis | RedisOptions | string, keyPrefix?: string); init(): Promise; private channelKey; addChannel({ channelId, channelName, openingData, }: Channel): Promise; removeChannels(channelIds: string[]): Promise; setPikkuUserId(channelId: string, pikkuUserId: string | null): Promise; getChannel(channelId: string): Promise; setState(channelId: string, state: unknown): Promise; getState(channelId: string): Promise; clearState(channelId: string): Promise; close(): Promise; }