import type { JsonRpcResponse, ParticleRpcRequest } from '@particle-network/auth'; import { IJsonRpcConnection } from './types'; import type { ConnectionConfig } from './types'; export declare class HttpConnection extends IJsonRpcConnection { private config; private api; private registering; constructor(config: ConnectionConfig); get connected(): boolean; get connecting(): boolean; open(): Promise; close(): Promise; send(request: ParticleRpcRequest): Promise; private register; private onOpen; private onClose; }