import { IAsyncStorage } from './storage'; /** * The `CoinGeckoAPI` class provides methods to get coin prices. */ export declare class CoinGeckoAPI { private static cache; private static activeRequests; static isCacheInitialized(): boolean; static initializeCache(storage: IAsyncStorage): void; /** * Gets the price of a token from CoinGecko. * * @param _coinId The coingecko ID for the token to get the price for. * @param expiryDuration The duration in milliseconds for which the price should be cached. * * @returns A Promise that resolves to the price of the token, or -1 if the price cannot be fetched. */ static getCoinPrice(_coinId: string | undefined, expiryDuration?: number): Promise; }