import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AgentReasoningConfiguration, AgentReasoningConfiguration$Outbound } from "./agentreasoningconfiguration.js"; import { AgentTextConfiguration, AgentTextConfiguration$Outbound } from "./agenttextconfiguration.js"; import { ToolDefinition, ToolDefinition$Outbound } from "./tooldefinition.js"; export declare const AgentObject: { readonly Agent: "agent"; }; export type AgentObject = ClosedEnum; export type Agent = { object: AgentObject; id: string; name: string; description: string | null; model: string; instructions: string | null; tools: Array; /** * Arbitrary JSON value. */ toolChoice?: any | undefined; parallelToolCalls: boolean; maxToolCalls: number | null; text: AgentTextConfiguration | null; reasoning: AgentReasoningConfiguration | null; metadata: { [k: string]: string; }; /** * Current configuration version. Incremented on every update or rollback. */ version: number; createdAt: Date; updatedAt: Date; deletedAt: Date | null; }; /** @internal */ export declare const AgentObject$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentObject$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Agent$inboundSchema: z.ZodType; /** @internal */ export type Agent$Outbound = { object: string; id: string; name: string; description: string | null; model: string; instructions: string | null; tools: Array; tool_choice?: any | undefined; parallel_tool_calls: boolean; max_tool_calls: number | null; text: AgentTextConfiguration$Outbound | null; reasoning: AgentReasoningConfiguration$Outbound | null; metadata: { [k: string]: string; }; version: number; created_at: string; updated_at: string; deleted_at: string | null; }; /** @internal */ export declare const Agent$outboundSchema: z.ZodType; export declare function agentToJSON(agent: Agent): string; export declare function agentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agent.d.ts.map