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 Product: {
    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 Product = ClosedEnum<typeof Product>;
export type Memory = {
    entityId: string;
};
export type ToolExecutionContext = {
    actionId: string;
    agentToolCallId: string;
    workspaceId: string;
    agentManifestId: string;
    agentExecutionId: string;
    /**
     * Orquesta product
     */
    product: Product;
    memory?: Memory | undefined;
    parentId?: string | undefined;
    variables?: {
        [k: string]: any;
    } | undefined;
    secretKeys?: Array<string> | undefined;
};
export type ToolExecutionStartedStreamingEventData = {
    toolId: string;
    toolKey?: string | undefined;
    toolDisplayName?: string | undefined;
    toolDescription?: string | null | undefined;
    actionType: string;
    toolArguments: {
        [k: string]: any;
    };
    toolExecutionContext: ToolExecutionContext;
    responseId?: string | undefined;
    workflowRunId: string;
    stream?: boolean | undefined;
};
/**
 * Emitted when a tool begins execution. Contains the tool ID, name, action type, input arguments, and execution context.
 */
export type ToolExecutionStartedStreamingEvent = {
    type: "event.workflow_events.tool_execution_started";
    /**
     * ISO timestamp of the event
     */
    timestamp: string;
    data: ToolExecutionStartedStreamingEventData;
};
/** @internal */
export declare const Product$inboundSchema: z.ZodNativeEnum<typeof Product>;
/** @internal */
export declare const Memory$inboundSchema: z.ZodType<Memory, z.ZodTypeDef, unknown>;
export declare function memoryFromJSON(jsonString: string): SafeParseResult<Memory, SDKValidationError>;
/** @internal */
export declare const ToolExecutionContext$inboundSchema: z.ZodType<ToolExecutionContext, z.ZodTypeDef, unknown>;
export declare function toolExecutionContextFromJSON(jsonString: string): SafeParseResult<ToolExecutionContext, SDKValidationError>;
/** @internal */
export declare const ToolExecutionStartedStreamingEventData$inboundSchema: z.ZodType<ToolExecutionStartedStreamingEventData, z.ZodTypeDef, unknown>;
export declare function toolExecutionStartedStreamingEventDataFromJSON(jsonString: string): SafeParseResult<ToolExecutionStartedStreamingEventData, SDKValidationError>;
/** @internal */
export declare const ToolExecutionStartedStreamingEvent$inboundSchema: z.ZodType<ToolExecutionStartedStreamingEvent, z.ZodTypeDef, unknown>;
export declare function toolExecutionStartedStreamingEventFromJSON(jsonString: string): SafeParseResult<ToolExecutionStartedStreamingEvent, SDKValidationError>;
//# sourceMappingURL=toolexecutionstartedstreamingevent.d.ts.map