/** * BrowserSessionManager — manages multiple browser sessions for live view. */ import { BrowserSession } from './browser-session'; export declare class BrowserSessionManager { private sessions; private conversationMap; /** * Get an existing session or create a new one. */ getOrCreate(sessionId: string): Promise; /** * Get an existing session by session ID. */ get(sessionId: string): BrowserSession | undefined; /** * Get a session by conversation ID. */ getByConversationId(conversationId: string): BrowserSession | undefined; /** * Get the session ID for a given conversation ID. */ getSessionIdByConversationId(conversationId: string): string | undefined; /** * Link a conversation to a session. */ linkConversation(conversationId: string, sessionId: string): void; /** * Close and remove a session. */ close(sessionId: string): Promise; private removeSession; /** * Close all sessions. */ closeAll(): Promise; /** * List all active sessions. */ listSessions(): Array<{ sessionId: string; conversationId?: string; }>; /** * Get the number of active sessions. */ get size(): number; } //# sourceMappingURL=browser-session-manager.d.ts.map