/**
 * Zen API — Public Surface
 *
 * Exports the router entry point, auth helpers, response utilities,
 * the route definition helper, and the feature routes registry.
 */

// Router
export { routeRequest, requireAuth, requireAdmin } from './router.js';

// Runtime state — session resolver + feature routes registry
export { configureRouter, getSessionResolver, clearRouterConfig, registerApiRoutes, registerFeatureRoutes, getFeatureRoutes, clearFeatureRoutes } from './runtime.js';

// Response utilities — use in all handlers (core and modules)
export { apiSuccess, apiError, getStatusCode } from './respond.js';

// Route definition helper — use in handler files and module api.js files
export { defineApiRoutes } from './define.js';
