import type { URI as ResourceURI } from "../../../base/common/uri.js"; import type { URI as ProtocolURI } from "./state/sessionState.js"; /** * The default chat VS Code minted for `session` before default chats were * recorded and advertised: `ahp-chat://default/`, with * unpadded URL-safe base64. * * This is a FROZEN compatibility format. It must reproduce exactly what VS Code * previously minted and must never change, even when the scheme that mints new * default chats does. It is the only legacy derivation of a default chat: the * host calls it only for a legacy source that records no default chat (a * catalog without a header, a payload without a default entry, a legacy * subagent or provider-native session) after every recorded source was * consulted, and records the result; a client calls it only through * `getOlderHostDefaultChat`, when the protocol client fills the default chat * an older VS Code host did not advertise. */ export declare function deriveLegacyDefaultChat(session: ProtocolURI | ResourceURI): ProtocolURI;