import { Router } from '../types/router'; export default function withRouteLifecycle(router: Router): Router;