import type { Candle, OHLCVOptions, OrderBook } from '../../types'; import { BaseWebSocket } from '../base.ws'; import type { BitgetExchange } from './bitget.exchange'; type Data = Record; type MessageHandlers = { [topic: string]: (json: Data) => void; }; type SubscribedTopics = { [id: string]: string[]; }; export declare class BitgetPublicWebsocket extends BaseWebSocket { topics: SubscribedTopics; messageHandlers: MessageHandlers; connectAndSubscribe: () => void; onOpen: () => void; ping: () => void; subscribe: () => void; onMessage: ({ data }: MessageEvent) => void; handlePongEvent: () => void; handleTickerSnapshot: (json: Record) => void; listenOHLCV: (opts: OHLCVOptions, callback: (candle: Candle) => void) => () => void; listenOrderBook: (symbol: string, callback: (orderBook: OrderBook) => void) => () => void; } export {};