import { Disposable } from "../../../../base/common/lifecycle.js"; import { IObservable } from "../../../../base/common/observable.js"; import { IBrowserViewWorkbenchService } from "../../../../workbench/contrib/browserView/common/browserView.service.js"; import { type IChatPillSection } from "../../../../workbench/browser/chatPills.js"; import { IEditorService } from "../../../../workbench/services/editor/common/editorService.service.js"; import { IChat } from "../../../services/sessions/common/session.js"; import { IActiveSession } from "../../../services/sessions/common/sessionsManagement.js"; import type { ISessionChatPillsDebugData } from "@codingame/monaco-vscode-workbench-service-override/vscode/vs/sessions/contrib/chat/browser/sessionChatInputToolbarDebug"; /** Supplies the live browsers of the viewed chat (and its subagents) to its pill. */ export declare class SessionBrowsersControl extends Disposable { private readonly _browserViewService; private readonly _editorService; /** The pill's sections before the shared controller applies user visibility. */ readonly sections: IObservable; /** The URLs the pill's browsers show, empty while the user has the pill hidden. */ readonly urls: IObservable>; /** Whether there are browsers to show, regardless of the user's visibility choice. */ readonly hasData: IObservable; private readonly _debugData; /** Browser titles and the known-browser set change outside the observable graph. */ private readonly _browsersChanged; private readonly _browserListeners; constructor(session: IObservable, chat: IObservable, enabled: IObservable, visible: IObservable, _browserViewService: IBrowserViewWorkbenchService, _editorService: IEditorService); setDebugData(data: ISessionChatPillsDebugData | undefined): void; private _refreshBrowserListeners; private _collectOwnerIds; private _entry; private _openBrowser; private _getBrowserInputToOpen; }