/** * Order data model for the Kalshi JavaScript SDK. */ import { OrderData } from '../types'; export declare class Order { readonly orderId: string; readonly clientOrderId: string; readonly ticker: string; readonly side: 'yes' | 'no'; readonly action: 'buy' | 'sell'; readonly type: 'limit' | 'market'; readonly status: string; readonly count: number; readonly price?: number; readonly filledCount: number; readonly remainingCount: number; readonly createdTime?: Date; readonly updatedTime?: Date; private readonly _rawData; constructor(data: OrderData); private parseDateTime; /** * Check if the order is completely filled. */ get isFilled(): boolean; /** * Check if the order is pending. */ get isPending(): boolean; /** * Check if the order is canceled. */ get isCanceled(): boolean; /** * Check if the order is partially filled. */ get isPartiallyFilled(): boolean; /** * Calculate the fill percentage. */ get fillPercentage(): number; /** * Get the raw data from the API response. */ get rawData(): OrderData; /** * Convert the Order instance to a plain object. */ toJSON(): Record; /** * String representation of the order. */ toString(): string; }