import { IAgentSdkSetupInfo } from "../../../../platform/agentHost/common/agentSdkSetup.js"; import { Event } from "../../../../sessions/sessions.web.main.internal.js"; import { AgentSdkSetupState } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/services/agentHost/browser/agentSdkSetupService"; export declare const IAgentSdkSetupService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IAgentSdkSetupService { readonly _serviceBrand: undefined; /** Every agent that has published a setup status, newest state. */ readonly setups: readonly IAgentSdkSetupInfo[]; readonly onDidChangeSetups: Event; /** Ask `agent` to fetch its SDK and remember that choice on the Agent Host. */ requestDownload(agent: string): void; /** Open the setup instructions `agent` published, if it published any. */ openSetupDocs(agent: string): void; /** * Ask `agent` to look again at a setup the user completed outside the app — * the only signal there is that a `claude login` in a terminal finished. */ requestReload(agent: string): void; /** Start GitHub sign-in, which reaches every agent's models through our proxy. */ signInToGitHub(agent: string): void; /** Start `agent`'s own sign-in flow, if it declared one. */ signIn(agent: string): void; /** * Whether `agent` has been asked to fetch its SDK and the host has not * answered yet — already downloading, as far as this window can tell. */ isDownloadPending(agent: string): boolean; /** * Record that the user reached `state`. Public because the banner is * where these three are computed and this service cannot see them; every other * step is reported by the method that takes it. */ reportSetupState(agent: string, state: AgentSdkSetupState): void; }