import type { BigNumberish, BytesLike, Wallet } from 'ethers'; import type { RelayInfo } from './relayHub.types'; import type { RelayRequestBody, EnvelopingRequestData } from './relayRequest.types'; import type { EnvelopingTxRequest } from './relayTransaction.types'; declare type RequestConfig = { isSmartWalletDeploy?: boolean; preDeploySWAddress?: string; clientId?: string; useEnveloping?: boolean; forceGasPrice?: string; forceGasLimit?: string; onlyPreferredRelays?: boolean; ignoreTransactionReceipt?: boolean; retries?: number; initialBackoff?: number; internalEstimationCorrection?: BigNumberish; estimatedGasCorrectionFactor?: BigNumberish; }; declare type PaymentGasEstimationParams = Pick & Pick; /** * @deprecated The type was replaced by {@link PaymentGasEstimationParams} */ declare type TokenGasEstimationParams = Pick & Pick; declare type EstimateInternalGasParams = Pick & Partial> & Pick & Pick; declare type HubEnvelopingTx = { envelopingTx: EnvelopingTxRequest; activeRelay: RelayInfo; }; declare type IgnoreVerifications = 'relayHub' | 'workerBalance' | 'verifiers'; declare type RelayTxOptions = { signerWallet?: Wallet; ignoreVerifications?: Array; isCustom?: boolean; serverSignature?: boolean; }; declare type SmartWalletAddressTxOptions = { owner: string; smartWalletIndex: BigNumberish; recoverer?: string; to?: string; data?: string | BytesLike; factoryAddress?: string; isCustom?: boolean; }; export type { RequestConfig, PaymentGasEstimationParams, TokenGasEstimationParams, EstimateInternalGasParams, HubEnvelopingTx, RelayTxOptions, IgnoreVerifications, SmartWalletAddressTxOptions, };