import { FC, ReactNode } from 'react'; import { ruleExplainItem } from '../SRulesText'; import './index.less'; interface IHooksCustomFlowProcessProps { flowKey: string; currentNodeId: string; procInstId: string; isEnd: boolean; taskId: string; rulesSet?: (list?: any[], typeTitle?: string, title?: string) => void; /** 价值与标准标题 */ baseCardTitle?: string | ReactNode | (() => ReactNode) | null; /** 角色标题 */ rolesTitle?: string | ReactNode | (() => ReactNode) | null; /** 业务标题 */ businessTitle?: string | ReactNode | (() => ReactNode) | null; /** 角色和业务接口地址 */ roleBusinessURL?: string; /** 角色和业务接口入参 */ roleBusinessData?: {}; /** 价值指标接口地址 */ sceneValueURL?: string; /** 价值指标接口入参 */ sceneValueData?: {}; businessKey?: string; /** 任务编码 */ businessCodes?: any[]; /** 同 businessConfig等数据结构*/ cameraSceneVendorRoleBusiness?: any; /** 是否合并传递的cameraSceneVendorRoleBusiness数据 */ isMergeData?: boolean; /** 审批操作节点node */ customProssNode?: ReactNode | (() => ReactNode) | null; /** 抽屉标题 */ customDrawerTitle?: string | ReactNode | (() => ReactNode) | null; /** 任务数据 */ customTaskDataNode?: ReactNode | ((value?: ReactNode) => ReactNode) | null; businessList?: any[]; /** 场景价值任务 */ localTaskDataList?: any; apiType?: string; dataList?: any; onSetBizList?: (list: any[]) => void; /** 向父组件传递当前节点传递需要埋点的数据集合 */ getTrackList?: (list: any[]) => void; ruleExplainList?: ruleExplainItem[]; scenarioDataRender?: () => ReactNode; tasksToolRender?: () => ReactNode; title?: string | (() => ReactNode); iconConfig?: { taskType?: 'tmsTaskTypeBasic' | 'tmsTaskTypeHighValue' | 'tmsTaskTypeCultural'; onlineFlag?: boolean; status?: 'approved' | 'approving' | 'waitApprove'; executType?: number; }; } declare const SYFlowPage: FC; export default SYFlowPage; export { SYFlowPage };