import type { ChainId } from '@shapeshiftoss/caip'; import { Interface } from 'ethers'; import type { PublicClient } from 'viem'; import type { Tx } from '../../../generated/ethereum'; import type { BaseTxMetadata } from '../../../types'; import type { SubParser, TxSpecific } from '../../parser'; export interface TxMetadata extends BaseTxMetadata { parser: 'uniV2'; } export interface ParserArgs { chainId: ChainId; client: PublicClient; } export declare class Parser implements SubParser { client: PublicClient; readonly chainId: ChainId; readonly wethContract: string; readonly abiInterface: Interface; readonly stakingRewardsInterface: Interface; private readonly supportedFunctions; private readonly supportedStakingRewardsFunctions; constructor(args: ParserArgs); parseUniV2(tx: Tx): Promise; parseStakingRewards(tx: Tx): TxSpecific | undefined; parse(tx: Tx): Promise; private getTokenMetadata; private static pairFor; }