@agg-build/hooks 1.0.0 → 1.0.2

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,10 +2,12 @@ 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, AggWebSocket, WsBalanceUpdate, WsOrderSubmitted, QuoteManagedResponse, QuoteManagedParams, ExecuteManagedResponse, ExecuteManagedParams, WithdrawManagedResponse, WithdrawManagedParams, GetPositionsParams, RedeemResponse, RedeemRequest, WsRedeemEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, UserActivityQuery, UserActivityItem, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, SmartRouteResponse, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
5
+ import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, QuoteManagedResponse, QuoteManagedParams, ExecuteManagedResponse, ExecuteManagedParams, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, UserActivityQuery, UserActivityItem, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, SmartRouteResponse, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
6
6
  export { TurnstileChallengeError } from '@agg-build/sdk';
7
7
  import React, { ReactNode } from 'react';
8
- export { U as UseDepositAddressesOptions, a as UseSyncBalancesOptions, g as getDepositAddress, u as useDepositAddresses, b as useSyncBalances } from './use-sync-balances-D1Jdkck9.js';
8
+ export { UseManagedBalancesOptions, UseWithdrawFlowOptions, UseWithdrawFlowResult, UseWithdrawManagedOptions, UseWithdrawalLifecycleResult, WithdrawalLifecycleState, useManagedBalances, useWithdrawFlow, useWithdrawManaged, useWithdrawalLifecycle } from './withdraw.js';
9
+ export { U as UseDepositAddressesOptions, g as getDepositAddress, u as useDepositAddresses } from './use-deposit-addresses-B9ICS-3U.js';
10
+ export { U as UseSyncBalancesOptions, u as useSyncBalances } from './use-sync-balances-B1_8tBKw.js';
9
11
 
10
12
  /** Use these constants instead of hardcoding "kalshi" or "polymarket". */
11
13
  declare enum Venue {
@@ -454,6 +456,8 @@ interface AggUiLabels {
454
456
  successDescription: string;
455
457
  pendingTitle: (provider: string) => string;
456
458
  pendingDescription: string;
459
+ pendingWalletAddressHelp: string;
460
+ pendingCopyAddress: string;
457
461
  viewActivity: string;
458
462
  chooseAnotherProvider: string;
459
463
  summary: {
@@ -490,9 +494,56 @@ interface AggUiLabels {
490
494
  done: string;
491
495
  balancePrefix: string;
492
496
  methods: {
497
+ walletTitle: string;
498
+ walletDescription: string;
493
499
  cardTitle: string;
494
500
  cardDescription: string;
495
501
  };
502
+ walletFlow: {
503
+ title: string;
504
+ recipientAddressLabel: string;
505
+ amountLabel: string;
506
+ max: string;
507
+ tokenLabel: string;
508
+ networkLabel: string;
509
+ confirm: string;
510
+ successTitle: string;
511
+ successDescription: (tokenSymbol: string) => string;
512
+ successTitleCompleted: string;
513
+ successDescriptionCompleted: (tokenSymbol: string) => string;
514
+ successTitlePartial: string;
515
+ successDescriptionPartial: (tokenSymbol: string) => string;
516
+ successTitleFailed: string;
517
+ successDescriptionFailed: (tokenSymbol: string) => string;
518
+ summary: {
519
+ amountReceived: string;
520
+ network: string;
521
+ toWallet: string;
522
+ fees: string;
523
+ };
524
+ /**
525
+ * Lifecycle copy used in the success step once the user has submitted
526
+ * the withdrawal — driven by `withdrawal_lifecycle` WS events. Each
527
+ * key matches a `WsWithdrawalLifecycleStatus` value.
528
+ */
529
+ lifecycle: {
530
+ pending: string;
531
+ bridging: string;
532
+ transferring: string;
533
+ completed: string;
534
+ partial: string;
535
+ failed: string;
536
+ /**
537
+ * Per-leg step labels rendered in the success step's execution
538
+ * timeline. `bridge` covers cross-chain hops, `transfer` covers
539
+ * same-chain disbursement to the user's wallet.
540
+ */
541
+ steps: {
542
+ bridge: (sourceChainName: string, destChainName: string) => string;
543
+ transfer: (destChainName: string) => string;
544
+ };
545
+ };
546
+ };
496
547
  cardFlow: {
497
548
  title: string;
498
549
  amountLabel: string;
@@ -557,6 +608,7 @@ interface AggUiLabels {
557
608
  };
558
609
  eventList: {
559
610
  matchedTab: string;
611
+ allTab: string;
560
612
  loading: (title: string) => string;
561
613
  tabsAria: (title: string) => string;
562
614
  emptyAria: string;
@@ -685,6 +737,8 @@ interface AggUiLabels {
685
737
  settlementDescriptionLabel: string;
686
738
  settlementRulesPrimaryLabel: string;
687
739
  settlementRulesSecondaryLabel: string;
740
+ settlementPrimaryRulesLabel: string;
741
+ settlementEmpty: string;
688
742
  disclaimer: string;
689
743
  geoBlockTermsLink: string;
690
744
  geoBlockGenericMessage: string;
@@ -697,6 +751,7 @@ interface AggUiLabels {
697
751
  averagePrice: (value: number) => string;
698
752
  balance: (value: string) => string;
699
753
  shares: (value: number) => string;
754
+ maxShares: string;
700
755
  slippage: (value: number) => string;
701
756
  editSlippage: (value: string) => string;
702
757
  collapseSlippage: (value: string) => string;
@@ -743,7 +798,8 @@ interface AggUiLabels {
743
798
  insufficientPositionGeneric: string;
744
799
  insufficientSellDepth: string;
745
800
  noBidsAboveMinPrice: string;
746
- signInRequired: string;
801
+ signInToTrade: string;
802
+ deposit: string;
747
803
  kycRequired: string;
748
804
  kycNotVerifiedTooltip: string;
749
805
  kycVerifyModalTitle: string;
@@ -758,7 +814,6 @@ interface AggUiLabels {
758
814
  orderSplitting: string;
759
815
  splitOrderDescription: string;
760
816
  viewAllRoutes: (count: number) => string;
761
- hideRoutes: string;
762
817
  venueUnavailableInRegion: string;
763
818
  toWin: (tab: "buy" | "sell") => string;
764
819
  buyingOutcome: (label: string) => string;
@@ -1305,10 +1360,6 @@ declare function useRampQuotes(): _tanstack_react_query.UseMutationResult<RampQu
1305
1360
 
1306
1361
  declare function useRampSession(): _tanstack_react_query.UseMutationResult<RampWidgetSession, Error, RampSessionRequest, unknown>;
1307
1362
 
1308
- declare function useAggWebSocket(): AggWebSocket | null;
1309
- declare function useOnOrderSubmitted(callback: ((msg: WsOrderSubmitted) => void) | null): void;
1310
- declare function useOnBalanceUpdate(callback: ((msg: WsBalanceUpdate) => void) | null): void;
1311
-
1312
1363
  declare const executionKeys: {
1313
1364
  all: () => readonly ["execution"];
1314
1365
  balances: () => readonly ["execution", "balances"];
@@ -1340,192 +1391,6 @@ interface UseExecuteManagedOptions {
1340
1391
  */
1341
1392
  declare function useExecuteManaged(options?: UseExecuteManagedOptions): _tanstack_react_query.UseMutationResult<ExecuteManagedResponse, Error, ExecuteManagedParams, unknown>;
1342
1393
 
1343
- interface UseWithdrawManagedOptions {
1344
- onSuccess?: (data: WithdrawManagedResponse) => void;
1345
- onError?: (error: Error) => void;
1346
- }
1347
- /**
1348
- * Mutation hook for withdrawing funds from managed wallets.
1349
- * On success, invalidates balances queries.
1350
- */
1351
- declare function useWithdrawManaged(options?: UseWithdrawManagedOptions): _tanstack_react_query.UseMutationResult<WithdrawManagedResponse, Error, WithdrawManagedParams, unknown>;
1352
-
1353
- interface UseManagedBalancesOptions {
1354
- enabled?: boolean;
1355
- }
1356
- /**
1357
- * Query hook for fetching unified managed wallet balances across all chains.
1358
- */
1359
- declare function useManagedBalances(options?: UseManagedBalancesOptions): {
1360
- balances: _agg_build_sdk.UnifiedBalanceResponse | undefined;
1361
- data: _agg_build_sdk.UnifiedBalanceResponse;
1362
- error: Error;
1363
- isError: true;
1364
- isPending: false;
1365
- isLoading: false;
1366
- isLoadingError: false;
1367
- isRefetchError: true;
1368
- isSuccess: false;
1369
- isPlaceholderData: false;
1370
- status: "error";
1371
- dataUpdatedAt: number;
1372
- errorUpdatedAt: number;
1373
- failureCount: number;
1374
- failureReason: Error | null;
1375
- errorUpdateCount: number;
1376
- isFetched: boolean;
1377
- isFetchedAfterMount: boolean;
1378
- isFetching: boolean;
1379
- isInitialLoading: boolean;
1380
- isPaused: boolean;
1381
- isRefetching: boolean;
1382
- isStale: boolean;
1383
- isEnabled: boolean;
1384
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_agg_build_sdk.UnifiedBalanceResponse, Error>>;
1385
- fetchStatus: _tanstack_react_query.FetchStatus;
1386
- promise: Promise<_agg_build_sdk.UnifiedBalanceResponse>;
1387
- } | {
1388
- balances: _agg_build_sdk.UnifiedBalanceResponse | undefined;
1389
- data: _agg_build_sdk.UnifiedBalanceResponse;
1390
- error: null;
1391
- isError: false;
1392
- isPending: false;
1393
- isLoading: false;
1394
- isLoadingError: false;
1395
- isRefetchError: false;
1396
- isSuccess: true;
1397
- isPlaceholderData: false;
1398
- status: "success";
1399
- dataUpdatedAt: number;
1400
- errorUpdatedAt: number;
1401
- failureCount: number;
1402
- failureReason: Error | null;
1403
- errorUpdateCount: number;
1404
- isFetched: boolean;
1405
- isFetchedAfterMount: boolean;
1406
- isFetching: boolean;
1407
- isInitialLoading: boolean;
1408
- isPaused: boolean;
1409
- isRefetching: boolean;
1410
- isStale: boolean;
1411
- isEnabled: boolean;
1412
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_agg_build_sdk.UnifiedBalanceResponse, Error>>;
1413
- fetchStatus: _tanstack_react_query.FetchStatus;
1414
- promise: Promise<_agg_build_sdk.UnifiedBalanceResponse>;
1415
- } | {
1416
- balances: _agg_build_sdk.UnifiedBalanceResponse | undefined;
1417
- data: undefined;
1418
- error: Error;
1419
- isError: true;
1420
- isPending: false;
1421
- isLoading: false;
1422
- isLoadingError: true;
1423
- isRefetchError: false;
1424
- isSuccess: false;
1425
- isPlaceholderData: false;
1426
- status: "error";
1427
- dataUpdatedAt: number;
1428
- errorUpdatedAt: number;
1429
- failureCount: number;
1430
- failureReason: Error | null;
1431
- errorUpdateCount: number;
1432
- isFetched: boolean;
1433
- isFetchedAfterMount: boolean;
1434
- isFetching: boolean;
1435
- isInitialLoading: boolean;
1436
- isPaused: boolean;
1437
- isRefetching: boolean;
1438
- isStale: boolean;
1439
- isEnabled: boolean;
1440
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_agg_build_sdk.UnifiedBalanceResponse, Error>>;
1441
- fetchStatus: _tanstack_react_query.FetchStatus;
1442
- promise: Promise<_agg_build_sdk.UnifiedBalanceResponse>;
1443
- } | {
1444
- balances: _agg_build_sdk.UnifiedBalanceResponse | undefined;
1445
- data: undefined;
1446
- error: null;
1447
- isError: false;
1448
- isPending: true;
1449
- isLoading: true;
1450
- isLoadingError: false;
1451
- isRefetchError: false;
1452
- isSuccess: false;
1453
- isPlaceholderData: false;
1454
- status: "pending";
1455
- dataUpdatedAt: number;
1456
- errorUpdatedAt: number;
1457
- failureCount: number;
1458
- failureReason: Error | null;
1459
- errorUpdateCount: number;
1460
- isFetched: boolean;
1461
- isFetchedAfterMount: boolean;
1462
- isFetching: boolean;
1463
- isInitialLoading: boolean;
1464
- isPaused: boolean;
1465
- isRefetching: boolean;
1466
- isStale: boolean;
1467
- isEnabled: boolean;
1468
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_agg_build_sdk.UnifiedBalanceResponse, Error>>;
1469
- fetchStatus: _tanstack_react_query.FetchStatus;
1470
- promise: Promise<_agg_build_sdk.UnifiedBalanceResponse>;
1471
- } | {
1472
- balances: _agg_build_sdk.UnifiedBalanceResponse | undefined;
1473
- data: undefined;
1474
- error: null;
1475
- isError: false;
1476
- isPending: true;
1477
- isLoadingError: false;
1478
- isRefetchError: false;
1479
- isSuccess: false;
1480
- isPlaceholderData: false;
1481
- status: "pending";
1482
- dataUpdatedAt: number;
1483
- errorUpdatedAt: number;
1484
- failureCount: number;
1485
- failureReason: Error | null;
1486
- errorUpdateCount: number;
1487
- isFetched: boolean;
1488
- isFetchedAfterMount: boolean;
1489
- isFetching: boolean;
1490
- isLoading: boolean;
1491
- isInitialLoading: boolean;
1492
- isPaused: boolean;
1493
- isRefetching: boolean;
1494
- isStale: boolean;
1495
- isEnabled: boolean;
1496
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_agg_build_sdk.UnifiedBalanceResponse, Error>>;
1497
- fetchStatus: _tanstack_react_query.FetchStatus;
1498
- promise: Promise<_agg_build_sdk.UnifiedBalanceResponse>;
1499
- } | {
1500
- balances: _agg_build_sdk.UnifiedBalanceResponse | undefined;
1501
- data: _agg_build_sdk.UnifiedBalanceResponse;
1502
- isError: false;
1503
- error: null;
1504
- isPending: false;
1505
- isLoading: false;
1506
- isLoadingError: false;
1507
- isRefetchError: false;
1508
- isSuccess: true;
1509
- isPlaceholderData: true;
1510
- status: "success";
1511
- dataUpdatedAt: number;
1512
- errorUpdatedAt: number;
1513
- failureCount: number;
1514
- failureReason: Error | null;
1515
- errorUpdateCount: number;
1516
- isFetched: boolean;
1517
- isFetchedAfterMount: boolean;
1518
- isFetching: boolean;
1519
- isInitialLoading: boolean;
1520
- isPaused: boolean;
1521
- isRefetching: boolean;
1522
- isStale: boolean;
1523
- isEnabled: boolean;
1524
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_agg_build_sdk.UnifiedBalanceResponse, Error>>;
1525
- fetchStatus: _tanstack_react_query.FetchStatus;
1526
- promise: Promise<_agg_build_sdk.UnifiedBalanceResponse>;
1527
- };
1528
-
1529
1394
  interface UsePositionsOptions extends GetPositionsParams {
1530
1395
  enabled?: boolean;
1531
1396
  }
@@ -1764,6 +1629,11 @@ declare const useOnRedeemEvent: (listener: ((event: RedeemEvent) => void) | null
1764
1629
 
1765
1630
  declare const useRedeemEligibleCount: () => number;
1766
1631
 
1632
+ declare function useAggWebSocket(): AggWebSocket | null;
1633
+ declare function useOnOrderSubmitted(callback: ((msg: WsOrderSubmitted) => void) | null): void;
1634
+ declare function useOnBalanceUpdate(callback: ((msg: WsBalanceUpdate) => void) | null): void;
1635
+ declare function useOnWithdrawalLifecycle(callback: ((msg: WsWithdrawalLifecycleEvent) => void) | null): void;
1636
+
1767
1637
  interface MarketChartCandle {
1768
1638
  time: number;
1769
1639
  open: number;
@@ -2894,6 +2764,13 @@ declare function useLiveTrades(canonicalMarketId: string | null): WsTrade[];
2894
2764
  interface UseMidpointsResult {
2895
2765
  /** Map of outcomeId → price. Empty while loading. */
2896
2766
  prices: Map<string, number>;
2767
+ /**
2768
+ * Map of outcomeId → venue name that provided the price in `prices`.
2769
+ * When a matched venue offers a lower YES price, this records that venue so
2770
+ * callers can show the correct venue logo alongside the best price.
2771
+ * Empty while loading or when the API response omits `venue` fields.
2772
+ */
2773
+ venueByOutcomeId: Map<string, string>;
2897
2774
  /** True while the midpoints fetch is in flight. */
2898
2775
  isLoading: boolean;
2899
2776
  }
@@ -4598,6 +4475,11 @@ declare function computePriceGaps(input: ComputePriceGapsInput): Map<string, num
4598
4475
  */
4599
4476
  declare function useViewportMidpoints(visibleMarkets: VenueMarket[]): {
4600
4477
  prices: Map<string, number>;
4478
+ /**
4479
+ * Map of outcomeId → venue name that provided the price in `prices`.
4480
+ * Populated when a matched venue offers a lower YES price than the primary.
4481
+ */
4482
+ venueByOutcomeId: Map<string, string>;
4601
4483
  };
4602
4484
 
4603
4485
  interface UseVisibleIdsOptions {
@@ -4637,4 +4519,4 @@ interface UseAppConfigResult {
4637
4519
  */
4638
4520
  declare function useAppConfig(): UseAppConfigResult;
4639
4521
 
4640
- 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, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsInput, 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 LiveCandle, 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 PriceGapMarket, type RedeemEvent, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type ThemeMode, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseCategoriesOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseManagedBalancesOptions, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePositionsOptions, type UseQuoteManagedOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UseWithdrawManagedOptions, Venue, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type WalletActionSendTokenParams, type WalletActions, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, findLivePriceById, getBuilder, getOrCreateBuilder, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, optimizedImageUrl, parseEmail, parseEmailStrict, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveTradingStateKind, sortVenues, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useCategories, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLinkAccount, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useManagedBalances, useMarketChart, useMarketOrderbook, useMidpoints, useOnBalanceUpdate, useOnOrderSubmitted, useOnRedeemEvent, useOrderBook, useOrderbookQuote, useOrders, usePositions, useQuoteManaged, useRampQuotes, useRampSession, useRedeem, useRedeemEligibleCount, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueMarketMidpoints, useVenueMarkets, useViewportMidpoints, useVisibleIds, useWithdrawManaged };
4522
+ 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, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsInput, 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 LiveCandle, 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 PriceGapMarket, type RedeemEvent, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type ThemeMode, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseCategoriesOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePositionsOptions, type UseQuoteManagedOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, Venue, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type WalletActionSendTokenParams, type WalletActions, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, findLivePriceById, getBuilder, getOrCreateBuilder, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, optimizedImageUrl, parseEmail, parseEmailStrict, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveTradingStateKind, sortVenues, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useCategories, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLinkAccount, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketChart, useMarketOrderbook, useMidpoints, useOnBalanceUpdate, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOrderBook, useOrderbookQuote, useOrders, usePositions, useQuoteManaged, useRampQuotes, useRampSession, useRedeem, useRedeemEligibleCount, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueMarketMidpoints, useVenueMarkets, useViewportMidpoints, useVisibleIds };