import { type ChatListTarget, type ChatListUpdate } from "@openremotecode/protocol"; type Change = ChatListUpdate["changes"][number]; export interface ChatListReader { watch(projectIds: readonly string[], signal: AbortSignal, changed: (sessionId?: string) => void): Promise; read(projectIds: readonly string[], sessionIds: readonly string[], signal: AbortSignal): Promise; } /** One bounded metadata-only list lease per authenticated client. Never reads messages. */ export declare class ChatListStreams { #private; readonly reader: ChatListReader; readonly send: (update: ChatListUpdate, signal: AbortSignal) => Promise; readonly closed: (target: ChatListTarget) => Promise; constructor(reader: ChatListReader, send: (update: ChatListUpdate, signal: AbortSignal) => Promise, closed: (target: ChatListTarget) => Promise); subscribe(target: ChatListTarget): { revision: number; version: 1; subscriptionId: string; projectIds: string[]; }; unsubscribe(target: ChatListTarget): { version: number; unsubscribed: boolean; }; dispose(): void; } export {}; //# sourceMappingURL=chat-list-stream.d.ts.map