1 | import { RestRouterOptions } from './rest-router';
|
2 | import { ResolvedRoute, RouteEntry } from './route-entry';
|
3 | import { BaseRouter } from './router-base';
|
4 | /**
|
5 | * Router implementation based on trie
|
6 | */
|
7 | export declare class TrieRouter extends BaseRouter {
|
8 | private trie;
|
9 | constructor(options?: RestRouterOptions);
|
10 | protected addRouteWithPathVars(route: RouteEntry): void;
|
11 | protected findRouteWithPathVars(verb: string, path: string): ResolvedRoute | undefined;
|
12 | protected listRoutesWithPathVars(): RouteEntry[];
|
13 | }
|