/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import type { WorkflowModel } from './types'; import Processor from './Processor'; export declare function getExecutionStatusName(status: number | null | undefined): string; export declare function getWorkflowExecutionLogMeta(workflow: WorkflowModel, processor?: Processor): { workflowId: number; workflowKey: string; workflowTitle: string; executionId: number; executionStatus: number; executionStatusName: string; lastNodeId: number; lastNodeType: string; lastJobId: number; lastJobStatus: number; }; export declare function toJSON(data: any): any;