import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A `response.output_item.done` server-sent event.
 */
export type ResponseOutputItemDoneStreamEvent = {
    /**
     * The output item (message, function call, reasoning, etc.).
     */
    item: {
        [k: string]: any;
    };
    /**
     * 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.output_item.done";
    additionalProperties?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ResponseOutputItemDoneStreamEvent$inboundSchema: z.ZodType<ResponseOutputItemDoneStreamEvent, z.ZodTypeDef, unknown>;
export declare function responseOutputItemDoneStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseOutputItemDoneStreamEvent, SDKValidationError>;
//# sourceMappingURL=responseoutputitemdonestreamevent.d.ts.map