import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type AgentErroredStreamingEventData = {
    error: string;
    code: number;
    /**
     * ID of the response tracking this execution
     */
    responseId?: string | undefined;
    workflowRunId: string;
};
/**
 * Emitted when an error occurs during agent execution. Contains the error message and HTTP status code indicating the failure type.
 */
export type AgentErroredStreamingEvent = {
    type: "event.agents.errored";
    /**
     * ISO timestamp of the event
     */
    timestamp: string;
    data: AgentErroredStreamingEventData;
};
/** @internal */
export declare const AgentErroredStreamingEventData$inboundSchema: z.ZodType<AgentErroredStreamingEventData, z.ZodTypeDef, unknown>;
export declare function agentErroredStreamingEventDataFromJSON(jsonString: string): SafeParseResult<AgentErroredStreamingEventData, SDKValidationError>;
/** @internal */
export declare const AgentErroredStreamingEvent$inboundSchema: z.ZodType<AgentErroredStreamingEvent, z.ZodTypeDef, unknown>;
export declare function agentErroredStreamingEventFromJSON(jsonString: string): SafeParseResult<AgentErroredStreamingEvent, SDKValidationError>;
//# sourceMappingURL=agenterroredstreamingevent.d.ts.map