import type { InitializeResult } from "../common/state/protocol/common/commands.js"; import type { RootState, URI as ProtocolURI } from "../common/state/sessionState.js"; /** * The default chat of `session` on an older VS Code host, which did not * advertise `defaultChat` and addressed the default chat by its legacy URI. * The host is identified from its initialize result or, for older hosts that * only report their build in root state, from `root`. `undefined` for any * other host: a host that is not VS Code and advertises no default chat has none. */ export declare function getOlderHostDefaultChat(session: ProtocolURI, host: InitializeResult | undefined, root: RootState | undefined): ProtocolURI | undefined; /** * The subagent chat URI of a tool call on a positively identified older VS Code * host, which minted shaped subagent chat URIs and neither stamped them on * restored history nor registered them in time. `undefined` for every other * host: a host that supports `vscode.ahpChatUris` or is not recognized as VS * Code records the chat, and the client must read it instead of deriving it. */ export declare function getOlderHostSubagentChatUri(session: ProtocolURI, toolCallId: string, host: InitializeResult | undefined, root: RootState | undefined): ProtocolURI | undefined;