import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A `response.output_text.annotation.added` server-sent event.
 */
export type ResponseOutputTextAnnotationAddedStreamEvent = {
    /**
     * The annotation added to the output text.
     */
    annotation: {
        [k: string]: any;
    };
    /**
     * Index of the annotation within the content part.
     */
    annotationIndex: number;
    /**
     * Index of the content part within the output item.
     */
    contentIndex: number;
    /**
     * 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.output_text.annotation.added";
    additionalProperties?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ResponseOutputTextAnnotationAddedStreamEvent$inboundSchema: z.ZodType<ResponseOutputTextAnnotationAddedStreamEvent, z.ZodTypeDef, unknown>;
export declare function responseOutputTextAnnotationAddedStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseOutputTextAnnotationAddedStreamEvent, SDKValidationError>;
//# sourceMappingURL=responseoutputtextannotationaddedstreamevent.d.ts.map