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"; export declare const CodeInterpreterToolCallWithIdStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Incomplete: "incomplete"; readonly Interpreting: "interpreting"; readonly Failed: "failed"; }; export type CodeInterpreterToolCallWithIdStatus = ClosedEnum; /** * Code interpreter call item: A tool-call record for code execution, including code, container, outputs, and status. */ export type CodeInterpreterToolCallWithId = { type: "code_interpreter_call"; /** * The unique ID of the message. */ id: string; code: string | null; containerId: string; outputs: Array | null; status: CodeInterpreterToolCallWithIdStatus; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const CodeInterpreterToolCallWithIdStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CodeInterpreterToolCallWithIdStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CodeInterpreterToolCallWithId$inboundSchema: z.ZodType; /** @internal */ export type CodeInterpreterToolCallWithId$Outbound = { type: "code_interpreter_call"; id: string; code: string | null; container_id: string; outputs: Array | null; status: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const CodeInterpreterToolCallWithId$outboundSchema: z.ZodType; export declare function codeInterpreterToolCallWithIdToJSON(codeInterpreterToolCallWithId: CodeInterpreterToolCallWithId): string; export declare function codeInterpreterToolCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=codeinterpretertoolcallwithid.d.ts.map