import { IRoute } from './interfaces'; import { IDictionary } from '../utils'; /** * Class that encapsulate a router defined by user */ export declare class Router { private static instance; static setInstance(instance: any): void; private static callInstanceMethod; static push(path: any, onComplete?: Function, onAbort?: any): void; static replace(path: any, onComplete?: Function, onAbort?: any): void; static back(): void; static getCurrentRoute(): IRoute; static getPath(): string; static getHash(): string; static getQuery(): IDictionary; static getParams(): IDictionary; static getFullPath(): string; static afterEach(hook: (to: any, from: any) => any): any; }