import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A `response.code_interpreter_call_code.done` server-sent event.
 */
export type ResponseCodeInterpreterCallCodeDoneStreamEvent = {
    /**
     * The completed code interpreter code.
     */
    code: string;
    /**
     * ID of the output item this event refers to.
     */
    itemId: string;
    /**
     * Index of the output item in the response output array.
     */
    outputIndex: number;
    /**
     * Monotonically increasing sequence number for ordering events.
     */
    sequenceNumber: number;
    /**
     * The event type. Discriminates the payload.
     */
    type: "response.code_interpreter_call_code.done";
    additionalProperties?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ResponseCodeInterpreterCallCodeDoneStreamEvent$inboundSchema: z.ZodType<ResponseCodeInterpreterCallCodeDoneStreamEvent, z.ZodTypeDef, unknown>;
export declare function responseCodeInterpreterCallCodeDoneStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseCodeInterpreterCallCodeDoneStreamEvent, SDKValidationError>;
//# sourceMappingURL=responsecodeinterpretercallcodedonestreamevent.d.ts.map