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"; export declare const AgentRunObject: { readonly AgentRun: "agent.run"; }; export type AgentRunObject = ClosedEnum; export declare const AgentRunStatus: { readonly Queued: "queued"; readonly Submitting: "submitting"; readonly Completed: "completed"; readonly Failed: "failed"; }; export type AgentRunStatus = ClosedEnum; export type AgentRun = { object: AgentRunObject; id: string; agentId: string; /** * The agent configuration version this run executed against. Null for runs created before versioning. */ agentVersion: number | null; status: AgentRunStatus; /** * Arbitrary JSON value. */ input?: any | undefined; conversation?: any | null | undefined; previousResponseId: string | null; metadata: { [k: string]: string; } | null; gatewayResponseId: string | null; gatewayResponse?: any | null | undefined; error?: any | null | undefined; createdAt: Date; completedAt: Date | null; }; /** @internal */ export declare const AgentRunObject$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentRunObject$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentRunStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentRunStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentRun$inboundSchema: z.ZodType; /** @internal */ export type AgentRun$Outbound = { object: string; id: string; agent_id: string; agent_version: number | null; status: string; input?: any | undefined; conversation?: any | null | undefined; previous_response_id: string | null; metadata: { [k: string]: string; } | null; gateway_response_id: string | null; gateway_response?: any | null | undefined; error?: any | null | undefined; created_at: string; completed_at: string | null; }; /** @internal */ export declare const AgentRun$outboundSchema: z.ZodType; export declare function agentRunToJSON(agentRun: AgentRun): string; export declare function agentRunFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentrun.d.ts.map