///
import { IAirGapSignedTransaction } from '../../interfaces/IAirGapSignedTransaction';
import { AirGapTransactionStatus, IAirGapTransaction } from '../../interfaces/IAirGapTransaction';
import { Network } from '../../networks';
import { SignedEthereumTransaction } from '../../serializer/schemas/definitions/signed-transaction-ethereum';
import { UnsignedTransaction } from '../../serializer/schemas/definitions/unsigned-transaction';
import { RawEthereumTransaction } from '../../serializer/types';
import { ProtocolSymbols } from '../../utils/ProtocolSymbols';
import { CurrencyUnit, FeeDefaults, ICoinProtocol } from '../ICoinProtocol';
import { ICoinSubProtocol } from '../ICoinSubProtocol';
import { EthereumInfoClient } from './clients/info-clients/InfoClient';
import { EthereumNodeClient } from './clients/node-clients/NodeClient';
import { EthereumAddress } from './EthereumAddress';
import { EthereumCryptoClient } from './EthereumCryptoClient';
import { EthereumProtocolOptions } from './EthereumProtocolOptions';
import { EthereumTransactionCursor, EthereumTransactionResult } from './EthereumTypes';
export declare abstract class BaseEthereumProtocol implements ICoinProtocol {
readonly options: EthereumProtocolOptions;
symbol: string;
name: string;
marketSymbol: string;
feeSymbol: string;
feeDefaults: FeeDefaults;
decimals: number;
feeDecimals: number;
identifier: ProtocolSymbols;
protected readonly MAX_GAS_ESTIMATE: string;
units: CurrencyUnit[];
supportsHD: boolean;
standardDerivationPath: string;
addressIsCaseSensitive: boolean;
addressValidationPattern: string;
addressPlaceholder: string;
network: Network;
readonly cryptoClient: EthereumCryptoClient;
get subProtocols(): ICoinSubProtocol[];
constructor(options?: EthereumProtocolOptions);
getBlockExplorerLinkForAddress(address: string): Promise;
getBlockExplorerLinkForTxId(txId: string): Promise;
getPublicKeyFromMnemonic(mnemonic: string, derivationPath: string, password?: string): Promise;
getPrivateKeyFromMnemonic(mnemonic: string, derivationPath: string, password?: string): Promise;
getExtendedPrivateKeyFromMnemonic(mnemonic: string, derivationPath: string, password?: string): Promise;
getPublicKeyFromHexSecret(secret: string, derivationPath: string): Promise;
getPrivateKeyFromHexSecret(secret: string, derivationPath: string): Promise;
getExtendedPrivateKeyFromHexSecret(secret: string, derivationPath: string): Promise;
getAddressFromPublicKey(publicKey: string | Buffer): Promise;
getAddressesFromPublicKey(publicKey: string | Buffer): Promise;
getAddressFromExtendedPublicKey(extendedPublicKey: string, visibilityDerivationIndex: number, addressDerivationIndex: number): Promise;
getAddressesFromExtendedPublicKey(extendedPublicKey: string, visibilityDerivationIndex: number, addressCount: number, offset: number): Promise;
getNextAddressFromPublicKey(publicKey: string, current: EthereumAddress): Promise;
signWithExtendedPrivateKey(extendedPrivateKey: string, transaction: RawEthereumTransaction): Promise;
signWithPrivateKey(privateKey: Buffer, transaction: RawEthereumTransaction): Promise;
getTransactionDetails(unsignedTx: UnsignedTransaction): Promise;
getTransactionDetailsFromSigned(transaction: SignedEthereumTransaction): Promise;
getBalanceOfPublicKey(publicKey: string): Promise;
getBalanceOfAddresses(addresses: string[]): Promise;
getBalanceOfPublicKeyForSubProtocols(publicKey: string, subProtocols: ICoinSubProtocol[]): Promise;
getBalanceOfExtendedPublicKey(extendedPublicKey: string, offset?: number): Promise;
getAvailableBalanceOfAddresses(addresses: string[]): Promise;
estimateMaxTransactionValueFromExtendedPublicKey(extendedPublicKey: string, recipients: string[], fee?: string): Promise;
estimateFeeDefaultsFromExtendedPublicKey(publicKey: string, recipients: string[], values: string[], data?: any): Promise;
prepareTransactionFromExtendedPublicKey(extendedPublicKey: string, offset: number, recipients: string[], values: string[], fee: string): Promise;
estimateMaxTransactionValueFromPublicKey(publicKey: string, recipients: string[], fee?: string): Promise;
estimateFeeDefaultsFromPublicKey(publicKey: string, recipients: string[], values: string[], data?: any): Promise;
prepareTransactionFromPublicKey(publicKey: string, recipients: string[], values: string[], fee: string, data?: any): Promise;
broadcastTransaction(rawTransaction: string): Promise;
getTransactionsFromExtendedPublicKey(extendedPublicKey: string, limit: number, cursor: EthereumTransactionCursor): Promise;
getTransactionsFromPublicKey(publicKey: string, limit?: number, cursor?: EthereumTransactionCursor): Promise;
getTransactionsFromAddresses(addresses: string[], limit: number, cursor?: EthereumTransactionCursor): Promise;
signMessage(message: string, keypair: {
privateKey: Buffer;
}): Promise;
verifyMessage(message: string, signature: string, publicKey: string): Promise;
encryptAsymmetric(message: string, publicKey: string): Promise;
decryptAsymmetric(message: string, keypair: {
publicKey: string;
privateKey: Buffer;
}): Promise;
encryptAES(message: string, privateKey: Buffer): Promise;
decryptAES(message: string, privateKey: Buffer): Promise;
getTransactionStatuses(transactionHashes: string[]): Promise;
}