import { z } from 'zod'; import type { ToolRegistration, ToolResult, ToolResultContent, ZodShape } from './types.js'; export declare const toolOutputModeSchema: z.ZodEnum<["text", "data", "both"]>; export type ToolOutputMode = z.infer; export declare const structuredToolOutputShape: { output: z.ZodEnum<["text", "data", "both"]>; rendered: z.ZodOptional; data: z.ZodRecord; }; declare const toolOutputInputShape: { output: z.ZodOptional>; }; export declare function withOutputMode(inputShape: Shape): Shape & typeof toolOutputInputShape; export declare function stripOutputMode(args: Record): Record; export declare function buildStructuredToolResult(rendered: string, data: Record, output?: ToolOutputMode, content?: ToolResultContent[]): ToolResult; export declare function withStructuredToolOutput(tool: ToolRegistration): ToolRegistration; export {}; //# sourceMappingURL=output.d.ts.map