import type { ErrorEvent as WSErrorEvent } from 'ws'; import { WebSocketClient } from './webSocketClient'; export declare enum NetworkMessageType { Identify = 0, Disconnecting = 1, SignalRequest = 2, Signal = 3, CannotSatisfyRequest = 4, PeerListRequest = 20, PeerList = 21, GetBlockHeadersRequest = 40, GetBlockHeadersResponse = 41, GetBlocksRequest = 42, GetBlocksResponse = 43, GetCompactBlockRequest = 60, GetCompactBlockResponse = 61, GetBlockTransactionsRequest = 62, GetBlockTransactionsResponse = 63, NewBlockHashes = 64, NewCompactBlock = 65, PooledTransactionsRequest = 80, PooledTransactionsResponse = 81, NewPooledTransactionHashes = 82, NewTransactions = 83 } export type IsomorphicWebSocketConstructor = typeof WebSocket | typeof WebSocketClient; export type IsomorphicWebSocket = WebSocket | WebSocketClient; export type IsomorphicWebSocketErrorEvent = WSErrorEvent; //# sourceMappingURL=types.d.ts.map