// Compiled, never run: the same declarations as seen from an ES module. Without a "types" condition in "exports" the // import resolves to dist/esm/index.js, which has no declarations next to it, and this file fails with TS7016. import { Alex2MQTT, DEFAULT_HOST, EndpointHealth } from "alex2node"; import type { Device } from "alex2node"; const bridge = new Alex2MQTT("user", "password", "root", false, { host: DEFAULT_HOST }); const devices: Device[] = bridge.getDevices(); const health: EndpointHealth = EndpointHealth.OK; export { devices, health };