import { DevicesManager } from "./devices/devices-manager.js"; import { HistoryManager } from "./history/history-manager.js"; import { HttpClient, type HttpClientOptions } from "./http-client.js"; import { EntityActionsManager } from "./control/entity-actions-manager.js"; import { ServerApiManager } from "./server/server-api-manager.js"; import { ZWaveManager } from "./zwave/zwave-manager.js"; import type { WebSocketManager } from "./ws/websocket-manager.js"; import type { WebSocketManagerOptions } from "./ws/websocket-manager.js"; export interface HomeAssistantClientConfig { baseUrl: string; token: string; enableWebSocket?: boolean; fetch?: typeof fetch; webSocketReconnect?: boolean; webSocketReconnectDelays?: Pick; } export declare class HomeAssistantClient { private readonly http; private _ws; private _wsInit; readonly devices: DevicesManager; readonly history: HistoryManager; readonly zwave: ZWaveManager; readonly server: ServerApiManager; /** Simplified turn_on / turn_off / automations / scripts / scenes. */ readonly actions: EntityActionsManager; private readonly token; private readonly baseUrl; private readonly enableWebSocketFlag; private readonly wsReconnect; private readonly wsReconnectDelays; constructor(config: HomeAssistantClientConfig); get ws(): WebSocketManager | undefined; connectWebSocket(): Promise; disconnectWebSocket(): Promise; private ensureWebSocketManager; } export type { HttpClient, HttpClientOptions }; //# sourceMappingURL=client.d.ts.map