import type { Home } from './types/Home.ts'; import type { Event } from './types/event/Event.ts'; export type DirigeraClient = Awaited>; export type { AirPurifier } from './types/device/AirPurifier.ts'; export type { Blinds } from './types/device/Blinds.ts'; export type { Capabilities } from './types/Capabilities.ts'; export type { Controller } from './types/device/Controller.ts'; export type { Device } from './types/device/Device.ts'; export type { DeviceSet } from './types/DeviceSet.ts'; export type { ElectricalSensor } from './types/device/ElectricalSensor.ts'; export type { EnvironmentSensor } from './types/device/EnvironmentSensor.ts'; export type { Home } from './types/Home.ts'; export type { Hub } from './types/device/Hub.ts'; export type { Light } from './types/device/Light.ts'; export type { LightSensor } from './types/device/LightSensor.ts'; export type { MotionSensor } from './types/device/MotionSensor.ts'; export type { Music } from './types/Music.ts'; export type { OccupancySensor } from './types/device/OccupancySensor.ts'; export type { OpenCloseSensor } from './types/device/OpenCloseSensor.ts'; export type { Outlet } from './types/device/Outlet.ts'; export type { Repeater } from './types/device/Repeater.ts'; export type { Room } from './types/Room.ts'; export type { Scene } from './types/Scene.ts'; export type { Speaker } from './types/device/Speaker.ts'; export type { User } from './types/User.ts'; export type { WaterSensor } from './types/device/WaterSensor.ts'; export type { Event } from './types/event/Event.ts'; export type { DeviceAddedEvent } from './types/event/DeviceAddedEvent.ts'; export type { DeviceConfigurationChangedEvent } from './types/event/DeviceConfigurationChangedEvent.ts'; export type { DeviceDiscoveredEvent } from './types/event/DeviceDiscoveredEvent.ts'; export type { DeviceRemovedEvent } from './types/event/DeviceRemovedEvent.ts'; export type { DeviceSetCreatedEvent } from './types/event/DeviceSetCreatedEvent.ts'; export type { DeviceSetDeletedEvent } from './types/event/DeviceSetDeletedEvent.ts'; export type { DeviceSetUpdatedEvent } from './types/event/DeviceSetUpdatedEvent.ts'; export type { DeviceStateChangedEvent } from './types/event/DeviceStateChangedEvent.ts'; export type { MusicUpdatedEvent } from './types/event/MusicUpdatedEvent.ts'; export type { PingEvent } from './types/event/PingEvent.ts'; export type { PongEvent } from './types/event/PongEvent.ts'; export type { RemotePressEvent } from './types/event/RemotePressEvent.ts'; export type { RoomCreatedEvent } from './types/event/RoomCreatedEvent.ts'; export type { RoomDeletedEvent } from './types/event/RoomDeletedEvent.ts'; export type { RoomUpdatedEvent } from './types/event/RoomUpdatedEvent.ts'; export type { SceneCompletedEvent } from './types/event/SceneCompletedEvent.ts'; export type { SceneCreatedEvent } from './types/event/SceneCreatedEvent.ts'; export type { SceneDeletedEvent } from './types/event/SceneDeletedEvent.ts'; export type { SceneTriggeredEvent } from './types/event/SceneTriggeredEvent.ts'; export type { SceneUpdatedEvent } from './types/event/SceneUpdatedEvent.ts'; export type { TerminationEvent } from './types/event/TerminationEvent.ts'; export declare function createDirigeraClient({ gatewayIP, accessToken, rejectUnauthorized, }?: { gatewayIP?: string; accessToken?: string; rejectUnauthorized?: boolean; }): Promise<{ authenticate({ verbose }?: { verbose?: boolean; }): Promise; home(): Promise; hub: { status(): Promise; checkFirmwareUpdate(): Promise; installFirmwareUpdate(): Promise; }; devices: { list(): Promise; get({ id }: { id: string; }): Promise; setCustomName({ id, customName, }: { id: string; customName: string; }): Promise; setAttributes({ id, attributes, transitionTime, }: { id: string; attributes: Partial; transitionTime?: number; }): Promise; startIdentifying({ id }: { id: string; }): Promise; stopIdentifying({ id }: { id: string; }): Promise; }; lights: { list(): Promise; get({ id }: { id: string; }): Promise; setIsOn({ id, isOn }: { id: string; isOn: boolean; }): Promise; setLightLevel({ id, lightLevel, transitionTime, }: { id: string; lightLevel: number; transitionTime?: number; }): Promise; setLightTemperature({ id, colorTemperature, transitionTime, }: { id: string; colorTemperature: number; transitionTime?: number; }): Promise; setLightColor({ id, colorHue, colorSaturation, transitionTime, }: { id: string; colorHue: number; colorSaturation: number; transitionTime?: number; }): Promise; setStartupOnOff({ id, startupOnOff, }: { id: string; startupOnOff: import("./types/device/Light.ts").Light['attributes']['startupOnOff']; }): Promise; }; outlets: { list(): Promise; get({ id }: { id: string; }): Promise; setIsOn({ id, isOn }: { id: string; isOn: boolean; }): Promise; setStartupOnOff({ id, startupOnOff, }: { id: string; startupOnOff: import("./types/device/Outlet.ts").Outlet['attributes']['startupOnOff']; }): Promise; setStatusLight({ id, statusLight, }: { id: string; statusLight: import("./types/device/Outlet.ts").Outlet['attributes']['statusLight']; }): Promise; setChildLock({ id, childLock, }: { id: string; childLock: import("./types/device/Outlet.ts").Outlet['attributes']['childLock']; }): Promise; resetEnergyConsumption({ id }: { id: string; }): Promise; }; controllers: { list(): Promise; get({ id }: { id: string; }): Promise; setControlMode({ id, controlMode, }: { id: string; controlMode: import("./types/device/Controller.ts").GenericSwitch['attributes']['controlMode']; }): Promise; }; speakers: { list(): Promise; get({ id }: { id: string; }): Promise; setVolume({ id, volume }: { id: string; volume: number; }): Promise; setPlayback({ id, playback, }: { id: string; playback: import("./types/device/Speaker.ts").Speaker['attributes']['playback']; }): Promise; }; blinds: { list(): Promise; get({ id }: { id: string; }): Promise; setTargetLevel({ id, blindsTargetLevel, }: { id: string; blindsTargetLevel: number; }): Promise; setState({ id, blindsState, }: { id: string; blindsState: import("./types/device/Blinds.ts").Blinds['attributes']['blindsState']; }): Promise; }; airPurifiers: { list(): Promise; get({ id }: { id: string; }): Promise; setFanMode({ id, fanMode, }: { id: string; fanMode: import("./types/device/AirPurifier.ts").AirPurifier['attributes']['fanMode']; }): Promise; setMotorState({ id, motorState, }: { id: string; motorState: import("./types/device/AirPurifier.ts").AirPurifier['attributes']['motorState']; }): Promise; setChildLock({ id, childLock, }: { id: string; childLock: import("./types/device/AirPurifier.ts").AirPurifier['attributes']['childLock']; }): Promise; setStatusLight({ id, statusLight, }: { id: string; statusLight: import("./types/device/AirPurifier.ts").AirPurifier['attributes']['statusLight']; }): Promise; }; repeaters: { list(): Promise; get({ id }: { id: string; }): Promise; }; motionSensors: { list(): Promise; get({ id }: { id: string; }): Promise; setOnDuration({ id, onDuration, }: { id: string; onDuration: import("./types/device/MotionSensor.ts").MotionSensor['attributes']['sensorConfig']['onDuration']; }): Promise; setScheduleOn({ id, scheduleOn, }: { id: string; scheduleOn: import("./types/device/MotionSensor.ts").MotionSensor['attributes']['sensorConfig']['scheduleOn']; }): Promise; setSchedule({ id, schedule, }: { id: string; schedule: import("./types/device/MotionSensor.ts").MotionSensor['attributes']['sensorConfig']['schedule']; }): Promise; }; occupancySensors: { list(): Promise; get({ id }: { id: string; }): Promise; setOnDuration({ id, onDuration, }: { id: string; onDuration: import("./types/device/OccupancySensor.ts").OccupancySensor['attributes']['sensorConfig']['onDuration']; }): Promise; setScheduleOn({ id, scheduleOn, }: { id: string; scheduleOn: import("./types/device/OccupancySensor.ts").OccupancySensor['attributes']['sensorConfig']['scheduleOn']; }): Promise; setSchedule({ id, schedule, }: { id: string; schedule: import("./types/device/OccupancySensor.ts").OccupancySensor['attributes']['sensorConfig']['schedule']; }): Promise; }; lightSensors: { list(): Promise; get({ id }: { id: string; }): Promise; }; environmentSensors: { list(): Promise; get({ id }: { id: string; }): Promise; }; openCloseSensors: { list(): Promise; get({ id }: { id: string; }): Promise; }; waterSensors: { list(): Promise; get({ id }: { id: string; }): Promise; }; electricalSensors: { list(): Promise; get({ id }: { id: string; }): Promise; resetEnergyConsumption({ id }: { id: string; }): Promise; }; deviceSets: { list(): Promise; create({ name, icon }: Pick): Promise<{ id: string; }>; delete({ id }: { id: string; }): Promise; update({ id, name, icon }: import("./types/DeviceSet.ts").DeviceSet): Promise; updateConfiguration({ id, deviceIds, roomId, remoteLinkIds, }: { id: string; deviceIds: string[]; roomId?: string; remoteLinkIds?: string[]; }): Promise; setIsOn({ id, isOn }: { id: string; isOn: boolean; }): Promise; setAttributes({ id, attributes, transitionTime, }: { id: string; attributes: Partial; transitionTime?: number; }): Promise; }; rooms: { list(): Promise; get({ id }: { id: string; }): Promise; create({ name, icon, color }: Pick): Promise<{ id: string; }>; delete({ id }: { id: string; }): Promise; update({ id, name, icon, color }: import("./types/Room.ts").Room): Promise; moveDevices({ id, deviceIds }: { id: string; deviceIds: string[]; }): Promise; setIsOn({ id, deviceType, isOn, }: { id: string; deviceType?: import("./types/device/Device.ts").Device['deviceType']; isOn: boolean; }): Promise; setAttributes({ id, deviceType, attributes, transitionTime, }: { id: string; deviceType?: import("./types/device/Device.ts").Device['deviceType']; attributes: Partial; transitionTime?: number; }): Promise; }; scenes: { list(): Promise; get({ id }: { id: string; }): Promise; trigger({ id }: { id: string; }): Promise; undo({ id }: { id: string; }): Promise; create({ info, type, actions, triggers, }: Pick): Promise<{ id: string; }>; delete({ id }: { id: string; }): Promise; update({ id, info, type, actions, triggers, }: Pick): Promise; }; music: { get(): Promise; }; users: { list(): Promise; getCurrentUser(): Promise; setCurrentUserName({ name }: { name: string; }): Promise; delete({ id }: { id: string; }): Promise; }; startListeningForUpdates(callback: (updateEvent: Event) => void): void; stopListeningForUpdates(): void; }>;