import type { ToolDefinition } from '../../../services/llm';
/**
 * Discover MCP servers, cache tool definitions, and return a lightweight
 * summary for the durable pipe.
 *
 * Callers pass their own module-level caches so each pipeline keeps
 * isolated cache instances. Optional `baseTags` are merged before querying.
 */
export declare function loadToolsFromServers(tags: string[] | undefined, caches: {
    toolServerMap: Map<string, string>;
    toolDefCache: Map<string, ToolDefinition>;
}, opts?: {
    baseTags?: string[];
    logPrefix?: string;
}): Promise<{
    toolIds: string[];
    inventory: string;
    strategy: string;
}>;
