import { ReactNode } from 'react';
interface RequireAuthProps {
children: ReactNode;
/** Redirect path for unauthenticated users */
redirectTo?: string;
/** Custom loading state while checking auth */
fallback?: ReactNode;
}
/**
* Guard component that requires authentication.
* Redirects to login if not authenticated.
*
* @example
* ```tsx
*
*
*
*
* // With custom redirect
*
*
*
*
* // With custom loading
* }>
*
*
* ```
*/
export declare const RequireAuth: import('react').MemoExoticComponent<({ children, redirectTo, fallback }: RequireAuthProps) => import("react/jsx-runtime").JSX.Element>;
export {};