import { Action } from 'hyperapp'; interface OnRouteChangedArgs { action: Action; } declare const onRouteChanged: (args: OnRouteChangedArgs) => (OnRouteChangedArgs | ((dispatch: any, { action }: OnRouteChangedArgs) => () => void))[]; export default onRouteChanged;