import type { MCPTool } from './mcpShared'; export declare const cachedMcpTools: Record; export declare const cachedMcpToolKeysByServer: Record>; export declare function beginServerToolsCacheListing(serverName: string): { isCurrent: () => boolean; release: () => void; }; /** * Remove cached tools for the given server so the next lookup fetches fresh data. * * @param serverName - Name of the MCP server whose cache should be cleared. */ export declare function invalidateServerToolsCache(serverName: string): Promise;