import type { PerpsMarketDisplay, Position } from '@lifi/perps-types'; import type { LtAccountPosition } from '../types/index.js'; /** * Display leverage from an IMF percent string: `100 / IMF` in exact decimal * arithmetic before conversion to `number`. This value is for displaying the * venue setting; provider risk calculations consume the original decimal IMF * instead. `undefined` for a non-positive or unparsable IMF. * @public */ export declare const leverageFromImf: (imf: string) => number | undefined; /** * Map a raw Lighter account position to the generic Position type. * @param market - Backend-resolved market identity for `pos.market_id`. * @public */ export declare const mapPosition: (pos: LtAccountPosition, market: PerpsMarketDisplay) => Position; //# sourceMappingURL=mapPosition.d.ts.map