import type { ParamIndexMap, Result, Router } from '../../router'; export type HandlerData = [T, ParamIndexMap][]; export type StaticMap = Record>; export type Matcher = [RegExp, HandlerData[], StaticMap]; export type MatcherMap = Record | null>; export declare const emptyParam: string[]; export declare function match, T>(this: R, method: string, path: string): Result;