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