import type { ChainId } from '@shapeshiftoss/caip'; import { ethers } from 'ethers'; import type { BaseTxMetadata } from '../../types.js'; import type { SubParser, Tx, TxSpecific } from './types.js'; export interface TxMetadata extends BaseTxMetadata { parser: 'erc20'; assetId: string; value?: string; } interface ParserArgs { chainId: ChainId; } export declare class Parser implements SubParser { readonly chainId: ChainId; readonly abiInterface: ethers.Interface; private readonly supportedFunctions; constructor(args: ParserArgs); parse(tx: T): Promise; } export {};