import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A `response.output_text.done` server-sent event.
 */
export type ResponseOutputTextDoneStreamEvent = {
    /**
     * Index of the content part within the output item.
     */
    contentIndex: number;
    /**
     * ID of the output item this event refers to.
     */
    itemId: string;
    /**
     * Log probability information for the emitted tokens.
     */
    logprobs: Array<{
        [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 completed output text.
     */
    text: string;
    /**
     * The event type. Discriminates the payload.
     */
    type: "response.output_text.done";
    additionalProperties?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ResponseOutputTextDoneStreamEvent$inboundSchema: z.ZodType<ResponseOutputTextDoneStreamEvent, z.ZodTypeDef, unknown>;
export declare function responseOutputTextDoneStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseOutputTextDoneStreamEvent, SDKValidationError>;
//# sourceMappingURL=responseoutputtextdonestreamevent.d.ts.map