import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ToolFailedEventData = {
    /**
     * Unique identifier for the tool in the tool registry
     */
    toolId: string;
    /**
     * Unique identifier matching the tool call that failed
     */
    toolCallId: string;
    /**
     * Error message describing why the tool failed
     */
    error: string;
};
/**
 * Emitted when a tool execution fails. Contains error details.
 */
export type ToolFailedEvent = {
    type: "tool.failed";
    /**
     * ISO timestamp of when the event occurred
     */
    timestamp: string;
    data: ToolFailedEventData;
};
/** @internal */
export declare const ToolFailedEventData$inboundSchema: z.ZodType<ToolFailedEventData, z.ZodTypeDef, unknown>;
export declare function toolFailedEventDataFromJSON(jsonString: string): SafeParseResult<ToolFailedEventData, SDKValidationError>;
/** @internal */
export declare const ToolFailedEvent$inboundSchema: z.ZodType<ToolFailedEvent, z.ZodTypeDef, unknown>;
export declare function toolFailedEventFromJSON(jsonString: string): SafeParseResult<ToolFailedEvent, SDKValidationError>;
//# sourceMappingURL=toolfailedevent.d.ts.map