import type { McpMetadata } from '../tools/types.js'; export declare function truncateMcpInstructions(instructions: string, maxLength?: number): string; /** * Builds a single markdown string of MCP server guidance from a list of tools. * * Only tools whose server explicitly opted in (`forwardInstructions === true`) * and that advertise non-empty instructions are included. Guidance is * deduplicated per server, deterministically ordered by server name, and * truncated per server using `instructionsMaxLength`. * * Returns `undefined` when there is nothing to forward. */ export declare function buildMcpServerGuidance(tools: Array<{ mcpMetadata?: McpMetadata; } | undefined>): string | undefined; //# sourceMappingURL=mcp-guidance.d.ts.map