import { ReactNode } from 'react'; import { CurrentAccount } from '@graasp/sdk'; type Props = { buttonText: string; children?: ReactNode; currentAccount?: CurrentAccount | null; /** * Component to display on error. * Overrides errorText */ error?: JSX.Element; errorText: string; id?: string; onButtonClick?: () => void; startIcon?: JSX.Element; text: string | JSX.Element; }; declare const PreventGuestWrapper: ({ buttonText, children, currentAccount, error, id, onButtonClick, startIcon, errorText, text, }: Props) => ReactNode; export default PreventGuestWrapper;