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<typeof OutputCodeInterpreterCallItemStatus>;
export declare const OutputCodeInterpreterCallItemType: {
    readonly CodeInterpreterCall: "code_interpreter_call";
};
export type OutputCodeInterpreterCallItemType = ClosedEnum<typeof OutputCodeInterpreterCallItemType>;
/**
 * A code interpreter execution call with outputs
 */
export type OutputCodeInterpreterCallItem = {
    code?: string | null | undefined;
    containerId?: string | undefined;
    id: string;
    outputs?: Array<CodeInterpreterFileOutput | CodeInterpreterImageOutput | CodeInterpreterLogsOutput | discriminatedUnionTypes.Unknown<"type">> | null | undefined;
    status: OutputCodeInterpreterCallItemStatus;
    type: OutputCodeInterpreterCallItemType;
    additionalProperties?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const OutputCodeInterpreterCallItemOutput$inboundSchema: z.ZodType<OutputCodeInterpreterCallItemOutput, unknown>;
/** @internal */
export type OutputCodeInterpreterCallItemOutput$Outbound = CodeInterpreterFileOutput$Outbound | CodeInterpreterImageOutput$Outbound | CodeInterpreterLogsOutput$Outbound;
/** @internal */
export declare const OutputCodeInterpreterCallItemOutput$outboundSchema: z.ZodType<OutputCodeInterpreterCallItemOutput$Outbound, OutputCodeInterpreterCallItemOutput>;
export declare function outputCodeInterpreterCallItemOutputToJSON(outputCodeInterpreterCallItemOutput: OutputCodeInterpreterCallItemOutput): string;
export declare function outputCodeInterpreterCallItemOutputFromJSON(jsonString: string): SafeParseResult<OutputCodeInterpreterCallItemOutput, SDKValidationError>;
/** @internal */
export declare const OutputCodeInterpreterCallItemStatus$inboundSchema: z.ZodType<OutputCodeInterpreterCallItemStatus, unknown>;
/** @internal */
export declare const OutputCodeInterpreterCallItemStatus$outboundSchema: z.ZodType<string, OutputCodeInterpreterCallItemStatus>;
/** @internal */
export declare const OutputCodeInterpreterCallItemType$inboundSchema: z.ZodEnum<typeof OutputCodeInterpreterCallItemType>;
/** @internal */
export declare const OutputCodeInterpreterCallItemType$outboundSchema: z.ZodEnum<typeof OutputCodeInterpreterCallItemType>;
/** @internal */
export declare const OutputCodeInterpreterCallItem$inboundSchema: z.ZodType<OutputCodeInterpreterCallItem, unknown>;
/** @internal */
export type OutputCodeInterpreterCallItem$Outbound = {
    code?: string | null | undefined;
    container_id?: string | undefined;
    id: string;
    outputs?: Array<CodeInterpreterFileOutput$Outbound | CodeInterpreterImageOutput$Outbound | CodeInterpreterLogsOutput$Outbound> | null | undefined;
    status: string;
    type: string;
    [additionalProperties: string]: unknown;
};
/** @internal */
export declare const OutputCodeInterpreterCallItem$outboundSchema: z.ZodType<OutputCodeInterpreterCallItem$Outbound, OutputCodeInterpreterCallItem>;
export declare function outputCodeInterpreterCallItemToJSON(outputCodeInterpreterCallItem: OutputCodeInterpreterCallItem): string;
export declare function outputCodeInterpreterCallItemFromJSON(jsonString: string): SafeParseResult<OutputCodeInterpreterCallItem, SDKValidationError>;
//# sourceMappingURL=outputcodeinterpretercallitem.d.ts.map