import * as BN from "bn.js"; import { ISwapPrice } from "../swaps/ISwapPrice"; export type CoinGeckoPriceData = { [coinId: string]: { [chainId: string]: { address: string; decimals: number; }; }; }; export declare class CoinGeckoSwapPrice extends ISwapPrice<{ coinId: string; decimals: number; }> { url: string; cache: { [coinId: string]: { price: BN; expiry: number; }; }; constructor(url: string, coins: CoinGeckoPriceData); /** * Returns coin price in mSat * * @param coin */ getPrice(coin: { coinId: string; }): Promise; }