import { URI } from "../../../base/common/uri.js"; import type { InitializeResult } from "./state/protocol/common/commands.js"; import type { RootState } from "./state/sessionState.js"; /** Workbench query parameter that selects a subagent chat inside an agent host session editor. */ export declare const CHAT_SUBAGENT_RESOURCE_QUERY_PARAM = "subagentChatResource"; /** Removes workbench chat selectors without rewriting the session's authority or other query fields. */ export declare function getAgentHostSessionResource(resource: URI): URI; /** Unmarked conforming hosts use AHP addressing; only a positively identified older native host needs legacy creation. */ export declare function newAgentHostSessionUri(provider: string, id: string, host: InitializeResult | undefined, root?: RootState): URI; /** * Mints the URI of a new chat of `session`. It is opaque only when the host * advertised an opaque default chat, an initialize result is present, and the * host either declared `vscode.ahpChatUris` or is not an identified VS Code host * (which may predate opaque chats and ignore the advertised default). */ export declare function newAgentHostChatUri(session: string, advertisedDefaultChat: string | undefined, host: InitializeResult | undefined, root?: RootState): string;