import * as z from "zod/v4"; import * as discriminatedUnionTypes from "../types/discriminatedUnion.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ToolCallStatus } from "./toolcallstatus.js"; export type OutputLogs = { logs: string; type: "logs"; }; export type OutputImage = { type: "image"; url: string; }; export type OutputCodeInterpreterCallItemOutputUnion = OutputImage | OutputLogs | discriminatedUnionTypes.Unknown<"type">; export declare const TypeCodeInterpreterCall: { readonly CodeInterpreterCall: "code_interpreter_call"; }; export type TypeCodeInterpreterCall = ClosedEnum; /** * A code interpreter execution call with outputs */ export type OutputCodeInterpreterCallItem = { code: string | null; containerId: string; id: string; outputs: Array> | null; status: ToolCallStatus; type: TypeCodeInterpreterCall; }; /** @internal */ export declare const OutputLogs$inboundSchema: z.ZodType; /** @internal */ export type OutputLogs$Outbound = { logs: string; type: "logs"; }; /** @internal */ export declare const OutputLogs$outboundSchema: z.ZodType; export declare function outputLogsToJSON(outputLogs: OutputLogs): string; export declare function outputLogsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputImage$inboundSchema: z.ZodType; /** @internal */ export type OutputImage$Outbound = { type: "image"; url: string; }; /** @internal */ export declare const OutputImage$outboundSchema: z.ZodType; export declare function outputImageToJSON(outputImage: OutputImage): string; export declare function outputImageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputCodeInterpreterCallItemOutputUnion$inboundSchema: z.ZodType; /** @internal */ export type OutputCodeInterpreterCallItemOutputUnion$Outbound = OutputImage$Outbound | OutputLogs$Outbound; /** @internal */ export declare const OutputCodeInterpreterCallItemOutputUnion$outboundSchema: z.ZodType; export declare function outputCodeInterpreterCallItemOutputUnionToJSON(outputCodeInterpreterCallItemOutputUnion: OutputCodeInterpreterCallItemOutputUnion): string; export declare function outputCodeInterpreterCallItemOutputUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TypeCodeInterpreterCall$inboundSchema: z.ZodEnum; /** @internal */ export declare const TypeCodeInterpreterCall$outboundSchema: z.ZodEnum; /** @internal */ export declare const OutputCodeInterpreterCallItem$inboundSchema: z.ZodType; /** @internal */ export type OutputCodeInterpreterCallItem$Outbound = { code: string | null; container_id: string; id: string; outputs: Array | null; status: string; type: string; }; /** @internal */ export declare const OutputCodeInterpreterCallItem$outboundSchema: z.ZodType; export declare function outputCodeInterpreterCallItemToJSON(outputCodeInterpreterCallItem: OutputCodeInterpreterCallItem): string; export declare function outputCodeInterpreterCallItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputcodeinterpretercallitem.d.ts.map