export interface IComponentRoute { [k: string]: string; } export interface IRoute { [k: string]: { tag: string; attrs: { [k: string]: string; }; }; } export declare class Router { route: IRoute; constructor(); parse(loc: string): IRoute; back(): void; go(arg1: any, arg2?: any, arg3?: any): string; } export declare const router: Router;