import type { MarketContext } from '@lifi/perps-types'; import type { HlWsFastAssetCtx, HlWsPerpAssetCtx } from '../types/index.js'; /** * Map a Hyperliquid perp asset context from the `allDexsAssetCtxs` feed to a * {@link MarketContext}, with mid and mark overlaid from a `fastAssetCtxs` * context where one is given. `midPx` is null when the book is empty; mid then * falls back to the mark so the context always carries a usable mid. The * open-interest notional follows the emitted mark, so it never mixes the two * feeds' prices. * @public */ export declare const mapMarketContext: (marketId: string, ctx: HlWsPerpAssetCtx, fast?: HlWsFastAssetCtx) => MarketContext; //# sourceMappingURL=mapMarketContext.d.ts.map