/** * Subscription Management * * Handles WebSocket subscription tracking and cleanup. */ import type { WebSocket } from 'ws'; import type { ChannelSubscription, LogSubscription } from '../types.js'; export interface InternalLogSubscription extends LogSubscription { clientWs: WebSocket; } export interface InternalChannelSubscription extends ChannelSubscription { clientWs: WebSocket; } export interface PendingScreenshotRequest { requestId: string; clientWs: WebSocket; timeout: NodeJS.Timeout; } export declare const logSubscriptions: Map; export declare const channelSubscriptions: Map; export declare const pendingScreenshotRequests: Map; /** * Clean up subscriptions when client disconnects */ export declare function cleanupClientSubscriptions(ws: WebSocket): void; //# sourceMappingURL=subscriptions.d.ts.map