import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Orquesta product
 */
export declare const ToolExecutionFinishedStreamingEventProduct: {
    readonly Remoteconfigs: "remoteconfigs";
    readonly Deployments: "deployments";
    readonly Experiments: "experiments";
    readonly Playgrounds: "playgrounds";
    readonly Spreadsheets: "spreadsheets";
    readonly SpreadsheetRun: "spreadsheet_run";
    readonly LlmEvaluator: "llm_evaluator";
    readonly Knowledge: "knowledge";
    readonly Router: "router";
    readonly Workflows: "workflows";
    readonly ExternalEvents: "external_events";
    readonly Agents: "agents";
    readonly MemoryStores: "memory-stores";
    readonly Generic: "generic";
    readonly Evaluators: "evaluators";
    readonly Otel: "otel";
    readonly AiChat: "ai-chat";
};
/**
 * Orquesta product
 */
export type ToolExecutionFinishedStreamingEventProduct = ClosedEnum<typeof ToolExecutionFinishedStreamingEventProduct>;
export type ToolExecutionFinishedStreamingEventMemory = {
    entityId: string;
};
export type ToolExecutionFinishedStreamingEventToolExecutionContext = {
    actionId: string;
    agentToolCallId: string;
    workspaceId: string;
    agentManifestId: string;
    agentExecutionId: string;
    /**
     * Orquesta product
     */
    product: ToolExecutionFinishedStreamingEventProduct;
    memory?: ToolExecutionFinishedStreamingEventMemory | undefined;
    parentId?: string | undefined;
};
export type ToolExecutionFinishedStreamingEventData = {
    result?: any | undefined;
    actionType: string;
    toolExecutionContext: ToolExecutionFinishedStreamingEventToolExecutionContext;
    responseId?: string | undefined;
    workflowRunId: string;
    stream?: boolean | undefined;
};
/**
 * Emitted when a tool completes execution successfully. Contains the result data, action type, and execution context.
 */
export type ToolExecutionFinishedStreamingEvent = {
    type: "event.workflow_events.tool_execution_finished";
    /**
     * ISO timestamp of the event
     */
    timestamp: string;
    data: ToolExecutionFinishedStreamingEventData;
};
/** @internal */
export declare const ToolExecutionFinishedStreamingEventProduct$inboundSchema: z.ZodNativeEnum<typeof ToolExecutionFinishedStreamingEventProduct>;
/** @internal */
export declare const ToolExecutionFinishedStreamingEventMemory$inboundSchema: z.ZodType<ToolExecutionFinishedStreamingEventMemory, z.ZodTypeDef, unknown>;
export declare function toolExecutionFinishedStreamingEventMemoryFromJSON(jsonString: string): SafeParseResult<ToolExecutionFinishedStreamingEventMemory, SDKValidationError>;
/** @internal */
export declare const ToolExecutionFinishedStreamingEventToolExecutionContext$inboundSchema: z.ZodType<ToolExecutionFinishedStreamingEventToolExecutionContext, z.ZodTypeDef, unknown>;
export declare function toolExecutionFinishedStreamingEventToolExecutionContextFromJSON(jsonString: string): SafeParseResult<ToolExecutionFinishedStreamingEventToolExecutionContext, SDKValidationError>;
/** @internal */
export declare const ToolExecutionFinishedStreamingEventData$inboundSchema: z.ZodType<ToolExecutionFinishedStreamingEventData, z.ZodTypeDef, unknown>;
export declare function toolExecutionFinishedStreamingEventDataFromJSON(jsonString: string): SafeParseResult<ToolExecutionFinishedStreamingEventData, SDKValidationError>;
/** @internal */
export declare const ToolExecutionFinishedStreamingEvent$inboundSchema: z.ZodType<ToolExecutionFinishedStreamingEvent, z.ZodTypeDef, unknown>;
export declare function toolExecutionFinishedStreamingEventFromJSON(jsonString: string): SafeParseResult<ToolExecutionFinishedStreamingEvent, SDKValidationError>;
//# sourceMappingURL=toolexecutionfinishedstreamingevent.d.ts.map