import { ContractTransaction, Provider, TransactionRequest, Authorization } from 'ethers'; import { Chain } from '../../models/engine-types'; import { TXIDVersion } from '../../models/poi-types'; import { ShieldRequestStruct } from '../../abi/typechain/RelayAdapt'; import { TransactionReceiptLog, TransactionStructV2, TransactionStructV3 } from '../../models'; import { RelayAdaptV2Contract } from './V2/relay-adapt-v2'; import { RelayAdapt7702Contract } from './V2/relay-adapt-7702'; import { RelayAdaptV3Contract } from './V3/relay-adapt-v3'; export declare class RelayAdaptVersionedSmartContracts { static getRelayAdaptContract(txidVersion: TXIDVersion, chain: Chain, isRelayAdapt7702?: boolean): RelayAdaptV2Contract | RelayAdapt7702Contract | RelayAdaptV3Contract; static populateShieldBaseToken(txidVersion: TXIDVersion, chain: Chain, shieldRequest: ShieldRequestStruct, isRelayAdapt7702?: boolean, authorization?: Authorization, signature?: string, random31Bytes?: string, ephemeralAddress?: string, executeNonce?: bigint): Promise; static populateUnshieldBaseToken(txidVersion: TXIDVersion, chain: Chain, transactions: (TransactionStructV2 | TransactionStructV3)[], unshieldAddress: string, random31Bytes: string, useDummyProof: boolean, sendWithPublicWallet: boolean, isRelayAdapt7702?: boolean, authorization?: Authorization, signature?: string, ephemeralAddress?: string, executeNonce?: bigint): Promise; static populateCrossContractCalls(txidVersion: TXIDVersion, chain: Chain, unshieldTransactions: (TransactionStructV2 | TransactionStructV3)[], crossContractCalls: ContractTransaction[], relayShieldRequests: ShieldRequestStruct[], random31Bytes: string, isGasEstimate: boolean, isBroadcasterTransaction: boolean, minGasLimit?: bigint, isRelayAdapt7702?: boolean, authorization?: Authorization, signature?: string, ephemeralAddress?: string, executeNonce?: bigint): Promise; static getRelayAdaptParamsUnshieldBaseToken(txidVersion: TXIDVersion, chain: Chain, dummyUnshieldTransactions: (TransactionStructV2 | TransactionStructV3)[], unshieldAddress: string, random31Bytes: string, sendWithPublicWallet: boolean, isRelayAdapt7702?: boolean, ephemeralAddress?: string): Promise; static getRelayAdaptParamsCrossContractCalls(txidVersion: TXIDVersion, chain: Chain, dummyUnshieldTransactions: (TransactionStructV2 | TransactionStructV3)[], crossContractCalls: ContractTransaction[], relayShieldRequests: ShieldRequestStruct[], random: string, isBroadcasterTransaction: boolean, minGasLimit?: bigint, isRelayAdapt7702?: boolean, ephemeralAddress?: string): Promise; static estimateGasWithErrorHandler(txidVersion: TXIDVersion, provider: Provider, transaction: ContractTransaction | TransactionRequest, isRelayAdapt7702?: boolean): Promise; static getRelayAdaptCallError(txidVersion: TXIDVersion, receiptLogs: TransactionReceiptLog[], isRelayAdapt7702?: boolean): Optional; static parseRelayAdaptReturnValue(txidVersion: TXIDVersion, data: string, isRelayAdapt7702?: boolean): { callIndex?: number | undefined; error: string; } | undefined; }