import '../../stencil.core';
import '../../global/global.js';
import { EventEmitter } from '../../stencil.core';
import { TxnResponse } from "../../common/TxnResponse";
import { SignedTransaction } from "../../common/SignedTransaction";
import { WalletProvider } from "../../providers/WalletProvider";
import AionPayService from "./AionPayService";
export declare class AionPay {
    to: string;
    gqlUrl: string;
    buttonText: string;
    default_button_text: string;
    to_readonly: boolean;
    readonly: boolean;
    refId: string;
    unlockBy: string;
    visible: boolean;
    inputDialogEnable: boolean;
    txnInProgress: boolean;
    txnDone: boolean;
    showConfirm: boolean;
    isNotification: boolean;
    notification: string;
    isError: boolean;
    errors: string[];
    from: string;
    fromBalance: number;
    _to: string;
    value: number;
    message: string;
    privateKey: string;
    keystore: any;
    keystore_password: string;
    keystoreLoadingPercentage: number;
    gas: number;
    gasPrice: number;
    encodedTxn: SignedTransaction;
    txnResponse: TxnResponse;
    transactionCompleted: EventEmitter;
    transactionInProgress: EventEmitter;
    transactionFailed: EventEmitter;
    provider: WalletProvider;
    service: AionPayService;
    amount: number;
    constructor();
    componentWillLoad(): void;
    refreshAndShow(): void;
    showWithData(refId: string, to: string, value: number, data: string): void;
    handleShowPaymentDialog(): void;
    handleHidePaymentDialog(): void;
    handleShowInputDialog(): void;
    handleHideInputDialog(): void;
    handleHideTransactionInprogressDialog(): void;
    handleCloseConfirmDialog(): void;
    handleHideError(): void;
    handleHideNotification(): void;
    handleResetData(): void;
    private resetFromAddressData;
    private resetTxnResponse;
    handleUnlockBy(event: any): void;
    handleToInput(event: any): void;
    handleFromInput(event: any): void;
    handleValueInput(event: any): void;
    handleNrgInput(event: any): void;
    handleNrgPriceInput(event: any): void;
    handleMessageInput(event: any): void;
    handlePrivateKeyInput(event: any): void;
    handleDerivePublicKey(): Promise<void>;
    updateBalance(): Promise<void>;
    /** For keystore unlock mode **/
    handleKeyStoreFileSelected(event: any): void;
    handleKeystorePasswordInput(event: any): void;
    handleUnlockKeystore(): Promise<void>;
    /** keystore unlock mode ends here **/
    /*** Ledger starts **/
    handleLedgerConnect(): Promise<void>;
    /** Ledger ends ***/
    validateInput(): boolean;
    signPayment(e: any): Promise<void>;
    confirmPayment(): Promise<void>;
    submitRawTransansaction(encodedTx: any): Promise<void>;
    renderError(): JSX.Element;
    renderNotification(): JSX.Element;
    renderSelectProvider(): JSX.Element;
    renderUnlockOptions(): JSX.Element;
    _renderUnlockByKeystore(): JSX.Element;
    renderInputForm(): JSX.Element;
    renderShowConfirmation(): JSX.Element;
    renderTxnInProgress(): JSX.Element;
    render(): JSX.Element;
}
