import * as React from "react";
import { Civil, EthAddress } from "@joincivil/core";
import { ICivilContext } from "../../context";
export interface AccountEthAuthProps {
    civil?: Civil;
    buttonText?: string;
    buttonOnly?: boolean;
    onAuthenticated?(address: EthAddress): void;
}
export interface AccountEthAuthState {
    errorMessage?: string;
    isWaitingSignatureOpen?: boolean;
    isSignRejectionOpen?: boolean;
}
export declare class AccountEthAuth extends React.Component<AccountEthAuthProps, AccountEthAuthState> {
    static contextType: any;
    context: ICivilContext;
    private _isMounted?;
    constructor(props: AccountEthAuthProps);
    render(): JSX.Element;
    componentDidMount(): void;
    componentWillUnmount(): void;
    private renderTransactionUI;
    private renderWaitingSignModal;
    private renderSignRejectionModal;
    private renderSaveErrorModal;
    private signTransactions;
    private cancelTransaction;
}
