import type { Router } from '../../router'; import type { MatcherMap } from './matcher'; import { match } from './matcher'; export declare class RegExpRouter implements Router { name: string; constructor(); add(method: string, path: string, handler: T): void; match: typeof match, T>; protected buildAllMatchers(): MatcherMap; }