@liberfi.io/react-predict 0.3.66 → 0.3.68

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.
@@ -213,6 +213,194 @@ interface OrderbookBatchResult {
213
213
  interface OrderbooksBatchResponse {
214
214
  results: OrderbookBatchResult[];
215
215
  }
216
+ /** Top-level evergreen sports section. */
217
+ type SportsSection = "sports" | "esports";
218
+ /** Sports provider used by orderbook keys and search results. */
219
+ type SportsProviderSource = "polymarket";
220
+ /** Public Sports event card type. */
221
+ type SportsEventType = "match" | "prop";
222
+ /** Sports event route result kind. */
223
+ type SportsRouteType = "match" | "prop" | "child_redirect" | "not_sports";
224
+ /** Taxonomy node kind. */
225
+ type SportsTaxonomyNodeType = "sport" | "game" | "league" | "tournament" | "category";
226
+ /** Binary outcome side accepted by existing Predict orderbook APIs. */
227
+ type SportsBinaryOutcome = OrderbookOutcome;
228
+ interface SportsTaxonomyNode {
229
+ section?: SportsSection;
230
+ node_type: SportsTaxonomyNodeType;
231
+ slug: string;
232
+ label: string;
233
+ children?: SportsTaxonomyNode[];
234
+ }
235
+ interface SportsTaxonomySection {
236
+ section: SportsSection;
237
+ children: SportsTaxonomyNode[];
238
+ }
239
+ interface SportsTaxonomyResponse {
240
+ sections: SportsTaxonomySection[];
241
+ }
242
+ interface SportsParticipant {
243
+ name: string;
244
+ role?: string;
245
+ slug?: string;
246
+ logo_url?: string;
247
+ abbreviation?: string;
248
+ }
249
+ interface SportsLiveState {
250
+ status?: string;
251
+ status_text?: string;
252
+ clock?: string | null;
253
+ period?: string | null;
254
+ score?: unknown;
255
+ score_state?: unknown;
256
+ observed_at_unix_ms?: number;
257
+ }
258
+ interface SportsOrderbookKey {
259
+ market_slug: string;
260
+ source: SportsProviderSource;
261
+ outcome: SportsBinaryOutcome;
262
+ }
263
+ interface SportsMarketOutcome {
264
+ outcome: SportsBinaryOutcome;
265
+ label: string;
266
+ price?: number;
267
+ best_bid?: number;
268
+ best_ask?: number;
269
+ last_trade_price?: number;
270
+ orderbook?: SportsOrderbookKey;
271
+ }
272
+ interface SportsInlineMarket {
273
+ market_slug: string;
274
+ market_type?: string;
275
+ label: string;
276
+ outcomes: SportsMarketOutcome[];
277
+ }
278
+ interface SportsMarket extends SportsInlineMarket {
279
+ condition_id?: string;
280
+ market_category?: string;
281
+ period?: string;
282
+ line?: number;
283
+ active?: boolean;
284
+ closed?: boolean;
285
+ accepting_orders?: boolean;
286
+ volume?: number;
287
+ liquidity?: number;
288
+ }
289
+ interface SportsMarketGroup {
290
+ market_category: string;
291
+ label: string;
292
+ markets: SportsMarket[];
293
+ }
294
+ interface SportsMatchCard {
295
+ match_group_slug: string;
296
+ section: SportsSection;
297
+ sport_slug?: string;
298
+ game_slug?: string;
299
+ league_slug?: string;
300
+ tournament_slug?: string;
301
+ title: string;
302
+ status: string;
303
+ start_time?: string;
304
+ participants?: SportsParticipant[];
305
+ market_count?: number;
306
+ live_state?: SportsLiveState;
307
+ inline_markets?: SportsInlineMarket[];
308
+ }
309
+ type SportsMatchesResponse = PredictPage<SportsMatchCard>;
310
+ interface SportsPropEventCard {
311
+ event_slug: string;
312
+ event_type: SportsEventType;
313
+ prop_type?: "futures" | "outright" | "player_prop" | "all" | string;
314
+ section: SportsSection;
315
+ sport_slug?: string;
316
+ game_slug?: string;
317
+ league_slug?: string;
318
+ tournament_slug?: string;
319
+ title: string;
320
+ status?: string;
321
+ start_time?: string;
322
+ parent_match_group_slug?: string;
323
+ markets?: SportsInlineMarket[];
324
+ }
325
+ type SportsPropsResponse = PredictPage<SportsPropEventCard>;
326
+ interface SportsRoutingResponse {
327
+ route_type: SportsRouteType;
328
+ slug: string;
329
+ section?: SportsSection;
330
+ match_group_slug?: string;
331
+ event_slug?: string;
332
+ redirect_to?: string;
333
+ status?: number;
334
+ }
335
+ interface SportsMatchDetail extends SportsMatchCard {
336
+ market_groups: SportsMarketGroup[];
337
+ }
338
+ interface SportsTaxonomyParams {
339
+ section?: SportsSection;
340
+ sport_slug?: string;
341
+ game_slug?: string;
342
+ league_slug?: string;
343
+ tournament_slug?: string;
344
+ lang?: string;
345
+ }
346
+ interface SportsMatchesParams {
347
+ sport_slug?: string;
348
+ game_slug?: string;
349
+ league_slug?: string;
350
+ tournament_slug?: string;
351
+ status?: string;
352
+ limit?: number;
353
+ cursor?: string;
354
+ lang?: string;
355
+ }
356
+ interface SportsPropsParams {
357
+ sport_slug?: string;
358
+ game_slug?: string;
359
+ league_slug?: string;
360
+ tournament_slug?: string;
361
+ prop_type?: "futures" | "outright" | "player_prop" | "all";
362
+ limit?: number;
363
+ cursor?: string;
364
+ lang?: string;
365
+ }
366
+ interface SportsRoutingParams {
367
+ lang?: string;
368
+ }
369
+ interface SportsMatchDetailParams {
370
+ lang?: string;
371
+ }
372
+ type EsportsTaxonomyParams = Omit<SportsTaxonomyParams, "section">;
373
+ type EsportsMatchesParams = SportsMatchesParams;
374
+ type EsportsPropsParams = SportsPropsParams;
375
+ type EsportsMatchDetailParams = SportsMatchDetailParams;
376
+ type PredictSearchResultType = "event" | "match_group" | "prop_event" | "market";
377
+ type PredictSearchSortField = "relevance" | "volume" | "start_time" | "updated_at";
378
+ interface PredictSearchParams {
379
+ q?: string;
380
+ result_type?: PredictSearchResultType | PredictSearchResultType[] | string;
381
+ source?: ProviderSource;
382
+ section?: SportsSection | string;
383
+ include_closed?: boolean;
384
+ sort_by?: PredictSearchSortField;
385
+ sort_asc?: boolean;
386
+ limit?: number;
387
+ cursor?: string;
388
+ lang?: string;
389
+ }
390
+ interface PredictSearchResult {
391
+ result_type: PredictSearchResultType;
392
+ document_id: string;
393
+ title: string;
394
+ source?: ProviderSource;
395
+ section?: SportsSection | string;
396
+ event_slug?: string;
397
+ match_group_slug?: string;
398
+ market_slug?: string;
399
+ detail_url: string;
400
+ status?: string;
401
+ score?: number;
402
+ }
403
+ type PredictSearchResponse = PredictPage<PredictSearchResult>;
216
404
  /** On-chain trade type. */
217
405
  type TradeType = "TRADE" | "SPLIT" | "MERGE" | "REDEEM" | "REWARD" | "CONVERSION" | "MAKER_REBATE" | "REFERRAL_REWARD";
218
406
  /** Lightweight event summary embedded in a trade. */
@@ -333,7 +521,18 @@ interface PriceHistoryResponse {
333
521
  points: PricePoint[];
334
522
  }
335
523
  /** Accepted values for the `range` query parameter. */
336
- type PriceHistoryRange = "1d" | "1w" | "1m" | "all";
524
+ type PriceHistoryRange = "1h" | "6h" | "1d" | "1w" | "1m" | "all";
525
+ /** Query parameters for `GET /api/v1/markets/{slug}/price-history`. */
526
+ interface PriceHistoryParams {
527
+ source: ProviderSource;
528
+ range?: PriceHistoryRange;
529
+ /** Unix seconds. Mirrors Polymarket `startTs`. */
530
+ startTs?: number;
531
+ /** Unix seconds. Mirrors Polymarket `endTs`. */
532
+ endTs?: number;
533
+ /** Data accuracy in minutes. Mirrors Polymarket `fidelity`. */
534
+ fidelity?: number;
535
+ }
337
536
  /** OHLCV candlestick data point. */
338
537
  interface Candlestick {
339
538
  timestamp: string;
@@ -1243,6 +1442,26 @@ declare class PredictClient {
1243
1442
  * Maps to `GET /api/v1/events/:slug/similar?source=...`.
1244
1443
  */
1245
1444
  getSimilarEvents(slug: string, source: ProviderSource, params?: SimilarEventsParams): Promise<PredictEvent[]>;
1445
+ /** Maps to `GET /api/v1/sports/taxonomy`. */
1446
+ getSportsTaxonomy(params?: SportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1447
+ /** Maps to `GET /api/v1/sports/matches`. */
1448
+ getSportsMatches(params?: SportsMatchesParams): Promise<SportsMatchesResponse>;
1449
+ /** Maps to `GET /api/v1/sports/props`. */
1450
+ getSportsProps(params?: SportsPropsParams): Promise<SportsPropsResponse>;
1451
+ /** Maps to `GET /api/v1/esports/taxonomy`. */
1452
+ getEsportsTaxonomy(params?: EsportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1453
+ /** Maps to `GET /api/v1/esports/matches`. */
1454
+ getEsportsMatches(params?: EsportsMatchesParams): Promise<SportsMatchesResponse>;
1455
+ /** Maps to `GET /api/v1/esports/props`. */
1456
+ getEsportsProps(params?: EsportsPropsParams): Promise<SportsPropsResponse>;
1457
+ /** Maps to `GET /api/v1/sports/routing/:slug`. */
1458
+ getSportsRouting(slug: string, params?: SportsRoutingParams): Promise<SportsRoutingResponse>;
1459
+ /** Maps to `GET /api/v1/sports/matches/:match_group_slug`. */
1460
+ getSportsMatchDetail(section: "sports" | "esports", matchGroupSlug: string, params?: SportsMatchDetailParams): Promise<SportsMatchDetail>;
1461
+ /** Convenience wrapper for `GET /api/v1/esports/matches/:match_group_slug`. */
1462
+ getEsportsMatchDetail(matchGroupSlug: string, params?: EsportsMatchDetailParams): Promise<SportsMatchDetail>;
1463
+ /** Maps to `GET /api/v1/search`. */
1464
+ search(params?: PredictSearchParams): Promise<PredictSearchResponse>;
1246
1465
  /**
1247
1466
  * List comments for a prediction event.
1248
1467
  *
@@ -1281,7 +1500,7 @@ declare class PredictClient {
1281
1500
  /** Maps to `GET /api/v1/markets/:slug/trades?source=...`. */
1282
1501
  listMarketTrades(slug: string, params: ListMarketTradesParams): Promise<PredictPage<PredictTrade>>;
1283
1502
  /** Maps to `GET /api/v1/markets/:slug/price-history?source=...&range=...`. */
1284
- getPriceHistory(slug: string, source: ProviderSource, range?: PriceHistoryRange): Promise<PriceHistoryResponse>;
1503
+ getPriceHistory(slug: string, sourceOrParams: ProviderSource | PriceHistoryParams, range?: PriceHistoryRange): Promise<PriceHistoryResponse>;
1285
1504
  /** Maps to `GET /api/v1/markets/:slug/candlesticks?interval=...&limit=...`. */
1286
1505
  listCandlesticks(slug: string, params?: ListCandlesticksParams): Promise<Candlestick[]>;
1287
1506
  /**
@@ -1736,6 +1955,41 @@ declare function eventQueryKey(slug: string, source?: ProviderSource, lang?: str
1736
1955
  */
1737
1956
  declare function fetchEvent(client: PredictClient, slug: string, source?: ProviderSource, lang?: string): Promise<PredictEvent>;
1738
1957
 
1958
+ declare function predictSearchQueryKey(params?: PredictSearchParams): unknown[];
1959
+ declare function resolvePredictSearchParams(params?: PredictSearchParams): PredictSearchParams;
1960
+ declare function fetchPredictSearch(client: PredictClient, params?: PredictSearchParams): Promise<PredictSearchResponse>;
1961
+
1962
+ declare function sportsTaxonomyQueryKey(params?: SportsTaxonomyParams): unknown[];
1963
+ declare function sportsMatchesQueryKey(params?: SportsMatchesParams): unknown[];
1964
+ declare function sportsPropsQueryKey(params?: SportsPropsParams): unknown[];
1965
+ declare function resolveSportsTaxonomyParams(params?: SportsTaxonomyParams): SportsTaxonomyParams;
1966
+ declare function resolveSportsMatchesParams(params?: SportsMatchesParams): SportsMatchesParams;
1967
+ declare function resolveSportsPropsParams(params?: SportsPropsParams): SportsPropsParams;
1968
+ declare function fetchSportsTaxonomy(client: PredictClient, params?: SportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1969
+ declare function fetchSportsMatches(client: PredictClient, params?: SportsMatchesParams): Promise<SportsMatchesResponse>;
1970
+ declare function fetchSportsProps(client: PredictClient, params?: SportsPropsParams): Promise<SportsPropsResponse>;
1971
+
1972
+ declare function esportsTaxonomyQueryKey(params?: EsportsTaxonomyParams): unknown[];
1973
+ declare function esportsMatchesQueryKey(params?: EsportsMatchesParams): unknown[];
1974
+ declare function esportsPropsQueryKey(params?: EsportsPropsParams): unknown[];
1975
+ declare function resolveEsportsTaxonomyParams(params?: EsportsTaxonomyParams): EsportsTaxonomyParams;
1976
+ declare function resolveEsportsMatchesParams(params?: EsportsMatchesParams): EsportsMatchesParams;
1977
+ declare function resolveEsportsPropsParams(params?: EsportsPropsParams): EsportsPropsParams;
1978
+ declare function fetchEsportsTaxonomy(client: PredictClient, params?: EsportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1979
+ declare function fetchEsportsMatches(client: PredictClient, params?: EsportsMatchesParams): Promise<SportsMatchesResponse>;
1980
+ declare function fetchEsportsProps(client: PredictClient, params?: EsportsPropsParams): Promise<SportsPropsResponse>;
1981
+
1982
+ declare function sportsRoutingQueryKey(slug: string, params?: SportsRoutingParams): unknown[];
1983
+ declare function resolveSportsRoutingParams(params?: SportsRoutingParams): SportsRoutingParams;
1984
+ declare function fetchSportsRouting(client: PredictClient, slug: string, params?: SportsRoutingParams): Promise<SportsRoutingResponse>;
1985
+
1986
+ declare function sportsMatchDetailQueryKey(section: SportsSection, matchGroupSlug: string, params?: SportsMatchDetailParams): unknown[];
1987
+ declare function esportsMatchDetailQueryKey(matchGroupSlug: string, params?: EsportsMatchDetailParams): unknown[];
1988
+ declare function resolveSportsMatchDetailParams(params?: SportsMatchDetailParams): SportsMatchDetailParams;
1989
+ declare function resolveEsportsMatchDetailParams(params?: EsportsMatchDetailParams): EsportsMatchDetailParams;
1990
+ declare function fetchSportsMatchDetail(client: PredictClient, section: SportsSection, matchGroupSlug: string, params?: SportsMatchDetailParams): Promise<SportsMatchDetail>;
1991
+ declare function fetchEsportsMatchDetail(client: PredictClient, matchGroupSlug: string, params?: EsportsMatchDetailParams): Promise<SportsMatchDetail>;
1992
+
1739
1993
  /**
1740
1994
  * Server-safe pure functions for market query helpers.
1741
1995
  *
@@ -2110,4 +2364,4 @@ declare function buildClobPayload(signedOrder: SignedOrder, owner: string): Clob
2110
2364
  */
2111
2365
  declare function getPolymarketSharesPrecision(tickSize: string): number;
2112
2366
 
2113
- export { type PolymarketWithdrawPrepareResponse as $, type AvailableSharesResponse as A, type BalanceResponse as B, type Candlestick as C, type ListTradesParams as D, type EventStats as E, type ListTradesMultiParams as F, type DFlowQuoteRequest as G, type DFlowQuoteResponse as H, type DFlowSubmitResponse as I, type DFlowSubmitRequest as J, type DFlowKYCStatus as K, type ListEventsParams as L, type MatchesParams as M, type PolymarketSetupStatus as N, type OrderbookOutcome as O, PredictClient as P, type PolymarketDepositWalletDeployResponse as Q, type WithdrawBuildRequest as R, type SimilarEventsParams as S, type WithdrawSubmitResponse as T, type WithdrawSubmitRequest as U, type WithdrawStatusResponse as V, type WithdrawBuildResponse as W, type PolymarketDepositAddresses as X, type PolymarketSupportedAsset as Y, type PolymarketWithdrawResponse as Z, type PolymarketWithdrawRequest as _, PredictWsClient as a, type MatchConfidenceTier as a$, type PolymarketWithdrawPrepareRequest as a0, type PolymarketWithdrawQuoteResponse as a1, type PolymarketWithdrawQuoteRequest as a2, type PolymarketWithdrawRelayBuildResponse as a3, type PolymarketWithdrawRelayBuildRequest as a4, type PolymarketWithdrawRelaySubmitResponse as a5, type PolymarketWithdrawRelaySubmitRequest as a6, type PolymarketWithdrawBridgeStatusResponse as a7, type PolymarketRedeemResponse as a8, type PolymarketTypedData as a9, type MarketSummary as aA, type PredictCommentProfile as aB, type PricePoint as aC, type PredictPosition as aD, type PositionValue as aE, type PositionValueError as aF, type OrderStatus as aG, type OrderSide as aH, type DFlowOrderContext as aI, type PolymarketOrderType as aJ, type PolymarketTickSize as aK, type PolymarketWalletKind as aL, type PolymarketDepositWalletDeployRequest as aM, type DepositBuildRequest as aN, type DepositBuildResponse as aO, type DepositSubmitRequest as aP, type DepositSubmitResponse as aQ, type DepositStatusResponse as aR, type UnsignedTx as aS, type PolymarketBridgeToken as aT, type PolymarketSupportedAssetsResponse as aU, type PolymarketTypedDataArg as aV, type MatchStatus as aW, type MatchGroupEntry as aX, type MatchGroupMarket as aY, type MatchSortField as aZ, type MatchesStats as a_, type TickSizeResponse as aa, type FeeRateResponse as ab, type RebateConfig as ac, type WsConnectionStatus as ad, type WsDataMessage as ae, type WsPriceEvent as af, type WsOrderbookEvent as ag, type WsTradeEvent as ah, type CreateOrderInput as ai, createPredictClient as aj, type PredictClientOptions as ak, createPredictWsClient as al, type PredictWsClientConfig as am, type ProviderMeta as an, type PredictTag as ao, type SettlementSource as ap, type MarketStatus as aq, type MarketResult as ar, type MarketOutcome as as, type OrderbookLevel as at, type OrderbookBatchItem as au, type OrderbookBatchResult as av, type OrderbooksBatchRequest as aw, type OrderbooksBatchResponse as ax, type TradeType as ay, type EventSummary as az, type PredictPage as b, type SignalTag as b0, type MatchLeg as b1, type MatchMarketFlat as b2, type WsChannel as b3, type WsChannelEvent as b4, type WsClientMessage as b5, type WsSubscribeMessage as b6, type WsPingMessage as b7, type WsServerMessage as b8, type WsPongMessage as b9, derivePolymarketApiKey as bA, type HttpMethod as bB, type PolymarketL2HeadersInput as bC, type PolymarketL2Headers as bD, type BuildClobAuthMessageInput as bE, CTF_EXCHANGE_ADDRESS as bF, NEG_RISK_CTF_EXCHANGE_ADDRESS as bG, USDC_ADDRESS as bH, POLYGON_CHAIN_ID as bI, buildCtfExchangeDomain as bJ, CTF_ORDER_TYPES as bK, ORDER_TYPE as bL, SIDE as bM, buildOrderMessage as bN, buildSignedOrder as bO, buildClobPayload as bP, getPolymarketSharesPrecision as bQ, normalizePolymarketTickSize as bR, type ClobOrderPayload as bS, type BuildOrderMessageInput as bT, type OrderMessage as bU, type SignedOrder as bV, DEFAULT_PAGE_SIZE as bW, type WsSubscribedMessage as ba, type WsErrorCode as bb, type WsErrorMessage as bc, type PolymarketRedeemPrepareInput as bd, type PolymarketRedeemPrepareResponse as be, type PolymarketRedeemInput as bf, eventQueryKey as bg, fetchEvent as bh, resolveTagSlug as bi, resolveEventsParams as bj, infiniteEventsQueryKey as bk, fetchEventsPage as bl, type ResolveEventsParamsInput as bm, type TagSlugSelection as bn, marketQueryKey as bo, fetchMarket as bp, matchesQueryKey as bq, matchQueryKey as br, fetchMatchesPage as bs, matchMarketsQueryKey as bt, fetchMatchMarketsPage as bu, CLOB_AUTH_DOMAIN as bv, CLOB_AUTH_TYPES as bw, buildClobAuthMessage as bx, hmacSha256Base64 as by, buildPolymarketL2Headers as bz, type PredictEvent as c, type ProviderSource as d, type EventStatus as e, type EventSortField as f, type PredictMarket as g, type Orderbook as h, type ListMarketTradesParams as i, type PredictTrade as j, type PriceHistoryRange as k, type PriceHistoryResponse as l, type ListCandlesticksParams as m, type ListCommentsParams as n, type PredictComment as o, type PositionsResponse as p, type PositionValueResponse as q, type ListOrdersParams as r, type PredictOrder as s, type ListOrdersMultiParams as t, type PredictOrdersResponse as u, type CancelOrderResult as v, type MatchGroupPage as w, type MatchGroup as x, type MatchMarketParams as y, type MatchMarketPage as z };
2367
+ export { type ListTradesParams as $, type PredictTrade as A, type PriceHistoryRange as B, type PriceHistoryParams as C, type PriceHistoryResponse as D, type EsportsTaxonomyParams as E, type ListCandlesticksParams as F, type Candlestick as G, type ListCommentsParams as H, type PredictComment as I, type PositionsResponse as J, type PositionValueResponse as K, type ListEventsParams as L, type AvailableSharesResponse as M, type BalanceResponse as N, type Orderbook as O, PredictClient as P, type ListOrdersParams as Q, type PredictOrder as R, type SportsTaxonomyParams as S, type ListOrdersMultiParams as T, type PredictOrdersResponse as U, type CancelOrderResult as V, type MatchesParams as W, type MatchGroupPage as X, type MatchGroup as Y, type MatchMarketParams as Z, type MatchMarketPage as _, PredictWsClient as a, type SportsMarket as a$, type ListTradesMultiParams as a0, type DFlowQuoteRequest as a1, type DFlowQuoteResponse as a2, type DFlowSubmitResponse as a3, type DFlowSubmitRequest as a4, type DFlowKYCStatus as a5, type PolymarketSetupStatus as a6, type PolymarketDepositWalletDeployResponse as a7, type WithdrawBuildResponse as a8, type WithdrawBuildRequest as a9, type CreateOrderInput as aA, createPredictClient as aB, type PredictClientOptions as aC, createPredictWsClient as aD, type PredictWsClientConfig as aE, type ProviderMeta as aF, type PredictTag as aG, type SettlementSource as aH, type MarketStatus as aI, type MarketResult as aJ, type MarketOutcome as aK, type OrderbookLevel as aL, type OrderbookBatchItem as aM, type OrderbookBatchResult as aN, type OrderbooksBatchRequest as aO, type OrderbooksBatchResponse as aP, type SportsProviderSource as aQ, type SportsEventType as aR, type SportsRouteType as aS, type SportsTaxonomyNodeType as aT, type SportsBinaryOutcome as aU, type SportsTaxonomyNode as aV, type SportsTaxonomySection as aW, type SportsParticipant as aX, type SportsLiveState as aY, type SportsMarketOutcome as aZ, type SportsInlineMarket as a_, type WithdrawSubmitResponse as aa, type WithdrawSubmitRequest as ab, type WithdrawStatusResponse as ac, type PolymarketDepositAddresses as ad, type PolymarketSupportedAsset as ae, type PolymarketWithdrawResponse as af, type PolymarketWithdrawRequest as ag, type PolymarketWithdrawPrepareResponse as ah, type PolymarketWithdrawPrepareRequest as ai, type PolymarketWithdrawQuoteResponse as aj, type PolymarketWithdrawQuoteRequest as ak, type PolymarketWithdrawRelayBuildResponse as al, type PolymarketWithdrawRelayBuildRequest as am, type PolymarketWithdrawRelaySubmitResponse as an, type PolymarketWithdrawRelaySubmitRequest as ao, type PolymarketWithdrawBridgeStatusResponse as ap, type PolymarketRedeemResponse as aq, type PolymarketTypedData as ar, type TickSizeResponse as as, type FeeRateResponse as at, type RebateConfig as au, type WsConnectionStatus as av, type WsDataMessage as aw, type WsPriceEvent as ax, type WsOrderbookEvent as ay, type WsTradeEvent as az, type PredictPage as b, esportsTaxonomyQueryKey as b$, type SportsMarketGroup as b0, type SportsMatchCard as b1, type SportsPropEventCard as b2, type EsportsMatchDetailParams as b3, type PredictSearchResultType as b4, type PredictSearchSortField as b5, type PredictSearchResult as b6, type TradeType as b7, type EventSummary as b8, type MarketSummary as b9, type MatchConfidenceTier as bA, type SignalTag as bB, type MatchLeg as bC, type MatchMarketFlat as bD, type WsChannel as bE, type WsChannelEvent as bF, type WsClientMessage as bG, type WsSubscribeMessage as bH, type WsPingMessage as bI, type WsServerMessage as bJ, type WsPongMessage as bK, type WsSubscribedMessage as bL, type WsErrorCode as bM, type WsErrorMessage as bN, type PolymarketRedeemPrepareInput as bO, type PolymarketRedeemPrepareResponse as bP, type PolymarketRedeemInput as bQ, eventQueryKey as bR, fetchEvent as bS, predictSearchQueryKey as bT, fetchPredictSearch as bU, sportsTaxonomyQueryKey as bV, fetchSportsTaxonomy as bW, sportsMatchesQueryKey as bX, fetchSportsMatches as bY, sportsPropsQueryKey as bZ, fetchSportsProps as b_, type PredictCommentProfile as ba, type PricePoint as bb, type PredictPosition as bc, type PositionValue as bd, type PositionValueError as be, type OrderStatus as bf, type OrderSide as bg, type DFlowOrderContext as bh, type PolymarketOrderType as bi, type PolymarketTickSize as bj, type PolymarketWalletKind as bk, type PolymarketDepositWalletDeployRequest as bl, type DepositBuildRequest as bm, type DepositBuildResponse as bn, type DepositSubmitRequest as bo, type DepositSubmitResponse as bp, type DepositStatusResponse as bq, type UnsignedTx as br, type PolymarketBridgeToken as bs, type PolymarketSupportedAssetsResponse as bt, type PolymarketTypedDataArg as bu, type MatchStatus as bv, type MatchGroupEntry as bw, type MatchGroupMarket as bx, type MatchSortField as by, type MatchesStats as bz, type PredictEvent as c, fetchEsportsTaxonomy as c0, esportsMatchesQueryKey as c1, fetchEsportsMatches as c2, esportsPropsQueryKey as c3, fetchEsportsProps as c4, sportsRoutingQueryKey as c5, fetchSportsRouting as c6, sportsMatchDetailQueryKey as c7, fetchSportsMatchDetail as c8, resolveTagSlug as c9, buildCtfExchangeDomain as cA, CTF_ORDER_TYPES as cB, ORDER_TYPE as cC, SIDE as cD, buildOrderMessage as cE, buildSignedOrder as cF, buildClobPayload as cG, getPolymarketSharesPrecision as cH, normalizePolymarketTickSize as cI, type ClobOrderPayload as cJ, type BuildOrderMessageInput as cK, type OrderMessage as cL, type SignedOrder as cM, DEFAULT_PAGE_SIZE as cN, resolveSportsTaxonomyParams as cO, resolveSportsMatchesParams as cP, resolveSportsPropsParams as cQ, resolveEsportsTaxonomyParams as cR, resolveEsportsMatchesParams as cS, resolveEsportsPropsParams as cT, resolveSportsRoutingParams as cU, esportsMatchDetailQueryKey as cV, resolveSportsMatchDetailParams as cW, resolveEsportsMatchDetailParams as cX, fetchEsportsMatchDetail as cY, resolvePredictSearchParams as cZ, resolveEventsParams as ca, infiniteEventsQueryKey as cb, fetchEventsPage as cc, type ResolveEventsParamsInput as cd, type TagSlugSelection as ce, marketQueryKey as cf, fetchMarket as cg, matchesQueryKey as ch, matchQueryKey as ci, fetchMatchesPage as cj, matchMarketsQueryKey as ck, fetchMatchMarketsPage as cl, CLOB_AUTH_DOMAIN as cm, CLOB_AUTH_TYPES as cn, buildClobAuthMessage as co, hmacSha256Base64 as cp, buildPolymarketL2Headers as cq, derivePolymarketApiKey as cr, type HttpMethod as cs, type PolymarketL2HeadersInput as ct, type PolymarketL2Headers as cu, type BuildClobAuthMessageInput as cv, CTF_EXCHANGE_ADDRESS as cw, NEG_RISK_CTF_EXCHANGE_ADDRESS as cx, USDC_ADDRESS as cy, POLYGON_CHAIN_ID as cz, type ProviderSource as d, type PredictSearchParams as e, type PredictSearchResponse as f, type SportsTaxonomyResponse as g, type SportsMatchesParams as h, type SportsMatchesResponse as i, type SportsPropsParams as j, type SportsPropsResponse as k, type EsportsMatchesParams as l, type EsportsPropsParams as m, type SportsRoutingParams as n, type SportsRoutingResponse as o, type SportsSection as p, type SportsMatchDetailParams as q, type SportsMatchDetail as r, type SportsOrderbookKey as s, type EventStats as t, type EventStatus as u, type EventSortField as v, type SimilarEventsParams as w, type PredictMarket as x, type OrderbookOutcome as y, type ListMarketTradesParams as z };
@@ -213,6 +213,194 @@ interface OrderbookBatchResult {
213
213
  interface OrderbooksBatchResponse {
214
214
  results: OrderbookBatchResult[];
215
215
  }
216
+ /** Top-level evergreen sports section. */
217
+ type SportsSection = "sports" | "esports";
218
+ /** Sports provider used by orderbook keys and search results. */
219
+ type SportsProviderSource = "polymarket";
220
+ /** Public Sports event card type. */
221
+ type SportsEventType = "match" | "prop";
222
+ /** Sports event route result kind. */
223
+ type SportsRouteType = "match" | "prop" | "child_redirect" | "not_sports";
224
+ /** Taxonomy node kind. */
225
+ type SportsTaxonomyNodeType = "sport" | "game" | "league" | "tournament" | "category";
226
+ /** Binary outcome side accepted by existing Predict orderbook APIs. */
227
+ type SportsBinaryOutcome = OrderbookOutcome;
228
+ interface SportsTaxonomyNode {
229
+ section?: SportsSection;
230
+ node_type: SportsTaxonomyNodeType;
231
+ slug: string;
232
+ label: string;
233
+ children?: SportsTaxonomyNode[];
234
+ }
235
+ interface SportsTaxonomySection {
236
+ section: SportsSection;
237
+ children: SportsTaxonomyNode[];
238
+ }
239
+ interface SportsTaxonomyResponse {
240
+ sections: SportsTaxonomySection[];
241
+ }
242
+ interface SportsParticipant {
243
+ name: string;
244
+ role?: string;
245
+ slug?: string;
246
+ logo_url?: string;
247
+ abbreviation?: string;
248
+ }
249
+ interface SportsLiveState {
250
+ status?: string;
251
+ status_text?: string;
252
+ clock?: string | null;
253
+ period?: string | null;
254
+ score?: unknown;
255
+ score_state?: unknown;
256
+ observed_at_unix_ms?: number;
257
+ }
258
+ interface SportsOrderbookKey {
259
+ market_slug: string;
260
+ source: SportsProviderSource;
261
+ outcome: SportsBinaryOutcome;
262
+ }
263
+ interface SportsMarketOutcome {
264
+ outcome: SportsBinaryOutcome;
265
+ label: string;
266
+ price?: number;
267
+ best_bid?: number;
268
+ best_ask?: number;
269
+ last_trade_price?: number;
270
+ orderbook?: SportsOrderbookKey;
271
+ }
272
+ interface SportsInlineMarket {
273
+ market_slug: string;
274
+ market_type?: string;
275
+ label: string;
276
+ outcomes: SportsMarketOutcome[];
277
+ }
278
+ interface SportsMarket extends SportsInlineMarket {
279
+ condition_id?: string;
280
+ market_category?: string;
281
+ period?: string;
282
+ line?: number;
283
+ active?: boolean;
284
+ closed?: boolean;
285
+ accepting_orders?: boolean;
286
+ volume?: number;
287
+ liquidity?: number;
288
+ }
289
+ interface SportsMarketGroup {
290
+ market_category: string;
291
+ label: string;
292
+ markets: SportsMarket[];
293
+ }
294
+ interface SportsMatchCard {
295
+ match_group_slug: string;
296
+ section: SportsSection;
297
+ sport_slug?: string;
298
+ game_slug?: string;
299
+ league_slug?: string;
300
+ tournament_slug?: string;
301
+ title: string;
302
+ status: string;
303
+ start_time?: string;
304
+ participants?: SportsParticipant[];
305
+ market_count?: number;
306
+ live_state?: SportsLiveState;
307
+ inline_markets?: SportsInlineMarket[];
308
+ }
309
+ type SportsMatchesResponse = PredictPage<SportsMatchCard>;
310
+ interface SportsPropEventCard {
311
+ event_slug: string;
312
+ event_type: SportsEventType;
313
+ prop_type?: "futures" | "outright" | "player_prop" | "all" | string;
314
+ section: SportsSection;
315
+ sport_slug?: string;
316
+ game_slug?: string;
317
+ league_slug?: string;
318
+ tournament_slug?: string;
319
+ title: string;
320
+ status?: string;
321
+ start_time?: string;
322
+ parent_match_group_slug?: string;
323
+ markets?: SportsInlineMarket[];
324
+ }
325
+ type SportsPropsResponse = PredictPage<SportsPropEventCard>;
326
+ interface SportsRoutingResponse {
327
+ route_type: SportsRouteType;
328
+ slug: string;
329
+ section?: SportsSection;
330
+ match_group_slug?: string;
331
+ event_slug?: string;
332
+ redirect_to?: string;
333
+ status?: number;
334
+ }
335
+ interface SportsMatchDetail extends SportsMatchCard {
336
+ market_groups: SportsMarketGroup[];
337
+ }
338
+ interface SportsTaxonomyParams {
339
+ section?: SportsSection;
340
+ sport_slug?: string;
341
+ game_slug?: string;
342
+ league_slug?: string;
343
+ tournament_slug?: string;
344
+ lang?: string;
345
+ }
346
+ interface SportsMatchesParams {
347
+ sport_slug?: string;
348
+ game_slug?: string;
349
+ league_slug?: string;
350
+ tournament_slug?: string;
351
+ status?: string;
352
+ limit?: number;
353
+ cursor?: string;
354
+ lang?: string;
355
+ }
356
+ interface SportsPropsParams {
357
+ sport_slug?: string;
358
+ game_slug?: string;
359
+ league_slug?: string;
360
+ tournament_slug?: string;
361
+ prop_type?: "futures" | "outright" | "player_prop" | "all";
362
+ limit?: number;
363
+ cursor?: string;
364
+ lang?: string;
365
+ }
366
+ interface SportsRoutingParams {
367
+ lang?: string;
368
+ }
369
+ interface SportsMatchDetailParams {
370
+ lang?: string;
371
+ }
372
+ type EsportsTaxonomyParams = Omit<SportsTaxonomyParams, "section">;
373
+ type EsportsMatchesParams = SportsMatchesParams;
374
+ type EsportsPropsParams = SportsPropsParams;
375
+ type EsportsMatchDetailParams = SportsMatchDetailParams;
376
+ type PredictSearchResultType = "event" | "match_group" | "prop_event" | "market";
377
+ type PredictSearchSortField = "relevance" | "volume" | "start_time" | "updated_at";
378
+ interface PredictSearchParams {
379
+ q?: string;
380
+ result_type?: PredictSearchResultType | PredictSearchResultType[] | string;
381
+ source?: ProviderSource;
382
+ section?: SportsSection | string;
383
+ include_closed?: boolean;
384
+ sort_by?: PredictSearchSortField;
385
+ sort_asc?: boolean;
386
+ limit?: number;
387
+ cursor?: string;
388
+ lang?: string;
389
+ }
390
+ interface PredictSearchResult {
391
+ result_type: PredictSearchResultType;
392
+ document_id: string;
393
+ title: string;
394
+ source?: ProviderSource;
395
+ section?: SportsSection | string;
396
+ event_slug?: string;
397
+ match_group_slug?: string;
398
+ market_slug?: string;
399
+ detail_url: string;
400
+ status?: string;
401
+ score?: number;
402
+ }
403
+ type PredictSearchResponse = PredictPage<PredictSearchResult>;
216
404
  /** On-chain trade type. */
217
405
  type TradeType = "TRADE" | "SPLIT" | "MERGE" | "REDEEM" | "REWARD" | "CONVERSION" | "MAKER_REBATE" | "REFERRAL_REWARD";
218
406
  /** Lightweight event summary embedded in a trade. */
@@ -333,7 +521,18 @@ interface PriceHistoryResponse {
333
521
  points: PricePoint[];
334
522
  }
335
523
  /** Accepted values for the `range` query parameter. */
336
- type PriceHistoryRange = "1d" | "1w" | "1m" | "all";
524
+ type PriceHistoryRange = "1h" | "6h" | "1d" | "1w" | "1m" | "all";
525
+ /** Query parameters for `GET /api/v1/markets/{slug}/price-history`. */
526
+ interface PriceHistoryParams {
527
+ source: ProviderSource;
528
+ range?: PriceHistoryRange;
529
+ /** Unix seconds. Mirrors Polymarket `startTs`. */
530
+ startTs?: number;
531
+ /** Unix seconds. Mirrors Polymarket `endTs`. */
532
+ endTs?: number;
533
+ /** Data accuracy in minutes. Mirrors Polymarket `fidelity`. */
534
+ fidelity?: number;
535
+ }
337
536
  /** OHLCV candlestick data point. */
338
537
  interface Candlestick {
339
538
  timestamp: string;
@@ -1243,6 +1442,26 @@ declare class PredictClient {
1243
1442
  * Maps to `GET /api/v1/events/:slug/similar?source=...`.
1244
1443
  */
1245
1444
  getSimilarEvents(slug: string, source: ProviderSource, params?: SimilarEventsParams): Promise<PredictEvent[]>;
1445
+ /** Maps to `GET /api/v1/sports/taxonomy`. */
1446
+ getSportsTaxonomy(params?: SportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1447
+ /** Maps to `GET /api/v1/sports/matches`. */
1448
+ getSportsMatches(params?: SportsMatchesParams): Promise<SportsMatchesResponse>;
1449
+ /** Maps to `GET /api/v1/sports/props`. */
1450
+ getSportsProps(params?: SportsPropsParams): Promise<SportsPropsResponse>;
1451
+ /** Maps to `GET /api/v1/esports/taxonomy`. */
1452
+ getEsportsTaxonomy(params?: EsportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1453
+ /** Maps to `GET /api/v1/esports/matches`. */
1454
+ getEsportsMatches(params?: EsportsMatchesParams): Promise<SportsMatchesResponse>;
1455
+ /** Maps to `GET /api/v1/esports/props`. */
1456
+ getEsportsProps(params?: EsportsPropsParams): Promise<SportsPropsResponse>;
1457
+ /** Maps to `GET /api/v1/sports/routing/:slug`. */
1458
+ getSportsRouting(slug: string, params?: SportsRoutingParams): Promise<SportsRoutingResponse>;
1459
+ /** Maps to `GET /api/v1/sports/matches/:match_group_slug`. */
1460
+ getSportsMatchDetail(section: "sports" | "esports", matchGroupSlug: string, params?: SportsMatchDetailParams): Promise<SportsMatchDetail>;
1461
+ /** Convenience wrapper for `GET /api/v1/esports/matches/:match_group_slug`. */
1462
+ getEsportsMatchDetail(matchGroupSlug: string, params?: EsportsMatchDetailParams): Promise<SportsMatchDetail>;
1463
+ /** Maps to `GET /api/v1/search`. */
1464
+ search(params?: PredictSearchParams): Promise<PredictSearchResponse>;
1246
1465
  /**
1247
1466
  * List comments for a prediction event.
1248
1467
  *
@@ -1281,7 +1500,7 @@ declare class PredictClient {
1281
1500
  /** Maps to `GET /api/v1/markets/:slug/trades?source=...`. */
1282
1501
  listMarketTrades(slug: string, params: ListMarketTradesParams): Promise<PredictPage<PredictTrade>>;
1283
1502
  /** Maps to `GET /api/v1/markets/:slug/price-history?source=...&range=...`. */
1284
- getPriceHistory(slug: string, source: ProviderSource, range?: PriceHistoryRange): Promise<PriceHistoryResponse>;
1503
+ getPriceHistory(slug: string, sourceOrParams: ProviderSource | PriceHistoryParams, range?: PriceHistoryRange): Promise<PriceHistoryResponse>;
1285
1504
  /** Maps to `GET /api/v1/markets/:slug/candlesticks?interval=...&limit=...`. */
1286
1505
  listCandlesticks(slug: string, params?: ListCandlesticksParams): Promise<Candlestick[]>;
1287
1506
  /**
@@ -1736,6 +1955,41 @@ declare function eventQueryKey(slug: string, source?: ProviderSource, lang?: str
1736
1955
  */
1737
1956
  declare function fetchEvent(client: PredictClient, slug: string, source?: ProviderSource, lang?: string): Promise<PredictEvent>;
1738
1957
 
1958
+ declare function predictSearchQueryKey(params?: PredictSearchParams): unknown[];
1959
+ declare function resolvePredictSearchParams(params?: PredictSearchParams): PredictSearchParams;
1960
+ declare function fetchPredictSearch(client: PredictClient, params?: PredictSearchParams): Promise<PredictSearchResponse>;
1961
+
1962
+ declare function sportsTaxonomyQueryKey(params?: SportsTaxonomyParams): unknown[];
1963
+ declare function sportsMatchesQueryKey(params?: SportsMatchesParams): unknown[];
1964
+ declare function sportsPropsQueryKey(params?: SportsPropsParams): unknown[];
1965
+ declare function resolveSportsTaxonomyParams(params?: SportsTaxonomyParams): SportsTaxonomyParams;
1966
+ declare function resolveSportsMatchesParams(params?: SportsMatchesParams): SportsMatchesParams;
1967
+ declare function resolveSportsPropsParams(params?: SportsPropsParams): SportsPropsParams;
1968
+ declare function fetchSportsTaxonomy(client: PredictClient, params?: SportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1969
+ declare function fetchSportsMatches(client: PredictClient, params?: SportsMatchesParams): Promise<SportsMatchesResponse>;
1970
+ declare function fetchSportsProps(client: PredictClient, params?: SportsPropsParams): Promise<SportsPropsResponse>;
1971
+
1972
+ declare function esportsTaxonomyQueryKey(params?: EsportsTaxonomyParams): unknown[];
1973
+ declare function esportsMatchesQueryKey(params?: EsportsMatchesParams): unknown[];
1974
+ declare function esportsPropsQueryKey(params?: EsportsPropsParams): unknown[];
1975
+ declare function resolveEsportsTaxonomyParams(params?: EsportsTaxonomyParams): EsportsTaxonomyParams;
1976
+ declare function resolveEsportsMatchesParams(params?: EsportsMatchesParams): EsportsMatchesParams;
1977
+ declare function resolveEsportsPropsParams(params?: EsportsPropsParams): EsportsPropsParams;
1978
+ declare function fetchEsportsTaxonomy(client: PredictClient, params?: EsportsTaxonomyParams): Promise<SportsTaxonomyResponse>;
1979
+ declare function fetchEsportsMatches(client: PredictClient, params?: EsportsMatchesParams): Promise<SportsMatchesResponse>;
1980
+ declare function fetchEsportsProps(client: PredictClient, params?: EsportsPropsParams): Promise<SportsPropsResponse>;
1981
+
1982
+ declare function sportsRoutingQueryKey(slug: string, params?: SportsRoutingParams): unknown[];
1983
+ declare function resolveSportsRoutingParams(params?: SportsRoutingParams): SportsRoutingParams;
1984
+ declare function fetchSportsRouting(client: PredictClient, slug: string, params?: SportsRoutingParams): Promise<SportsRoutingResponse>;
1985
+
1986
+ declare function sportsMatchDetailQueryKey(section: SportsSection, matchGroupSlug: string, params?: SportsMatchDetailParams): unknown[];
1987
+ declare function esportsMatchDetailQueryKey(matchGroupSlug: string, params?: EsportsMatchDetailParams): unknown[];
1988
+ declare function resolveSportsMatchDetailParams(params?: SportsMatchDetailParams): SportsMatchDetailParams;
1989
+ declare function resolveEsportsMatchDetailParams(params?: EsportsMatchDetailParams): EsportsMatchDetailParams;
1990
+ declare function fetchSportsMatchDetail(client: PredictClient, section: SportsSection, matchGroupSlug: string, params?: SportsMatchDetailParams): Promise<SportsMatchDetail>;
1991
+ declare function fetchEsportsMatchDetail(client: PredictClient, matchGroupSlug: string, params?: EsportsMatchDetailParams): Promise<SportsMatchDetail>;
1992
+
1739
1993
  /**
1740
1994
  * Server-safe pure functions for market query helpers.
1741
1995
  *
@@ -2110,4 +2364,4 @@ declare function buildClobPayload(signedOrder: SignedOrder, owner: string): Clob
2110
2364
  */
2111
2365
  declare function getPolymarketSharesPrecision(tickSize: string): number;
2112
2366
 
2113
- export { type PolymarketWithdrawPrepareResponse as $, type AvailableSharesResponse as A, type BalanceResponse as B, type Candlestick as C, type ListTradesParams as D, type EventStats as E, type ListTradesMultiParams as F, type DFlowQuoteRequest as G, type DFlowQuoteResponse as H, type DFlowSubmitResponse as I, type DFlowSubmitRequest as J, type DFlowKYCStatus as K, type ListEventsParams as L, type MatchesParams as M, type PolymarketSetupStatus as N, type OrderbookOutcome as O, PredictClient as P, type PolymarketDepositWalletDeployResponse as Q, type WithdrawBuildRequest as R, type SimilarEventsParams as S, type WithdrawSubmitResponse as T, type WithdrawSubmitRequest as U, type WithdrawStatusResponse as V, type WithdrawBuildResponse as W, type PolymarketDepositAddresses as X, type PolymarketSupportedAsset as Y, type PolymarketWithdrawResponse as Z, type PolymarketWithdrawRequest as _, PredictWsClient as a, type MatchConfidenceTier as a$, type PolymarketWithdrawPrepareRequest as a0, type PolymarketWithdrawQuoteResponse as a1, type PolymarketWithdrawQuoteRequest as a2, type PolymarketWithdrawRelayBuildResponse as a3, type PolymarketWithdrawRelayBuildRequest as a4, type PolymarketWithdrawRelaySubmitResponse as a5, type PolymarketWithdrawRelaySubmitRequest as a6, type PolymarketWithdrawBridgeStatusResponse as a7, type PolymarketRedeemResponse as a8, type PolymarketTypedData as a9, type MarketSummary as aA, type PredictCommentProfile as aB, type PricePoint as aC, type PredictPosition as aD, type PositionValue as aE, type PositionValueError as aF, type OrderStatus as aG, type OrderSide as aH, type DFlowOrderContext as aI, type PolymarketOrderType as aJ, type PolymarketTickSize as aK, type PolymarketWalletKind as aL, type PolymarketDepositWalletDeployRequest as aM, type DepositBuildRequest as aN, type DepositBuildResponse as aO, type DepositSubmitRequest as aP, type DepositSubmitResponse as aQ, type DepositStatusResponse as aR, type UnsignedTx as aS, type PolymarketBridgeToken as aT, type PolymarketSupportedAssetsResponse as aU, type PolymarketTypedDataArg as aV, type MatchStatus as aW, type MatchGroupEntry as aX, type MatchGroupMarket as aY, type MatchSortField as aZ, type MatchesStats as a_, type TickSizeResponse as aa, type FeeRateResponse as ab, type RebateConfig as ac, type WsConnectionStatus as ad, type WsDataMessage as ae, type WsPriceEvent as af, type WsOrderbookEvent as ag, type WsTradeEvent as ah, type CreateOrderInput as ai, createPredictClient as aj, type PredictClientOptions as ak, createPredictWsClient as al, type PredictWsClientConfig as am, type ProviderMeta as an, type PredictTag as ao, type SettlementSource as ap, type MarketStatus as aq, type MarketResult as ar, type MarketOutcome as as, type OrderbookLevel as at, type OrderbookBatchItem as au, type OrderbookBatchResult as av, type OrderbooksBatchRequest as aw, type OrderbooksBatchResponse as ax, type TradeType as ay, type EventSummary as az, type PredictPage as b, type SignalTag as b0, type MatchLeg as b1, type MatchMarketFlat as b2, type WsChannel as b3, type WsChannelEvent as b4, type WsClientMessage as b5, type WsSubscribeMessage as b6, type WsPingMessage as b7, type WsServerMessage as b8, type WsPongMessage as b9, derivePolymarketApiKey as bA, type HttpMethod as bB, type PolymarketL2HeadersInput as bC, type PolymarketL2Headers as bD, type BuildClobAuthMessageInput as bE, CTF_EXCHANGE_ADDRESS as bF, NEG_RISK_CTF_EXCHANGE_ADDRESS as bG, USDC_ADDRESS as bH, POLYGON_CHAIN_ID as bI, buildCtfExchangeDomain as bJ, CTF_ORDER_TYPES as bK, ORDER_TYPE as bL, SIDE as bM, buildOrderMessage as bN, buildSignedOrder as bO, buildClobPayload as bP, getPolymarketSharesPrecision as bQ, normalizePolymarketTickSize as bR, type ClobOrderPayload as bS, type BuildOrderMessageInput as bT, type OrderMessage as bU, type SignedOrder as bV, DEFAULT_PAGE_SIZE as bW, type WsSubscribedMessage as ba, type WsErrorCode as bb, type WsErrorMessage as bc, type PolymarketRedeemPrepareInput as bd, type PolymarketRedeemPrepareResponse as be, type PolymarketRedeemInput as bf, eventQueryKey as bg, fetchEvent as bh, resolveTagSlug as bi, resolveEventsParams as bj, infiniteEventsQueryKey as bk, fetchEventsPage as bl, type ResolveEventsParamsInput as bm, type TagSlugSelection as bn, marketQueryKey as bo, fetchMarket as bp, matchesQueryKey as bq, matchQueryKey as br, fetchMatchesPage as bs, matchMarketsQueryKey as bt, fetchMatchMarketsPage as bu, CLOB_AUTH_DOMAIN as bv, CLOB_AUTH_TYPES as bw, buildClobAuthMessage as bx, hmacSha256Base64 as by, buildPolymarketL2Headers as bz, type PredictEvent as c, type ProviderSource as d, type EventStatus as e, type EventSortField as f, type PredictMarket as g, type Orderbook as h, type ListMarketTradesParams as i, type PredictTrade as j, type PriceHistoryRange as k, type PriceHistoryResponse as l, type ListCandlesticksParams as m, type ListCommentsParams as n, type PredictComment as o, type PositionsResponse as p, type PositionValueResponse as q, type ListOrdersParams as r, type PredictOrder as s, type ListOrdersMultiParams as t, type PredictOrdersResponse as u, type CancelOrderResult as v, type MatchGroupPage as w, type MatchGroup as x, type MatchMarketParams as y, type MatchMarketPage as z };
2367
+ export { type ListTradesParams as $, type PredictTrade as A, type PriceHistoryRange as B, type PriceHistoryParams as C, type PriceHistoryResponse as D, type EsportsTaxonomyParams as E, type ListCandlesticksParams as F, type Candlestick as G, type ListCommentsParams as H, type PredictComment as I, type PositionsResponse as J, type PositionValueResponse as K, type ListEventsParams as L, type AvailableSharesResponse as M, type BalanceResponse as N, type Orderbook as O, PredictClient as P, type ListOrdersParams as Q, type PredictOrder as R, type SportsTaxonomyParams as S, type ListOrdersMultiParams as T, type PredictOrdersResponse as U, type CancelOrderResult as V, type MatchesParams as W, type MatchGroupPage as X, type MatchGroup as Y, type MatchMarketParams as Z, type MatchMarketPage as _, PredictWsClient as a, type SportsMarket as a$, type ListTradesMultiParams as a0, type DFlowQuoteRequest as a1, type DFlowQuoteResponse as a2, type DFlowSubmitResponse as a3, type DFlowSubmitRequest as a4, type DFlowKYCStatus as a5, type PolymarketSetupStatus as a6, type PolymarketDepositWalletDeployResponse as a7, type WithdrawBuildResponse as a8, type WithdrawBuildRequest as a9, type CreateOrderInput as aA, createPredictClient as aB, type PredictClientOptions as aC, createPredictWsClient as aD, type PredictWsClientConfig as aE, type ProviderMeta as aF, type PredictTag as aG, type SettlementSource as aH, type MarketStatus as aI, type MarketResult as aJ, type MarketOutcome as aK, type OrderbookLevel as aL, type OrderbookBatchItem as aM, type OrderbookBatchResult as aN, type OrderbooksBatchRequest as aO, type OrderbooksBatchResponse as aP, type SportsProviderSource as aQ, type SportsEventType as aR, type SportsRouteType as aS, type SportsTaxonomyNodeType as aT, type SportsBinaryOutcome as aU, type SportsTaxonomyNode as aV, type SportsTaxonomySection as aW, type SportsParticipant as aX, type SportsLiveState as aY, type SportsMarketOutcome as aZ, type SportsInlineMarket as a_, type WithdrawSubmitResponse as aa, type WithdrawSubmitRequest as ab, type WithdrawStatusResponse as ac, type PolymarketDepositAddresses as ad, type PolymarketSupportedAsset as ae, type PolymarketWithdrawResponse as af, type PolymarketWithdrawRequest as ag, type PolymarketWithdrawPrepareResponse as ah, type PolymarketWithdrawPrepareRequest as ai, type PolymarketWithdrawQuoteResponse as aj, type PolymarketWithdrawQuoteRequest as ak, type PolymarketWithdrawRelayBuildResponse as al, type PolymarketWithdrawRelayBuildRequest as am, type PolymarketWithdrawRelaySubmitResponse as an, type PolymarketWithdrawRelaySubmitRequest as ao, type PolymarketWithdrawBridgeStatusResponse as ap, type PolymarketRedeemResponse as aq, type PolymarketTypedData as ar, type TickSizeResponse as as, type FeeRateResponse as at, type RebateConfig as au, type WsConnectionStatus as av, type WsDataMessage as aw, type WsPriceEvent as ax, type WsOrderbookEvent as ay, type WsTradeEvent as az, type PredictPage as b, esportsTaxonomyQueryKey as b$, type SportsMarketGroup as b0, type SportsMatchCard as b1, type SportsPropEventCard as b2, type EsportsMatchDetailParams as b3, type PredictSearchResultType as b4, type PredictSearchSortField as b5, type PredictSearchResult as b6, type TradeType as b7, type EventSummary as b8, type MarketSummary as b9, type MatchConfidenceTier as bA, type SignalTag as bB, type MatchLeg as bC, type MatchMarketFlat as bD, type WsChannel as bE, type WsChannelEvent as bF, type WsClientMessage as bG, type WsSubscribeMessage as bH, type WsPingMessage as bI, type WsServerMessage as bJ, type WsPongMessage as bK, type WsSubscribedMessage as bL, type WsErrorCode as bM, type WsErrorMessage as bN, type PolymarketRedeemPrepareInput as bO, type PolymarketRedeemPrepareResponse as bP, type PolymarketRedeemInput as bQ, eventQueryKey as bR, fetchEvent as bS, predictSearchQueryKey as bT, fetchPredictSearch as bU, sportsTaxonomyQueryKey as bV, fetchSportsTaxonomy as bW, sportsMatchesQueryKey as bX, fetchSportsMatches as bY, sportsPropsQueryKey as bZ, fetchSportsProps as b_, type PredictCommentProfile as ba, type PricePoint as bb, type PredictPosition as bc, type PositionValue as bd, type PositionValueError as be, type OrderStatus as bf, type OrderSide as bg, type DFlowOrderContext as bh, type PolymarketOrderType as bi, type PolymarketTickSize as bj, type PolymarketWalletKind as bk, type PolymarketDepositWalletDeployRequest as bl, type DepositBuildRequest as bm, type DepositBuildResponse as bn, type DepositSubmitRequest as bo, type DepositSubmitResponse as bp, type DepositStatusResponse as bq, type UnsignedTx as br, type PolymarketBridgeToken as bs, type PolymarketSupportedAssetsResponse as bt, type PolymarketTypedDataArg as bu, type MatchStatus as bv, type MatchGroupEntry as bw, type MatchGroupMarket as bx, type MatchSortField as by, type MatchesStats as bz, type PredictEvent as c, fetchEsportsTaxonomy as c0, esportsMatchesQueryKey as c1, fetchEsportsMatches as c2, esportsPropsQueryKey as c3, fetchEsportsProps as c4, sportsRoutingQueryKey as c5, fetchSportsRouting as c6, sportsMatchDetailQueryKey as c7, fetchSportsMatchDetail as c8, resolveTagSlug as c9, buildCtfExchangeDomain as cA, CTF_ORDER_TYPES as cB, ORDER_TYPE as cC, SIDE as cD, buildOrderMessage as cE, buildSignedOrder as cF, buildClobPayload as cG, getPolymarketSharesPrecision as cH, normalizePolymarketTickSize as cI, type ClobOrderPayload as cJ, type BuildOrderMessageInput as cK, type OrderMessage as cL, type SignedOrder as cM, DEFAULT_PAGE_SIZE as cN, resolveSportsTaxonomyParams as cO, resolveSportsMatchesParams as cP, resolveSportsPropsParams as cQ, resolveEsportsTaxonomyParams as cR, resolveEsportsMatchesParams as cS, resolveEsportsPropsParams as cT, resolveSportsRoutingParams as cU, esportsMatchDetailQueryKey as cV, resolveSportsMatchDetailParams as cW, resolveEsportsMatchDetailParams as cX, fetchEsportsMatchDetail as cY, resolvePredictSearchParams as cZ, resolveEventsParams as ca, infiniteEventsQueryKey as cb, fetchEventsPage as cc, type ResolveEventsParamsInput as cd, type TagSlugSelection as ce, marketQueryKey as cf, fetchMarket as cg, matchesQueryKey as ch, matchQueryKey as ci, fetchMatchesPage as cj, matchMarketsQueryKey as ck, fetchMatchMarketsPage as cl, CLOB_AUTH_DOMAIN as cm, CLOB_AUTH_TYPES as cn, buildClobAuthMessage as co, hmacSha256Base64 as cp, buildPolymarketL2Headers as cq, derivePolymarketApiKey as cr, type HttpMethod as cs, type PolymarketL2HeadersInput as ct, type PolymarketL2Headers as cu, type BuildClobAuthMessageInput as cv, CTF_EXCHANGE_ADDRESS as cw, NEG_RISK_CTF_EXCHANGE_ADDRESS as cx, USDC_ADDRESS as cy, POLYGON_CHAIN_ID as cz, type ProviderSource as d, type PredictSearchParams as e, type PredictSearchResponse as f, type SportsTaxonomyResponse as g, type SportsMatchesParams as h, type SportsMatchesResponse as i, type SportsPropsParams as j, type SportsPropsResponse as k, type EsportsMatchesParams as l, type EsportsPropsParams as m, type SportsRoutingParams as n, type SportsRoutingResponse as o, type SportsSection as p, type SportsMatchDetailParams as q, type SportsMatchDetail as r, type SportsOrderbookKey as s, type EventStats as t, type EventStatus as u, type EventSortField as v, type SimilarEventsParams as w, type PredictMarket as x, type OrderbookOutcome as y, type ListMarketTradesParams as z };