import type { HttpClient } from "../http-client.js"; import type { HassDeviceRegistryEntry, HassState } from "../types/hass.js"; import type { WebSocketManager } from "../ws/websocket-manager.js"; import { type HaDeviceTree } from "./device-tree.js"; export declare class DevicesManager { private readonly http; private readonly getWs; constructor(http: HttpClient, getWs: () => WebSocketManager | undefined); getAllDevices(): Promise; getEntityState(entityId: string): Promise; setEntityState(entityId: string, body: Pick & Partial>): Promise; getDeviceRegistry(): Promise; /** * Device → entities tree (same grouping as the Home Assistant device page). * Requires WebSocket (device registry) + REST (entity registry). */ getDeviceTree(): Promise; /** * Same as {@link getDeviceTree} plus optional live state values in the text (from `/api/states`). */ getDeviceTreeAsText(withStates?: boolean): Promise; } //# sourceMappingURL=devices-manager.d.ts.map