/** * 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 { Browser } from '@nocobase/test/e2e'; export declare const apiCreateWorkflow: (data: any) => Promise; export declare const apiUpdateWorkflow: (id: number, data: any) => Promise; export declare const apiDeleteWorkflow: (id: number) => Promise; export declare const apiGetWorkflow: (id: number) => Promise; export declare const apiUpdateWorkflowTrigger: (id: number, data: any) => Promise; export declare const apiCreateWorkflowNode: (workflowId: number, data: any) => Promise; export declare const apiGetWorkflowNode: (id: number) => Promise; export declare const apiUpdateWorkflowNode: (id: number, data: any) => Promise; export declare const apiGetWorkflowNodeExecutions: (id: number) => Promise; export declare const apiUpdateRecord: (collectionName: string, id: number, data: any) => Promise; export declare const apiGetRecord: (collectionName: string, id: number) => Promise; export declare const apiGetList: (collectionName: string) => Promise; export declare const apiFilterList: (collectionName: string, filter: string) => Promise; export declare const apiCreateRecordTriggerFormEvent: (collectionName: string, triggerWorkflows: string, data: any) => Promise; export declare const apiSubmitRecordTriggerFormEvent: (triggerWorkflows: string, data: any) => Promise; export declare const apiGetDataSourceCount: () => Promise; export declare const apiCreateRecordTriggerActionEvent: (collectionName: string, triggerWorkflows: string, data: any) => Promise; export declare const apiTriggerCustomActionEvent: (collectionName: string, triggerWorkflows: string, data: any) => Promise; export declare const apiApplyApprovalEvent: (data: any) => Promise; export declare const apiCreateField: (collectionName: string, data: any) => Promise; export declare const approvalUserPassword = "1a2B3c4#"; export declare const userLogin: (browser: Browser, approvalUserEmail: string, approvalUser: string) => Promise; declare const _default: { apiCreateWorkflow: (data: any) => Promise; apiUpdateWorkflow: (id: number, data: any) => Promise; apiDeleteWorkflow: (id: number) => Promise; apiGetWorkflow: (id: number) => Promise; apiUpdateWorkflowTrigger: (id: number, data: any) => Promise; apiGetWorkflowNodeExecutions: (id: number) => Promise; apiCreateWorkflowNode: (workflowId: number, data: any) => Promise; apiUpdateWorkflowNode: (id: number, data: any) => Promise; apiGetWorkflowNode: (id: number) => Promise; apiUpdateRecord: (collectionName: string, id: number, data: any) => Promise; apiGetRecord: (collectionName: string, id: number) => Promise; apiGetList: (collectionName: string) => Promise; apiCreateRecordTriggerFormEvent: (collectionName: string, triggerWorkflows: string, data: any) => Promise; apiSubmitRecordTriggerFormEvent: (triggerWorkflows: string, data: any) => Promise; apiFilterList: (collectionName: string, filter: string) => Promise; apiGetDataSourceCount: () => Promise; apiCreateRecordTriggerActionEvent: (collectionName: string, triggerWorkflows: string, data: any) => Promise; apiApplyApprovalEvent: (data: any) => Promise; userLogin: (browser: Browser, approvalUserEmail: string, approvalUser: string) => Promise; apiCreateField: (collectionName: string, data: any) => Promise; apiTriggerCustomActionEvent: (collectionName: string, triggerWorkflows: string, data: any) => Promise; approvalUserPassword: string; }; export default _default;