export interface PriceUpdate { tokenId: string; price: number; timestamp: number; } type PriceCallback = (update: PriceUpdate) => void; export declare class PriceStream { private ws; private subscriptions; private reconnectAttempts; private maxReconnects; private reconnectTimer; private pingTimer; private lastPrices; connect(): void; subscribe(tokenId: string, callback: PriceCallback): void; unsubscribe(tokenId: string, callback?: PriceCallback): void; getLastPrice(tokenId: string): PriceUpdate | undefined; getSubscriptionCount(): number; isConnected(): boolean; disconnect(): void; private handleMessage; private sendSubscribe; private resubscribeAll; private scheduleReconnect; private startPing; private stopPing; } export {}; //# sourceMappingURL=price-stream.d.ts.map