import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { IRequestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service"; import { IGalleryMcpServer, IQueryOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpManagement"; import { IMcpGalleryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpManagement.service"; import { IMcpGalleryManifest } from "@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpGalleryManifest"; import { IMcpGalleryManifestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpGalleryManifest.service"; import { IIterativePager } from "@codingame/monaco-vscode-api/vscode/vs/base/common/paging"; export declare class McpGalleryService extends Disposable implements IMcpGalleryService { private readonly requestService; private readonly fileService; private readonly logService; private readonly mcpGalleryManifestService; _serviceBrand: undefined; private galleryMcpServerDataSerializers; constructor(requestService: IRequestService, fileService: IFileService, logService: ILogService, mcpGalleryManifestService: IMcpGalleryManifestService); isEnabled(): boolean; query(options?: IQueryOptions, token?: CancellationToken): Promise>; getMcpServersFromGallery(infos: { name: string; id?: string; }[]): Promise; private getMcpServerByName; getReadme(gallery: IGalleryMcpServer, token: CancellationToken): Promise; private toGalleryMcpServer; private queryGalleryMcpServers; private queryRawGalleryMcpServers; getMcpServer(mcpServerUrl: string, mcpGalleryManifest?: IMcpGalleryManifest | null): Promise; private serializeMcpServer; private serializeMcpServersResult; private getSerializer; private getNamedServerUrl; private getServerIdUrl; private getLatestServerVersionUrl; private getWebUrl; private getPublisherUrl; private getMcpGalleryUrl; }