import type { TermBookSource, TermMarketRaw } from './types';
/**
 * Fetch the current top-of-book + a bounded book chunk for every configured
 * Term repo on a chain.
 *
 * Public data = static repo config (from the `termMarkets` registry) + live
 * secondary-listing / auction rates + depth (from the subgraph source). The
 * aggregate best rate + FULL depth live on `top`; `book` carries the best
 * `TERM_BOOK_LEVELS` open orders per side for downstream filtering. Both are
 * null when the fetch failed and no recent snapshot is cached, and when no data
 * endpoint is configured (rates fall back to 0).
 */
export declare function fetchTermMarkets(chainId: string, source?: TermBookSource): Promise<TermMarketRaw[]>;
//# sourceMappingURL=fetchPublic.d.ts.map