/** * @file Node-RED adapter for `labo-smart-home-coordinator`. * * The package no longer embeds a private copy of the LSH orchestration logic. * This file only translates between Node-RED concepts (node status, outputs, * context stores and `mqtt in` control messages) and the standalone coordinator * library. Keeping the wrapper thin makes CLI, library and Node-RED behavior * converge by construction. */ import type { Node } from "node-red"; import { LaboSmartHomeCoordinator } from "labo-smart-home-coordinator"; import type { LshLogicNodeDef } from "./types"; /** * Runtime class attached to a single Node-RED node instance. */ export declare class LshLogicNode { private readonly node; private readonly config; private readonly coordinator; private readonly initPromise; private isClosing; private lastSubscriptionSignature; private coordinatorStatus; private registrySnapshot; private configuredDeviceCount; constructor(node: Node, config: LshLogicNodeDef); /** * Exposes the shared coordinator for tests and advanced host integrations. */ getCoordinator(): LaboSmartHomeCoordinator; /** * Waits for all coordinator work currently queued by the wrapper. */ flush(): Promise; private initialize; private registerNodeEventHandlers; private wireCoordinatorEvents; private handleInput; private handleClose; private emitSubscriptionMessages; private exportState; private exportConfig; private exportTopics; private refreshNodeStatus; private formatCompactStatusText; private getContext; private send; private toErrorMessage; } //# sourceMappingURL=lsh-logic.d.ts.map