import type { MCPContent, MCPResponse } from './types.js'; /** * Build an MCP tool response. The structured data is encoded as TOON text for * the wire (token-efficient, readable to the model) and also attached as * `structuredContent` so MCP clients that support it can consume it directly. * * TOON encoding throws on circular references; in that case we fall back to * a JSON-with-replacer string so the wire response always has *something* * usable instead of crashing the tool. * * Extra content blocks (e.g. images for screenshots) can be appended. */ export declare function respond(data: Record, extra?: MCPContent[]): MCPResponse; //# sourceMappingURL=response.d.ts.map