import { TxnResponse } from "../../common/TxnResponse";
import { Transaction } from "../../common/Transaction";
export default class AionPayService {
    private gqlUrl;
    NONCE_NRG_QUERY: string;
    BALANCE_QUERY: string;
    SEND_RAWTXN_QUERY: string;
    constructor(gqlUrl: string);
    fetchNonceNrg(address: string, txn: Transaction): Promise<any[]>;
    fetchBalance(address: any): Promise<any[]>;
    sendRawTransaction(encodedTx: string): Promise<TxnResponse>;
    getError(res: any): string;
    _getErrors(res: any): any[];
}
