import { Interpreter, AnyEventObject } from 'xstate'; import StoreAPI from '../store'; import { SubFlowsConfig } from './types'; declare class FlowMachineAPI { readonly storeApi: StoreAPI; readonly service: Interpreter; machineConfig: any; constructor(flowsConfig: SubFlowsConfig, storeApi: StoreAPI); initialMachine(flowsConfig: any): Interpreter<{ runInFlowTypes: string[] | undefined; currentFlowToCheck: string; error: boolean; }, any, AnyEventObject, any>; } export default FlowMachineAPI;