import type * as Whop from "../index.mjs"; export interface TradingPosition { /** Average entry price in USD, or `null` when the provider omits it. */ entry_price: Whop.Money | null; /** Hyperliquid perpetual details. Present on Hyperliquid positions, otherwise `null`. */ hyperliquid: Whop.TradingHyperliquidPosition | null; /** Trading position ID, prefixed `trdpos_`. Stable for a market within one trading account. */ id: string; /** Market symbol on the provider, such as `ETH`. */ market: string; object: TradingPosition.Object_; /** Current position value in USD. */ position_value: Whop.Money; side: TradingPosition.Side; /** Absolute position size as a decimal string. */ size: string; /** Unrealized profit or loss in USD. Negative for a loss. */ unrealized_pnl: Whop.Money; } export declare namespace TradingPosition { const Object_: { readonly TradingPosition: "trading_position"; }; type Object_ = (typeof Object_)[keyof typeof Object_]; const Side: { readonly Long: "long"; readonly Short: "short"; }; type Side = (typeof Side)[keyof typeof Side]; }