import { deprecated , flow , createFlowSpawner } from "../internal" ; const DEPRECATION_MESSAGE = "See https://github.com/mobxjs/mobx-state-tree/issues/399 for more information. " + "Note that the middleware event types starting with `process` now start with `flow`." ; deprecated hidden export function process < R > ( generator ) ; deprecated hidden export function process < A1 > ( generator ) ; deprecated hidden export function process < A1 , A2 > ( generator ) ; deprecated hidden export function process < A1 , A2 , A3 > ( generator ) ; deprecated hidden export function process < A1 , A2 , A3 , A4 > ( generator ) ; deprecated hidden export function process < A1 , A2 , A3 , A4 , A5 > ( generator ) ; deprecated hidden export function process < A1 , A2 , A3 , A4 , A5 , A6 > ( generator ) ; deprecated hidden export function process < A1 , A2 , A3 , A4 , A5 , A6 , A7 > ( generator ) ; deprecated hidden export function process < A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 > ( generator ) ; hidden deprecated returns { Promise } export function process ( asyncAction ) { deprecated ( "process" , "`process()` has been renamed to `flow()`. " + DEPRECATION_MESSAGE ) ; return flow ( asyncAction ) ; } internal hidden export function createProcessSpawner ( name , generator ) { deprecated ( "process" , "`createProcessSpawner()` has been renamed to `createFlowSpawner()`. " + DEPRECATION_MESSAGE ) ; return createFlowSpawner ( name , generator ) ; }