import z from 'zod'; /** Zod schema for standard text content within a message. */ export declare const AgentTextContentSchema: z.ZodObject<{ type: z.ZodLiteral<"text">; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; content: string; }, { type: "text"; content: string; }>; /** Zod schema for multimodal inputs (Images, PDFs, Files) encoded as Base64. */ export declare const AgentMediaContentSchema: z.ZodObject<{ type: z.ZodLiteral<"media">; content: z.ZodString; contentType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"image">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "image"; name: string; mediatype: string; format: "base64"; }, { type: "image"; name: string; mediatype: string; format: "base64"; }>, z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"file">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "file"; name: string; mediatype: string; format: "base64"; }, { type: "file"; name: string; mediatype: string; format: "base64"; }>]>; }, "strip", z.ZodTypeAny, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }>; /** Zod schema for the output of a tool execution, correlated by ID to a specific tool call. */ export declare const AgentToolResultContentSchema: z.ZodObject<{ type: z.ZodLiteral<"tool_result">; toolUseId: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "tool_result"; toolUseId: string; content: string; }, { type: "tool_result"; toolUseId: string; content: string; }>; /** Zod schema representing an LLM's request to execute a named tool with specific arguments. */ export declare const AgentToolCallContentSchema: z.ZodObject<{ type: z.ZodLiteral<"tool_use">; toolUseId: z.ZodString; name: z.ZodString; input: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "tool_use"; toolUseId: string; name: string; input: Record; }, { type: "tool_use"; toolUseId: string; name: string; input: Record; }>; /** Discriminated union of all valid payload types (Text, Media, Tool Calls, and Results). */ export declare const AgentMessageContentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"text">; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; content: string; }, { type: "text"; content: string; }>, z.ZodObject<{ type: z.ZodLiteral<"media">; content: z.ZodString; contentType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"image">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "image"; name: string; mediatype: string; format: "base64"; }, { type: "image"; name: string; mediatype: string; format: "base64"; }>, z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"file">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "file"; name: string; mediatype: string; format: "base64"; }, { type: "file"; name: string; mediatype: string; format: "base64"; }>]>; }, "strip", z.ZodTypeAny, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }>, z.ZodObject<{ type: z.ZodLiteral<"tool_result">; toolUseId: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "tool_result"; toolUseId: string; content: string; }, { type: "tool_result"; toolUseId: string; content: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tool_use">; toolUseId: z.ZodString; name: z.ZodString; input: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "tool_use"; toolUseId: string; name: string; input: Record; }, { type: "tool_use"; toolUseId: string; name: string; input: Record; }>]>; /** The primary data structure representing a single turn in the Agent's conversation history. */ export declare const AgentMessageSchema: z.ZodObject<{ role: z.ZodEnum<["user", "assistant"]>; content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"text">; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; content: string; }, { type: "text"; content: string; }>, z.ZodObject<{ type: z.ZodLiteral<"media">; content: z.ZodString; contentType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"image">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "image"; name: string; mediatype: string; format: "base64"; }, { type: "image"; name: string; mediatype: string; format: "base64"; }>, z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"file">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "file"; name: string; mediatype: string; format: "base64"; }, { type: "file"; name: string; mediatype: string; format: "base64"; }>]>; }, "strip", z.ZodTypeAny, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }>, z.ZodObject<{ type: z.ZodLiteral<"tool_result">; toolUseId: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "tool_result"; toolUseId: string; content: string; }, { type: "tool_result"; toolUseId: string; content: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tool_use">; toolUseId: z.ZodString; name: z.ZodString; input: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "tool_use"; toolUseId: string; name: string; input: Record; }, { type: "tool_use"; toolUseId: string; name: string; input: Record; }>]>; seenCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { content: { type: "tool_result"; toolUseId: string; content: string; } | { type: "text"; content: string; } | { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; } | { type: "tool_use"; toolUseId: string; name: string; input: Record; }; role: "user" | "assistant"; seenCount: number; }, { content: { type: "tool_result"; toolUseId: string; content: string; } | { type: "text"; content: string; } | { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; } | { type: "tool_use"; toolUseId: string; name: string; input: Record; }; role: "user" | "assistant"; seenCount: number; }>; /** * The agent resumable state schema. * * @remarks * This state is persisted when the agent suspends (e.g. waiting on an Arvo service tool call) * and restored when execution resumes with the tool result. It carries everything needed to * reconstruct the full execution context across suspension boundaries. */ export declare const AgentStateSchema: z.ZodObject<{ initEventAccessControl: z.ZodNullable; /** * The Arvo orchestration subject of the currently executing agent instance. * Optional for backward compatibility with state persisted before this field was introduced. */ currentSubject: z.ZodOptional; /** * The Arvo orchestration subject of the parent orchestrator that invoked this agent. * Sourced from `parentSubject$$` in the initiating event's data payload. * `null` when this agent is the root of the orchestration tree. * Optional for backward compatibility with state persisted before this field was introduced. */ parentSubject: z.ZodOptional>; system: z.ZodNullable; messages: z.ZodArray; content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"text">; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; content: string; }, { type: "text"; content: string; }>, z.ZodObject<{ type: z.ZodLiteral<"media">; content: z.ZodString; contentType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"image">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "image"; name: string; mediatype: string; format: "base64"; }, { type: "image"; name: string; mediatype: string; format: "base64"; }>, z.ZodObject<{ name: z.ZodString; mediatype: z.ZodString; type: z.ZodLiteral<"file">; format: z.ZodEnum<["base64"]>; }, "strip", z.ZodTypeAny, { type: "file"; name: string; mediatype: string; format: "base64"; }, { type: "file"; name: string; mediatype: string; format: "base64"; }>]>; }, "strip", z.ZodTypeAny, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }, { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; }>, z.ZodObject<{ type: z.ZodLiteral<"tool_result">; toolUseId: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: "tool_result"; toolUseId: string; content: string; }, { type: "tool_result"; toolUseId: string; content: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tool_use">; toolUseId: z.ZodString; name: z.ZodString; input: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "tool_use"; toolUseId: string; name: string; input: Record; }, { type: "tool_use"; toolUseId: string; name: string; input: Record; }>]>; seenCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { content: { type: "tool_result"; toolUseId: string; content: string; } | { type: "text"; content: string; } | { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; } | { type: "tool_use"; toolUseId: string; name: string; input: Record; }; role: "user" | "assistant"; seenCount: number; }, { content: { type: "tool_result"; toolUseId: string; content: string; } | { type: "text"; content: string; } | { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; } | { type: "tool_use"; toolUseId: string; name: string; input: Record; }; role: "user" | "assistant"; seenCount: number; }>, "many">; agentCycles: z.ZodObject<{ max: z.ZodNumber; current: z.ZodNumber; }, "strip", z.ZodTypeAny, { max: number; current: number; }, { max: number; current: number; }>; enabledTools: z.ZodRecord; awaitingToolCalls: z.ZodRecord; data: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: string; responseEventType: string | null; data: Record | null; }, { type: string; responseEventType: string | null; data: Record | null; }>>; totalExecutionUnits: z.ZodNumber; totalTokenUsage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; }, "strip", z.ZodTypeAny, { initEventAccessControl: string | null; system: string | null; messages: { content: { type: "tool_result"; toolUseId: string; content: string; } | { type: "text"; content: string; } | { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; } | { type: "tool_use"; toolUseId: string; name: string; input: Record; }; role: "user" | "assistant"; seenCount: number; }[]; agentCycles: { max: number; current: number; }; enabledTools: Record; awaitingToolCalls: Record | null; }>; totalExecutionUnits: number; totalTokenUsage: { prompt: number; completion: number; }; currentSubject?: string | undefined; parentSubject?: string | null | undefined; }, { initEventAccessControl: string | null; system: string | null; messages: { content: { type: "tool_result"; toolUseId: string; content: string; } | { type: "text"; content: string; } | { type: "media"; content: string; contentType: { type: "image"; name: string; mediatype: string; format: "base64"; } | { type: "file"; name: string; mediatype: string; format: "base64"; }; } | { type: "tool_use"; toolUseId: string; name: string; input: Record; }; role: "user" | "assistant"; seenCount: number; }[]; agentCycles: { max: number; current: number; }; enabledTools: Record; awaitingToolCalls: Record | null; }>; totalExecutionUnits: number; totalTokenUsage: { prompt: number; completion: number; }; currentSubject?: string | undefined; parentSubject?: string | null | undefined; }>; //# sourceMappingURL=schema.d.ts.map