/**
 * @rangojs/router
 *
 * Single user-facing entrypoint for all router APIs.
 *
 * The "react-server" export condition selects index.rsc.ts (real implementations)
 * vs this file (client stubs for server-only functions).
 *
 * For client-only exports (Outlet, useOutlet, hooks, components):
 *   import from "@rangojs/router/client"
 */
export { renderSegments } from "./segment-system.js";
export { RouteNotFoundError, DataNotFoundError, notFound, MiddlewareError, HandlerError, BuildError, InvalidHandlerError, NetworkError, isNetworkError, sanitizeError, RouterError, } from "./errors.js";
export type { DocumentProps, RouterEnv, DefaultEnv, RouteDefinition, RouteConfig, RouteDefinitionOptions, TrailingSlashMode, Handler, // Supports params object, path pattern, or route name
ScopedRouteMap, // Scoped view of GeneratedRouteMap for Handler<"localName", ScopedRouteMap<"prefix">>
HandlerContext, ExtractParams, GenericParams, Middleware, RevalidateParams, Revalidate, RouteKeys, LoaderDefinition, LoaderFn, LoaderContext, FetchableLoaderOptions, LoadOptions, LoaderActionContext, LoaderAction, LoaderMiddlewareFn, ErrorInfo, ErrorBoundaryFallbackProps, ErrorBoundaryHandler, ClientErrorBoundaryFallbackProps, NotFoundInfo, NotFoundBoundaryFallbackProps, NotFoundBoundaryHandler, ErrorPhase, OnErrorContext, OnErrorCallback, } from "./types.js";
export type { SearchSchema, SearchSchemaValue, ResolveSearchSchema, RouteSearchParams, RouteParams } from "./search-params.js";
export { createLoader } from "./loader.js";
export type { RouteHelpers, RouteHandlers } from "./route-definition.js";
export type { ResponseHandler, ResponseHandlerContext, JsonResponseHandler, TextResponseHandler, JsonValue, ResponsePathFn, JsonResponsePathFn, TextResponsePathFn, RouteResponse, ResponseError, ResponseEnvelope, } from "./urls.js";
export type { MiddlewareContext, CookieOptions, } from "./router/middleware.js";
/**
 * Error-throwing stub for server-only `urls` function.
 */
export declare function urls(): never;
/**
 * Error-throwing stub for server-only `createRouter` function.
 */
export declare function createRouter(): never;
/**
 * Error-throwing stub for server-only `redirect` function.
 */
export declare function redirect(): never;
export { createHandle, isHandle, type Handle } from "./handle.js";
/**
 * Error-throwing stub for server-only `Prerender` function.
 */
export declare function Prerender(): never;
/**
 * Error-throwing stub for server-only `Static` function.
 */
export declare function Static(): never;
/**
 * Error-throwing stub for server-only `getRequestContext` function.
 */
export declare function getRequestContext(): never;
/**
 * Error-throwing stub for server-only `requireRequestContext` function.
 */
export declare function requireRequestContext(): never;
/**
 * Error-throwing stub for server-only `createReverse` function.
 */
export declare function createReverse(): never;
/**
 * Error-throwing stub for server-only `enableMatchDebug` function.
 */
export declare function enableMatchDebug(): never;
/**
 * Error-throwing stub for server-only `getMatchDebugStats` function.
 */
export declare function getMatchDebugStats(): never;
/**
 * Error-throwing stub for server-only `track` function.
 */
export declare function track(): never;
export type { RequestContext } from "./server/request-context.js";
export type { MetaDescriptor, MetaDescriptorBase } from "./router/types.js";
export type { ScopedReverseFunction, ReverseFunction, ExtractLocalRoutes, PrefixedRoutes, PrefixRoutePatterns, ParamsFor, SanitizePrefix, MergeRoutes } from "./reverse.js";
export { scopedReverse } from "./reverse.js";
export { createLocationState, type LocationStateDefinition, type LocationStateEntry, } from "./browser/react/location-state-shared.js";
export type { PathResponse } from "./href-client.js";
//# sourceMappingURL=index.d.ts.map