/** * Market data model for the Kalshi JavaScript SDK. */ import { MarketData } from '../types'; export declare class Market { readonly ticker: string; readonly title: string; readonly subtitle: string; readonly status: string; readonly yesPrice?: number; readonly noPrice?: number; readonly volume: number; readonly openInterest: number; readonly closeTime?: Date; readonly settleTime?: Date; readonly category: string; readonly tags: string[]; private readonly _rawData; constructor(data: MarketData); private parseDateTime; /** * Check if the market is currently open for trading. */ get isOpen(): boolean; /** * Check if the market has been settled. */ get isSettled(): boolean; /** * Calculate the bid-ask spread. */ get spread(): number | undefined; /** * Get the raw data from the API response. */ get rawData(): MarketData; /** * Convert the Market instance to a plain object. */ toJSON(): Record; /** * String representation of the market. */ toString(): string; }