import type { BatchCancelOrdersResponse, BatchCreateOrderParams, BatchCreateOrdersResponse, BatchReplaceOrderParams, BatchReplaceOrdersResponse, CancelConditionalOrderResponse, CancelOrderResponse, ConditionalOrder, CreateOrderResponse, GetOrderResponse, GetPaginatedOrdersParams, GetPaginatedOrdersResponse, ListConditionalOrdersParams, ListConditionalOrdersResponse, OrderSide, ReplaceOrderResponse, TradingAPI } from "@0xmonaco/types"; type PlaceLimitOrderOptions = NonNullable[4]>; type PlaceMarketOrderOptions = NonNullable[3]>; export interface UseTradeReturn { /** Place a limit order */ placeLimitOrder: (tradingPairId: string, side: OrderSide, quantity: string, price: string, options?: PlaceLimitOrderOptions) => Promise; /** Place a market order */ placeMarketOrder: (tradingPairId: string, side: OrderSide, quantity: string, options?: PlaceMarketOrderOptions) => Promise; /** Cancel an existing order */ cancelOrder: (orderId: string) => Promise; /** Cancel an active conditional TP/SL order */ cancelConditionalOrder: (conditionalOrderId: string) => Promise; /** Get a single conditional TP/SL order by its UUID */ getConditionalOrder: (conditionalOrderId: string) => Promise; /** List conditional TP/SL orders */ listConditionalOrders: (params?: ListConditionalOrdersParams) => Promise; /** Batch cancel specific orders by their IDs */ batchCancel: (orderIds: string[]) => Promise; /** Cancel all active orders, optionally filtered by trading pair */ batchCancelAll: (tradingPairId?: string) => Promise; /** Replace an existing order */ replaceOrder: (orderId: string, newOrder: { price?: string; quantity?: string; useMasterBalance?: boolean; }) => Promise; /** Batch create multiple orders */ batchCreate: (orders: BatchCreateOrderParams[]) => Promise; /** Batch replace multiple orders */ batchReplace: (orders: BatchReplaceOrderParams[]) => Promise; /** Get paginated orders */ getPaginatedOrders: (params?: GetPaginatedOrdersParams) => Promise; /** Get a single order by ID */ getOrder: (orderId: string) => Promise; } export {};