import { Connection } from '@solana/web3.js'; import { BookSide, EventHeap, Market, OpenOrders } from '..'; export declare class Watcher { connection: Connection; accountSubs: { [pk: string]: number; }; constructor(connection: Connection); addMarket(market: Market, includeBook?: boolean, includeEvents?: boolean): this; addBookSide(bookSide: BookSide): this; addEventHeap(eventHeap: EventHeap): this; addOpenOrders(openOrders: OpenOrders): this; clear(): this; }