import { BleConnection } from "./adapters/bleConnection.js"; import { HttpConnection } from "./adapters/httpConnection.js"; import { SerialConnection } from "./adapters/serialConnection.js"; import { Types } from "./index.js"; /** * Allows to create new connections to devices and manages them. Alternatively, * new connections can be created directly by instantiating their respective the * interface classes. */ export declare class Client { /** Array containing all created connection interfaces */ deviceInterfaces: Types.ConnectionType[]; constructor(); /** * Creates a new Bluetooth Low Enery connection interface */ createBleConnection(configId?: number): BleConnection; /** * Creates a new HTTP(S) connection interface */ createHttpConnection(configId?: number): HttpConnection; /** * Creates a new Serial connection interface */ createSerialConnection(configId?: number): SerialConnection; /** * Adds an already created connection interface to the client */ addConnection(connectionObj: Types.ConnectionType): void; /** * Removes a connection interface from the client */ removeConnection(connectionObj: Types.ConnectionType): void; }