import { RouteProps } from 'react-router-dom'; /** * @interface PrivateRouteProps * @param {string} loginPath The Login route where redirect if not authenticated */ interface PrivateRouteProps { /** * The Login route where redirect if not authenticated */ loginPath: string; } /** * PrivateRoute Component * @param {PrivateRouteProps & RouteProps} props */ declare function PrivateRoute(props: PrivateRouteProps & RouteProps): JSX.Element; export default PrivateRoute;