import { FetchStateAndError, ID } from '../../../commonStateTypes/common'; import { Actor } from '../../../entity/approvalRule/approvalRuleState'; import { ApprovalActionType, StepOperatorType } from '../../../entity/approvalRule/approvalStepTypes'; import { EntityType as SpendManagementEntityType } from '../../../entity/entityApprovalStatus/entityApprovalStatusState'; import { EntityType } from '../../../entity/entityApprovalStatus/entityApprovalStatusState'; export declare const getEntityRealTimeApprovalDetailKey: (entityId: ID, entityType: SpendManagementEntityType) => string; type EntityRealTimeApprovalDetailKey = ReturnType; export interface RealTimeStepsData { action: ApprovalActionType; actors: Actor[]; operator: StepOperatorType; stepCreatorId: ID; stepPosition: number; } export interface RealTimeApprovalDetailLocalData { entityApprovalId: ID; entityType: EntityType; realTimeSteps: RealTimeStepsData[]; description?: string; } interface RealTimeApprovalView extends FetchStateAndError { isEditMode: boolean; realTimeApproverIds: ID[]; } export interface RealTimeApprovalState { realTimeApprovalById: Record; } export {};