import type { IRouter, IRouterResult } from '@iopa/types'; interface IHint { components: string[]; regExpComponents: Array; componentsLength: number; endWithWildcard: boolean; paramIndexList: number[]; maybeHandler: boolean; namedParams: [number, string, string][]; } interface IHandlerWithSortIndex { handler: T; index: number; componentsLength: number; } interface IRoute { method: string; path: string; hint: IHint; handlers: IHandlerWithSortIndex[]; middleware: IHandlerWithSortIndex[]; paramAliasMap: Record; } export declare class RegExpRouter implements IRouter { routeData?: { index: number; routes: IRoute[]; methods: Set; }; add(method: string, path: string, handler: T): void; match(method: string, path: string): IRouterResult | null; private _buildAllMatchers; private _buildMatcher; } export {}; //# sourceMappingURL=router.d.ts.map