import type { FC } from 'react'; import { GuardRouteProps } from './GuardRoute.types'; /** * @function * @name GuardRoute * @param {{children: React.ReactComponentElement, redirect: string, isAuthenticated: boolean}} * - children: children components that are intended to by rendered * - redirect: redirection path if the user is not authenticated * - isAuthenticated: true if user is authenticated, false otherwise. * @returns GuardUserGroup components depending on which user is authenticated * @author: Juan Sebastian Perea [Juanse1595] (https://github.com/Juanse1595) * @author: Juan David Avila Caycedo [JuanDAC] (https://github.com/JuanDAC) */ export declare const GuardRoute: FC;