import { BaseWebSocket } from '../base.ws'; import type { OKXExchange } from './okx.exchange'; export declare class OKXPrivateWebsocket extends BaseWebSocket { get endpoint(): string; connectAndSubscribe: () => void; onOpen: () => void; ping: () => void; auth: () => void; subscribe: () => void; onMessage: ({ data }: MessageEvent) => void; handlePongEvent: () => void; handleOrderTopic: ({ data: okxOrders }: Record) => void; handlePositionTopic: ({ data: okxPositions, }: { data: Array>; }) => void; handleAccountTopic: ({ data }: { data: Array>; }) => void; }