/** Supported CoinGecko coin identifiers */ declare const SUPPORTED_COINS: readonly ["bitcoin", "ethereum", "solana", "usd-coin", "chainlink", "aave", "uniswap", "maker", "compound-governance-token"]; export type SupportedCoinId = (typeof SUPPORTED_COINS)[number]; /** Price data returned by the service */ export interface PriceData { coinId: string; price: number; currency: string; timestamp: number; source: 'coingecko'; } /** Check if a coin ID is in the supported whitelist */ export declare function isSupportedCoin(coinId: string): coinId is SupportedCoinId; /** Get a price with caching. Returns cached data if within TTL, otherwise fetches fresh. * On fetch failure, returns stale cache if available (stale-on-error). */ export declare function getPrice(coinId: SupportedCoinId, currency?: string): Promise; /** Bypass cache and fetch fresh data. Rate-limited to 1 per coin per 10 seconds. */ export declare function getFreshPrice(coinId: SupportedCoinId, currency?: string): Promise; /** Clear all cached data (for tests) */ export declare function clearPriceCache(): void; export {}; //# sourceMappingURL=price-feed.d.ts.map