import * as React from "react";
import { ICivilContext } from "../context";
export interface EthereumTransactionInfo {
    hash: string;
}
export interface EthereumTransactionButtonProps {
    disabled: boolean;
    modalHeading: string;
    execute(): Promise<EthereumTransactionInfo>;
    onComplete(): any;
}
export interface EthereumTransactionButtonState {
    inProgress: boolean;
    waiting: boolean;
    rejected: boolean;
    complete: boolean;
}
export declare class EthereumTransactionButton extends React.Component<EthereumTransactionButtonProps, EthereumTransactionButtonState> {
    static contextType: any;
    context: ICivilContext;
    constructor(props: EthereumTransactionButtonProps);
    render(): JSX.Element;
    private handleTransaction;
    private cancelTransaction;
}
