import { CancellationToken } from "../../../base/common/cancellation.js"; import { Event } from "../../../base/common/event.js"; import { IMarkdownString } from "../../../base/common/htmlContent.js"; import { IIterativePager } from "../../../base/common/paging.js"; import { URI } from "../../../base/common/uri.js"; import { IQueryOptions, IGalleryMcpServer, type DidUninstallMcpServerEvent, type IGalleryMcpServerConfiguration, type IInstallableMcpServer, type ILocalMcpServer, type InstallMcpServerEvent, type InstallMcpServerResult, type InstallOptions, type McpServerConfigurationParseResult, type RegistryType, type UninstallMcpServerEvent, type UninstallOptions } from "./mcpManagement.js"; export declare const IMcpGalleryService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; export interface IMcpGalleryService { readonly _serviceBrand: undefined; isEnabled(): boolean; query(options?: IQueryOptions, token?: CancellationToken): Promise>; getMcpServersFromGallery(infos: { name: string; id?: string; }[]): Promise; getMcpServer(url: string): Promise; getReadme(extension: IGalleryMcpServer, token: CancellationToken): Promise; } export declare const IMcpManagementService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; export interface IMcpManagementService { readonly _serviceBrand: undefined; readonly onInstallMcpServer: Event; readonly onDidInstallMcpServers: Event; readonly onDidUpdateMcpServers: Event; readonly onUninstallMcpServer: Event; readonly onDidUninstallMcpServer: Event; getInstalled(mcpResource?: URI): Promise; canInstall(server: IGalleryMcpServer | IInstallableMcpServer): true | IMarkdownString; install(server: IInstallableMcpServer, options?: InstallOptions): Promise; installFromGallery(server: IGalleryMcpServer, options?: InstallOptions): Promise; updateMetadata(local: ILocalMcpServer, server: IGalleryMcpServer, profileLocation?: URI): Promise; uninstall(server: ILocalMcpServer, options?: UninstallOptions): Promise; getMcpServerConfigurationFromManifest(manifest: IGalleryMcpServerConfiguration, packageType: RegistryType): McpServerConfigurationParseResult; } export declare const IAllowedMcpServersService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; export interface IAllowedMcpServersService { readonly _serviceBrand: undefined; readonly onDidChangeAllowedMcpServers: Event; isAllowed(mcpServer: IGalleryMcpServer | ILocalMcpServer | IInstallableMcpServer): true | IMarkdownString; }