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 AgentVersionObject: { readonly AgentVersion: "agent.version"; }; export type AgentVersionObject = ClosedEnum; export type AgentVersion = { object: AgentVersionObject; id: string; agentId: string; version: number; /** * True when this version matches the agent's current configuration. */ isCurrent: boolean; /** * When this version was produced by a rollback, the version it was restored from. */ restoredFromVersion: number | null; 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; }; createdAt: Date; }; /** @internal */ export declare const AgentVersionObject$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentVersionObject$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentVersion$inboundSchema: z.ZodType; /** @internal */ export type AgentVersion$Outbound = { object: string; id: string; agent_id: string; version: number; is_current: boolean; restored_from_version: number | null; 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; }; created_at: string; }; /** @internal */ export declare const AgentVersion$outboundSchema: z.ZodType; export declare function agentVersionToJSON(agentVersion: AgentVersion): string; export declare function agentVersionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentversion.d.ts.map