import { SubFlowMachineContext } from './types'; import StoreAPI from '../store'; export default class Actions { private storeApi; constructor(storeApi: StoreAPI); onCheckStart(context: SubFlowMachineContext, event: any, flowName: string, runInFlowTypes?: Array): Promise; onFinal(context: SubFlowMachineContext): void; onCheckDone(context: SubFlowMachineContext, event: any): Promise; onCheckError(context: SubFlowMachineContext, event: any, mandatory?: boolean): Promise; onCheck(context: SubFlowMachineContext, event: any, onCheckHandler: Function): any; }