/// import { IFlowModulesProps } from '../../common'; import { IFlowControlConfigKey, IFlowAfterAction } from './config'; export type IFlowControlModel = ReturnType; /** 流程控制主model, 包含一些公共状态或方法 */ export declare function useFlowControlModel(params: IFlowModulesProps): { getApprovalFormData: () => Promise; clearFormData: () => void; hasGoBack: boolean; applyCcUser: string[]; triggerFlowTaskInfo: any; setApplyCcUser: import("react").Dispatch>; completeTask: (value: { actionKey: IFlowControlConfigKey; buttonAction: number; afterAction: IFlowAfterAction; data: Record; setLoadingState?: (state: boolean) => void; successCallback?: () => void; }) => Promise; onAfterFinishFlowAction: (currentActionKey: IFlowControlConfigKey, afterAction: IFlowAfterAction) => void; };