import { ParamIndexMap, Router } from "../../router.js"; import { MatcherMap, match } from "./matcher.js"; //#region src/router/reg-exp-router/prepared-router.d.ts type RelocateMap = Record; export declare class PreparedRegExpRouter implements Router { name: string; constructor(matchers: MatcherMap, relocateMap: RelocateMap); add(method: string, path: string, handler: T): void; protected buildAllMatchers(): MatcherMap; match: typeof match, T>; } export declare const buildInitParams: (params: { paths: string[]; }) => ConstructorParameters; export declare const serializeInitParams: (params: ConstructorParameters) => string; //#endregion export {};