import type { MarketContext } from '@lifi/perps-types'; import type { LtWsMarketStats, LtWsSpotMarketStats } from '../types/index.js'; /** * Map a Lighter market-stats record to a {@link MarketContext}: `index_price` * is the oracle, `mid_price` the mid. Perp records carry the venue * `mark_price`, funding and open interest; spot records have none, so mark * falls back to the mid and the perp-only fields stay `undefined`. * @public */ export declare const mapMarketContext: (stats: LtWsMarketStats | LtWsSpotMarketStats) => MarketContext; //# sourceMappingURL=mapMarketContext.d.ts.map