import { Fun, Unit } from './widget'; export interface Route { path?: string; paramsToRoute: Fun; } export interface Routes extends Array> { } export declare const route: (path: string, paramsToRoute: Fun) => Route; export declare const notFoundRouteCase: (makeRoute: Fun) => Route;