/** * Stream tools: browser_stream_start, browser_stream_stop, browser_stream_status. * * These extend the browser extension with WebRTC streaming capability * so that remote viewers can watch the browser content in real time. */ import type { ExtensionAPI } from "../../../sdk/coding-agent/index.js"; import { BrowserService } from "../browser-service.js"; export interface StopActiveStreamResult { stopped: boolean; sessionId?: string; durationSeconds?: number; } /** * Tear down the module-level stream (WebRTC + injected page code) if one is * running. Never throws, never re-starts signaling. Safe to call at shutdown. */ export declare function stopActiveStream(): Promise; export declare function registerStreamTools(ext: ExtensionAPI, bs: BrowserService): void; //# sourceMappingURL=stream-tool.d.ts.map