import { z } from 'zod'; import { AIProviderName } from '../../management/ai-providers'; export * from './tools'; export * from './mcp'; export * from './mcp-tool-name-util'; export declare enum AgentOutputFieldType { TEXT = "text", NUMBER = "number", BOOLEAN = "boolean" } export declare enum AgentTaskStatus { COMPLETED = "COMPLETED", FAILED = "FAILED", IN_PROGRESS = "IN_PROGRESS" } export declare enum ContentBlockType { MARKDOWN = "MARKDOWN", TOOL_CALL = "TOOL_CALL" } export declare enum ToolCallStatus { IN_PROGRESS = "in-progress", COMPLETED = "completed" } export declare enum ExecutionToolStatus { SUCCESS = "SUCCESS", FAILED = "FAILED" } export declare enum ToolCallType { PIECE = "PIECE", FLOW = "FLOW", MCP = "MCP", KNOWLEDGE_BASE = "KNOWLEDGE_BASE", UNKNOWN = "UNKNOWN" } export declare const AgentOutputField: z.ZodObject<{ displayName: z.ZodString; description: z.ZodOptional; type: z.ZodEnum; }, z.core.$strip>; export type AgentOutputField = z.infer; export type AgentResult = { prompt: string; steps: AgentStepBlock[]; status: AgentTaskStatus; structuredOutput?: unknown; }; export declare enum AgentPieceProps { AGENT_TOOLS = "agentTools", STRUCTURED_OUTPUT = "structuredOutput", PROMPT = "prompt", MAX_STEPS = "maxSteps", AI_PROVIDER_MODEL = "aiProviderModel", WEB_SEARCH = "webSearch", WEB_SEARCH_OPTIONS = "webSearchOptions" } export type AgentProviderModel = { provider: AIProviderName; model: string; }; export declare const MarkdownContentBlock: z.ZodObject<{ type: z.ZodLiteral; markdown: z.ZodString; }, z.core.$strip>; export type MarkdownContentBlock = z.infer; declare const ToolCallBaseSchema: z.ZodObject<{ type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>; export type ToolCallBase = z.infer; export declare const ToolCallContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{ toolCallType: z.ZodLiteral; pieceName: z.ZodString; pieceVersion: z.ZodString; actionName: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; externalFlowId: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; serverUrl: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; sourceType: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>], "toolCallType">; export type ToolCallContentBlock = z.infer; export declare const AgentStepBlock: z.ZodUnion; markdown: z.ZodString; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ toolCallType: z.ZodLiteral; pieceName: z.ZodString; pieceVersion: z.ZodString; actionName: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; externalFlowId: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; serverUrl: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; sourceType: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ toolCallType: z.ZodLiteral; displayName: z.ZodString; type: z.ZodLiteral; input: z.ZodOptional>>; output: z.ZodOptional; toolName: z.ZodString; status: z.ZodEnum; toolCallId: z.ZodString; startTime: z.ZodString; endTime: z.ZodOptional; }, z.core.$strip>], "toolCallType">]>; export type AgentStepBlock = z.infer; //# sourceMappingURL=index.d.ts.map