import type { MulticallRetryFunction } from '../../types';
import type { GmxVaults, GmxVaultsFetchOptions } from './types';
/**
 * Fetch the GMX GM-market and GLV-vault listing for a chain from the
 * gmxinfra REST API. Returns a map keyed by lowercased token address.
 *
 * Each entry merges the `/apy` yield numbers with name + leg metadata from
 * `/markets` / `/glvs` and leg symbols from `/tokens`. Markets/GLVs that
 * report APY but lack metadata still surface (with a fallback name). GMX
 * vaults are always classified `volatile`; denomination follows the legs.
 *
 * Unsupported chains resolve to an empty map (not an error), so the universal
 * vault fetcher can request `gmx` on every chain without branching.
 *
 * When `multicallRetry` is supplied, each entry is additionally enriched with
 * `priceUsd` + `tvlUsd` via `Reader.getMarketTokenPrice` /
 * `GlvReader.getGlvTokenPrice` (fed by `/prices/tickers`). Pricing is
 * best-effort — a failure leaves the USD fields absent but never throws.
 */
export declare const fetchGmxVaults: (chainId: string, multicallRetry?: MulticallRetryFunction, options?: GmxVaultsFetchOptions) => Promise<GmxVaults>;
//# sourceMappingURL=fetchPublic.d.ts.map