import { BlockTag } from 'ethers/providers'; import { EthChainId } from '@sentio/chain'; export declare enum PriceUnit { USD = 0, ETH = 1, BTC = 2 } export interface DexPriceResult { price?: number; error?: string; } export declare function getPackageRoot(pkgId: string): string; declare class DexPrice { USD_ORACLE_MAP: Map; ETH_ORACLE_MAP: Map; BTC_ORACLE_MAP: Map; ASSETS_INFOS: Map; readonly chainId: EthChainId; constructor(csvFileName: string, chainId: EthChainId); getPrice(asset: string, blockTag?: BlockTag, unit?: PriceUnit): Promise; } export declare const EthereumDexPrice: DexPrice; export declare const SepoliaDexPrice: DexPrice; export {}; //# sourceMappingURL=dex-price.d.ts.map