import { ReactElement, ReactNode } from 'react'; import { CurrentAccount, DiscriminatedItem, ItemLoginSchemaType, UUID } from '@graasp/sdk'; import { SignInPropertiesType } from './ItemLoginScreen.js'; export type ItemLoginAuthorizationProps = { signIn: (args: { itemId: string; } & SignInPropertiesType) => void; itemId: UUID; itemErrorStatusCode: number | null; currentAccount?: CurrentAccount | null; item?: DiscriminatedItem; itemLoginSchemaType?: ItemLoginSchemaType; usernameInputId?: string; signInButtonId?: string; passwordInputId?: string; children?: ReactNode; forbiddenContent?: ReactElement; isLoading?: boolean; enrollContent?: ReactElement; requestAccessContent?: ReactElement; }; declare const ItemLoginAuthorization: ({ currentAccount, item, itemErrorStatusCode, itemLoginSchemaType, itemId, signIn, isLoading, usernameInputId, signInButtonId, passwordInputId, forbiddenContent, enrollContent, requestAccessContent, children, }: ItemLoginAuthorizationProps) => ReactNode; export default ItemLoginAuthorization;