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