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