/** * Gateway tool list generator with collision resolution and global caching. */ import type { ToolMapEntry, GatewayTool } from './types.js'; export declare function generateGatewayToolsList(toolMap: Map): GatewayTool[]; /** Lazy get — first-request fallback when cache hasn't been built yet */ export declare function getOrBuildGatewayToolMap(): Map; /** Lazy get — first-request fallback when cache hasn't been built yet */ export declare function getOrBuildGatewayToolsList(): GatewayTool[]; /** Lazy get — returns only aggregated external tools (excludes system tools) */ export declare function getExternalGatewayTools(): GatewayTool[]; /** Full rebuild from global state — used by TOOLS_UPDATED / SERVER_DISCONNECTED */ export declare function rebuildFromScratch(): void; /** Incremental add — update raw data layer, re-resolve names only */ export declare function addToCache(serverName: string, toolNames: string[]): void; /** Incremental remove — update raw data layer, re-resolve names only */ export declare function removeFromCache(serverName: string, toolNames: string[]): void; //# sourceMappingURL=tool-list-generator.d.ts.map