import { PropsWithChildren } from 'react';
/**
 * AuthGuard component
 * @param state - AuthGuardState Enum value to determine the state of the user
 * @returns - LoadingPage component with a message based on the state of the user
 *
 *  - If the user is authenticated, it returns the RouterProvider component
 *
 * - If the user is uninitialized, it returns a LoadingPage component with a message of 'Initializing'
 *
 * - If the user is redirecting to logout, it returns a LoadingPage component with a message of 'Redirecting to logout'
 *
 * - If the user session has expired (idle tab / throttled refresh), it returns
 *   a SessionExpiredPage instead of auto-redirecting to Keycloak.
 *
 * - If the user is in any other state, it renders children.
 *
 * @example  ```
 * <AuthGuard>
 *   <App />
 * </AuthGuard>
 * ```
 */
export declare const AuthGuard: ({ children }: PropsWithChildren) => string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
//# sourceMappingURL=auth-guard.d.ts.map