/** Short-form market interval (Chainlink-based crypto up/down markets). */ export type ShortFormInterval = '5m' | '15m' | '1h'; /** Supported coins for short-form markets. */ export type ShortFormCoin = 'btc' | 'eth' | 'sol' | 'xrp' | 'doge' | 'hype' | 'bnb'; /** Options for short-form market streams. */ export interface ShortFormOptions { /** Coins to subscribe to. Defaults to all 7. */ coins?: ShortFormCoin[]; /** Base URL for Gamma proxy. Defaults to https://api.polynode.dev */ apiBaseUrl?: string; /** Seconds to wait after window end before discovering next window. Default: 3 */ rotationBuffer?: number; } /** A discovered short-form market. */ export interface ShortFormMarket { coin: ShortFormCoin; slug: string; title: string; conditionId: string; windowStart: number; windowEnd: number; outcomes: string[]; outcomePrices: number[]; clobTokenIds: string[]; /** Probability that "Up" wins (0-1). Derived from outcomePrices. */ upOdds: number; /** Probability that "Down" wins (0-1). Derived from outcomePrices. */ downOdds: number; /** Market liquidity in USD (from Gamma, no extra call). */ liquidity: number; /** 24h volume in USD (from Gamma, no extra call). */ volume24h: number; /** The Chainlink opening price this market must beat for "Up" to win. Null if not yet available. */ priceToBeat: number | null; } /** Emitted on window rotation. */ export interface RotationEvent { interval: ShortFormInterval; markets: ShortFormMarket[]; windowStart: number; windowEnd: number; /** Seconds remaining in this window (computed client-side). */ timeRemaining: number; } //# sourceMappingURL=short-form.d.ts.map