import React from 'react'; export interface RbacGuardProps { children: React.ReactNode; roles?: string[]; minLevel?: number; permissions?: string[]; context?: Record; requireAll?: boolean; fallback?: React.ReactNode; loading?: React.ReactNode; } /** * Component that conditionally renders children based on RBAC checks * * @example * // Require admin role * * * * * // Require specific permission * * * * * // Require specific context * * * * * // Custom fallback * You need admin access} * > * * */ export declare function RbacGuard({ children, roles, minLevel, permissions, context, requireAll, fallback, loading: loadingComponent }: RbacGuardProps): import("react/jsx-runtime").JSX.Element; /** * Specialized guard for role-based access */ export declare function RoleGuard({ children, role, fallback, loading }: { children: React.ReactNode; role: string | string[]; fallback?: React.ReactNode; loading?: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Specialized guard for permission-based access */ export declare function PermissionGuard({ children, permission, requireAll, fallback, loading }: { children: React.ReactNode; permission: string | string[]; requireAll?: boolean; fallback?: React.ReactNode; loading?: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Specialized guard for level-based access */ export declare function LevelGuard({ children, minLevel, fallback, loading }: { children: React.ReactNode; minLevel: number; fallback?: React.ReactNode; loading?: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Specialized guard for context-based access */ export declare function ContextGuard({ children, context, requireAll, fallback, loading }: { children: React.ReactNode; context: Record; requireAll?: boolean; fallback?: React.ReactNode; loading?: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Admin-only guard (convenience component) */ export declare function AdminGuard({ children, fallback, loading }: { children: React.ReactNode; fallback?: React.ReactNode; loading?: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=RbacGuard.d.ts.map