@agg-build/hooks 4.18.2 → 4.19.1

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
@@ -2,7 +2,7 @@ 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, ExecutionStatusStep, WsOrderSubmitted, WsBalanceUpdate, ExecutionStatusOrder, CreateBalanceRefillPolicyParams, UpdateBalanceRefillPolicyParams, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, ChartBarsMeta, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, Venue as Venue$1, VenueKeyStatus, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountWalletConfirmBody, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurringCryptoDuration, RecurringCryptoVenueMarket, RecurringCryptoWindowMarket, RecurrenceFilter, SportsLiveResponse, SportsLiveState, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse, AppTradingMode, VenueMarket as VenueMarket$1, HostedVenueWithdrawalRequest } 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, ChartBarsMeta, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, Venue as Venue$1, VenueKeyStatus, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountWalletConfirmBody, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, LeaderboardMetric, LeaderboardRow, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurringCryptoDuration, RecurringCryptoVenueMarket, RecurringCryptoWindowMarket, RecurrenceFilter, SportsLiveResponse, SportsLiveState, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse, AppTradingMode, VenueMarket as VenueMarket$1, HostedVenueWithdrawalRequest } from '@agg-build/sdk';
6
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.js';
@@ -978,6 +978,10 @@ interface AggUiLabels {
978
978
  networkTooltipDescription: string;
979
979
  };
980
980
  hostedBetdex: {
981
+ manageFunds: string;
982
+ fromWallet: string;
983
+ toWallet: string;
984
+ transferToBetdex: string;
981
985
  deposit: string;
982
986
  depositInstructions: Record<"production" | "sandbox", string>;
983
987
  depositAddress: string;
@@ -1220,6 +1224,40 @@ interface AggUiLabels {
1220
1224
  readFullDetails: string;
1221
1225
  showLess: string;
1222
1226
  };
1227
+ leaderboard: {
1228
+ title: string;
1229
+ /** `appName` is undefined when the host does not pass one. */
1230
+ subtitle: (appName: string | undefined, periodLabel: string) => string;
1231
+ periodLabel: string;
1232
+ rankByLabel: string;
1233
+ periods: {
1234
+ "1d": string;
1235
+ "7d": string;
1236
+ "30d": string;
1237
+ all: string;
1238
+ };
1239
+ metrics: {
1240
+ realizedPnl: string;
1241
+ volume: string;
1242
+ };
1243
+ columns: {
1244
+ rank: string;
1245
+ trader: string;
1246
+ orders: string;
1247
+ volume: string;
1248
+ realizedPnl: string;
1249
+ };
1250
+ tradesCount: (count: number) => string;
1251
+ anonymousTrader: string;
1252
+ you: string;
1253
+ showMore: string;
1254
+ loadingAria: string;
1255
+ emptyTitle: string;
1256
+ emptyDescription: string;
1257
+ errorTitle: string;
1258
+ errorDescription: string;
1259
+ pnlFootnote: string;
1260
+ };
1223
1261
  marketDetails: {
1224
1262
  loading: string;
1225
1263
  unavailableAria: string;
@@ -1471,6 +1509,7 @@ interface AggUiLabels {
1471
1509
  tradingAccessVenues: string;
1472
1510
  tradingAccessAvailable: string;
1473
1511
  tradingAccessAddKalshiAccount: string;
1512
+ configureBetdexAccount: string;
1474
1513
  outcome: (label: string) => string;
1475
1514
  smartRouting: string;
1476
1515
  limitRoutingCurrentPrice: (priceLabel: string, feeLabel?: string) => string;
@@ -4183,6 +4222,248 @@ declare function useUserActivity(options?: UseUserActivityOptions): {
4183
4222
  promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<UserActivityItem>, unknown>>;
4184
4223
  };
4185
4224
 
4225
+ /** Preset ranges the leaderboard UI offers. The API itself takes any from/to. */
4226
+ type LeaderboardPeriod = "1d" | "7d" | "30d" | "all";
4227
+ declare const LEADERBOARD_PERIODS: readonly LeaderboardPeriod[];
4228
+ interface UseLeaderboardOptions {
4229
+ /** Default `30d`. */
4230
+ period?: LeaderboardPeriod;
4231
+ /** Default `realizedPnl`. */
4232
+ metric?: LeaderboardMetric;
4233
+ /** Page size, 1..100. Default 50. */
4234
+ limit?: number;
4235
+ enabled?: boolean;
4236
+ }
4237
+ /**
4238
+ * Inclusive UTC day range for a preset. `1d` is today, `7d` is the last 7
4239
+ * UTC days including today, `30d` the last 30. `all` returns no bounds.
4240
+ */
4241
+ declare function leaderboardRange(period: LeaderboardPeriod, now?: Date): {
4242
+ from?: string;
4243
+ to?: string;
4244
+ };
4245
+ declare const leaderboardQueryKeys: {
4246
+ all: () => readonly ["leaderboard"];
4247
+ list: (period: LeaderboardPeriod, metric: LeaderboardMetric, limit: number) => readonly ["leaderboard", LeaderboardPeriod, LeaderboardMetric, number];
4248
+ };
4249
+ declare function useLeaderboard(options?: UseLeaderboardOptions): {
4250
+ rows: LeaderboardRow[];
4251
+ hasNextPage: boolean;
4252
+ data: _tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>;
4253
+ error: Error;
4254
+ isError: true;
4255
+ isPending: false;
4256
+ isLoading: false;
4257
+ isLoadingError: false;
4258
+ isRefetchError: true;
4259
+ isSuccess: false;
4260
+ isPlaceholderData: false;
4261
+ status: "error";
4262
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4263
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4264
+ hasPreviousPage: boolean;
4265
+ isFetchNextPageError: boolean;
4266
+ isFetchingNextPage: boolean;
4267
+ isFetchPreviousPageError: boolean;
4268
+ isFetchingPreviousPage: boolean;
4269
+ dataUpdatedAt: number;
4270
+ errorUpdatedAt: number;
4271
+ failureCount: number;
4272
+ failureReason: Error | null;
4273
+ errorUpdateCount: number;
4274
+ isFetched: boolean;
4275
+ isFetchedAfterMount: boolean;
4276
+ isFetching: boolean;
4277
+ isInitialLoading: boolean;
4278
+ isPaused: boolean;
4279
+ isRefetching: boolean;
4280
+ isStale: boolean;
4281
+ isEnabled: boolean;
4282
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4283
+ fetchStatus: _tanstack_react_query.FetchStatus;
4284
+ promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>>;
4285
+ } | {
4286
+ rows: LeaderboardRow[];
4287
+ hasNextPage: boolean;
4288
+ data: _tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>;
4289
+ error: null;
4290
+ isError: false;
4291
+ isPending: false;
4292
+ isLoading: false;
4293
+ isLoadingError: false;
4294
+ isRefetchError: false;
4295
+ isFetchNextPageError: false;
4296
+ isFetchPreviousPageError: false;
4297
+ isSuccess: true;
4298
+ isPlaceholderData: false;
4299
+ status: "success";
4300
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4301
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4302
+ hasPreviousPage: boolean;
4303
+ isFetchingNextPage: boolean;
4304
+ isFetchingPreviousPage: boolean;
4305
+ dataUpdatedAt: number;
4306
+ errorUpdatedAt: number;
4307
+ failureCount: number;
4308
+ failureReason: Error | null;
4309
+ errorUpdateCount: number;
4310
+ isFetched: boolean;
4311
+ isFetchedAfterMount: boolean;
4312
+ isFetching: boolean;
4313
+ isInitialLoading: boolean;
4314
+ isPaused: boolean;
4315
+ isRefetching: boolean;
4316
+ isStale: boolean;
4317
+ isEnabled: boolean;
4318
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4319
+ fetchStatus: _tanstack_react_query.FetchStatus;
4320
+ promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>>;
4321
+ } | {
4322
+ rows: LeaderboardRow[];
4323
+ hasNextPage: boolean;
4324
+ data: undefined;
4325
+ error: Error;
4326
+ isError: true;
4327
+ isPending: false;
4328
+ isLoading: false;
4329
+ isLoadingError: true;
4330
+ isRefetchError: false;
4331
+ isFetchNextPageError: false;
4332
+ isFetchPreviousPageError: false;
4333
+ isSuccess: false;
4334
+ isPlaceholderData: false;
4335
+ status: "error";
4336
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4337
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4338
+ hasPreviousPage: boolean;
4339
+ isFetchingNextPage: boolean;
4340
+ isFetchingPreviousPage: boolean;
4341
+ dataUpdatedAt: number;
4342
+ errorUpdatedAt: number;
4343
+ failureCount: number;
4344
+ failureReason: Error | null;
4345
+ errorUpdateCount: number;
4346
+ isFetched: boolean;
4347
+ isFetchedAfterMount: boolean;
4348
+ isFetching: boolean;
4349
+ isInitialLoading: boolean;
4350
+ isPaused: boolean;
4351
+ isRefetching: boolean;
4352
+ isStale: boolean;
4353
+ isEnabled: boolean;
4354
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4355
+ fetchStatus: _tanstack_react_query.FetchStatus;
4356
+ promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>>;
4357
+ } | {
4358
+ rows: LeaderboardRow[];
4359
+ hasNextPage: boolean;
4360
+ data: undefined;
4361
+ error: null;
4362
+ isError: false;
4363
+ isPending: true;
4364
+ isLoading: true;
4365
+ isLoadingError: false;
4366
+ isRefetchError: false;
4367
+ isFetchNextPageError: false;
4368
+ isFetchPreviousPageError: false;
4369
+ isSuccess: false;
4370
+ isPlaceholderData: false;
4371
+ status: "pending";
4372
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4373
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4374
+ hasPreviousPage: boolean;
4375
+ isFetchingNextPage: boolean;
4376
+ isFetchingPreviousPage: boolean;
4377
+ dataUpdatedAt: number;
4378
+ errorUpdatedAt: number;
4379
+ failureCount: number;
4380
+ failureReason: Error | null;
4381
+ errorUpdateCount: number;
4382
+ isFetched: boolean;
4383
+ isFetchedAfterMount: boolean;
4384
+ isFetching: boolean;
4385
+ isInitialLoading: boolean;
4386
+ isPaused: boolean;
4387
+ isRefetching: boolean;
4388
+ isStale: boolean;
4389
+ isEnabled: boolean;
4390
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4391
+ fetchStatus: _tanstack_react_query.FetchStatus;
4392
+ promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>>;
4393
+ } | {
4394
+ rows: LeaderboardRow[];
4395
+ hasNextPage: boolean;
4396
+ data: undefined;
4397
+ error: null;
4398
+ isError: false;
4399
+ isPending: true;
4400
+ isLoadingError: false;
4401
+ isRefetchError: false;
4402
+ isFetchNextPageError: false;
4403
+ isFetchPreviousPageError: false;
4404
+ isSuccess: false;
4405
+ isPlaceholderData: false;
4406
+ status: "pending";
4407
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4408
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4409
+ hasPreviousPage: boolean;
4410
+ isFetchingNextPage: boolean;
4411
+ isFetchingPreviousPage: boolean;
4412
+ dataUpdatedAt: number;
4413
+ errorUpdatedAt: number;
4414
+ failureCount: number;
4415
+ failureReason: Error | null;
4416
+ errorUpdateCount: number;
4417
+ isFetched: boolean;
4418
+ isFetchedAfterMount: boolean;
4419
+ isFetching: boolean;
4420
+ isLoading: boolean;
4421
+ isInitialLoading: boolean;
4422
+ isPaused: boolean;
4423
+ isRefetching: boolean;
4424
+ isStale: boolean;
4425
+ isEnabled: boolean;
4426
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4427
+ fetchStatus: _tanstack_react_query.FetchStatus;
4428
+ promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>>;
4429
+ } | {
4430
+ rows: LeaderboardRow[];
4431
+ hasNextPage: boolean;
4432
+ data: _tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>;
4433
+ isError: false;
4434
+ error: null;
4435
+ isPending: false;
4436
+ isLoading: false;
4437
+ isLoadingError: false;
4438
+ isRefetchError: false;
4439
+ isSuccess: true;
4440
+ isPlaceholderData: true;
4441
+ isFetchNextPageError: false;
4442
+ isFetchPreviousPageError: false;
4443
+ status: "success";
4444
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4445
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4446
+ hasPreviousPage: boolean;
4447
+ isFetchingNextPage: boolean;
4448
+ isFetchingPreviousPage: boolean;
4449
+ dataUpdatedAt: number;
4450
+ errorUpdatedAt: number;
4451
+ failureCount: number;
4452
+ failureReason: Error | null;
4453
+ errorUpdateCount: number;
4454
+ isFetched: boolean;
4455
+ isFetchedAfterMount: boolean;
4456
+ isFetching: boolean;
4457
+ isInitialLoading: boolean;
4458
+ isPaused: boolean;
4459
+ isRefetching: boolean;
4460
+ isStale: boolean;
4461
+ isEnabled: boolean;
4462
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>, Error>>;
4463
+ fetchStatus: _tanstack_react_query.FetchStatus;
4464
+ promise: Promise<_tanstack_react_query.InfiniteData<PaginatedResponse<LeaderboardRow>, unknown>>;
4465
+ };
4466
+
4186
4467
  interface UseExternalIdOptions {
4187
4468
  onSuccess?: (profile: UserProfile) => void;
4188
4469
  onError?: (error: Error) => void;
@@ -7942,4 +8223,4 @@ declare function useHostedVenueTransfers(accountId: string, environment: Environ
7942
8223
  clear: () => void;
7943
8224
  };
7944
8225
 
7945
- 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_ORDER_VENUE_MARKET_IDS_PER_REQUEST, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartAvailability, 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 UseExecutionOrdersForMarketsOptions, type UseExecutionOrdersForMarketsResult, 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 UseMarketChartsResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePaperOnboardingResult, type UsePlaceLimitOrderOptions, type UsePositionsOptions, type UseRecurringCryptoMarketsOptions, type UseRedeemLifecycleInput, type UseResolvedExecutionModeResult, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSettlementDetailsDataOptions, 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, appConfigQueryKey, buildLiveBestPriceCandidates, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, extractOutcomeBestCandidate, fetchRecurringCryptoMarkets, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, hostedVenueAccountQueryKeys, 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, retinaImageUrl, sharedKycQueryKeys, 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, useExecutionOrdersForMarkets, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useHostedVenueAccount, useHostedVenueActivity, useHostedVenueTransfers, useLabels, useLimitOrderVenueQuotes, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketCharts, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePaperOnboarding, usePlaceLimitOrder, usePositions, useRampQuotes, useRampSession, useRecurringCryptoMarkets, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useResolvedExecutionMode, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSettlementDetailsData, useSharedKyc, useSmartRoute, useSportsLive, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueKeyStatus, useVenueMarketMidpoints, useVenueMarkets, useVenueSellQuotes, useViewportMidpoints, useVisibleIds, userActivityQueryKeys, venueKeyQueryKeys };
8226
+ 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, LEADERBOARD_PERIODS, type LeaderboardPeriod, type LimitOrderVenueQuoteRequest, type LimitOrderVenueQuoteResult, type LiveBestPriceCandidate, type LiveBestPriceCandidates, type LiveBestPrices, type LiveCandle, MAX_ORDER_VENUE_MARKET_IDS_PER_REQUEST, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartAvailability, 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 UseExecutionOrdersForMarketsOptions, type UseExecutionOrdersForMarketsResult, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLeaderboardOptions, type UseLimitOrderVenueQuotesOptions, type UseLimitOrderVenueQuotesResult, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketArbResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketChartsResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePaperOnboardingResult, type UsePlaceLimitOrderOptions, type UsePositionsOptions, type UseRecurringCryptoMarketsOptions, type UseRedeemLifecycleInput, type UseResolvedExecutionModeResult, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSettlementDetailsDataOptions, 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, appConfigQueryKey, buildLiveBestPriceCandidates, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, extractOutcomeBestCandidate, fetchRecurringCryptoMarkets, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, hostedVenueAccountQueryKeys, invalidateBalanceQueries, invalidatePositionQueries, invalidateUserActivityQueries, invalidateUserClaimState, invalidateUserMoneyState, isVenueDisabledByConfig, leaderboardQueryKeys, leaderboardRange, mergeBestPricesPreferringLive, mergeRecurringCryptoWindows, normalizeVenueId, optimizedImageUrl, parseEmail, parseEmailStrict, rangeToSeconds, recurringCryptoTransitionPollInterval, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveRecurringCryptoIdentity, resolveRecurringCryptoTimeline, resolveRollingWindow, resolveTradingStateKind, retinaImageUrl, sharedKycQueryKeys, 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, useExecutionOrdersForMarkets, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useHostedVenueAccount, useHostedVenueActivity, useHostedVenueTransfers, useLabels, useLeaderboard, useLimitOrderVenueQuotes, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketCharts, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePaperOnboarding, usePlaceLimitOrder, usePositions, useRampQuotes, useRampSession, useRecurringCryptoMarkets, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useResolvedExecutionMode, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSettlementDetailsData, useSharedKyc, useSmartRoute, useSportsLive, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueKeyStatus, useVenueMarketMidpoints, useVenueMarkets, useVenueSellQuotes, useViewportMidpoints, useVisibleIds, userActivityQueryKeys, venueKeyQueryKeys };