import type { TradeEvent } from "@0xmonaco/types"; /** * Return type for the useTradeFeed hook */ export interface UseTradeFeedReturn { /** Array of trade events from WebSocket and REST API */ trades: TradeEvent[]; /** Whether currently subscribed to a market. Will be false if the SDK is not yet initialized. */ subscribed: boolean; /** Whether the initial trades are being fetched */ fetchingInitialState: boolean; /** Any error that occurred during connection or subscription */ error: Error | null; }