import { OwnCapability } from '@stream-io/video-client'; import { PropsWithChildren } from 'react'; type RestrictedProps = PropsWithChildren<{ /** * Required grants for the component to be able to render supplied children elements */ requiredGrants: OwnCapability[]; /** * Render children only if user can request capability, but does not have it */ canRequestOnly?: boolean; /** * Render children only if user has capability */ hasPermissionsOnly?: boolean; /** * Require all grants specified in `requiredGrants` to be available in the `availableGrants`, * component by default requires only one grant to appear in both arrays to render its children */ requireAll?: boolean; }>; export declare const Restricted: ({ canRequestOnly, hasPermissionsOnly, requiredGrants, requireAll, children, }: RestrictedProps) => import("react/jsx-runtime").JSX.Element | null; export {};