/** * Strip the basename from a pathname if exists. * * Vendored and modified from `react-router` * https://github.com/remix-run/react-router/blob/462bb712156a3f739d6139a0f14810b76b002df6/packages/router/utils.ts#L1038 */ export declare function stripBasenameFromPathname(pathname: string, basename: string): string; /** * Matches a pathname against a route manifest and returns the matching pattern. * Optionally strips a basename prefix before matching. */ export declare function matchRouteManifest(pathname: string, manifest: string[], basename?: string): string | null; //# sourceMappingURL=route-manifest.d.ts.map