import { IRoute, IRouterOption, IClientAppMeta } from "./interfaces"; import { RouteStore, RouterLifeCycleEvent } from "./types"; import { Route } from "./route"; export declare class Router { private _nextPath_; private _prevPath_; private _splittedPath_; private _isNavigatedByBrowser_; private _eventBus_; private _isStart_; private _matched_; private _routeManager_; private _option_; history: History; private _isHistoryMode_; currentRoute: Route; constructor(routes: RouteStore, option?: IRouterOption); private _activeRouterViewSet_; private _pathVisited_; createMetaTag(clientMeta?: IClientAppMeta): void; gotoPath(path: string): Promise; goto(to: IRoute): Promise; private _initRoute_; private _routeFromUrl_; private _emitBeforeEach_; private _changeRoute_; back(): void; go(delta?: number): void; on(event: RouterLifeCycleEvent, cb: Function): this; off(event: string, cb: Function): void; emit(event: string, ...data: any[]): Promise; private _emitNavigate_; private _emitAfterEach_; private _emitNotFound_; }