/** * The Router module for the Werkbank framework. * * @remarks * This module provides a type-safe, schema-based router for React applications. * It supports nested routes, search parameter validation (via Valibot), * code splitting (lazy loading), and preloading. * * Key exports: * - {@link createRouter}: Factory function to create a router instance. * - {@link createLinks}: Utility to generate type-safe link builders. * - {@link Link}: A type-safe Link component. * - {@link useNavigation}: Hook for programmatic navigation. */ export { createLinks } from "./createLinks/createLinks"; export { createRouter } from "./createRouter/createRouter"; export { Link } from "./link/link"; export { useNavigation } from "./navigation/hook"; export { Router } from "./router/router"; export type { InferredRouterConfig, InferredRouteConfig, Links, RouteConfig, RoutesConfig, PathPattern, } from "./types";