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