interface EngineServerHealthBreakdown { health: string; assets: string; liabilities: string; } interface EngineServerSpotBalanceData { amount: string; last_cumulative_multiplier_x18: string; } interface EngineServerSpotLpBalanceData { amount: string; } interface EngineServerPerpBalanceData { amount: string; v_quote_balance: string; last_cumulative_funding_x18: string; } interface EngineServerPerpLpBalanceData { amount: string; last_cumulative_funding_x18: string; } interface EngineServerRisk { long_weight_initial_x18: string; short_weight_initial_x18: string; long_weight_maintenance_x18: string; short_weight_maintenance_x18: string; large_position_penalty_x18: string; } interface EngineServerBookInfo { size_increment: string; price_increment_x18: string; min_size: string; collected_fees: string; lp_spread_x18: string; } interface EngineServerSpotConfig { token: string; interest_inflection_util_x18: string; interest_floor_x18: string; interest_small_cap_x18: string; interest_large_cap_x18: string; } interface EngineServerSpotState { cumulative_deposits_multiplier_x18: string; cumulative_borrows_multiplier_x18: string; total_deposits_normalized: string; total_borrows_normalized: string; } interface EngineServerSpotLpState { supply: string; quote: EngineServerSpotBalanceData; base: EngineServerSpotBalanceData; } interface EngineServerPerpState { cumulative_funding_long_x18: string; cumulative_funding_short_x18: string; available_settle: string; open_interest: string; } interface EngineServerPerpLpState { supply: string; base: string; quote: string; last_cumulative_funding_x18: string; cumulative_funding_per_lp_x18: string; } interface EngineServerSpotProduct { product_id: number; oracle_price_x18: string; risk: EngineServerRisk; config: EngineServerSpotConfig; state: EngineServerSpotState; lp_state: EngineServerSpotLpState; book_info: EngineServerBookInfo; } interface EngineServerSpotBalance { product_id: number; balance: EngineServerSpotBalanceData; lp_balance: EngineServerSpotLpBalanceData; } interface EngineServerPerpProduct { product_id: number; oracle_price_x18: string; index_price_x18: string; risk: EngineServerRisk; state: EngineServerPerpState; lp_state: EngineServerPerpLpState; book_info: EngineServerBookInfo; } interface EngineServerPerpBalance { product_id: number; balance: EngineServerPerpBalanceData; lp_balance: EngineServerPerpLpBalanceData; } type EngineServerProductType = 'perp' | 'spot'; export type { EngineServerBookInfo, EngineServerHealthBreakdown, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpLpBalanceData, EngineServerPerpLpState, EngineServerPerpProduct, EngineServerPerpState, EngineServerProductType, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotLpBalanceData, EngineServerSpotLpState, EngineServerSpotProduct, EngineServerSpotState };