interface SuperAdminGuardProps { children: React.ReactNode; fallback?: React.ReactNode; } /** * SuperAdminGuard Component * * Protects components/pages that should only be accessible to superadmin or developer users. * Developer users (hierarchy: 100) can access Admin Panel as they have the highest level of access. * Provides a fallback UI for unauthorized access attempts. * * @param children - Components to render if user is superadmin or developer * @param fallback - Custom fallback component (optional) */ export declare function SuperAdminGuard({ children, fallback }: SuperAdminGuardProps): import("react/jsx-runtime").JSX.Element; /** * Hook to check if current user is superadmin * Useful for conditional rendering in components * * @returns boolean indicating if user is superadmin */ export declare function useIsSuperAdmin(): boolean; /** * Hook to check if current user can access Admin Panel (superadmin or developer) * Useful for conditional rendering in components * * @returns boolean indicating if user can access Admin Panel */ export declare function useCanAccessAdmin(): boolean; export {}; //# sourceMappingURL=SuperAdminGuard.d.ts.map