import { Event } from "../../../sessions/sessions.web.main.internal.js"; import { RemoteAgentHostLocationPreference } from "@codingame/monaco-vscode-workbench-service-override/vscode/vs/platform/agentHost/common/remoteAgentHostLocationPreference"; export declare const IRemoteAgentHostLocationPreferenceService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; /** * Tracks the user's preferred agent run location per remote host, keyed by a * stable host key (e.g. `ssh:` or `tunnel:`). Setting a * preference only persists it; it does not itself connect, disconnect, or * migrate any running session. */ export interface IRemoteAgentHostLocationPreferenceService { readonly _serviceBrand: undefined; /** Fires with the host key whose preference changed. */ readonly onDidChangePreference: Event; /** Get the stored preference for `hostKey`, or `undefined` if none is set. */ getPreference(hostKey: string): RemoteAgentHostLocationPreference | undefined; /** Store the preference for `hostKey`. */ setPreference(hostKey: string, preference: RemoteAgentHostLocationPreference): void; }