import { BeforeEachResult, Route, RouteLocationRaw, Router, RouteRule } from "./types"; import { LifecycleHook, NavType } from "./enums"; export declare function getRouteByPage(page: Page.PageInstance): Route; export declare function info(router: Router, ...args: any[]): void; export declare function error(router: Router, ...args: any[]): void; export declare function debug(router: Router, ...args: any[]): void; export declare function warn(router: Router, ...args: any[]): void; export declare function getCurrentPagePath(): string; export declare function getCurrentPage(): any; export declare function invokeHook(vm: any, name: string, args: any[]): any; export declare function getRouteByPath(router: Router, path: string, query: any, fullPath?: string): any; export declare function getRouteByUrl(url: string, router: Router): any; export declare function formatFullPath(path: string, query: any): string; export declare function lockNavjump(to: RouteLocationRaw, router: Router, navType: NavType, force?: boolean): any; export declare function parseRoutesFromPages({ pages, subPackages }: { pages: any[]; subPackages?: any[]; }): RouteRule[]; export declare function callEachHooks(router: Router, hookType: LifecycleHook, to: Route, from?: Route): Promise; export declare function invokeAfterEach(router: Router, to: Route, from?: Route): Promise; export declare function invokeBeforeEach(router: Router, to: Route, from?: Route): Promise;