import React from 'react'; export interface IRouteProps { [key: string]: any; pathName: string; urlPath: string; Component: React.ReactElement; nestedComponents?: IRouteProps[]; } export declare type IRouteFunction = (props: IRouteProps) => JSX.Element; export declare type MapRouterProps = { routes: IRouteProps[]; topScroll?: boolean; browserRouter?: boolean; }; export declare type MapRouterFunction = (props: MapRouterProps) => JSX.Element;