import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A `response.refusal.done` server-sent event.
 */
export type ResponseRefusalDoneStreamEvent = {
    /**
     * 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;
    /**
     * The completed refusal text.
     */
    refusal: string;
    /**
     * Monotonically increasing sequence number for ordering events.
     */
    sequenceNumber: number;
    /**
     * The event type. Discriminates the payload.
     */
    type: "response.refusal.done";
    additionalProperties?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ResponseRefusalDoneStreamEvent$inboundSchema: z.ZodType<ResponseRefusalDoneStreamEvent, z.ZodTypeDef, unknown>;
export declare function responseRefusalDoneStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseRefusalDoneStreamEvent, SDKValidationError>;
//# sourceMappingURL=responserefusaldonestreamevent.d.ts.map