import React, { FunctionComponent, ReactNode } from "react"; import { OverlayContentProps } from "./index"; export declare enum MessageTitle { NO_METAMASK = "Metamask not installed", NO_MANAGE_ACCESS = "No manage assets access", NO_USER_AUTHORIZATION = "User denied account authorization", TRANSACTION_ERROR = "Error - Failed transaction", SURRENDER_DOCUMENT_SUCCESS = "Return of ETR successful", ACCEPT_SURRENDER_DOCUMENT = "Return of ETR accepted", REJECT_SURRENDER_DOCUMENT = "Return of this ETR has been rejected by the Issuer", CONFIRM_REJECT_SURRENDER_DOCUMENT = "Confirm Document Return", CHANGE_BENEFICIARY_SUCCESS = "Change Owner Success", NOMINATE_BENEFICIARY_HOLDER_SUCCESS = "Nomination Success", TRANSFER_HOLDER_SUCCESS = "Transfer Holder Success", ENDORSE_TRANSFER_SUCCESS = "Endorse Ownership/Holdership Success" } interface ButtonCloseProps { className?: string; } export declare const ButtonClose: FunctionComponent; interface DocumentTransferMessageProps extends OverlayContentProps { children: React.ReactNode; isButtonMetamaskInstall?: boolean; isConfirmationMessage?: boolean; onConfirmationAction?: () => void; footer?: React.ReactNode; } export declare const DocumentTransferMessage: FunctionComponent; interface MessageProps { address?: string; error?: string; beneficiaryTitle?: string; beneficiaryAddress?: string; holderTitle?: string; holderAddress?: string; } export declare const MessageNoMetamask: FunctionComponent; export declare const MessageNoManageAccess: FunctionComponent; export declare const MessageNoUserAuthorization: FunctionComponent; export declare const MessageTransactionError: FunctionComponent; export declare const MessageSurrenderSuccess: FunctionComponent; export declare const AcceptSurrender: FunctionComponent; export declare const RejectSurrender: FunctionComponent; export declare const MessageRejectSurrenderConfirmation: FunctionComponent; export declare const MessageBeneficiarySuccess: FunctionComponent; export declare const MessageHolderSuccess: FunctionComponent; export declare const MessageNominateBeneficiaryHolderSuccess: FunctionComponent; export declare const MessageEndorseTransferSuccess: FunctionComponent; export declare const MessageTransferSuccess: FunctionComponent; interface ShowDocumentTransferMessageOptionProps { isSuccess: boolean; error?: string; beneficiaryTitle?: string; beneficiaryAddress?: string; holderTitle?: string; holderAddress?: string; isButtonMetamaskInstall?: boolean; onConfirmationAction?: () => void; isConfirmationMessage?: boolean; } export declare const showDocumentTransferMessage: (title: string, option: ShowDocumentTransferMessageOptionProps, footer?: React.ReactNode) => ReactNode; export {};