/// import { ComponentShieldAuthProps, ComponentShieldBaseProps, ComponentShieldRBACProps } from '../types/Component'; /** * 🛡️ A Shield for your Components, it handles when a component shows or not based on the user's role or by a custom condition that you provide. * * @param ComponentShieldProps {@link ComponentShieldProps | see here} * @returns Children Components | {@link JSX.Element} * * * @example * ```tsx * // Basic Example * *

You are authorized

*
* * // Fallback Example * You are unauthorized

}> *

You are authorized

*
* * // RBAC Example * *

You are an ADMIN

*
* ``` * * @packageDocumentation */ export declare function ComponentShield(props: ComponentShieldBaseProps): JSX.Element; export declare function ComponentShield(props: ComponentShieldAuthProps): JSX.Element; export declare function ComponentShield(props: ComponentShieldRBACProps): JSX.Element;