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 { CodeInterpreterOutput, CodeInterpreterOutput$Outbound } from "./codeinterpreteroutput.js"; import { FileSearchOutput, FileSearchOutput$Outbound } from "./filesearchoutput.js"; import { FinalAnswer, FinalAnswer$Outbound } from "./finalanswer.js"; import { RagieApiSchemaResponseUsage, RagieApiSchemaResponseUsage$Outbound } from "./ragieapischemaresponseusage.js"; import { Reasoning, Reasoning$Outbound } from "./reasoning.js"; import { ReasoningOutput, ReasoningOutput$Outbound } from "./reasoningoutput.js"; import { ResponseOutputMessage, ResponseOutputMessage$Outbound } from "./responseoutputmessage.js"; import { Tool, Tool$Outbound } from "./tool.js"; export declare const Status: { readonly Completed: "completed"; readonly Failed: "failed"; readonly InProgress: "in_progress"; readonly Cancelled: "cancelled"; }; export type Status = ClosedEnum; export type Output = ReasoningOutput | CodeInterpreterOutput | FileSearchOutput | ResponseOutputMessage; export type ResponseT = { id: string; object?: "response" | undefined; createdAt: number; status: Status; error?: string | null | undefined; incompleteDetails?: any | null | undefined; instructions?: string | null | undefined; maxOutputTokens?: any | null | undefined; model?: "deep-search" | undefined; output: Array; outputParsed?: FinalAnswer | null | undefined; tools: Array; reasoning: Reasoning; parallelToolCalls?: boolean | undefined; store?: boolean | undefined; temperature?: number | undefined; previousResponseId?: string | null | undefined; toolChoice?: "auto" | undefined; topP?: number | undefined; truncation?: "disabled" | undefined; usage: RagieApiSchemaResponseUsage; user?: any | null | undefined; metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const Status$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Status$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Output$inboundSchema: z.ZodType; /** @internal */ export type Output$Outbound = ReasoningOutput$Outbound | CodeInterpreterOutput$Outbound | FileSearchOutput$Outbound | ResponseOutputMessage$Outbound; /** @internal */ export declare const Output$outboundSchema: z.ZodType; export declare function outputToJSON(output: Output): string; export declare function outputFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResponseT$inboundSchema: z.ZodType; /** @internal */ export type ResponseT$Outbound = { id: string; object: "response"; created_at: number; status: string; error?: string | null | undefined; incomplete_details?: any | null | undefined; instructions?: string | null | undefined; max_output_tokens?: any | null | undefined; model: "deep-search"; output: Array; output_parsed?: FinalAnswer$Outbound | null | undefined; tools: Array; reasoning: Reasoning$Outbound; parallel_tool_calls: boolean; store: boolean; temperature: number; previous_response_id?: string | null | undefined; tool_choice: "auto"; top_p: number; truncation: "disabled"; usage: RagieApiSchemaResponseUsage$Outbound; user?: any | null | undefined; metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const ResponseT$outboundSchema: z.ZodType; export declare function responseToJSON(responseT: ResponseT): string; export declare function responseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=response.d.ts.map