import { JSX } from 'react'; export interface IProtectedProps { isMaybeAuthenticated: boolean; asyncCheckAuthentication: () => Promise; loadingView?: JSX.Element; children: JSX.Element; redirectPath: string; } export type IAuthState = 'authenticated' | 'unknown' | 'unauthenticated'; export declare function Protected({ asyncCheckAuthentication, children, isMaybeAuthenticated, loadingView, redirectPath, }: IProtectedProps): JSX.Element;