/** * File-system routing — dynamic route matching, slug/path mapping, API route * handlers with CORS/cookie support, and client-side navigation utilities. * * @module routing */ export type { Route, RouteMatch } from "./matchers/index.js"; export { flattenRouteParams } from "./flatten-route-params.js"; export { getSpecificityScore, matchRoute, normalizePath, PageRouteMatcher, parseRoute, } from "./matchers/index.js"; export type { PathCandidates, RouteParams } from "./slug-mapper/index.js"; export { extractParams, getPathCandidates, getSlugFromPath, getSupportedExtensions, isDynamicRoute, matchesPattern, normalizeSlug, pathToSlug, slugToPath, } from "./slug-mapper/index.js"; export type { RouteData, SpaPageData } from "./client/index.js"; export { extractPageDataFromScript, NavigationHandlers, PageLoader, PageTransition, snapshotClientRouteHead, ViewportPrefetch, } from "./client/index.js"; export type { APIContext, APIHandler, APIResponse, APIRoute } from "./api/index.js"; export { APIRouteHandler, ApiRouteMatcher, applyCORSHeaders, badRequest, createContext, discoverAppRoutes, discoverPagesRoutes, forbidden, handleCORSPreflight, json, normalizeParams, notFound, parseCookies, redirect, serverError, unauthorized, } from "./api/index.js"; //# sourceMappingURL=index.d.ts.map