import type { MidnightBookSource, MidnightMarketRaw } from './types';
/**
 * Fetch the current top-of-book for every configured Midnight market on a chain.
 *
 * Public data = static market config (from `midnightMarkets` registry) + live
 * order-book rates/depth (from the book source). No RPC is required for the
 * public view: LLTVs / maturities / decimals come from config, rates from the
 * API. Returns one entry per configured market (with `top: null` when its book
 * fetch failed — the converter still emits the market with zeroed rates).
 */
export declare function fetchMidnightMarkets(chainId: string, source?: MidnightBookSource): Promise<MidnightMarketRaw[]>;
//# sourceMappingURL=fetchPublic.d.ts.map