/** * Routing Api * * @module routing/api */ export { APIRouteHandler } from "./handler.js"; export type { APIContext, APIHandler, APIResponse, APIRoute } from "./handler.js"; export { ApiRouteMatcher } from "./api-route-matcher.js"; export type { Route, RouteMatch } from "./api-route-matcher.js"; export { discoverAppRoutes, discoverPagesRoutes } from "./route-discovery.js"; export { badRequest, forbidden, internalServerError as serverError, jsonResponse as json, notFound, redirectResponse as redirect, unauthorized, } from "../../platform/compat/http/responses.js"; export { applyCORSHeaders, handleCORSPreflight } from "../../security/index.js"; export { createContext, normalizeParams, parseCookies } from "./context-builder.js"; export type { APIContext as APIContextType } from "./context-builder.js"; //# sourceMappingURL=index.d.ts.map