import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service"; import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service"; import { IAuthenticationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/authentication/common/authentication.service"; import { IAuthenticationMcpUsageService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service"; export interface IAuthenticationMcpUsage { mcpServerId: string; mcpServerName: string; lastUsed: number; scopes?: string[]; } export declare class AuthenticationMcpUsageService extends Disposable implements IAuthenticationMcpUsageService { private readonly _storageService; private readonly _authenticationService; private readonly _logService; _serviceBrand: undefined; private _queue; private _mcpServersUsingAuth; constructor(_storageService: IStorageService, _authenticationService: IAuthenticationService, _logService: ILogService, productService: IProductService); initializeUsageCache(): Promise; hasUsedAuth(mcpServerId: string): Promise; readAccountUsages(providerId: string, accountName: string): IAuthenticationMcpUsage[]; removeAccountUsage(providerId: string, accountName: string): void; addAccountUsage(providerId: string, accountName: string, scopes: string[], mcpServerId: string, mcpServerName: string): void; private _addToCache; }