import type { Params } from "react-router"; import type { ServerRoute } from "./routes"; export interface RouteMatch { params: Params; pathname: string; route: Route; } export declare function matchServerRoutes(routes: ServerRoute[], pathname: string, basename?: string): RouteMatch[] | null;