import { LocationSelector } from '../../types'; declare type RouteHandlers = { [template: string]: GeneratorFunction; }; /** * Automatically invokes all given sagas for given event */ export declare function runSagas(sagas: { [actionType: string]: GeneratorFunction; }): IterableIterator>; /** * Dependecies saga runner that runs sagaHandler for given route path if matches template * Sagas: {'template': sagaHandler} */ export declare function runRouteDependencies(handlers: RouteHandlers, selector?: LocationSelector): IterableIterator>; export declare function runRouteActions(handlers: RouteHandlers, selector: LocationSelector): IterableIterator>>; /** * Saga to refresh route dependecies after action is done */ export declare function routeRefresh(initType: string | string[], type: string, handlers: RouteHandlers): IterableIterator; export {};