import * as React from "react";
import { MutationFunc } from "react-apollo";
import { EthAddress } from "@joincivil/core";
import { ICivilContext } from "../";
export interface PaymentsEthFormProps {
    postId: string;
    etherToSpend: number;
    usdToSpend: number;
    shouldPublicize: boolean;
    newsroomName: string;
    paymentAddress: EthAddress;
    userAddress?: EthAddress;
    userEmail?: string;
    userChannelID?: string;
    savePayment: MutationFunc;
    handlePaymentSuccess(): void;
    handleEditPaymentType(): void;
}
export interface PaymentsEthFormState {
    email: string;
    emailState: string;
    isPaymentError: boolean;
}
export declare class PaymentsEthForm extends React.Component<PaymentsEthFormProps, PaymentsEthFormState> {
    static contextType: any;
    context: ICivilContext;
    constructor(props: PaymentsEthFormProps);
    render(): JSX.Element;
    private handleOnBlur;
    private sendPayment;
    private handleTransactionHash;
    private onTransactionError;
    private postTransaction;
}
