import { z } from 'zod'; export declare const FunctionCallSchema: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name?: string; arguments?: string; }, { name?: string; arguments?: string; }>; export declare const ToolCallSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name?: string; arguments?: string; }, { name?: string; arguments?: string; }>; }, "strip", z.ZodTypeAny, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }>; export declare const BaseMessageSchema: z.ZodObject<{ id: z.ZodString; role: z.ZodString; content: z.ZodOptional; name: z.ZodOptional; timestamp: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: string; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: string; timestamp?: number; }>; export declare const DeveloperMessageSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"developer">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; }>; export declare const SystemMessageSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; }>; export declare const AssistantMessageSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"assistant">; content: z.ZodOptional; reasoningContent: z.ZodOptional; toolCalls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name?: string; arguments?: string; }, { name?: string; arguments?: string; }>; }, "strip", z.ZodTypeAny, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }>, "many">>; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }>; export declare const UserMessageSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }>; export declare const ToolMessageSchema: z.ZodObject<{ id: z.ZodString; content: z.ZodString; role: z.ZodLiteral<"tool">; toolCallId: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }>; export declare const MessageSchema: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"developer">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"assistant">; content: z.ZodOptional; reasoningContent: z.ZodOptional; toolCalls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name?: string; arguments?: string; }, { name?: string; arguments?: string; }>; }, "strip", z.ZodTypeAny, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }>, "many">>; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; content: z.ZodString; role: z.ZodLiteral<"tool">; toolCallId: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }>]>; export declare const HistoryMessageSchema: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"assistant">; content: z.ZodOptional; reasoningContent: z.ZodOptional; toolCalls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name?: string; arguments?: string; }, { name?: string; arguments?: string; }>; }, "strip", z.ZodTypeAny, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }>, "many">>; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }>, z.ZodObject<{ id: z.ZodString; content: z.ZodString; role: z.ZodLiteral<"tool">; toolCallId: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }>]>; export declare const RoleSchema: z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">, z.ZodLiteral<"tool">]>; export declare const ContextSchema: z.ZodObject<{ description: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value?: string; description?: string; }, { value?: string; description?: string; }>; export declare const ToolSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; parameters: z.ZodAny; }, "strip", z.ZodTypeAny, { name?: string; description?: string; parameters?: any; }, { name?: string; description?: string; parameters?: any; }>; export declare const RunAgentInputSchema: z.ZodObject<{ threadId: z.ZodString; runId: z.ZodString; state: z.ZodAny; messages: z.ZodArray; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"developer">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"assistant">; content: z.ZodOptional; reasoningContent: z.ZodOptional; toolCalls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name?: string; arguments?: string; }, { name?: string; arguments?: string; }>; }, "strip", z.ZodTypeAny, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }, { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }>, "many">>; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }, { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; } & { role: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }, { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; }>, z.ZodObject<{ id: z.ZodString; content: z.ZodString; role: z.ZodLiteral<"tool">; toolCallId: z.ZodString; }, "strip", z.ZodTypeAny, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }, { id?: string; content?: string; role?: "tool"; toolCallId?: string; }>]>, "many">; tools: z.ZodArray, "many">; context: z.ZodArray, "many">; forwardedProps: z.ZodAny; }, "strip", z.ZodTypeAny, { threadId?: string; runId?: string; state?: any; messages?: ({ id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; } | { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; } | { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; } | { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; } | { id?: string; content?: string; role?: "tool"; toolCallId?: string; })[]; tools?: { name?: string; description?: string; parameters?: any; }[]; context?: { value?: string; description?: string; }[]; forwardedProps?: any; }, { threadId?: string; runId?: string; state?: any; messages?: ({ id?: string; content?: string; name?: string; role?: "developer"; timestamp?: number; } | { id?: string; content?: string; name?: string; role?: "system"; timestamp?: number; } | { id?: string; content?: string; name?: string; role?: "assistant"; timestamp?: number; reasoningContent?: string; toolCalls?: { function?: { name?: string; arguments?: string; }; id?: string; type?: "function"; }[]; } | { id?: string; content?: string; name?: string; role?: "user"; timestamp?: number; } | { id?: string; content?: string; role?: "tool"; toolCallId?: string; })[]; tools?: { name?: string; description?: string; parameters?: any; }[]; context?: { value?: string; description?: string; }[]; forwardedProps?: any; }>; export declare const StateSchema: z.ZodAny; export type AGUIToolCall = z.infer; export type FunctionCall = z.infer; export type DeveloperMessage = z.infer; export type SystemMessage = z.infer; export type AssistantMessage = z.infer; export type UserMessage = z.infer; export type ToolMessage = z.infer; export type Message = z.infer; export type Context = z.infer; export type Tool = z.infer; export type RunAgentInput = z.infer; export type State = z.infer; export type Role = z.infer; export type AGUIHistoryMessage = Message; export type AGUIUserHistoryMessage = UserMessage; export type AGUIAssistantHistoryMessage = AssistantMessage; export type AGUIToolHistoryMessage = ToolMessage; export declare class AGUIError extends Error { constructor(message: string); }