import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ToolDoneEventData = {
    /**
     * Unique identifier for the tool in the tool registry
     */
    toolId: string;
    /**
     * Unique identifier matching the tool call that was executed
     */
    toolCallId: string;
    /**
     * The result returned by the tool
     */
    result?: any | undefined;
};
/**
 * Emitted when a tool completes execution successfully. Contains the tool result.
 */
export type ToolDoneEvent = {
    type: "tool.done";
    /**
     * ISO timestamp of when the event occurred
     */
    timestamp: string;
    data: ToolDoneEventData;
};
/** @internal */
export declare const ToolDoneEventData$inboundSchema: z.ZodType<ToolDoneEventData, z.ZodTypeDef, unknown>;
export declare function toolDoneEventDataFromJSON(jsonString: string): SafeParseResult<ToolDoneEventData, SDKValidationError>;
/** @internal */
export declare const ToolDoneEvent$inboundSchema: z.ZodType<ToolDoneEvent, z.ZodTypeDef, unknown>;
export declare function toolDoneEventFromJSON(jsonString: string): SafeParseResult<ToolDoneEvent, SDKValidationError>;
//# sourceMappingURL=tooldoneevent.d.ts.map