/** * Lighter liquidation price estimation. * * Lighter publishes a flat per-market `maintenance_margin_fraction` on its * order books, surfaced on the generic {@link PerpsMarket} as * `maintenanceMarginRate`. The estimate is the standard isolated-margin * model parameterised by that rate. */ import { type LiquidationEstimateParams } from '@lifi/perps-sdk'; import type { PerpsMarket } from '@lifi/perps-types'; /** * Estimate the liquidation price of a new isolated position on a Lighter * market. * * @returns The estimated liquidation price, or `undefined` when * `market.maintenanceMarginRate` is absent (the model cannot be evaluated * without the venue's maintenance margin rate) or the inputs are * degenerate. * @public */ export declare function estimateLiquidationPrice(market: PerpsMarket, params: LiquidationEstimateParams): number | undefined; //# sourceMappingURL=liquidation.d.ts.map