import { RelayingServices } from './index'; import { Account, TransactionReceipt } from 'web3-core'; import { PrefixedHexString } from 'ethereumjs-tx'; import { EnvelopingConfig, Web3Provider, ERC20Token, ERC20Options, PingResponse } from '@rsksmart/rif-relay-common'; import { RelayingResult } from '@rsksmart/rif-relay-client'; import Web3 from 'web3'; import { RelayGasEstimationOptions, RelayingServicesAddresses, RelayingTransactionOptions, SmartWallet, SmartWalletDeploymentOptions } from './interfaces'; import BigNumber from 'bignumber.js'; export declare class DefaultRelayingServices implements RelayingServices { private readonly web3Instance; private readonly account?; private developmentAccounts; private relayProvider; private contracts; private txId; constructor(web3: Web3 | Web3Provider | string, account?: Account); configure(envelopingConfig: Partial): Promise; initialize(envelopingConfig: Partial, contractAddresses?: RelayingServicesAddresses, opts?: { loglevel: number; }): Promise; allowToken(tokenAddress: string, account?: string): Promise; isAllowedToken(tokenAddress: string): Promise; getAllowedTokens(): Promise; claim(commitmentReceipt: any): Promise; deploySmartWallet(smartWallet: SmartWallet, options?: SmartWalletDeploymentOptions): Promise; generateSmartWallet(smartWalletIndex: number): Promise; isSmartWalletDeployed(smartWalletAddress: string): Promise; relayTransaction(options: RelayingTransactionOptions): Promise; estimateMaxPossibleRelayGas(options: RelayGasEstimationOptions): Promise; estimateMaxPossibleRelayGasWithLinearFit(options: RelayGasEstimationOptions): Promise; estimateMaxPossibleGas(options: RelayGasEstimationOptions): Promise; getTransactionReceipt(transactionHash: PrefixedHexString, retries?: number, initialBackoff?: number): Promise; validateSmartWallet(address: string): Promise; getERC20Token(address: string, options?: ERC20Options): Promise; getERC20TokenPrice(erc20: ERC20Token, targetCurrency: string): Promise; getPingResponse(): Promise; getPartners(): Promise; private calculateCostFromGas; private _getAccountAddress; private setLogLevel; }