import type { ExoticComponent, ReactElement } from "react"; export type IRouteProps = { privateRoute?: boolean; index?: boolean; path?: string; component: ExoticComponent; }; export type IRouteMatchParams = Record; export type IRouteMatch = { params: RouteMatchParams; isIndex: boolean; path: string; url: string; }; export type IRenderRoutes = (routes: RouteProps[]) => ReactElement; export declare function renderRoutes(routes: RouteProps[]): never;