type APIRouteParamValue = string | string[]; type APIRouteParams = Record; interface APIRouteMatch { route: T; params: APIRouteParams; } declare function matchAPIRoute(routes: Map, pathname: string): APIRouteMatch | null; export { type APIRouteMatch as A, type APIRouteParams as a, type APIRouteParamValue as b, matchAPIRoute as m };