import { z } from 'zod'; /** Permissive output schema for tools that return arbitrary JSON objects. */ export declare const jsonResult: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; export type JsonToolResult = { content: Array<{ type: 'text'; text: string; }>; structuredContent: Record; }; /** Wrap an arbitrary value as an MCP tool result with both text and structured content. */ export declare function jsonContent(value: unknown): JsonToolResult; /** Wrap a human-readable message as an MCP tool result. */ export declare function textContent(message: string, structuredContent?: Record): { content: { type: "text"; text: string; }[]; structuredContent: Record; }; export declare function hasContentArray(value: unknown): value is { content: Array>; }; export declare function isErrorToolResult(value: unknown): boolean; /** Standard MCP error result describing an invalid/expired agent token. */ export declare function invalidAgentTokenToolResult(): JsonToolResult & { isError: true; }; //# sourceMappingURL=tool-results.d.ts.map