import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ResponseFailedEventData = {
    /**
     * Error message describing what went wrong
     */
    error: string;
    /**
     * HTTP status code indicating the error type
     */
    code: number;
};
/**
 * Emitted when an error occurs during agent execution. Contains error details.
 */
export type ResponseFailedEvent = {
    type: "response.failed";
    /**
     * ISO timestamp of when the event occurred
     */
    timestamp: string;
    data: ResponseFailedEventData;
};
/** @internal */
export declare const ResponseFailedEventData$inboundSchema: z.ZodType<ResponseFailedEventData, z.ZodTypeDef, unknown>;
export declare function responseFailedEventDataFromJSON(jsonString: string): SafeParseResult<ResponseFailedEventData, SDKValidationError>;
/** @internal */
export declare const ResponseFailedEvent$inboundSchema: z.ZodType<ResponseFailedEvent, z.ZodTypeDef, unknown>;
export declare function responseFailedEventFromJSON(jsonString: string): SafeParseResult<ResponseFailedEvent, SDKValidationError>;
//# sourceMappingURL=responsefailedevent.d.ts.map