import { EthAddress, EthereumProvider } from '@aztec/sdk'; import { Web3Provider } from '@ethersproject/providers'; import { AuxDataConfig, AztecAsset, BridgeDataFieldGetters, UnderlyingAsset } from '../bridge-data.js'; export declare class ERC4626BridgeData implements BridgeDataFieldGetters { protected ethersProvider: Web3Provider; shareToAssetMap: Map; protected constructor(ethersProvider: Web3Provider); static create(provider: EthereumProvider): ERC4626BridgeData; auxDataConfig: AuxDataConfig[]; getAuxData(inputAssetA: AztecAsset, inputAssetB: AztecAsset, outputAssetA: AztecAsset, outputAssetB: AztecAsset): Promise; getExpectedOutput(inputAssetA: AztecAsset, inputAssetB: AztecAsset, outputAssetA: AztecAsset, outputAssetB: AztecAsset, auxData: bigint, inputValue: bigint): Promise; /** * @notice Gets asset for a given share * @param share Address of the share/vault * @return Address of the underlying asset */ getAsset(share: EthAddress): Promise; /** * @notice This function gets the underlying amount of asset corresponding to shares * @param share Address of the share/vault * @param amount Amount of shares to get underlying amount for * @return Underlying amount of asset corresponding to the amount of shares */ getUnderlyingAmount(share: AztecAsset, amount: bigint): Promise; }