import { type SetValueResult } from "@zwave-js/cc"; import { type TranslatedValueID, type ValueID } from "@zwave-js/core"; import { FunctionType, Message } from "@zwave-js/serial"; import type { Driver } from "../../driver/Driver.js"; import type { ZWaveController } from "../Controller.js"; import type { ControllerProprietaryCommon } from "../Proprietary.js"; export declare const FUNC_ID_NABUCASA = FunctionType.Proprietary_F0; export declare enum NabuCasaCommand { GetSupportedCommands = 0, GetLED = 1, SetLED = 2, ReadGyro = 3, SetSystemIndication = 4, GetConfig = 5, SetConfig = 6, GetLEDBinary = 7, SetLEDBinary = 8, GetBootloaderInfo = 9 } /** * Capabilities of the Gecko Bootloader, mirroring the `BOOTLOADER_CAPABILITY_*` * definitions in the Simplicity SDK. The unlisted bits are unassigned. */ export declare enum NabuCasaBootloaderCapability { EnforceUpgradeSignature = 0, EnforceUpgradeEncryption = 1, EnforceSecureBoot = 2, BootloaderUpgrade = 4, GBL = 5, GBLSignature = 6, GBLEncryption = 7, EnforceCertificateSecureBoot = 8, RollbackProtection = 9, PeripheralList = 10, Storage = 16, Communication = 20, EM4GPIORetention = 21 } export interface NabuCasaBootloaderInfo { /** Bootloader version, formatted as `major.minor.customer` */ version: string; capabilities: NabuCasaBootloaderCapability[]; } export interface RGB { r: number; g: number; b: number; } export interface Vector { x: number; y: number; z: number; } export declare enum NabuCasaIndicationSeverity { None = 0, Warning = 1, Error = 2 } export declare enum NabuCasaConfigKey { EnableTiltIndicator = 0 } export declare class ControllerProprietary_NabuCasa implements ControllerProprietaryCommon { constructor(driver: Driver, controller: ZWaveController); private driver; private controller; private supportedCommands?; private _bootloaderInfo?; /** Information about the bootloader, read during the interview */ get bootloaderInfo(): NabuCasaBootloaderInfo | undefined; interview(): Promise; private persistRGBValue; private persistLEDState; getSupportedCommands(): Promise; getLED(): Promise; setLED(rgb: RGB): Promise; getLEDBinary(): Promise; setLEDBinary(state: boolean): Promise; readGyro(): Promise; setSystemIndication(severity: NabuCasaIndicationSeverity): Promise; getConfig(key: NabuCasaConfigKey): Promise; setConfig(key: NabuCasaConfigKey, value: number): Promise; getBootloaderVersion(): Promise; getBootloaderInfo(): Promise; getDefinedValueIDs(): TranslatedValueID[]; pollValue(valueId: ValueID): Promise; setValue(valueId: ValueID, value: unknown): Promise; handleUnsolicited(_msg: Message): Promise; } //# sourceMappingURL=NabuCasa.d.ts.map