/// import { RouteProps } from 'react-router-dom'; export default function PrivateRoute({ children, ...rest }: RouteProps): JSX.Element | null;