import type * as Whop from "../index.mjs"; export interface TradingAccount { /** The account that owns this trading account, prefixed `biz_`. `null` when a user owns it. */ account_id: string | null; /** Hyperliquid-specific state. Present when `provider` is `hyperliquid`, otherwise `null`. */ hyperliquid: Whop.TradingHyperliquidAccount | null; /** The Whop wallet ID backing this trading account, prefixed `cwal_`. */ id: string; object: TradingAccount.Object_; /** Trading venue that holds the positions and orders. */ provider: TradingAccount.Provider; /** The user who owns this trading account, prefixed `user_`. `null` when an account owns it. */ user_id: string | null; } export declare namespace TradingAccount { const Object_: { readonly TradingAccount: "trading_account"; }; type Object_ = (typeof Object_)[keyof typeof Object_]; /** Trading venue that holds the positions and orders. */ const Provider: { readonly Hyperliquid: "hyperliquid"; }; type Provider = (typeof Provider)[keyof typeof Provider]; }