import { z } from 'zod'; export declare const toolSchema: z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; description: z.ZodString; deferLoading: z.ZodOptional; group: z.ZodOptional; parameters: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord, z.ZodArray>]>>; description: z.ZodOptional; enum: z.ZodOptional>>; }, z.core.$loose>>; required: z.ZodOptional>; }, z.core.$loose>; }, z.core.$strip>; export declare const toolCallSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; arguments: z.ZodRecord; raw: z.ZodOptional; }, z.core.$strip>; export declare const toolCallErrorSchema: z.ZodObject<{ code: z.ZodEnum<{ PARSE_ERROR: "PARSE_ERROR"; VALIDATION_ERROR: "VALIDATION_ERROR"; UNKNOWN_TOOL: "UNKNOWN_TOOL"; }>; message: z.ZodString; raw: z.ZodOptional; }, z.core.$strip>; export declare const toolCallEventSchema: z.ZodUnion; call: z.ZodObject<{ id: z.ZodString; name: z.ZodString; arguments: z.ZodRecord; raw: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"toolCallError">; error: z.ZodObject<{ code: z.ZodEnum<{ PARSE_ERROR: "PARSE_ERROR"; VALIDATION_ERROR: "VALIDATION_ERROR"; UNKNOWN_TOOL: "UNKNOWN_TOOL"; }>; message: z.ZodString; raw: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>]>; export type Tool = z.infer; export type ToolCall = z.infer; export type ToolCallError = z.infer; export type ToolCallEvent = z.infer; export type ToolCallWithCall = ToolCall & { invoke?: () => Promise; };