import type { ParamIndexMap, Router } from '../../router'; import type { MatcherMap } from './matcher'; import { match } from './matcher'; 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; export {};