import { ILeaveUpdateDto } from "../../api"; import { LeaveActionEnum } from "../enums/leave_action_enum"; import { LeaveStatusEnum } from "../enums/leave_status_enum"; import { ILeaveEntity } from "../interface/leave.entity.interface"; import { LeaveEntityModel } from "../model/leave.entity.model"; import { FlowConfig } from "./flow-config.type"; export interface ILeaveFlowConfigContextData { leaveEntity?: LeaveEntityModel; } export type ILeaveFlowContextData = { currentTimesheet?: ILeaveEntity; dto?: ILeaveUpdateDto; }; export type ILeaveFlowConfig = FlowConfig; /** * The commented-out entries below are kept verbatim from the legacy config, in the old inline * `{ permissions, next }` shape, rather than converted. There are eight of them across five status * blocks plus two whole commented status blocks (DELETED, REJECTED); rewriting all of them would add * a lot of dead consts for transitions nobody has decided to revive. Reviving any of them means * writing a `transition…Action` const and, for READ, giving it a real reachable set in ACTION_MAP. */ export declare const leaveFlowConfig: FlowConfig;