import { TypedMap } from '../utils/objects'; import { AnyWidget } from './construct'; export interface RouteHandler { route: string; callback: Function; } export declare const routeListeners: TypedMap; export declare const navigate: (path: string) => void; export declare const runRoutes: () => void; export declare const Route: (route: string) => (proto: AnyWidget, method: string) => void;