import type { AnyRouteMetaData } from './serialize'; export interface JsonRenderOptions { /** * Number of spaces per indent level. * @default 2 */ indent?: number; } /** * Renders a parsed route list as pretty-printed JSON. * * Handles the special case of `RouteMetaData['path']` being a `RegExp` * (which would otherwise serialize as `{}`) by converting it to its string * form via `RegExp.prototype.toString()`. */ export declare const renderRoutesAsJson: (routes: AnyRouteMetaData[], options?: JsonRenderOptions) => string;