@liberfi.io/ui-predict 0.1.70 → 0.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, O as OrderResponse, b as OrderStatusResponse, c as SeriesResponse, C as CandlesticksResponse, d as OrderbookLevel, e as SingleTradeResponse, I as IPredictClient, f as IPredictWsClient, W as WalletPositionItem, g as StandardEventsResponse, M as MarketQueryParams, h as StandardMarketsResponse, i as MarketsBatchRequest, j as OrderbookResponse, T as TradesQueryParams, k as MultiTradeResponse, l as TradesByMintQueryParams, m as OnchainTradesByWalletQueryParams, n as MultiOnchainTradeResponse, o as OnchainTradesByEventQueryParams, p as OnchainTradesByMarketQueryParams, q as CandlesticksQueryParams, F as ForecastPercentileHistoryQueryParams, r as ForecastPercentileHistoryResponse, s as ForecastPercentileHistoryByMintQueryParams, L as LiveDataQueryParams, t as LiveDataResponse, u as LiveDataByEventQueryParams, v as LiveDataByMintQueryParams, w as SeriesQueryParams, x as SeriesListResponse, y as TagsByCategoriesResponse, z as FiltersBySportsResponse, A as SearchQueryParams, B as SearchResponse, P as PositionsByWalletQueryParams, D as WalletPositionsResponse, G as OutcomeMintsQueryParams, H as OutcomeMintsResponse, J as FilterOutcomeMintsRequest, K as FilterOutcomeMintsResponse, Q as QuoteQueryParams, N as QuoteResponse, R as SwapRequestBody, U as SwapResponse, V as SwapInstructionsResponse, X as OrderQueryParams, Y as OrderStatusQueryParams, Z as IntentQuoteQueryParams, _ as IntentQuoteResponse, $ as IntentSwapRequestBody, a0 as IntentSwapResponse, a1 as PredictionMarketInitQueryParams, a2 as PredictionMarketInitResponse, a3 as TokenListResponse, a4 as TokenListWithDecimalsResponse, a5 as VenueListResponse, a6 as WsConnectionStatus, a7 as WsPriceUpdate, a8 as WsTradeUpdate, a9 as WsOrderbookUpdate } from './index-TBHCY2AW.js';
3
- export { aw as AccountMetaResponse, aJ as BasePredictClient, ay as BlockhashWithMetadata, ap as CandlestickDataPoint, ao as CandlestickOHLC, au as ComputeBudgetInfo, aG as CreateFeeAccountParams, aF as DestinationTokenAccountParam, aM as DflowPredictClient, aN as DflowPredictWsClient, ai as ExecutionMode, aq as ForecastPercentileDataPoint, ax as InstructionResponse, aB as IntentExpiry, ak as MarketAccountInfo, ab as MarketStatus, al as OnchainTrade, am as OnchainTradeSortBy, an as OnchainTradesBaseQueryParams, az as OrderFill, aA as OrderRevert, ae as OrderStatus, aD as OrderbookQueryParams, at as PlatformFee, af as PlatformFeeMode, aH as PositiveSlippageParams, aM as PredictClient, aN as PredictWsClient, aE as PrioritizationFeeLamports, av as PrioritizationType, ah as PriorityLevel, aa as ProviderType, as as RoutePlanLeg, ar as SeriesSettlementSource, aj as SettlementSource, ag as SlippageTolerance, ac as SortField, ad as SortOrder, aC as TokenWithDecimals, aP as WsClientConfig, aI as WsSubscribeOptions, aK as buildQuery, aO as createDflowPredictWsClient, aO as createPredictWsClient, aL as toRecord } from './index-TBHCY2AW.js';
2
+ import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, O as OrderResponse, b as OrderStatusResponse, c as SeriesResponse, C as CandlesticksResponse, d as OrderbookLevel, e as SingleTradeResponse, I as IPredictClient, f as IPredictWsClient, W as WalletPositionItem, g as StandardEventsResponse, M as MarketQueryParams, h as StandardMarketsResponse, i as MarketsBatchRequest, j as OrderbookResponse, T as TradesQueryParams, k as MultiTradeResponse, l as TradesByMintQueryParams, m as OnchainTradesByWalletQueryParams, n as MultiOnchainTradeResponse, o as OnchainTradesByEventQueryParams, p as OnchainTradesByMarketQueryParams, q as CandlesticksQueryParams, F as ForecastPercentileHistoryQueryParams, r as ForecastPercentileHistoryResponse, s as ForecastPercentileHistoryByMintQueryParams, L as LiveDataQueryParams, t as LiveDataResponse, u as LiveDataByEventQueryParams, v as LiveDataByMintQueryParams, w as SeriesQueryParams, x as SeriesListResponse, y as TagsByCategoriesResponse, z as FiltersBySportsResponse, A as SearchQueryParams, B as SearchResponse, P as PositionsByWalletQueryParams, D as WalletPositionsResponse, G as OutcomeMintsQueryParams, H as OutcomeMintsResponse, J as FilterOutcomeMintsRequest, K as FilterOutcomeMintsResponse, Q as QuoteQueryParams, N as QuoteResponse, R as SwapRequestBody, U as SwapResponse, V as SwapInstructionsResponse, X as OrderQueryParams, Y as OrderStatusQueryParams, Z as IntentQuoteQueryParams, _ as IntentQuoteResponse, $ as IntentSwapRequestBody, a0 as IntentSwapResponse, a1 as PredictionMarketInitQueryParams, a2 as PredictionMarketInitResponse, a3 as TokenListResponse, a4 as TokenListWithDecimalsResponse, a5 as VenueListResponse, a6 as WsConnectionStatus, a7 as WsPriceUpdate, a8 as WsTradeUpdate, a9 as WsOrderbookUpdate } from './index-NXmKF-C9.js';
3
+ export { aw as AccountMetaResponse, aJ as BasePredictClient, ay as BlockhashWithMetadata, ap as CandlestickDataPoint, ao as CandlestickOHLC, au as ComputeBudgetInfo, aG as CreateFeeAccountParams, aF as DestinationTokenAccountParam, aM as DflowPredictClient, aN as DflowPredictWsClient, ai as ExecutionMode, aq as ForecastPercentileDataPoint, ax as InstructionResponse, aB as IntentExpiry, ak as MarketAccountInfo, ab as MarketStatus, al as OnchainTrade, am as OnchainTradeSortBy, an as OnchainTradesBaseQueryParams, az as OrderFill, aA as OrderRevert, ae as OrderStatus, aD as OrderbookQueryParams, at as PlatformFee, af as PlatformFeeMode, aH as PositiveSlippageParams, aM as PredictClient, aN as PredictWsClient, aE as PrioritizationFeeLamports, av as PrioritizationType, ah as PriorityLevel, aa as ProviderType, as as RoutePlanLeg, ar as SeriesSettlementSource, aj as SettlementSource, ag as SlippageTolerance, ac as SortField, ad as SortOrder, aC as TokenWithDecimals, aP as WsClientConfig, aI as WsSubscribeOptions, aK as buildQuery, aO as createDflowPredictWsClient, aO as createPredictWsClient, aL as toRecord } from './index-NXmKF-C9.js';
4
4
  import { LinkComponentType } from '@liberfi.io/ui';
5
- import { V as V2EventSortField, a as V2ProviderSource, b as V2Event, c as V2Market, d as V2EventStatus, e as V2Page, P as PredictClientV2, f as V2ListEventsParams } from './client-DgC5flVr.js';
6
- export { h as V2MarketResult, i as V2MarketStatus, j as V2Outcome, k as V2ProviderMeta, l as V2SettlementSource, m as V2Tag, g as createPredictClientV2 } from './client-DgC5flVr.js';
7
- import { C as ChartRangeType, a as CandlestickPeriodType } from './server-CUXRrxGG.js';
8
- export { g as CHART_RANGE_DURATION, e as CHART_RANGE_PERIOD, f as CHART_RANGE_SAMPLE_INTERVAL, c as CandlestickPeriod, b as ChartRange, d as DEFAULT_CHART_RANGE, D as DEFAULT_PAGE_SIZE, l as DEFAULT_PRICE_HISTORY_INTERVAL, M as MAX_PRICE_HISTORY_MARKETS, j as ORDER_MAX_PRICE, i as ORDER_MIN_PRICE, O as ORDER_MIN_QUANTITY, h as ORDER_PRICE_STEP, m as PRICE_HISTORY_SAMPLE_INTERVAL, P as PriceHistoryInterval, k as PriceHistoryIntervalType, R as ResolveEventsV2ParamsInput, n as eventV2QueryKey, q as eventsV2InfiniteQueryKey, o as fetchEventV2, s as fetchEventsV2Page, p as resolveEventsV2Params, r as resolveTagSlug } from './server-CUXRrxGG.js';
5
+ import { V as V2EventSortField, a as V2ProviderSource, b as V2Event, c as V2Market, d as V2EventStatus, e as V2Page, P as PredictClientV2, f as V2ListEventsParams, g as V2SimilarEventsParams, h as V2Orderbook, i as V2ListMarketTradesParams, j as V2Trade, k as V2PriceHistoryRange, l as V2PriceHistoryResponse, m as V2ListCandlesticksParams, n as V2Candlestick, o as V2PositionsResponse, p as V2ListOrdersParams, q as V2UserOrder, r as V2CancelOrderResult, s as V2DFlowQuoteRequest, t as V2DFlowQuoteResponse, u as V2DFlowSubmitResponse, v as V2DFlowSubmitRequest, w as V2ListTradesByWalletParams } from './client-Doli88ls.js';
6
+ export { y as V2MarketResult, z as V2MarketStatus, A as V2Outcome, B as V2ProviderMeta, C as V2SettlementSource, D as V2Tag, x as createPredictClientV2 } from './client-Doli88ls.js';
7
+ import { C as ChartRangeType, a as CandlestickPeriodType } from './server-CeHdJzO-.js';
8
+ export { g as CHART_RANGE_DURATION, e as CHART_RANGE_PERIOD, f as CHART_RANGE_SAMPLE_INTERVAL, c as CandlestickPeriod, b as ChartRange, d as DEFAULT_CHART_RANGE, D as DEFAULT_PAGE_SIZE, l as DEFAULT_PRICE_HISTORY_INTERVAL, M as MAX_PRICE_HISTORY_MARKETS, j as ORDER_MAX_PRICE, i as ORDER_MIN_PRICE, O as ORDER_MIN_QUANTITY, h as ORDER_PRICE_STEP, m as PRICE_HISTORY_SAMPLE_INTERVAL, P as PriceHistoryInterval, k as PriceHistoryIntervalType, R as ResolveEventsV2ParamsInput, n as eventV2QueryKey, q as eventsV2InfiniteQueryKey, o as fetchEventV2, s as fetchEventsV2Page, p as resolveEventsV2Params, r as resolveTagSlug } from './server-CeHdJzO-.js';
9
9
  import * as _tanstack_react_query from '@tanstack/react-query';
10
10
  import { UseQueryOptions, UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
11
11
  import * as react from 'react';
@@ -18,7 +18,7 @@ declare global {
18
18
  };
19
19
  }
20
20
  }
21
- declare const _default: "0.1.70";
21
+ declare const _default: "0.1.72";
22
22
 
23
23
  interface EventsPageProps {
24
24
  /** Callback when an event is selected */
@@ -513,52 +513,36 @@ interface EventMarketDetailWidgetProps {
513
513
  }
514
514
  declare function EventMarketDetailWidget({ market, onTradeAction, }: EventMarketDetailWidgetProps): react_jsx_runtime.JSX.Element;
515
515
 
516
- interface EventDetailWidgetV2Props {
517
- /** Event slug (canonical business key). */
518
- eventSlug: string;
519
- /** Upstream provider (`"dflow"` or `"polymarket"`). Required by prediction-server. */
520
- source?: V2ProviderSource;
521
- /** Initial market slugs to query candlesticks for. Default: top 4 by yesAsk. */
522
- initialMarketSlugs?: string[];
523
- /** Initial chart range. Default: "all". */
524
- initialChartRange?: ChartRangeType;
525
- /** Callback when a trade action is triggered (market button / orderbook click). */
526
- onTradeAction?: (market: V2Market, outcome: TradeOutcome, side: TradeSide) => void;
527
- }
528
- declare function EventDetailWidgetV2({ eventSlug, source, initialMarketSlugs, initialChartRange, onTradeAction, }: EventDetailWidgetV2Props): react_jsx_runtime.JSX.Element;
529
-
530
- interface EventDetailPageV2Props extends Omit<EventDetailWidgetV2Props, "eventSlug" | "source" | "onTradeAction"> {
516
+ interface EventDetailPageV2Props {
531
517
  /** Event slug (canonical business key). */
532
518
  eventSlug: string;
533
519
  /** Upstream provider (`"dflow"` or `"polymarket"`). Required by prediction-server. */
534
520
  source?: V2ProviderSource;
535
521
  /** Chain network for trading (default: 'solana'). */
536
522
  chain?: string;
523
+ /** Connected wallet address for user activity (positions/orders/trades). */
524
+ walletAddress?: string;
525
+ /** Callback when a similar event card is clicked. Receives the clicked event. */
526
+ onSimilarEventClick?: (event: V2Event) => void;
537
527
  }
538
- declare function EventDetailPageV2({ eventSlug, source, chain, ...widgetProps }: EventDetailPageV2Props): react_jsx_runtime.JSX.Element;
528
+ declare function EventDetailPageV2({ eventSlug, source, chain, walletAddress, onSimilarEventClick, }: EventDetailPageV2Props): react_jsx_runtime.JSX.Element;
539
529
 
540
530
  interface EventDetailV2UIProps {
541
531
  event: V2Event;
542
- /** Map of market slug to candlestick data */
543
- candlesticks?: Map<string, CandlesticksResponse>;
544
- /** Currently selected chart range */
545
- chartRange?: ChartRangeType;
546
- /** Derived candlestick period interval */
547
- periodInterval?: CandlestickPeriodType;
548
- /** Whether candlesticks are loading */
549
- isCandlesticksLoading?: boolean;
550
- /** Map of market slug to candlestick error */
551
- candlestickErrors?: Map<string, Error>;
552
- /** Callback when chart range changes */
553
- onRangeChange?: (range: ChartRangeType) => void;
554
- /** Selected market slugs for candlestick chart */
555
- selectedMarketSlugs?: string[];
556
- /** Callback when selected markets change */
557
- onMarketSelectionChange?: (marketSlugs: string[]) => void;
558
532
  /** Callback when a trade action is triggered */
559
533
  onTradeAction?: (market: V2Market, outcome: TradeOutcome, side: TradeSide) => void;
560
534
  }
561
- declare function EventDetailV2UI({ event, candlesticks, chartRange, isCandlesticksLoading, onRangeChange, selectedMarketSlugs, onMarketSelectionChange, onTradeAction, }: EventDetailV2UIProps): react_jsx_runtime.JSX.Element;
535
+ declare function EventDetailV2UI({ event, onTradeAction, }: EventDetailV2UIProps): react_jsx_runtime.JSX.Element;
536
+
537
+ interface EventDetailWidgetV2Props {
538
+ /** Event slug (canonical business key). */
539
+ eventSlug: string;
540
+ /** Upstream provider (`"dflow"` or `"polymarket"`). Required by prediction-server. */
541
+ source?: V2ProviderSource;
542
+ /** Callback when a trade action is triggered (market button / orderbook click). */
543
+ onTradeAction?: (market: V2Market, outcome: TradeOutcome, side: TradeSide) => void;
544
+ }
545
+ declare function EventDetailWidgetV2({ eventSlug, source, onTradeAction, }: EventDetailWidgetV2Props): react_jsx_runtime.JSX.Element;
562
546
 
563
547
  interface UseEventDetailV2Params {
564
548
  /** Event slug (canonical business key). */
@@ -583,8 +567,25 @@ declare const useEventDetailV2: (params: UseEventDetailV2Params) => {
583
567
  interface EventPriceChartV2Props {
584
568
  event: V2Event;
585
569
  isLoading?: boolean;
570
+ /** Optional CSS class for the outer container */
571
+ className?: string;
586
572
  }
587
- declare function EventPriceChartV2({ event, isLoading, }: EventPriceChartV2Props): react_jsx_runtime.JSX.Element;
573
+ declare function EventPriceChartV2(props: EventPriceChartV2Props): react_jsx_runtime.JSX.Element;
574
+
575
+ interface EventMarketDetailV2WidgetProps {
576
+ market: V2Market;
577
+ onTradeAction?: (market: V2Market, outcome: TradeOutcome, side: TradeSide) => void;
578
+ }
579
+ declare function EventMarketDetailV2Widget({ market, onTradeAction, }: EventMarketDetailV2WidgetProps): react_jsx_runtime.JSX.Element;
580
+
581
+ interface UserActivityV2SectionProps {
582
+ event: V2Event;
583
+ /** Connected wallet address. When empty the section shows a connect prompt. */
584
+ walletAddress?: string;
585
+ /** Callback to cancel an open order. */
586
+ onCancelOrder?: (orderId: string) => void;
587
+ }
588
+ declare function UserActivityV2Section({ event, walletAddress, onCancelOrder, }: UserActivityV2SectionProps): react_jsx_runtime.JSX.Element;
588
589
 
589
590
  interface TradeFormUIProps {
590
591
  /** Event data */
@@ -642,6 +643,41 @@ interface TradeFormWidgetProps {
642
643
  }
643
644
  declare function TradeFormWidget({ event, market, initialSide, initialOutcome, chain, }: TradeFormWidgetProps): react_jsx_runtime.JSX.Element;
644
645
 
646
+ interface UseTradeFormV2Params {
647
+ market: V2Market;
648
+ chain?: string;
649
+ initialOutcome?: TradeOutcome;
650
+ initialSide?: TradeSide;
651
+ }
652
+ interface UseTradeFormV2Result {
653
+ outcome: TradeOutcome;
654
+ side: TradeSide;
655
+ quantity: number;
656
+ estimatedCost: number;
657
+ potentialPayout: number;
658
+ potentialProfit: number;
659
+ usdcBalance: number | null;
660
+ yesTokenBalance: number | null;
661
+ noTokenBalance: number | null;
662
+ isBalanceLoading: boolean;
663
+ isSubmitting: boolean;
664
+ validation: TradeFormValidation;
665
+ setOutcome: (outcome: TradeOutcome) => void;
666
+ setSide: (side: TradeSide) => void;
667
+ setQuantity: (quantity: number) => void;
668
+ submit: () => void;
669
+ }
670
+ declare function useTradeFormV2({ market, chain: _chain, initialOutcome, initialSide, }: UseTradeFormV2Params): UseTradeFormV2Result;
671
+
672
+ interface TradeFormV2WidgetProps {
673
+ event?: V2Event;
674
+ market: V2Market;
675
+ initialSide?: TradeSide;
676
+ initialOutcome?: TradeOutcome;
677
+ chain?: string;
678
+ }
679
+ declare function TradeFormV2Widget({ event, market, initialSide, initialOutcome, chain, }: TradeFormV2WidgetProps): react_jsx_runtime.JSX.Element;
680
+
645
681
  interface UseOrderBookParams {
646
682
  /** Market ticker */
647
683
  marketTicker: string;
@@ -1314,6 +1350,15 @@ declare function useSearchEventsInfiniteQuery(params: UseSearchEventsInfiniteQue
1314
1350
  enabled?: boolean;
1315
1351
  }): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<V2Page<V2Event>, unknown>, Error>;
1316
1352
 
1353
+ declare function similarEventsV2QueryKey(slug: string, source: V2ProviderSource, params?: V2SimilarEventsParams): unknown[];
1354
+ interface UseSimilarEventsV2QueryParams {
1355
+ slug: string;
1356
+ source: V2ProviderSource;
1357
+ limit?: number;
1358
+ same_source?: boolean;
1359
+ }
1360
+ declare function useSimilarEventsV2Query(params: UseSimilarEventsV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2Event[], Error, V2Event[], unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2Event[], Error>;
1361
+
1317
1362
  /** Stable TanStack Query key for a single v2 market. */
1318
1363
  declare function marketV2QueryKey(slug: string, source?: V2ProviderSource): unknown[];
1319
1364
  /**
@@ -1360,17 +1405,83 @@ interface UseMarketHistoryV2Result {
1360
1405
  isLoading: boolean;
1361
1406
  }
1362
1407
  /**
1363
- * Returns price history series for the provided V2Markets.
1364
- *
1365
- * Currently uses mock data generated via a seeded random walk so the chart
1366
- * looks realistic without a backend. Replace the `useMemo` body with a
1367
- * `useQuery` call when the history endpoint is ready.
1368
- *
1369
- * @param markets - Markets to generate history for.
1370
- * @param range - Chart time range (controls data density and look-back window).
1408
+ * Returns price history series for the provided V2Markets using the
1409
+ * prediction-server `GET /api/v1/markets/{slug}/price-history` endpoint.
1371
1410
  */
1372
1411
  declare function useMarketHistoryV2(markets: V2Market[], range?: ChartRangeType): UseMarketHistoryV2Result;
1373
1412
 
1413
+ declare function orderbookV2QueryKey(slug: string, source: V2ProviderSource): unknown[];
1414
+ interface UseOrderbookV2QueryParams {
1415
+ slug: string;
1416
+ source: V2ProviderSource;
1417
+ }
1418
+ declare function useOrderbookV2Query(params: UseOrderbookV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2Orderbook, Error, V2Orderbook, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2Orderbook, Error>;
1419
+
1420
+ declare function marketTradesV2QueryKey(slug: string, params: V2ListMarketTradesParams): unknown[];
1421
+ interface UseMarketTradesV2QueryParams {
1422
+ slug: string;
1423
+ source: V2ProviderSource;
1424
+ limit?: number;
1425
+ cursor?: string;
1426
+ side?: string;
1427
+ }
1428
+ declare function useMarketTradesV2Query(params: UseMarketTradesV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2Page<V2Trade>, Error, V2Page<V2Trade>, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2Page<V2Trade>, Error>;
1429
+
1430
+ declare function priceHistoryV2QueryKey(slug: string, source: V2ProviderSource, range?: V2PriceHistoryRange): unknown[];
1431
+ interface UsePriceHistoryV2QueryParams {
1432
+ slug: string;
1433
+ source: V2ProviderSource;
1434
+ range?: V2PriceHistoryRange;
1435
+ }
1436
+ declare function usePriceHistoryV2Query(params: UsePriceHistoryV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2PriceHistoryResponse, Error, V2PriceHistoryResponse, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2PriceHistoryResponse, Error>;
1437
+
1438
+ declare function candlesticksV2QueryKey(slug: string, params?: V2ListCandlesticksParams): unknown[];
1439
+ interface UseCandlesticksV2QueryParams {
1440
+ slug: string;
1441
+ interval?: string;
1442
+ limit?: number;
1443
+ }
1444
+ declare function useCandlesticksV2Query(params: UseCandlesticksV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2Candlestick[], Error, V2Candlestick[], unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2Candlestick[], Error>;
1445
+
1446
+ declare function positionsV2QueryKey(source: V2ProviderSource, user: string): unknown[];
1447
+ interface UsePositionsV2QueryParams {
1448
+ source: V2ProviderSource;
1449
+ user: string;
1450
+ }
1451
+ declare function usePositionsV2Query(params: UsePositionsV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2PositionsResponse, Error, V2PositionsResponse, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2PositionsResponse, Error>;
1452
+
1453
+ declare function ordersV2QueryKey(params: V2ListOrdersParams): unknown[];
1454
+ declare function useOrdersV2Query(params: V2ListOrdersParams, queryOptions?: Omit<UseQueryOptions<V2Page<V2UserOrder>, Error, V2Page<V2UserOrder>, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2Page<V2UserOrder>, Error>;
1455
+
1456
+ declare function orderV2QueryKey(id: string, source: V2ProviderSource): unknown[];
1457
+ interface UseOrderV2QueryParams {
1458
+ id: string;
1459
+ source: V2ProviderSource;
1460
+ }
1461
+ /**
1462
+ * Query a single order by ID with optional polling.
1463
+ * Automatically polls every 1 s while enabled.
1464
+ */
1465
+ declare function useOrderV2Query(params: UseOrderV2QueryParams, queryOptions?: Omit<UseQueryOptions<V2UserOrder, Error, V2UserOrder, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2UserOrder, Error>;
1466
+
1467
+ interface CancelOrderV2Variables {
1468
+ id: string;
1469
+ source: V2ProviderSource;
1470
+ }
1471
+ declare function useCancelOrderV2Mutation(mutationOptions?: Omit<UseMutationOptions<V2CancelOrderResult, Error, CancelOrderV2Variables>, "mutationFn">): _tanstack_react_query.UseMutationResult<V2CancelOrderResult, Error, CancelOrderV2Variables, unknown>;
1472
+
1473
+ declare function dflowQuoteV2QueryKey(params: V2DFlowQuoteRequest): unknown[];
1474
+ /**
1475
+ * Fetch a DFlow quote. The query is only enabled when all required
1476
+ * fields are present and amount > 0.
1477
+ */
1478
+ declare function useDFlowQuoteV2(params: V2DFlowQuoteRequest, queryOptions?: Omit<UseQueryOptions<V2DFlowQuoteResponse, Error, V2DFlowQuoteResponse, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2DFlowQuoteResponse, Error>;
1479
+
1480
+ declare function useDFlowSubmitV2(mutationOptions?: Omit<UseMutationOptions<V2DFlowSubmitResponse, Error, V2DFlowSubmitRequest>, "mutationFn">): _tanstack_react_query.UseMutationResult<V2DFlowSubmitResponse, Error, V2DFlowSubmitRequest, unknown>;
1481
+
1482
+ declare function tradesByWalletV2QueryKey(params: V2ListTradesByWalletParams): unknown[];
1483
+ declare function useTradesByWalletV2Query(params: V2ListTradesByWalletParams, queryOptions?: Omit<UseQueryOptions<V2Page<V2Trade>, Error, V2Page<V2Trade>, unknown[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<V2Page<V2Trade>, Error>;
1484
+
1374
1485
  declare function usePredictContext(): PredictContextValue;
1375
1486
 
1376
1487
  declare function usePredictClient(): IPredictClient;
@@ -1710,4 +1821,4 @@ interface UseOrderbookSubscriptionResult {
1710
1821
  */
1711
1822
  declare function useOrderbookSubscription({ client, all, tickers, enabled, onUpdate, }: UseOrderbookSubscriptionParams): UseOrderbookSubscriptionResult;
1712
1823
 
1713
- export { CATEGORIES_V2, CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItem, type CategoryItemV2, type CategorySelection, ChartRangeType, DEFAULT_FILTER_STATE, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailPageV2, type EventDetailPageV2Props, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailV2UI, type EventDetailV2UIProps, EventDetailWidget, type EventDetailWidgetProps, EventDetailWidgetV2, type EventDetailWidgetV2Props, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventPriceChartV2, type EventPriceChartV2Props, EventQueryParams, type EventsFilterState, EventsFilterV2UI, type EventsFilterV2UIProps, EventsPage, type EventsPageProps, EventsPageSkeleton, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsToolbarV2UI, type EventsToolbarV2UIProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, type MarketHistoryPoint, type MarketHistorySeries, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PREDICT_SEARCH_MODAL_ID, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictSearchModal, type PredictSearchModalParams, type PredictSearchModalResult, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, QuoteQueryParams, QuoteResponse, SORT_PRESETS, SearchEventsButton, type SearchEventsButtonProps, SearchHistoryUI, type SearchHistoryUIProps, SearchHistoryWidget, type SearchHistoryWidgetProps, SearchInputUI, type SearchInputUIProps, SearchQueryParams, SearchResponse, SearchResultItemUI, type SearchResultItemUIProps, SearchResultListWidget, type SearchResultListWidgetProps, SearchWidget, type SearchWidgetProps, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, type SortPreset, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItem, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventDetailV2Params, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseMarketHistoryV2Result, type UseMarketV2QueryParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseSearchEventsInfiniteQueryParams, type UseSearchResultListScriptParams, type UseSearchScriptParams, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, V2ProviderSource, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, countActiveFilters, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarketV2, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketV2QueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventDetailV2, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2InfiniteQuery, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketHistoryV2, useMarketPositions, useMarketV2Query, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictSearchHistory, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchEventsInfiniteQuery, useSearchQuery, useSearchResultListScript, useSearchScript, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
1824
+ export { CATEGORIES_V2, type CancelOrderV2Variables, CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItem, type CategoryItemV2, type CategorySelection, ChartRangeType, DEFAULT_FILTER_STATE, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailPageV2, type EventDetailPageV2Props, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailV2UI, type EventDetailV2UIProps, EventDetailWidget, type EventDetailWidgetProps, EventDetailWidgetV2, type EventDetailWidgetV2Props, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailV2Widget, type EventMarketDetailV2WidgetProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventPriceChartV2, type EventPriceChartV2Props, EventQueryParams, type EventsFilterState, EventsFilterV2UI, type EventsFilterV2UIProps, EventsPage, type EventsPageProps, EventsPageSkeleton, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsToolbarV2UI, type EventsToolbarV2UIProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, type MarketHistoryPoint, type MarketHistorySeries, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PREDICT_SEARCH_MODAL_ID, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictSearchModal, type PredictSearchModalParams, type PredictSearchModalResult, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, QuoteQueryParams, QuoteResponse, SORT_PRESETS, SearchEventsButton, type SearchEventsButtonProps, SearchHistoryUI, type SearchHistoryUIProps, SearchHistoryWidget, type SearchHistoryWidgetProps, SearchInputUI, type SearchInputUIProps, SearchQueryParams, SearchResponse, SearchResultItemUI, type SearchResultItemUIProps, SearchResultListWidget, type SearchResultListWidgetProps, SearchWidget, type SearchWidgetProps, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, type SortPreset, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItem, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, TradeFormV2Widget, type TradeFormV2WidgetProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseCandlesticksV2QueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventDetailV2Params, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseMarketHistoryV2Result, type UseMarketTradesV2QueryParams, type UseMarketV2QueryParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderV2QueryParams, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UseOrderbookV2QueryParams, type UsePositionsParams, type UsePositionsResult, type UsePositionsV2QueryParams, type UsePriceHistoryV2QueryParams, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseSearchEventsInfiniteQueryParams, type UseSearchResultListScriptParams, type UseSearchScriptParams, type UseSimilarEventsV2QueryParams, type UseTradeFormParams, type UseTradeFormResult, type UseTradeFormV2Params, type UseTradeFormV2Result, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserActivityV2Section, type UserActivityV2SectionProps, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, V2ProviderSource, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, candlesticksV2QueryKey, countActiveFilters, createSwap, createSwapInstructions, dflowQuoteV2QueryKey, eventByIdQueryKey, eventCandlesticksQueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarketV2, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketTradesV2QueryKey, marketV2QueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, orderV2QueryKey, orderbookV2QueryKey, ordersV2QueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, positionsV2QueryKey, priceHistoryV2QueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, similarEventsV2QueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesByWalletV2QueryKey, tradesQueryKey, useCancelOrderV2Mutation, useCandlesticksV2Query, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useDFlowQuoteV2, useDFlowSubmitV2, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventDetailV2, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2InfiniteQuery, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketHistoryV2, useMarketPositions, useMarketTradesV2Query, useMarketV2Query, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderV2Query, useOrderbookSubscription, useOrderbookV2Query, useOrdersV2Query, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePositionsV2Query, usePredictClient, usePredictContext, usePredictSearchHistory, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePriceHistoryV2Query, usePricesSubscription, useQuoteQuery, useSearchEventsInfiniteQuery, useSearchQuery, useSearchResultListScript, useSearchScript, useSeriesByTickerQuery, useSeriesQuery, useSimilarEventsV2Query, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeFormV2, useTradeHistory, useTradesByMintQuery, useTradesByWalletV2Query, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };