import * as z from "zod/v4"; import * as discriminatedUnionTypes from "../types/discriminatedUnion.js"; import { ClosedEnum, OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { CodeInterpreterFileOutput, CodeInterpreterFileOutput$Outbound } from "./codeinterpreterfileoutput.js"; import { CodeInterpreterImageOutput, CodeInterpreterImageOutput$Outbound } from "./codeinterpreterimageoutput.js"; import { CodeInterpreterLogsOutput, CodeInterpreterLogsOutput$Outbound } from "./codeinterpreterlogsoutput.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type OutputCodeInterpreterCallItemOutput = CodeInterpreterFileOutput | CodeInterpreterImageOutput | CodeInterpreterLogsOutput | discriminatedUnionTypes.Unknown<"type">; export declare const OutputCodeInterpreterCallItemStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Incomplete: "incomplete"; readonly Interpreting: "interpreting"; readonly Failed: "failed"; }; export type OutputCodeInterpreterCallItemStatus = OpenEnum; export declare const OutputCodeInterpreterCallItemType: { readonly CodeInterpreterCall: "code_interpreter_call"; }; export type OutputCodeInterpreterCallItemType = ClosedEnum; /** * A code interpreter execution call with outputs */ export type OutputCodeInterpreterCallItem = { code?: string | null | undefined; containerId?: string | undefined; id: string; outputs?: Array> | null | undefined; status: OutputCodeInterpreterCallItemStatus; type: OutputCodeInterpreterCallItemType; additionalProperties?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const OutputCodeInterpreterCallItemOutput$inboundSchema: z.ZodType; /** @internal */ export type OutputCodeInterpreterCallItemOutput$Outbound = CodeInterpreterFileOutput$Outbound | CodeInterpreterImageOutput$Outbound | CodeInterpreterLogsOutput$Outbound; /** @internal */ export declare const OutputCodeInterpreterCallItemOutput$outboundSchema: z.ZodType; export declare function outputCodeInterpreterCallItemOutputToJSON(outputCodeInterpreterCallItemOutput: OutputCodeInterpreterCallItemOutput): string; export declare function outputCodeInterpreterCallItemOutputFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputCodeInterpreterCallItemStatus$inboundSchema: z.ZodType; /** @internal */ export declare const OutputCodeInterpreterCallItemStatus$outboundSchema: z.ZodType; /** @internal */ export declare const OutputCodeInterpreterCallItemType$inboundSchema: z.ZodEnum; /** @internal */ export declare const OutputCodeInterpreterCallItemType$outboundSchema: z.ZodEnum; /** @internal */ export declare const OutputCodeInterpreterCallItem$inboundSchema: z.ZodType; /** @internal */ export type OutputCodeInterpreterCallItem$Outbound = { code?: string | null | undefined; container_id?: string | undefined; id: string; outputs?: Array | null | undefined; status: string; type: string; [additionalProperties: string]: unknown; }; /** @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