import React from 'react'; import { RootStateOrAny } from '../../types'; import { AuthorizationStepStatus, AuthorizedAction } from './AuthorizationModal'; import { AuthorizationTranslationKeys, WithAuthorizedActionProps } from './withAuthorizedAction.types'; export default function withAuthorizedAction

(WrappedComponent: React.ComponentType

, action: AuthorizedAction, translationKeys: AuthorizationTranslationKeys, getConfirmationStatus?: (state: RootStateOrAny) => AuthorizationStepStatus, getConfirmationError?: (state: RootStateOrAny) => string | null): React.ComponentType>;