import * as React from "react";
import { EthAddress } from "@joincivil/core";
export declare enum MODEL_CONTENT {
    WHY_ETH = 0,
    WHAT_IS_ETH = 1,
    CAN_USE_CVL = 2
}
export interface PaymentsEthProps {
    postId: string;
    newsroomName: string;
    paymentAddress: EthAddress;
    userAddress?: EthAddress;
    usdToSpend: number;
    isWalletConnected: boolean;
    handlePaymentSuccess(): void;
}
export interface PaymentsEthStates {
    isMobileWalletModalOpen: boolean;
    isInfoModalOpen: boolean;
    modalContent?: MODEL_CONTENT;
    etherToSpend: number;
    usdToSpend: number;
    notEnoughEthError: boolean;
    paymentStarted: boolean;
}
export declare class PaymentsEth extends React.Component<PaymentsEthProps, PaymentsEthStates> {
    constructor(props: PaymentsEthProps);
    render(): JSX.Element;
    private renderPaymentForm;
    private setConvertedAmount;
    private notEnoughEthError;
    private handlePaymentStarted;
    private showMobileWalletModal;
    private renderInfoModal;
    private openInfoModal;
    private handleClose;
}
