import { Workflow } from "./agent.types";
export type WorkflowLog = {
    id: string;
    chatId: string;
    msgId: string;
    toolCallId: string;
    status: "pending" | "running" | "pause" | "completed" | "failed";
    workflow: Workflow;
    steps: WorkflowStep[];
    result: string;
    createdAt: number;
    updatedAt: number;
};
export interface WorkflowStep {
    title: string;
    agentId: string;
    agentName: string;
    status: string;
    items: WorkflowStepItem[];
}
export interface WorkflowStepItem {
    nodeId?: string;
    type?: string;
    toolCallId?: string;
    toolName?: string;
    params?: Record<string, any>;
    streamId: string;
    streamDone: boolean;
    text?: string;
    logType: string;
    describe?: string;
    deploymentStatus?: string;
    status?: string;
    toolResult?: {
        content: Array<{
            type: string;
            text: string;
        }>;
        isError: boolean;
    };
}
//# sourceMappingURL=workflow-logs.types.d.ts.map