import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service'; import { DataSource } from 'typeorm'; import { WorkflowRepository } from '../repository/workflow.repository'; import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { UserData } from 'src/module/user/entity/user.entity'; import { ListMasterService } from 'src/module/listmaster/service/list-master.service'; import { Workflow } from '../entity/workflow.entity'; import { StageGroupService } from './stage-group.service'; export declare class WorkflowService extends EntityServiceImpl { private readonly dataSource; private readonly workflowRepository; private readonly listMasterService; private readonly stateGroupService; constructor(dataSource: DataSource, workflowRepository: WorkflowRepository, listMasterService: ListMasterService, stateGroupService: StageGroupService); getAllWorkflows(entity_type: string, level_id: string, level_type: string): Promise; getWorkflowById(id: number): Promise; updateEntity(entityData: BaseEntity, loggedInUser: UserData): Promise; deleteWorkflowById(id: number): Promise<{ message: string; }>; deleteEntity(entityType: string, id: number, loggedInUser: UserData): Promise; updateSequence(body: any[], loggedInUser: any): Promise<{ updated: number; results: { id: any; success: boolean; result?: any; error?: string; }[]; }>; }