import { Route, RouterView } from './router-view'; type Module = { default: string; }; type CSSItem = CSSStyleSheet | Module | string; export declare class Router { el: RouterView; constructor(options: { routes: Route[]; renderTo: string; css?: CSSItem[]; base?: string; hash?: boolean; }); params: Record; query: Record; hash: string; currentRoute: Route | null; beforeEach(callback: Function): void; afterEach(callback: Function): void; push(path: string): void; replace(path: string): void; go(n: number): void; back(): void; forward(): void; } export {};