import { NavigationPath } from "./Path"; import { PathMatcher } from "./Route"; export declare class Router { private readonly _parent; private readonly _addedRoute; static create(): Router; private constructor(); with(matcher: PathMatcher, dataProvider: (args: TNewArgs) => TOut): Router; route(path: NavigationPath): RouteResult | undefined; } export interface RouteResult { args: TArgs; out: TOut; matcher: PathMatcher; } //# sourceMappingURL=Router.d.ts.map