import { SourceColumnDto, SqlService } from '@servicelabsco/nestjs-utility-services'; import { BusinessPreferenceService } from '../../access/services/business.preference.service'; import { WorkflowStepEntity } from '../entities/workflow.step.entity'; import { WorkflowUserEntity } from '../entities/workflow.user.entity'; export declare class WorkflowStepService { private readonly sqlService; private readonly businessPreferenceService; constructor(sqlService: SqlService, businessPreferenceService: BusinessPreferenceService); getNextApprovedApproval(approval: WorkflowStepEntity): Promise; getMaxApprovalLevel(source: SourceColumnDto, stageLevelId: number): Promise; setManualApproval(source: SourceColumnDto, businessId: number, levelId: number, level: number, userId: number, reason?: string, isNewApprover?: boolean): Promise; private setApprovalUser; setApprovalContext(source: SourceColumnDto): Promise; private getActiveApproval; private getNextPendingLevel; private autoApproveUsersBetweenApprovals; private forwardPastUserStatus; private getUserPreviousStatus; private autoApproveWorkflowUser; private cascadeUserActivityToStep; }