import { Event } from "../../../../base/common/event.js"; import { AllowedMcpServer } from "@codingame/monaco-vscode-mcp-service-override/vscode/vs/workbench/services/authentication/browser/authenticationMcpAccessService"; export declare const IAuthenticationMcpAccessService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IAuthenticationMcpAccessService { readonly _serviceBrand: undefined; readonly onDidChangeMcpSessionAccess: Event<{ providerId: string; accountName: string; }>; /** * Check MCP server access to an account * @param providerId The id of the authentication provider * @param accountName The account name that access is checked for * @param mcpServerId The id of the MCP server requesting access * @returns Returns true or false if the user has opted to permanently grant or disallow access, and undefined * if they haven't made a choice yet */ isAccessAllowed(providerId: string, accountName: string, mcpServerId: string): boolean | undefined; readAllowedMcpServers(providerId: string, accountName: string): AllowedMcpServer[]; updateAllowedMcpServers(providerId: string, accountName: string, mcpServers: AllowedMcpServer[]): void; removeAllowedMcpServers(providerId: string, accountName: string): void; }