@agg-build/hooks 4.0.0 → 4.4.0

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.mts CHANGED
@@ -2,8 +2,8 @@ import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
3
  export { QueryClient, QueryClientProvider, useQueryClient } from '@tanstack/react-query';
4
4
  import * as _agg_build_sdk from '@agg-build/sdk';
5
- import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, ExecuteManagedResponse, ExecuteManagedParams, PlaceLimitOrderResponse, PlaceLimitOrderParams, CancelManagedExecutionResponse, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, CreateBalanceRefillPolicyParams, UpdateBalanceRefillPolicyParams, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, Venue as Venue$1, VenueKeyStatus, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurrenceFilter, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
6
- export { TurnstileChallengeError } from '@agg-build/sdk';
5
+ import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, ExecuteManagedResponse, ExecuteManagedParams, PlaceLimitOrderResponse, PlaceLimitOrderParams, CancelManagedExecutionResponse, GetPositionsParams, ExecutionStatusStep, WsOrderSubmitted, WsBalanceUpdate, ExecutionStatusOrder, CreateBalanceRefillPolicyParams, UpdateBalanceRefillPolicyParams, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, Venue as Venue$1, VenueKeyStatus, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurringCryptoDuration, RecurringCryptoVenueMarket, RecurringCryptoWindowMarket, RecurrenceFilter, SportsLiveResponse, SportsLiveState, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
6
+ export { SportsGameStatus, SportsLiveParticipant, SportsLiveResponse, SportsLiveState, TurnstileChallengeError } from '@agg-build/sdk';
7
7
  import React, { ReactNode } from 'react';
8
8
  export { UseManagedBalancesOptions, UseWithdrawEstimateParams, UseWithdrawFlowOptions, UseWithdrawFlowResult, UseWithdrawManagedOptions, UseWithdrawPreviewParams, UseWithdrawalLifecycleResult, WithdrawFeeEstimate, WithdrawalLifecycleState, useManagedBalances, useWithdrawEstimate, useWithdrawFlow, useWithdrawManaged, useWithdrawPreview, useWithdrawalLifecycle } from './withdraw.mjs';
9
9
  export { U as UseDepositAddressesOptions, g as getDepositAddress, u as useDepositAddresses } from './use-deposit-addresses-B9ICS-3U.mjs';
@@ -18,7 +18,8 @@ declare enum Venue {
18
18
  predict = "predict",
19
19
  probable = "probable",
20
20
  myriad = "myriad",
21
- hyperliquid = "hyperliquid"
21
+ hyperliquid = "hyperliquid",
22
+ novig = "novig"
22
23
  }
23
24
 
24
25
  declare enum AccountType {
@@ -161,9 +162,12 @@ type UnifiedBalanceResponse = {
161
162
  };
162
163
  type GetOrdersQuery = {
163
164
  status?: OrderStatus | undefined;
165
+ orderType?: "market" | "limit" | undefined;
164
166
  orderId?: string | undefined;
165
167
  /** Filter to all legs of one quote (multi-venue split routes). */
166
168
  quoteId?: string | undefined;
169
+ /** Filter to the order(s) carrying this partner trade id. */
170
+ externalId?: string | undefined;
167
171
  cursor?: string | undefined;
168
172
  limit?: number | undefined;
169
173
  };
@@ -181,6 +185,10 @@ type OrderListItem = {
181
185
  * standalone orders without a Quote row.
182
186
  */
183
187
  quoteId: string | null;
188
+ /** Partner-supplied trade id from POST /execution/orders. */
189
+ externalId: string | null;
190
+ /** Partner-supplied order id from POST /execution/limit-orders. */
191
+ clientOrderId: string | null;
184
192
  createdAt: Date;
185
193
  updatedAt: Date;
186
194
  venue: Venue;
@@ -392,6 +400,15 @@ type VenueEvent = {
392
400
  venues?: Venue[];
393
401
  venueCount?: number | undefined;
394
402
  groupMarketCount?: number | undefined;
403
+ /**
404
+ * Same-venue companion grouping: the id of this event's group base. NULL means
405
+ * the event IS the base, or is standalone. A venue splits one game into several
406
+ * events (`… - More Markets`, `… : Spread`), and same-venue events never share
407
+ * a matched cluster — so on a companion, `matchedVenueEvents[]` lists the other
408
+ * venues' EQUIVALENT companions, not the game's cluster. Use this id (or the
409
+ * shared `aggKey`) to reach the base.
410
+ */
411
+ groupParentId?: string | null | undefined;
395
412
  marketCount?: number | undefined;
396
413
  /**
397
414
  * ISO-8601 duration denormalized from Series.recurrence. `null` means
@@ -919,6 +936,7 @@ interface AggUiLabels {
919
936
  goodTilCanceled: string;
920
937
  expired: string;
921
938
  cancel: string;
939
+ pending: string;
922
940
  cancelOrderAria: (orderId: string) => string;
923
941
  loading: string;
924
942
  loadingMore: string;
@@ -998,6 +1016,18 @@ interface AggUiLabels {
998
1016
  marketSelectPlaceholder: string;
999
1017
  marketSelectSearchPlaceholder: string;
1000
1018
  marketSelectEmpty: string;
1019
+ moreMarkets: string;
1020
+ liveMarket: string;
1021
+ };
1022
+ sportsLive: {
1023
+ scoreAria: (firstName: string, firstScore: string, secondName: string, secondScore: string, status: string) => string;
1024
+ scheduled: string;
1025
+ live: string;
1026
+ paused: string;
1027
+ finished: string;
1028
+ cancelled: string;
1029
+ postponed: string;
1030
+ unknown: string;
1001
1031
  };
1002
1032
  settlementSummary: {
1003
1033
  title: string;
@@ -1044,6 +1074,7 @@ interface AggUiLabels {
1044
1074
  showOutcomeAria: (label: string) => string;
1045
1075
  viewResolved: string;
1046
1076
  hideResolved: string;
1077
+ resolvingBadge: string;
1047
1078
  resolvingTitle: string;
1048
1079
  resolvingDescription: string;
1049
1080
  volumeUnavailable: string;
@@ -1118,7 +1149,9 @@ interface AggUiLabels {
1118
1149
  orderDisabledNoOutcome: string;
1119
1150
  orderDisabledNoEvent: string;
1120
1151
  insufficientBalance: string;
1152
+ insufficientBalanceDetails: string;
1121
1153
  lowLiquidityWarning: string;
1154
+ lowLiquiditySellWarning: string;
1122
1155
  refreshQuote: string;
1123
1156
  confirmOrder: string;
1124
1157
  withdrawSubmitted: string;
@@ -1232,6 +1265,7 @@ interface AggUiLabels {
1232
1265
  limitPrice: string;
1233
1266
  limitPriceInputAria: string;
1234
1267
  limitPriceInvalid: string;
1268
+ limitPriceAdjusted: (venueLabels: string[], tickSizeCents: number, originalPriceLabel: string, side: "buy" | "sell", adjustedPriceLabel: string) => string;
1235
1269
  limitPriceDecreaseAria: string;
1236
1270
  limitPriceIncreaseAria: string;
1237
1271
  expiration: string;
@@ -1275,9 +1309,23 @@ interface AggUiLabels {
1275
1309
  updatingRoute: string;
1276
1310
  refreshingQuotes: string;
1277
1311
  checkingBalance: string;
1312
+ executingOrder: string;
1278
1313
  submittingOrderProgress: string;
1314
+ executionOrderSubmitted: string;
1279
1315
  orderSubmittedProgress: (orderId: string) => string;
1280
1316
  executingOnVenue: (venueLabel: string) => string;
1317
+ venueOrder: (venueLabel: string) => string;
1318
+ settingUpBridge: string;
1319
+ bridgeSetupComplete: string;
1320
+ bridgingFundsProgress: string;
1321
+ bridgeComplete: string;
1322
+ bridgingFunds: (amount: string, sourceChain: string, destinationChain: string, tokenSymbol?: string) => string;
1323
+ fundsBridged: (amount: string, sourceChain: string, destinationChain: string, tokenSymbol?: string) => string;
1324
+ depositingFunds: (amount: string, tokenSymbol: string, destinationChain: string) => string;
1325
+ fundsDeposited: (amount: string, tokenSymbol: string, destinationChain: string) => string;
1326
+ fillingOnVenue: (venueLabel: string) => string;
1327
+ venueFilledAtPriceWithAmount: (venueLabel: string, amountLabel: string, priceLabel: string) => string;
1328
+ executionShares: (value: string) => string;
1281
1329
  confirmTransactionInWallet: string;
1282
1330
  executionConfirmed: string;
1283
1331
  orderSuccessTitle: string;
@@ -1298,12 +1346,20 @@ interface AggUiLabels {
1298
1346
  orderSummaryAvgPrice: string;
1299
1347
  orderSummaryEstCost: string;
1300
1348
  orderSummaryVenue: string;
1349
+ orderAmountFilled: string;
1350
+ orderAmountFilledOf: (requestedAmount: string) => string;
1351
+ orderPayout: string;
1352
+ orderFullyFilled: string;
1353
+ orderPartiallyFilled: string;
1354
+ orderAveragePrice: (priceLabel: string) => string;
1301
1355
  orderComplete: string;
1302
1356
  orderFilledAtPrice: (venueLabel: string, priceLabel: string) => string;
1303
1357
  orderFilledAtPriceWithAmount: (venueLabel: string, priceLabel: string, amountLabel: string) => string;
1304
1358
  orderPartiallyFilledAtPriceWithAmount: (venueLabel: string, priceLabel: string, amountLabel: string) => string;
1305
1359
  orderSkip: string;
1306
1360
  orderRetryRemaining: string;
1361
+ orderTryRemaining: (remainingLabel: string) => string;
1362
+ orderClose: string;
1307
1363
  resolvedEarningsTitle: string;
1308
1364
  resolvedResolutionDateLabel: string;
1309
1365
  resolvedSharesLabel: string;
@@ -1312,6 +1368,7 @@ interface AggUiLabels {
1312
1368
  boughtOutcomeAtPrice: (label: string, priceLabel: string) => string;
1313
1369
  soldOutcomeAtPrice: (label: string, priceLabel: string) => string;
1314
1370
  potentialReturnBonus: (value: string) => string;
1371
+ potentialReturnBetter: (value: string) => string;
1315
1372
  withSmartRouting: string;
1316
1373
  buy: string;
1317
1374
  sell: string;
@@ -1442,6 +1499,9 @@ interface AggUiLabels {
1442
1499
  resolvedOutcome: (label: string) => string;
1443
1500
  marketDetailsAriaByDate: (dateLabel: string) => string;
1444
1501
  marketDetailsAriaByQuestion: (question: string) => string;
1502
+ recurringCountdownAria: (countdown: string) => string;
1503
+ goToLive: string;
1504
+ liveMarketUnavailable: string;
1445
1505
  sports: {
1446
1506
  summaryAria: string;
1447
1507
  sectionTabsAria: string;
@@ -1831,6 +1891,8 @@ interface AggBalanceContextValue {
1831
1891
  availableBalanceBreakdown: AggBalanceBreakdownItem[];
1832
1892
  /** Raw response from GET /execution/balances for direct consumer use. */
1833
1893
  managedBalances: UnifiedBalanceResponse;
1894
+ /** React Query snapshot timestamp used to scope balance-dependent quotes. */
1895
+ dataUpdatedAt: number;
1834
1896
  /** Total cash, including reserved or otherwise held funds. */
1835
1897
  totalBalance: number;
1836
1898
  /** Cash immediately available for a new trade or withdrawal. */
@@ -2352,6 +2414,8 @@ interface ExecutionTerminalOrderEvent {
2352
2414
  errorReason?: string;
2353
2415
  timestamp: number;
2354
2416
  }
2417
+ type ExecutionStepProgress = ExecutionStatusStep;
2418
+ type ExecutionRawStepProgress = Pick<ExecutionStatusStep, "sequence" | "stepType" | "status" | "attempt" | "startedAt" | "completedAt" | "errorReason">;
2355
2419
  interface UseExecutionProgressOptions {
2356
2420
  orderIds: string[] | null;
2357
2421
  quoteId?: string | null;
@@ -2364,6 +2428,9 @@ interface UseExecutionProgressResult {
2364
2428
  latestBalance: WsBalanceUpdate | null;
2365
2429
  dagProgress: DagStepProgress | null;
2366
2430
  terminalOrderEvents: ExecutionTerminalOrderEvent[];
2431
+ executionSteps: ExecutionStepProgress[];
2432
+ rawExecutionSteps: ExecutionRawStepProgress[];
2433
+ executionOrders: ExecutionStatusOrder[];
2367
2434
  }
2368
2435
  declare function useExecutionProgress({ orderIds, quoteId, enabled, mode, }: UseExecutionProgressOptions): UseExecutionProgressResult;
2369
2436
 
@@ -4650,6 +4717,11 @@ interface UseSmartRouteOptions {
4650
4717
  accountId?: string | null;
4651
4718
  positionVersion?: number | null;
4652
4719
  };
4720
+ /** Account balance freshness affects whether a server quote is executable. */
4721
+ balanceCacheScope?: {
4722
+ accountId?: string | null;
4723
+ balanceVersion?: number | null;
4724
+ };
4653
4725
  /**
4654
4726
  * Opt in to the deep cost-estimate surface — response `feeBreakdown`
4655
4727
  * gains `setupCosts` (chain approvals + Kalshi ATAs) with `alreadyPaid`
@@ -4723,6 +4795,7 @@ interface UseLimitOrderVenueQuotesOptions {
4723
4795
  interface LimitOrderVenueQuoteResult {
4724
4796
  request: LimitOrderVenueQuoteRequest;
4725
4797
  data: SmartRouteResponse | null;
4798
+ tickSize?: number | null;
4726
4799
  isLoading: boolean;
4727
4800
  isFetching: boolean;
4728
4801
  error: Error | null;
@@ -5373,6 +5446,215 @@ declare function useEnrichedVenueEvent(options: UseEnrichedVenueEventOptions): {
5373
5446
  promise: Promise<_agg_build_sdk.VenueEvent>;
5374
5447
  };
5375
5448
 
5449
+ type RecurringCryptoIdentity = {
5450
+ asset: string | null;
5451
+ duration: RecurringCryptoDuration;
5452
+ windowStart: number | null;
5453
+ };
5454
+ type RecurringCryptoMarketInstance = {
5455
+ id: string;
5456
+ asset: string;
5457
+ duration: RecurringCryptoDuration;
5458
+ windowStart: string;
5459
+ windowEnd: string;
5460
+ status: MarketStatus;
5461
+ venueEventId: string;
5462
+ venueMarketId: string;
5463
+ venue: RecurringCryptoVenueMarket["venue"];
5464
+ };
5465
+ type RecurringCryptoTimeline = {
5466
+ all: RecurringCryptoMarketInstance[];
5467
+ visible: RecurringCryptoMarketInstance[];
5468
+ ended: RecurringCryptoMarketInstance | null;
5469
+ live: RecurringCryptoMarketInstance | null;
5470
+ upcoming: RecurringCryptoMarketInstance[];
5471
+ viewed: RecurringCryptoMarketInstance | null;
5472
+ };
5473
+ type UseRecurringCryptoMarketsOptions = {
5474
+ event: VenueEventWithMarkets | undefined;
5475
+ enabled?: boolean;
5476
+ };
5477
+ declare const resolveRecurringCryptoIdentity: (event: VenueEventWithMarkets) => RecurringCryptoIdentity | null;
5478
+ declare const mergeRecurringCryptoWindows: (windows: RecurringCryptoWindowMarket[]) => RecurringCryptoWindowMarket[];
5479
+ declare const resolveRecurringCryptoTimeline: (windows: RecurringCryptoWindowMarket[], event: VenueEventWithMarkets, now: number) => RecurringCryptoTimeline;
5480
+ declare const fetchRecurringCryptoMarkets: (client: AggClient, event: VenueEventWithMarkets, signal: AbortSignal, now?: number) => Promise<RecurringCryptoWindowMarket[]>;
5481
+ declare const recurringCryptoTransitionPollInterval: (windows: RecurringCryptoWindowMarket[] | undefined, event: VenueEventWithMarkets, now?: number) => number | false;
5482
+ declare const useRecurringCryptoMarkets: ({ event, enabled, }: UseRecurringCryptoMarketsOptions) => {
5483
+ windows: RecurringCryptoWindowMarket[];
5484
+ isRecurringCryptoMarket: boolean;
5485
+ data: RecurringCryptoWindowMarket[];
5486
+ error: Error;
5487
+ isError: true;
5488
+ isPending: false;
5489
+ isLoading: false;
5490
+ isLoadingError: false;
5491
+ isRefetchError: true;
5492
+ isSuccess: false;
5493
+ isPlaceholderData: false;
5494
+ status: "error";
5495
+ dataUpdatedAt: number;
5496
+ errorUpdatedAt: number;
5497
+ failureCount: number;
5498
+ failureReason: Error | null;
5499
+ errorUpdateCount: number;
5500
+ isFetched: boolean;
5501
+ isFetchedAfterMount: boolean;
5502
+ isFetching: boolean;
5503
+ isInitialLoading: boolean;
5504
+ isPaused: boolean;
5505
+ isRefetching: boolean;
5506
+ isStale: boolean;
5507
+ isEnabled: boolean;
5508
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
5509
+ fetchStatus: _tanstack_react_query.FetchStatus;
5510
+ promise: Promise<RecurringCryptoWindowMarket[]>;
5511
+ } | {
5512
+ windows: RecurringCryptoWindowMarket[];
5513
+ isRecurringCryptoMarket: boolean;
5514
+ data: RecurringCryptoWindowMarket[];
5515
+ error: null;
5516
+ isError: false;
5517
+ isPending: false;
5518
+ isLoading: false;
5519
+ isLoadingError: false;
5520
+ isRefetchError: false;
5521
+ isSuccess: true;
5522
+ isPlaceholderData: false;
5523
+ status: "success";
5524
+ dataUpdatedAt: number;
5525
+ errorUpdatedAt: number;
5526
+ failureCount: number;
5527
+ failureReason: Error | null;
5528
+ errorUpdateCount: number;
5529
+ isFetched: boolean;
5530
+ isFetchedAfterMount: boolean;
5531
+ isFetching: boolean;
5532
+ isInitialLoading: boolean;
5533
+ isPaused: boolean;
5534
+ isRefetching: boolean;
5535
+ isStale: boolean;
5536
+ isEnabled: boolean;
5537
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
5538
+ fetchStatus: _tanstack_react_query.FetchStatus;
5539
+ promise: Promise<RecurringCryptoWindowMarket[]>;
5540
+ } | {
5541
+ windows: RecurringCryptoWindowMarket[];
5542
+ isRecurringCryptoMarket: boolean;
5543
+ data: undefined;
5544
+ error: Error;
5545
+ isError: true;
5546
+ isPending: false;
5547
+ isLoading: false;
5548
+ isLoadingError: true;
5549
+ isRefetchError: false;
5550
+ isSuccess: false;
5551
+ isPlaceholderData: false;
5552
+ status: "error";
5553
+ dataUpdatedAt: number;
5554
+ errorUpdatedAt: number;
5555
+ failureCount: number;
5556
+ failureReason: Error | null;
5557
+ errorUpdateCount: number;
5558
+ isFetched: boolean;
5559
+ isFetchedAfterMount: boolean;
5560
+ isFetching: boolean;
5561
+ isInitialLoading: boolean;
5562
+ isPaused: boolean;
5563
+ isRefetching: boolean;
5564
+ isStale: boolean;
5565
+ isEnabled: boolean;
5566
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
5567
+ fetchStatus: _tanstack_react_query.FetchStatus;
5568
+ promise: Promise<RecurringCryptoWindowMarket[]>;
5569
+ } | {
5570
+ windows: RecurringCryptoWindowMarket[];
5571
+ isRecurringCryptoMarket: boolean;
5572
+ data: undefined;
5573
+ error: null;
5574
+ isError: false;
5575
+ isPending: true;
5576
+ isLoading: true;
5577
+ isLoadingError: false;
5578
+ isRefetchError: false;
5579
+ isSuccess: false;
5580
+ isPlaceholderData: false;
5581
+ status: "pending";
5582
+ dataUpdatedAt: number;
5583
+ errorUpdatedAt: number;
5584
+ failureCount: number;
5585
+ failureReason: Error | null;
5586
+ errorUpdateCount: number;
5587
+ isFetched: boolean;
5588
+ isFetchedAfterMount: boolean;
5589
+ isFetching: boolean;
5590
+ isInitialLoading: boolean;
5591
+ isPaused: boolean;
5592
+ isRefetching: boolean;
5593
+ isStale: boolean;
5594
+ isEnabled: boolean;
5595
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
5596
+ fetchStatus: _tanstack_react_query.FetchStatus;
5597
+ promise: Promise<RecurringCryptoWindowMarket[]>;
5598
+ } | {
5599
+ windows: RecurringCryptoWindowMarket[];
5600
+ isRecurringCryptoMarket: boolean;
5601
+ data: undefined;
5602
+ error: null;
5603
+ isError: false;
5604
+ isPending: true;
5605
+ isLoadingError: false;
5606
+ isRefetchError: false;
5607
+ isSuccess: false;
5608
+ isPlaceholderData: false;
5609
+ status: "pending";
5610
+ dataUpdatedAt: number;
5611
+ errorUpdatedAt: number;
5612
+ failureCount: number;
5613
+ failureReason: Error | null;
5614
+ errorUpdateCount: number;
5615
+ isFetched: boolean;
5616
+ isFetchedAfterMount: boolean;
5617
+ isFetching: boolean;
5618
+ isLoading: boolean;
5619
+ isInitialLoading: boolean;
5620
+ isPaused: boolean;
5621
+ isRefetching: boolean;
5622
+ isStale: boolean;
5623
+ isEnabled: boolean;
5624
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
5625
+ fetchStatus: _tanstack_react_query.FetchStatus;
5626
+ promise: Promise<RecurringCryptoWindowMarket[]>;
5627
+ } | {
5628
+ windows: RecurringCryptoWindowMarket[];
5629
+ isRecurringCryptoMarket: boolean;
5630
+ data: RecurringCryptoWindowMarket[];
5631
+ isError: false;
5632
+ error: null;
5633
+ isPending: false;
5634
+ isLoading: false;
5635
+ isLoadingError: false;
5636
+ isRefetchError: false;
5637
+ isSuccess: true;
5638
+ isPlaceholderData: true;
5639
+ status: "success";
5640
+ dataUpdatedAt: number;
5641
+ errorUpdatedAt: number;
5642
+ failureCount: number;
5643
+ failureReason: Error | null;
5644
+ errorUpdateCount: number;
5645
+ isFetched: boolean;
5646
+ isFetchedAfterMount: boolean;
5647
+ isFetching: boolean;
5648
+ isInitialLoading: boolean;
5649
+ isPaused: boolean;
5650
+ isRefetching: boolean;
5651
+ isStale: boolean;
5652
+ isEnabled: boolean;
5653
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
5654
+ fetchStatus: _tanstack_react_query.FetchStatus;
5655
+ promise: Promise<RecurringCryptoWindowMarket[]>;
5656
+ };
5657
+
5376
5658
  interface UseVenueEventsOptions {
5377
5659
  /** Optional query-key scope to isolate caches across different surfaces. */
5378
5660
  queryKeyScope?: string;
@@ -5642,6 +5924,192 @@ declare function useVenueEvents(options?: UseVenueEventsOptions): {
5642
5924
  promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<_agg_build_sdk.VenueEvent>, unknown>>;
5643
5925
  };
5644
5926
 
5927
+ declare const SPORTS_LIVE_POLL_INTERVAL_MS = 5000;
5928
+ declare const SPORTS_SCHEDULED_POLL_INTERVAL_MS = 30000;
5929
+ declare const sportsLiveQueryKey: (sortedEventIds: readonly string[]) => readonly ["sports-live", ...string[]];
5930
+ declare const sportsLiveRefetchInterval: (response: SportsLiveResponse | undefined) => number | false;
5931
+ declare const useSportsLive: (eventIds: readonly string[], enabled?: boolean) => {
5932
+ states: SportsLiveState[];
5933
+ stateByEventId: Map<string, SportsLiveState>;
5934
+ missingEventIds: string[];
5935
+ data: SportsLiveResponse;
5936
+ error: Error;
5937
+ isError: true;
5938
+ isPending: false;
5939
+ isLoading: false;
5940
+ isLoadingError: false;
5941
+ isRefetchError: true;
5942
+ isSuccess: false;
5943
+ isPlaceholderData: false;
5944
+ status: "error";
5945
+ dataUpdatedAt: number;
5946
+ errorUpdatedAt: number;
5947
+ failureCount: number;
5948
+ failureReason: Error | null;
5949
+ errorUpdateCount: number;
5950
+ isFetched: boolean;
5951
+ isFetchedAfterMount: boolean;
5952
+ isFetching: boolean;
5953
+ isInitialLoading: boolean;
5954
+ isPaused: boolean;
5955
+ isRefetching: boolean;
5956
+ isStale: boolean;
5957
+ isEnabled: boolean;
5958
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
5959
+ fetchStatus: _tanstack_react_query.FetchStatus;
5960
+ promise: Promise<SportsLiveResponse>;
5961
+ } | {
5962
+ states: SportsLiveState[];
5963
+ stateByEventId: Map<string, SportsLiveState>;
5964
+ missingEventIds: string[];
5965
+ data: SportsLiveResponse;
5966
+ error: null;
5967
+ isError: false;
5968
+ isPending: false;
5969
+ isLoading: false;
5970
+ isLoadingError: false;
5971
+ isRefetchError: false;
5972
+ isSuccess: true;
5973
+ isPlaceholderData: false;
5974
+ status: "success";
5975
+ dataUpdatedAt: number;
5976
+ errorUpdatedAt: number;
5977
+ failureCount: number;
5978
+ failureReason: Error | null;
5979
+ errorUpdateCount: number;
5980
+ isFetched: boolean;
5981
+ isFetchedAfterMount: boolean;
5982
+ isFetching: boolean;
5983
+ isInitialLoading: boolean;
5984
+ isPaused: boolean;
5985
+ isRefetching: boolean;
5986
+ isStale: boolean;
5987
+ isEnabled: boolean;
5988
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
5989
+ fetchStatus: _tanstack_react_query.FetchStatus;
5990
+ promise: Promise<SportsLiveResponse>;
5991
+ } | {
5992
+ states: SportsLiveState[];
5993
+ stateByEventId: Map<string, SportsLiveState>;
5994
+ missingEventIds: string[];
5995
+ data: undefined;
5996
+ error: Error;
5997
+ isError: true;
5998
+ isPending: false;
5999
+ isLoading: false;
6000
+ isLoadingError: true;
6001
+ isRefetchError: false;
6002
+ isSuccess: false;
6003
+ isPlaceholderData: false;
6004
+ status: "error";
6005
+ dataUpdatedAt: number;
6006
+ errorUpdatedAt: number;
6007
+ failureCount: number;
6008
+ failureReason: Error | null;
6009
+ errorUpdateCount: number;
6010
+ isFetched: boolean;
6011
+ isFetchedAfterMount: boolean;
6012
+ isFetching: boolean;
6013
+ isInitialLoading: boolean;
6014
+ isPaused: boolean;
6015
+ isRefetching: boolean;
6016
+ isStale: boolean;
6017
+ isEnabled: boolean;
6018
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
6019
+ fetchStatus: _tanstack_react_query.FetchStatus;
6020
+ promise: Promise<SportsLiveResponse>;
6021
+ } | {
6022
+ states: SportsLiveState[];
6023
+ stateByEventId: Map<string, SportsLiveState>;
6024
+ missingEventIds: string[];
6025
+ data: undefined;
6026
+ error: null;
6027
+ isError: false;
6028
+ isPending: true;
6029
+ isLoading: true;
6030
+ isLoadingError: false;
6031
+ isRefetchError: false;
6032
+ isSuccess: false;
6033
+ isPlaceholderData: false;
6034
+ status: "pending";
6035
+ dataUpdatedAt: number;
6036
+ errorUpdatedAt: number;
6037
+ failureCount: number;
6038
+ failureReason: Error | null;
6039
+ errorUpdateCount: number;
6040
+ isFetched: boolean;
6041
+ isFetchedAfterMount: boolean;
6042
+ isFetching: boolean;
6043
+ isInitialLoading: boolean;
6044
+ isPaused: boolean;
6045
+ isRefetching: boolean;
6046
+ isStale: boolean;
6047
+ isEnabled: boolean;
6048
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
6049
+ fetchStatus: _tanstack_react_query.FetchStatus;
6050
+ promise: Promise<SportsLiveResponse>;
6051
+ } | {
6052
+ states: SportsLiveState[];
6053
+ stateByEventId: Map<string, SportsLiveState>;
6054
+ missingEventIds: string[];
6055
+ data: undefined;
6056
+ error: null;
6057
+ isError: false;
6058
+ isPending: true;
6059
+ isLoadingError: false;
6060
+ isRefetchError: false;
6061
+ isSuccess: false;
6062
+ isPlaceholderData: false;
6063
+ status: "pending";
6064
+ dataUpdatedAt: number;
6065
+ errorUpdatedAt: number;
6066
+ failureCount: number;
6067
+ failureReason: Error | null;
6068
+ errorUpdateCount: number;
6069
+ isFetched: boolean;
6070
+ isFetchedAfterMount: boolean;
6071
+ isFetching: boolean;
6072
+ isLoading: boolean;
6073
+ isInitialLoading: boolean;
6074
+ isPaused: boolean;
6075
+ isRefetching: boolean;
6076
+ isStale: boolean;
6077
+ isEnabled: boolean;
6078
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
6079
+ fetchStatus: _tanstack_react_query.FetchStatus;
6080
+ promise: Promise<SportsLiveResponse>;
6081
+ } | {
6082
+ states: SportsLiveState[];
6083
+ stateByEventId: Map<string, SportsLiveState>;
6084
+ missingEventIds: string[];
6085
+ data: SportsLiveResponse;
6086
+ isError: false;
6087
+ error: null;
6088
+ isPending: false;
6089
+ isLoading: false;
6090
+ isLoadingError: false;
6091
+ isRefetchError: false;
6092
+ isSuccess: true;
6093
+ isPlaceholderData: true;
6094
+ status: "success";
6095
+ dataUpdatedAt: number;
6096
+ errorUpdatedAt: number;
6097
+ failureCount: number;
6098
+ failureReason: Error | null;
6099
+ errorUpdateCount: number;
6100
+ isFetched: boolean;
6101
+ isFetchedAfterMount: boolean;
6102
+ isFetching: boolean;
6103
+ isInitialLoading: boolean;
6104
+ isPaused: boolean;
6105
+ isRefetching: boolean;
6106
+ isStale: boolean;
6107
+ isEnabled: boolean;
6108
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
6109
+ fetchStatus: _tanstack_react_query.FetchStatus;
6110
+ promise: Promise<SportsLiveResponse>;
6111
+ };
6112
+
5645
6113
  interface UseVenueMarketsOptions {
5646
6114
  /** Filter by venue. */
5647
6115
  venue?: Venue;
@@ -6238,4 +6706,4 @@ declare function useAppConfig(): UseAppConfigResult;
6238
6706
  */
6239
6707
  declare function useCachedAppConfig(): UseAppConfigResult;
6240
6708
 
6241
- export { AUTH_CHOOSER_OPEN_EVENT, type AggAuthContextValue, type AggAuthSignInOptions, type AggBalanceContextValue, AggBalanceProvider, AggProvider, type AggProviderProps, AggProvider as AggSdkProvider, type AggProviderProps as AggSdkProviderProps, type AggUiConfig, type AggUiConfigInput, type AggUiLabels, type AggUiLabelsInput, AggUiProvider, type AggUiTradingExecutionMode, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsOptions, DEFAULT_AGG_ROOT_CLASS_NAME, type DagStepProgress, type EventListStateContextValue, EventListStateProvider, type EventListStateSnapshot, type EventTradingContextValue, type EventTradingState, type ExecutionProgressPhase, type ExecutionTerminalOrderEvent, type GeoBlockState, type GetOrdersQuery, type GetPositionsQuery, type InvalidateUserActivityOptions, type InvalidateUserMoneyStateOptions, type LimitOrderVenueQuoteRequest, type LimitOrderVenueQuoteResult, type LiveBestPriceCandidate, type LiveBestPriceCandidates, type LiveBestPrices, type LiveCandle, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartCandle, type MarketChartData, type MarketChartVenueData, type MarketOrderbookData, type MarketOrderbookIntegrity, MarketStatus, type MarketTradingState, MatchStatus, MatchType, type OrderEligibility, type OrderEligibilityReason, type OrderListItem, type OrderbookResult, type PositionGroup, type PriceGapValue, type RedeemEvent, type RedeemLegLifecycle, type RedeemLifecycleState, RedeemRejectedError, type RollingChartWindow, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type SettlementDiff, type SettlementDifference, type SmartRouteLoadingReason, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCancelManagedOrderOptions, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLimitOrderVenueQuotesOptions, type UseLimitOrderVenueQuotesResult, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketArbResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePlaceLimitOrderOptions, type UsePositionsOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVenueSellQuotesOptions, type UseVenueSellQuotesResult, type UseViewportMidpointsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type VenueSellQuoteRequest, type VenueSellQuoteResult, type WalletActionSendTokenParams, type WalletActions, buildLiveBestPriceCandidates, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, extractOutcomeBestCandidate, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, invalidateUserActivityQueries, invalidateUserClaimState, invalidateUserMoneyState, isVenueDisabledByConfig, mergeBestPricesPreferringLive, normalizeVenueId, optimizedImageUrl, parseEmail, parseEmailStrict, rangeToSeconds, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveRollingWindow, resolveTradingStateKind, sortVenues, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useArbFeed, useBalanceRefillPolicies, useCachedAppConfig, useCancelManagedOrder, useCategories, useCategoryChildren, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLimitOrderVenueQuotes, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePlaceLimitOrder, usePositions, useRampQuotes, useRampSession, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueKeyStatus, useVenueMarketMidpoints, useVenueMarkets, useVenueSellQuotes, useViewportMidpoints, useVisibleIds, userActivityQueryKeys, venueKeyQueryKeys };
6709
+ export { AUTH_CHOOSER_OPEN_EVENT, type AggAuthContextValue, type AggAuthSignInOptions, type AggBalanceContextValue, AggBalanceProvider, AggProvider, type AggProviderProps, AggProvider as AggSdkProvider, type AggProviderProps as AggSdkProviderProps, type AggUiConfig, type AggUiConfigInput, type AggUiLabels, type AggUiLabelsInput, AggUiProvider, type AggUiTradingExecutionMode, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsOptions, DEFAULT_AGG_ROOT_CLASS_NAME, type DagStepProgress, type EventListStateContextValue, EventListStateProvider, type EventListStateSnapshot, type EventTradingContextValue, type EventTradingState, type ExecutionProgressPhase, type ExecutionRawStepProgress, type ExecutionStepProgress, type ExecutionTerminalOrderEvent, type GeoBlockState, type GetOrdersQuery, type GetPositionsQuery, type InvalidateUserActivityOptions, type InvalidateUserMoneyStateOptions, type LimitOrderVenueQuoteRequest, type LimitOrderVenueQuoteResult, type LiveBestPriceCandidate, type LiveBestPriceCandidates, type LiveBestPrices, type LiveCandle, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartCandle, type MarketChartData, type MarketChartVenueData, type MarketOrderbookData, type MarketOrderbookIntegrity, MarketStatus, type MarketTradingState, MatchStatus, MatchType, type OrderEligibility, type OrderEligibilityReason, type OrderListItem, type OrderbookResult, type PositionGroup, type PriceGapValue, type RecurringCryptoIdentity, type RecurringCryptoMarketInstance, type RecurringCryptoTimeline, type RedeemEvent, type RedeemLegLifecycle, type RedeemLifecycleState, RedeemRejectedError, type RollingChartWindow, SPORTS_LIVE_POLL_INTERVAL_MS, SPORTS_SCHEDULED_POLL_INTERVAL_MS, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type SettlementDiff, type SettlementDifference, type SmartRouteLoadingReason, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCancelManagedOrderOptions, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLimitOrderVenueQuotesOptions, type UseLimitOrderVenueQuotesResult, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketArbResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePlaceLimitOrderOptions, type UsePositionsOptions, type UseRecurringCryptoMarketsOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVenueSellQuotesOptions, type UseVenueSellQuotesResult, type UseViewportMidpointsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type VenueSellQuoteRequest, type VenueSellQuoteResult, type WalletActionSendTokenParams, type WalletActions, buildLiveBestPriceCandidates, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, extractOutcomeBestCandidate, fetchRecurringCryptoMarkets, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, invalidateUserActivityQueries, invalidateUserClaimState, invalidateUserMoneyState, isVenueDisabledByConfig, mergeBestPricesPreferringLive, mergeRecurringCryptoWindows, normalizeVenueId, optimizedImageUrl, parseEmail, parseEmailStrict, rangeToSeconds, recurringCryptoTransitionPollInterval, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveRecurringCryptoIdentity, resolveRecurringCryptoTimeline, resolveRollingWindow, resolveTradingStateKind, sortVenues, sportsLiveQueryKey, sportsLiveRefetchInterval, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useArbFeed, useBalanceRefillPolicies, useCachedAppConfig, useCancelManagedOrder, useCategories, useCategoryChildren, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLimitOrderVenueQuotes, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePlaceLimitOrder, usePositions, useRampQuotes, useRampSession, useRecurringCryptoMarkets, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useSportsLive, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueKeyStatus, useVenueMarketMidpoints, useVenueMarkets, useVenueSellQuotes, useViewportMidpoints, useVisibleIds, userActivityQueryKeys, venueKeyQueryKeys };