import * as React from "react";
import { EthAddress } from "@joincivil/core";
import { ICivilContext } from "../";
export interface PaymentsProps {
    postId: string;
    usdToSpend: number;
    paymentAddress: string;
    newsroomName: string;
    isStripeConnected: boolean;
}
export interface PaymentsStates {
    isWalletConnected: boolean;
    userAddress?: EthAddress;
    payEth: boolean;
    payStripe: boolean;
    isPaymentSuccessfull: boolean;
}
export declare class Payments extends React.Component<PaymentsProps, PaymentsStates> {
    static contextType: any;
    context: ICivilContext;
    constructor(props: any);
    componentDidMount(): Promise<void>;
    render(): JSX.Element;
    private handleBack;
    private handlePayEth;
    private handlePayStripe;
    private handlePaymentSuccess;
}
