import { Disposable } from "../../../../../base/common/lifecycle.js"; import { ICloudSandboxModelCatalog } from "../../../../../platform/agentHost/common/cloudSandboxAgentHost.js"; import { ICloudSandboxApiService } from "../../../../../platform/agentHost/common/cloudSandboxAgentHost.service.js"; import { ILogService } from "../../../../../platform/log/common/log.service.js"; import { INotificationService } from "../../../../../platform/notification/common/notification.service.js"; import { ILanguageModelChatMetadataAndIdentifier } from "../../common/languageModels.js"; import { ILanguageModelsService } from "../../common/languageModels.service.js"; import { AgentHostLanguageModelProvider } from "../agentSessions/agentHost/agentHostLanguageModelProvider.js"; import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js"; import { ICloudSandboxModelCatalogService } from "./cloudSandboxModels.service.js"; /** Shares account-scoped discovery and retry notifications across all sandbox model providers. */ export declare class CloudSandboxModelCatalogService extends Disposable implements ICloudSandboxModelCatalogService { private readonly _api; private readonly _logService; private readonly _notificationService; readonly _serviceBrand: undefined; private readonly _onDidChange; readonly onDidChange: import("../../../../../base/common/event.js").Event; private readonly _token; private readonly _requestCancellation; private readonly _notification; private _request; private _requested; private _generation; private _catalog; get catalog(): ICloudSandboxModelCatalog | undefined; constructor(_api: ICloudSandboxApiService, _logService: ILogService, _notificationService: INotificationService); load(retry?: boolean): void; } /** Adapts the shared cloud catalog to one draft or connected host's model identifier space. */ export declare class CloudSandboxModels extends Disposable { private readonly modelProvider; private readonly _catalogService; private readonly _onDidChange; readonly onDidChange: import("../../../../../base/common/event.js").Event; private readonly _token; private readonly _provider; private _generation; models: readonly ILanguageModelChatMetadataAndIdentifier[]; ready: boolean; constructor(sessionType: string, vendor: string, modelProvider: AgentHostLanguageModelProvider | undefined, _catalogService: ICloudSandboxModelCatalogService, languageModelsService: ILanguageModelsService, instantiationService: IInstantiationService); load(retry?: boolean): void; private _updateCatalog; }