import type { RouteMetaData, RouteMetaDataMulti, ExpressRegex } from '../types'; /** * Renderers accept either single-metadata or multi-metadata route arrays — * use this union as the input type. */ export type AnyRouteMetaData = RouteMetaData | RouteMetaDataMulti; /** * Convert a route's `path` field (which may be a string, string[], or RegExp) * to a display-safe string. Used by all renderers for consistent path display. */ export declare const pathToString: (path: string | string[] | ExpressRegex) => string; /** * Stringify metadata for non-JSON renderers. Returns `undefined` if no * metadata is present (single-mode) or the array is empty (multi-mode). */ export declare const metadataToString: (route: AnyRouteMetaData) => string | undefined;