diff --git a/.gitattributes b/.gitattributes index f08c99a13e48..8789bb07d435 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,3 +3,7 @@ specs/** linguist-vendored # Use JSONC for syntax highlighting in config files packages/config/config/**/*.json linguist-language=jsonc + +# And API extractor configuration +api-extractor-*.json linguist-language=jsonc +api-extractor.json linguist-language=jsonc diff --git a/.github/workflows/api-surface.yml b/.github/workflows/api-surface.yml new file mode 100644 index 000000000000..5d065ba92402 --- /dev/null +++ b/.github/workflows/api-surface.yml @@ -0,0 +1,52 @@ +name: Check public API surface + +# Run this workflow on all pull requests +on: + pull_request: {} + +jobs: + # This job checks if a PR changes the public API surface + check-api-surface: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16.x] # This should be LTS + + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'yarn' + + - name: Install dependencies + run: yarn install --immutable + + - name: Compile TypeScript code + run: yarn run build + + - name: Generate API report + run: yarn run extract-api + + - name: Show changes + if: failure() + run: | + cat packages/*/.tmp/api.md + + - name: Comment on PR + if: failure() + run: | + echo "The public API surface has changed!" >> $GITHUB_STEP_SUMMARY + echo "Please run" >> $GITHUB_STEP_SUMMARY + echo "\`\`\`" >> $GITHUB_STEP_SUMMARY + echo "yarn clean" >> $GITHUB_STEP_SUMMARY + echo "yarn build" >> $GITHUB_STEP_SUMMARY + echo "yarn extract-api --local" >> $GITHUB_STEP_SUMMARY + echo "\`\`\`" >> $GITHUB_STEP_SUMMARY + echo "and review the changes, then commit them if desired." >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY diff --git a/.vscode/settings.json b/.vscode/settings.json index 9abccca82532..d847931c8ccf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -48,7 +48,9 @@ "(!test)/cache": true }, "files.associations": { - "**/config/**/*.json": "jsonc" + "**/config/**/*.json": "jsonc", + "api-extractor-*.json": "jsonc", + "api-extractor.json": "jsonc" }, "editor.rulers": [72, 80, 120], "files.participants.timeout": 10000, diff --git a/api-extractor-base.json b/api-extractor-base.json new file mode 100644 index 000000000000..1cff397a585a --- /dev/null +++ b/api-extractor-base.json @@ -0,0 +1,392 @@ +/** + * Config file for API Extractor. For more info, please visit: https://api-extractor.com + */ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + /** + * Optionally specifies another JSON config file that this file extends from. This provides a way for + * standard settings to be shared across multiple projects. + * + * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains + * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be + * resolved using NodeJS require(). + * + * SUPPORTED TOKENS: none + * DEFAULT VALUE: "" + */ + // "extends": "./shared/api-extractor-base.json" + // "extends": "my-package/include/api-extractor-base.json" + + /** + * Determines the "" token that can be used with other config file settings. The project folder + * typically contains the tsconfig.json and package.json config files, but the path is user-defined. + * + * The path is resolved relative to the folder of the config file that contains the setting. + * + * The default value for "projectFolder" is the token "", which means the folder is determined by traversing + * parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder + * that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error + * will be reported. + * + * SUPPORTED TOKENS: + * DEFAULT VALUE: "" + */ + // "projectFolder": "..", + + /** + * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor + * analyzes the symbols exported by this module. + * + * The file extension must be ".d.ts" and not ".ts". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + */ + "mainEntryPointFilePath": "/build/index.d.ts", + + /** + * A list of NPM package names whose exports should be treated as part of this package. + * + * For example, suppose that Webpack is used to generate a distributed bundle for the project "library1", + * and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part + * of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly + * imports library2. To avoid this, we can specify: + * + * "bundledPackages": [ "library2" ], + * + * This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been + * local files for library1. + */ + "bundledPackages": [], + + /** + * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files + * will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead. + * To use the OS's default newline kind, specify "os". + * + * DEFAULT VALUE: "crlf" + */ + "newlineKind": "lf", + + /** + * Set to true when invoking API Extractor's test harness. When `testMode` is true, the `toolVersion` field in the + * .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests. + * + * DEFAULT VALUE: "false" + */ + // "testMode": false, + + /** + * Specifies how API Extractor sorts members of an enum when generating api.json. By default, the output files + * will be sorted alphabetically, which is "by-name". To keep the ordering in the source code, specify "preserve". + * + * DEFAULT VALUE: "by-name" + */ + // enumMemberOrder?: EnumMemberOrder, + + /** + * Determines how the TypeScript compiler engine will be invoked by API Extractor. + */ + "compiler": { + /** + * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * Note: This setting will be ignored if "overrideTsconfig" is used. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/tsconfig.json" + */ + // "tsconfigFilePath": "/tsconfig.json", + /** + * Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk. + * The object must conform to the TypeScript tsconfig schema: + * + * http://json.schemastore.org/tsconfig + * + * If omitted, then the tsconfig.json file will be read from the "projectFolder". + * + * DEFAULT VALUE: no overrideTsconfig section + */ + // "overrideTsconfig": { + // . . . + // } + /** + * This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended + * and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when + * dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses + * for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck. + * + * DEFAULT VALUE: false + */ + // "skipLibCheck": true, + }, + + /** + * Configures how the API report file (*.api.md) will be generated. + */ + "apiReport": { + /** + * (REQUIRED) Whether to generate an API report. + */ + "enabled": true, + + /** + * The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce + * a full file path. + * + * The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/". + * + * SUPPORTED TOKENS: , + * DEFAULT VALUE: ".api.md" + */ + "reportFileName": "api.md", + + /** + * Specifies the folder where the API report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, + * e.g. for an API review. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + "reportFolder": "/", + + /** + * Specifies the folder where the temporary report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * After the temporary file is written to disk, it is compared with the file in the "reportFolder". + * If they are different, a production build will fail. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + "reportTempFolder": "/.tmp/" + }, + + /** + * Configures how the doc model file (*.api.json) will be generated. + */ + "docModel": { + /** + * (REQUIRED) Whether to generate a doc model file. + */ + "enabled": false + + /** + * The output path for the doc model file. The file extension should be ".api.json". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/.api.json" + */ + // "apiJsonFilePath": "/temp/.api.json" + }, + + /** + * Configures how the .d.ts rollup file will be generated. + */ + "dtsRollup": { + /** + * (REQUIRED) Whether to generate the .d.ts rollup file. + */ + "enabled": false + + /** + * Specifies the output path for a .d.ts rollup file to be generated without any trimming. + * This file will include all declarations that are exported by the main entry point. + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/dist/.d.ts" + */ + // "untrimmedFilePath": "/dist/.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for an "alpha" release. + * This file will include only declarations that are marked as "@public", "@beta", or "@alpha". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "alphaTrimmedFilePath": "/dist/-alpha.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release. + * This file will include only declarations that are marked as "@public" or "@beta". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "betaTrimmedFilePath": "/dist/-beta.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release. + * This file will include only declarations that are marked as "@public". + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "publicTrimmedFilePath": "/dist/-public.d.ts", + + /** + * When a declaration is trimmed, by default it will be replaced by a code comment such as + * "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the + * declaration completely. + * + * DEFAULT VALUE: false + */ + // "omitTrimmingComments": true + }, + + /** + * Configures how the tsdoc-metadata.json file will be generated. + */ + "tsdocMetadata": { + /** + * Whether to generate the tsdoc-metadata.json file. + * + * DEFAULT VALUE: true + */ + "enabled": false + /** + * Specifies where the TSDoc metadata file should be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * The default value is "", which causes the path to be automatically inferred from the "tsdocMetadata", + * "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup + * falls back to "tsdoc-metadata.json" in the package folder. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "tsdocMetadataFilePath": "/dist/tsdoc-metadata.json" + }, + + /** + * Configures how API Extractor reports error and warning messages produced during analysis. + * + * There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages. + */ + "messages": { + /** + * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing + * the input .d.ts files. + * + * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "compilerMessageReporting": { + /** + * Configures the default routing for messages that don't match an explicit rule in this table. + */ + "default": { + /** + * Specifies whether the message should be written to the the tool's output log. Note that + * the "addToApiReportFile" property may supersede this option. + * + * Possible values: "error", "warning", "none" + * + * Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail + * and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes + * the "--local" option), the warning is displayed but the build will not fail. + * + * DEFAULT VALUE: "warning" + */ + "logLevel": "warning", + + /** + * When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md), + * then the message will be written inside that file; otherwise, the message is instead logged according to + * the "logLevel" option. + * + * DEFAULT VALUE: false + */ + "addToApiReportFile": true + } + + // "TS2551": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + + /** + * Configures handling of messages reported by API Extractor during its analysis. + * + * API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag" + * + * DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings + */ + "extractorMessageReporting": { + "default": { + "logLevel": "warning", + "addToApiReportFile": true + } + + // "ae-extra-release-tag": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + + /** + * Configures handling of messages reported by the TSDoc parser when analyzing code comments. + * + * TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "tsdocMessageReporting": { + "default": { + "logLevel": "warning", + "addToApiReportFile": true + } + + // "tsdoc-link-tag-unescaped-text": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + } + } +} diff --git a/package.json b/package.json index 7241c2250b2c..4cfb336737e5 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "@babel/preset-typescript": "^7.18.6", "@commitlint/cli": "^17.0.3", "@commitlint/config-conventional": "^17.0.3", + "@microsoft/api-extractor": "^7.28.6", "@tsconfig/node14": "^1.0.3", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.5.2", @@ -86,7 +87,8 @@ "zwave-js": "workspace:*" }, "resolutions": { - "minimist": "^1.2.6" + "minimist": "^1.2.6", + "colors": "1.4.0" }, "scripts": { "foreach": "yarn workspaces foreach -pvi --exclude @zwave-js/repo", @@ -94,6 +96,7 @@ "prebuild": "yarn workspace @zwave-js/maintenance run build && yarn workspace @zwave-js/cc run prebuild", "build": "yarn prebuild && yarn workspace zwave-js run build", "watch": "yarn prebuild && yarn workspace zwave-js run watch", + "extract-api": "yarn workspaces foreach -vi --exclude @zwave-js/repo run extract-api", "test:reset": "jest --clear-cache", "test:ts": "jest", "test:ci": "yarn run test:ts --runInBand --forceExit", diff --git a/packages/cc/api-extractor.json b/packages/cc/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/cc/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/cc/api.md b/packages/cc/api.md new file mode 100644 index 000000000000..3a73d6aae1d4 --- /dev/null +++ b/packages/cc/api.md @@ -0,0 +1,17703 @@ +## API Report File for "@zwave-js/cc" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +import { AllOrNone } from '@zwave-js/shared/safe'; +import type { AllOrNone as AllOrNone_2 } from '@zwave-js/shared'; +import { ApplicationNodeInformation } from '@zwave-js/core/safe'; +import { CommandClasses } from '@zwave-js/core/safe'; +import { CommandClasses as CommandClasses_2 } from '@zwave-js/core'; +import { ConfigurationMetadata } from '@zwave-js/core/safe'; +import { ConfigValue } from '@zwave-js/core/safe'; +import { ConfigValueFormat } from '@zwave-js/core/safe'; +import { DataRate } from '@zwave-js/core'; +import { DataRate as DataRate_2 } from '@zwave-js/core/safe'; +import { DSTInfo } from '@zwave-js/core'; +import { Duration } from '@zwave-js/core/safe'; +import { Duration as Duration_2 } from '@zwave-js/core'; +import { EncapsulationFlags } from '@zwave-js/core'; +import { EncapsulationFlags as EncapsulationFlags_2 } from '@zwave-js/core/safe'; +import { FLiRS } from '@zwave-js/core'; +import { FLiRS as FLiRS_2 } from '@zwave-js/core/safe'; +import type { GenericDeviceClass } from '@zwave-js/config'; +import { ICommandClass } from '@zwave-js/core'; +import { IVirtualEndpoint } from '@zwave-js/core'; +import { IVirtualEndpoint as IVirtualEndpoint_2 } from '@zwave-js/core/safe'; +import { IZWaveEndpoint } from '@zwave-js/core/safe'; +import { IZWaveEndpoint as IZWaveEndpoint_2 } from '@zwave-js/core'; +import { IZWaveNode } from '@zwave-js/core/safe'; +import { IZWaveNode as IZWaveNode_2 } from '@zwave-js/core'; +import { JSONObject } from '@zwave-js/shared'; +import { Maybe } from '@zwave-js/core/safe'; +import { Maybe as Maybe_2 } from '@zwave-js/core'; +import type { Message } from '@zwave-js/serial'; +import { MessageOrCCLogEntry } from '@zwave-js/core'; +import { MessageOrCCLogEntry as MessageOrCCLogEntry_2 } from '@zwave-js/core/safe'; +import { MessageOrigin } from '@zwave-js/serial'; +import { MeterScale } from '@zwave-js/config'; +import { MulticastCC } from '@zwave-js/core'; +import { MulticastDestination } from '@zwave-js/core'; +import { NODE_ID_BROADCAST } from '@zwave-js/core'; +import { NodeInformationFrame } from '@zwave-js/core'; +import { NodeProtocolInfoAndDeviceClass } from '@zwave-js/core'; +import { NodeType } from '@zwave-js/core'; +import { OnlyMethods } from '@zwave-js/shared'; +import type { ParamInfoMap } from '@zwave-js/config'; +import { ProtocolVersion } from '@zwave-js/core'; +import { ReadonlyObjectKeyMap } from '@zwave-js/shared/safe'; +import { Scale } from '@zwave-js/config'; +import type { Scale as Scale_2 } from '@zwave-js/config/safe'; +import { SecurityClass } from '@zwave-js/core'; +import { SecurityManager } from '@zwave-js/core'; +import { SecurityManager2 } from '@zwave-js/core'; +import { SendCommandOptions } from '@zwave-js/core'; +import { SinglecastCC } from '@zwave-js/core'; +import { SinglecastCC as SinglecastCC_2 } from '@zwave-js/core/safe'; +import type { SpecificDeviceClass } from '@zwave-js/config'; +import { SupervisionResult } from '@zwave-js/core/safe'; +import { SupervisionResult as SupervisionResult_2 } from '@zwave-js/core'; +import { SupervisionStatus } from '@zwave-js/core/safe'; +import { Timeout } from '@zwave-js/core/safe'; +import { TXReport } from '@zwave-js/core'; +import { TypedClassDecorator } from '@zwave-js/shared/safe'; +import { TypedClassDecorator as TypedClassDecorator_2 } from '@zwave-js/shared'; +import type { TypedPropertyDecorator } from '@zwave-js/shared'; +import { ValueChangeOptions } from '@zwave-js/core'; +import { ValueDB } from '@zwave-js/core'; +import { ValueID } from '@zwave-js/core'; +import { ValueID as ValueID_2 } from '@zwave-js/core/safe'; +import { ValueMetadata } from '@zwave-js/core'; +import { ValueMetadata as ValueMetadata_2 } from '@zwave-js/core/safe'; +import type { ZWaveApplicationHost } from '@zwave-js/host/safe'; +import type { ZWaveApplicationHost as ZWaveApplicationHost_2 } from '@zwave-js/host'; +import { ZWaveDataRate } from '@zwave-js/core'; +import { ZWaveDataRate as ZWaveDataRate_2 } from '@zwave-js/core/safe'; +import { ZWaveErrorCodes } from '@zwave-js/core'; +import type { ZWaveHost } from '@zwave-js/host'; +import type { ZWaveHost as ZWaveHost_2 } from '@zwave-js/host/safe'; +import { ZWaveLibraryTypes } from '@zwave-js/core/safe'; + +// Warning: (ae-missing-release-tag) "addAssociations" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function addAssociations(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, group: number, destinations: AssociationAddress[]): Promise; + +// Warning: (ae-missing-release-tag) "AlarmSensorCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AlarmSensorCC extends CommandClass { + // (undocumented) + ccCommand: AlarmSensorCommand; + // (undocumented) + protected createMetadataForSensorType(applHost: ZWaveApplicationHost, sensorType: AlarmSensorType): void; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "AlarmSensorCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AlarmSensorCCGet extends AlarmSensorCC { + // Warning: (ae-forgotten-export) The symbol "AlarmSensorCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | AlarmSensorCCGetOptions); + // (undocumented) + sensorType: AlarmSensorType; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AlarmSensorCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AlarmSensorCCReport extends AlarmSensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly duration: number | undefined; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly sensorType: AlarmSensorType; + // (undocumented) + readonly severity: number | undefined; + // (undocumented) + readonly state: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AlarmSensorCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AlarmSensorCCSupportedGet extends AlarmSensorCC { +} + +// Warning: (ae-missing-release-tag) "AlarmSensorCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AlarmSensorCCSupportedReport extends AlarmSensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get supportedSensorTypes(): readonly AlarmSensorType[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AlarmSensorCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const AlarmSensorCCValues: Readonly<{ + supportedSensorTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Alarm Sensor"]; + property: "supportedSensorTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Alarm Sensor"]; + readonly endpoint: number; + readonly property: "supportedSensorTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + duration: ((sensorType: AlarmSensorType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Alarm Sensor"]; + property: "duration"; + propertyKey: AlarmSensorType; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Alarm Sensor"]; + readonly endpoint: number; + readonly property: "duration"; + readonly propertyKey: AlarmSensorType; + }; + readonly meta: { + readonly unit: "s"; + readonly label: `${string} duration`; + readonly description: "For how long the alarm should be active"; + readonly ccSpecific: { + readonly sensorType: AlarmSensorType; + }; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + severity: ((sensorType: AlarmSensorType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Alarm Sensor"]; + property: "severity"; + propertyKey: AlarmSensorType; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Alarm Sensor"]; + readonly endpoint: number; + readonly property: "severity"; + readonly propertyKey: AlarmSensorType; + }; + readonly meta: { + readonly min: 1; + readonly max: 100; + readonly unit: "%"; + readonly label: `${string} severity`; + readonly ccSpecific: { + readonly sensorType: AlarmSensorType; + }; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + state: ((sensorType: AlarmSensorType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Alarm Sensor"]; + property: "state"; + propertyKey: AlarmSensorType; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Alarm Sensor"]; + readonly endpoint: number; + readonly property: "state"; + readonly propertyKey: AlarmSensorType; + }; + readonly meta: { + readonly label: `${string} state`; + readonly description: "Whether the alarm is active"; + readonly ccSpecific: { + readonly sensorType: AlarmSensorType; + }; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AlarmSensorCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum AlarmSensorCommand { + // (undocumented) + Get = 1, + // (undocumented) + Report = 2, + // (undocumented) + SupportedGet = 3, + // (undocumented) + SupportedReport = 4 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AlarmSensorType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum AlarmSensorType { + // (undocumented) + "General Purpose" = 0, + // (undocumented) + "Water Leak" = 5, + // (undocumented) + Any = 255, + // (undocumented) + CO = 2, + // (undocumented) + CO2 = 3, + // (undocumented) + Heat = 4, + // (undocumented) + Smoke = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AlarmSensorValueMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AlarmSensorValueMetadata = ValueMetadata_2 & { + ccSpecific: { + sensorType: AlarmSensorType; + }; +}; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "API" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const API: (cc: CommandClasses_2) => TypedClassDecorator_2; + +// Warning: (ae-missing-release-tag) "APIConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type APIConstructor = new (applHost: ZWaveApplicationHost_2, endpoint: IZWaveEndpoint_2 | IVirtualEndpoint) => T; + +// Warning: (ae-missing-release-tag) "APIMethodsOf" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type APIMethodsOf = Omit>, "isSetValueOptimistic" | "isSupported" | "supportsCommand" | "withOptions" | "withTXReport">; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "assertValidCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function assertValidCCs(container: ICommandClassContainer): void; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AssociationAddress" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface AssociationAddress { + // (undocumented) + endpoint?: number; + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "AssociationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCC extends CommandClass { + // (undocumented) + ccCommand: AssociationCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + static getAllDestinationsCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): ReadonlyMap; + static getGroupCountCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): number; + static getMaxNodesCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, groupId: number): number; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "AssociationCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCCGet extends AssociationCC { + // Warning: (ae-forgotten-export) The symbol "AssociationCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | AssociationCCGetOptions); + // (undocumented) + groupId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationCCRemove" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCCRemove extends AssociationCC { + // Warning: (ae-forgotten-export) The symbol "AssociationCCRemoveOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (AssociationCCRemoveOptions & CCCommandOptions)); + // (undocumented) + groupId?: number; + // (undocumented) + nodeIds?: number[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCCReport extends AssociationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + get groupId(): number; + // (undocumented) + get maxNodes(): number; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: AssociationCCReport[]): void; + // (undocumented) + get nodeIds(): readonly number[]; + // (undocumented) + get reportsToFollow(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCCSet extends AssociationCC { + // Warning: (ae-forgotten-export) The symbol "AssociationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | AssociationCCSetOptions); + // (undocumented) + groupId: number; + // (undocumented) + nodeIds: number[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationCCSupportedGroupingsGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCCSupportedGroupingsGet extends AssociationCC { +} + +// Warning: (ae-missing-release-tag) "AssociationCCSupportedGroupingsReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationCCSupportedGroupingsReport extends AssociationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get groupCount(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const AssociationCCValues: Readonly<{ + nodeIds: ((groupId: number) => { + readonly id: { + commandClass: CommandClasses.Association; + property: "nodeIds"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Association; + readonly endpoint: number; + readonly property: "nodeIds"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + maxNodes: ((groupId: number) => { + readonly id: { + commandClass: CommandClasses.Association; + property: "maxNodes"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Association; + readonly endpoint: number; + readonly property: "maxNodes"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + groupCount: { + readonly id: { + commandClass: CommandClasses.Association; + property: "groupCount"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Association; + readonly endpoint: number; + readonly property: "groupCount"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + hasLifeline: { + readonly id: { + commandClass: CommandClasses.Association; + property: "hasLifeline"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Association; + readonly endpoint: number; + readonly property: "hasLifeline"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AssociationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum AssociationCommand { + // (undocumented) + Get = 2, + // (undocumented) + Remove = 4, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGroupingsGet = 5, + // (undocumented) + SupportedGroupingsReport = 6 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AssociationGroup" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface AssociationGroup { + isLifeline: boolean; + issuedCommands?: ReadonlyMap; + label: string; + maxNodes: number; + multiChannel: boolean; + profile?: AssociationGroupInfoProfile; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCC extends CommandClass { + // (undocumented) + ccCommand: AssociationGroupInfoCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + // (undocumented) + static findGroupsForIssuedCommand(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, ccId: CommandClasses, command: number): number[]; + static getGroupNameCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, groupId: number): string | undefined; + static getGroupProfileCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, groupId: number): AssociationGroupInfoProfile | undefined; + static getIssuedCommandsCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, groupId: number): ReadonlyMap | undefined; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCCommandListGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCCCommandListGet extends AssociationGroupInfoCC { + // Warning: (ae-forgotten-export) The symbol "AssociationGroupInfoCCCommandListGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | AssociationGroupInfoCCCommandListGetOptions); + // (undocumented) + allowCache: boolean; + // (undocumented) + groupId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCCommandListReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCCCommandListReport extends AssociationGroupInfoCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly commands: ReadonlyMap; + // (undocumented) + readonly groupId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCInfoGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCCInfoGet extends AssociationGroupInfoCC { + // Warning: (ae-forgotten-export) The symbol "AssociationGroupInfoCCInfoGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | AssociationGroupInfoCCInfoGetOptions); + // (undocumented) + groupId?: number; + // (undocumented) + listMode?: boolean; + // (undocumented) + refreshCache: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCInfoReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCCInfoReport extends AssociationGroupInfoCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // Warning: (ae-forgotten-export) The symbol "AssociationGroupInfo" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly groups: readonly AssociationGroupInfo[]; + // (undocumented) + readonly hasDynamicInfo: boolean; + // (undocumented) + readonly isListMode: boolean; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCNameGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCCNameGet extends AssociationGroupInfoCC { + // Warning: (ae-forgotten-export) The symbol "AssociationGroupInfoCCNameGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | AssociationGroupInfoCCNameGetOptions); + // (undocumented) + groupId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCNameReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class AssociationGroupInfoCCNameReport extends AssociationGroupInfoCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly groupId: number; + // (undocumented) + readonly name: string; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const AssociationGroupInfoCCValues: Readonly<{ + commands: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Association Group Information"]; + property: "issuedCommands"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Association Group Information"]; + readonly endpoint: number; + readonly property: "issuedCommands"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + groupInfo: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Association Group Information"]; + property: "info"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Association Group Information"]; + readonly endpoint: number; + readonly property: "info"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + groupName: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Association Group Information"]; + property: "name"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Association Group Information"]; + readonly endpoint: number; + readonly property: "name"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + hasDynamicInfo: { + readonly id: { + commandClass: (typeof CommandClasses)["Association Group Information"]; + property: "hasDynamicInfo"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Association Group Information"]; + readonly endpoint: number; + readonly property: "hasDynamicInfo"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AssociationGroupInfoCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum AssociationGroupInfoCommand { + // (undocumented) + CommandListGet = 5, + // (undocumented) + CommandListReport = 6, + // (undocumented) + InfoGet = 3, + // (undocumented) + InfoReport = 4, + // (undocumented) + NameGet = 1, + // (undocumented) + NameReport = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "AssociationGroupInfoProfile" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum AssociationGroupInfoProfile { + // (undocumented) + "Control: Key 01" = 8193, + // (undocumented) + "Control: Key 02" = 8194, + // (undocumented) + "Control: Key 03" = 8195, + // (undocumented) + "Control: Key 04" = 8196, + // (undocumented) + "Control: Key 05" = 8197, + // (undocumented) + "Control: Key 06" = 8198, + // (undocumented) + "Control: Key 07" = 8199, + // (undocumented) + "Control: Key 08" = 8200, + // (undocumented) + "Control: Key 09" = 8201, + // (undocumented) + "Control: Key 10" = 8202, + // (undocumented) + "Control: Key 11" = 8203, + // (undocumented) + "Control: Key 12" = 8204, + // (undocumented) + "Control: Key 13" = 8205, + // (undocumented) + "Control: Key 14" = 8206, + // (undocumented) + "Control: Key 15" = 8207, + // (undocumented) + "Control: Key 16" = 8208, + // (undocumented) + "Control: Key 17" = 8209, + // (undocumented) + "Control: Key 18" = 8210, + // (undocumented) + "Control: Key 19" = 8211, + // (undocumented) + "Control: Key 20" = 8212, + // (undocumented) + "Control: Key 21" = 8213, + // (undocumented) + "Control: Key 22" = 8214, + // (undocumented) + "Control: Key 23" = 8215, + // (undocumented) + "Control: Key 24" = 8216, + // (undocumented) + "Control: Key 25" = 8217, + // (undocumented) + "Control: Key 26" = 8218, + // (undocumented) + "Control: Key 27" = 8219, + // (undocumented) + "Control: Key 28" = 8220, + // (undocumented) + "Control: Key 29" = 8221, + // (undocumented) + "Control: Key 30" = 8222, + // (undocumented) + "Control: Key 31" = 8223, + // (undocumented) + "Control: Key 32" = 8224, + // (undocumented) + "General: Lifeline" = 1, + // (undocumented) + "General: N/A" = 0, + // (undocumented) + "Irrigation: Channel 01" = 27393, + // (undocumented) + "Irrigation: Channel 02" = 27394, + // (undocumented) + "Irrigation: Channel 03" = 27395, + // (undocumented) + "Irrigation: Channel 04" = 27396, + // (undocumented) + "Irrigation: Channel 05" = 27397, + // (undocumented) + "Irrigation: Channel 06" = 27398, + // (undocumented) + "Irrigation: Channel 07" = 27399, + // (undocumented) + "Irrigation: Channel 08" = 27400, + // (undocumented) + "Irrigation: Channel 09" = 27401, + // (undocumented) + "Irrigation: Channel 10" = 27402, + // (undocumented) + "Irrigation: Channel 11" = 27403, + // (undocumented) + "Irrigation: Channel 12" = 27404, + // (undocumented) + "Irrigation: Channel 13" = 27405, + // (undocumented) + "Irrigation: Channel 14" = 27406, + // (undocumented) + "Irrigation: Channel 15" = 27407, + // (undocumented) + "Irrigation: Channel 16" = 27408, + // (undocumented) + "Irrigation: Channel 17" = 27409, + // (undocumented) + "Irrigation: Channel 18" = 27410, + // (undocumented) + "Irrigation: Channel 19" = 27411, + // (undocumented) + "Irrigation: Channel 20" = 27412, + // (undocumented) + "Irrigation: Channel 21" = 27413, + // (undocumented) + "Irrigation: Channel 22" = 27414, + // (undocumented) + "Irrigation: Channel 23" = 27415, + // (undocumented) + "Irrigation: Channel 24" = 27416, + // (undocumented) + "Irrigation: Channel 25" = 27417, + // (undocumented) + "Irrigation: Channel 26" = 27418, + // (undocumented) + "Irrigation: Channel 27" = 27419, + // (undocumented) + "Irrigation: Channel 28" = 27420, + // (undocumented) + "Irrigation: Channel 29" = 27421, + // (undocumented) + "Irrigation: Channel 30" = 27422, + // (undocumented) + "Irrigation: Channel 31" = 27423, + // (undocumented) + "Irrigation: Channel 32" = 27424, + // (undocumented) + "Meter: Cooling" = 12805, + // (undocumented) + "Meter: Electric" = 12801, + // (undocumented) + "Meter: Gas" = 12802, + // (undocumented) + "Meter: Heating" = 12804, + // (undocumented) + "Meter: Water" = 12803, + // (undocumented) + "Notification: Access Control" = 28934, + // (undocumented) + "Notification: Appliance" = 28940, + // (undocumented) + "Notification: Clock" = 28939, + // (undocumented) + "Notification: CO Alarm" = 28930, + // (undocumented) + "Notification: CO2 Alarm" = 28931, + // (undocumented) + "Notification: Emergency Alarm" = 28938, + // (undocumented) + "Notification: Gas alarm" = 28946, + // (undocumented) + "Notification: Heat Alarm" = 28932, + // (undocumented) + "Notification: Home Health" = 28941, + // (undocumented) + "Notification: Home monitoring" = 28950, + // (undocumented) + "Notification: Home Security" = 28935, + // (undocumented) + "Notification: Irrigation" = 28945, + // (undocumented) + "Notification: Light sensor" = 28948, + // (undocumented) + "Notification: Pest Control" = 28947, + // (undocumented) + "Notification: Power Management" = 28936, + // (undocumented) + "Notification: Siren" = 28942, + // (undocumented) + "Notification: Smoke Alarm" = 28929, + // (undocumented) + "Notification: System" = 28937, + // (undocumented) + "Notification: Water Alarm" = 28933, + // (undocumented) + "Notification: Water Quality Monitoring" = 28949, + // (undocumented) + "Notification: Water Valve" = 28943, + // (undocumented) + "Notification: Weather Alarm" = 28944, + // (undocumented) + "Sensor: Acceleration X-axis" = 12596, + // (undocumented) + "Sensor: Acceleration Y-axis" = 12597, + // (undocumented) + "Sensor: Acceleration Z-axis" = 12598, + // (undocumented) + "Sensor: Air flow" = 12562, + // (undocumented) + "Sensor: Air temperature" = 12545, + // (undocumented) + "Sensor: Angle position" = 12565, + // (undocumented) + "Sensor: Applied force on the sensor" = 12615, + // (undocumented) + "Sensor: Atmospheric pressure" = 12552, + // (undocumented) + "Sensor: Barometric pressure" = 12553, + // (undocumented) + "Sensor: Basis metabolic rate (BMR)" = 12594, + // (undocumented) + "Sensor: Blood pressure" = 12589, + // (undocumented) + "Sensor: Body Mass Index (BMI)" = 12595, + // (undocumented) + "Sensor: Boiler water temperature" = 12606, + // (undocumented) + "Sensor: Bone mass" = 12592, + // (undocumented) + "Sensor: Carbon dioxide (CO2) level" = 12561, + // (undocumented) + "Sensor: Carbon monoxide (CO) level" = 12584, + // (undocumented) + "Sensor: Condenser Coil temperature" = 12618, + // (undocumented) + "Sensor: Current" = 12560, + // (undocumented) + "Sensor: Defrost temperature" = 12624, + // (undocumented) + "Sensor: Dew point" = 12555, + // (undocumented) + "Sensor: Direction" = 12551, + // (undocumented) + "Sensor: Discharge Line temperature" = 12621, + // (undocumented) + "Sensor: Discharge Pressure" = 12623, + // (undocumented) + "Sensor: Distance" = 12564, + // (undocumented) + "Sensor: Domestic Hot Water (DHW) temperature" = 12607, + // (undocumented) + "Sensor: Electrical conductivity" = 12573, + // (undocumented) + "Sensor: Electrical resistivity" = 12572, + // (undocumented) + "Sensor: Evaporator Coil temperature" = 12619, + // (undocumented) + "Sensor: Exhaust temperature" = 12609, + // (undocumented) + "Sensor: Fat mass" = 12591, + // (undocumented) + "Sensor: Formaldehyde (CH2O) level" = 12580, + // (undocumented) + "Sensor: Frequency" = 12576, + // (undocumented) + "Sensor: General purpose" = 12546, + // (undocumented) + "Sensor: Heart Rate LF/HF ratio" = 12613, + // (undocumented) + "Sensor: Heart rate" = 12588, + // (undocumented) + "Sensor: Humidity" = 12549, + // (undocumented) + "Sensor: Illuminance" = 12547, + // (undocumented) + "Sensor: Liquid Line temperature" = 12620, + // (undocumented) + "Sensor: Loudness" = 12574, + // (undocumented) + "Sensor: Methane (CH4) density" = 12582, + // (undocumented) + "Sensor: Moisture" = 12575, + // (undocumented) + "Sensor: Motion Direction" = 12614, + // (undocumented) + "Sensor: Muscle mass" = 12590, + // (undocumented) + "Sensor: Outside temperature" = 12608, + // (undocumented) + "Sensor: Particulate Matter 10" = 12603, + // (undocumented) + "Sensor: Particulate Matter 2.5" = 12579, + // (undocumented) + "Sensor: Power" = 12548, + // (undocumented) + "Sensor: Radon concentration" = 12581, + // (undocumented) + "Sensor: Rain rate" = 12556, + // (undocumented) + "Sensor: Relative Modulation level" = 12605, + // (undocumented) + "Sensor: Respiratory rate" = 12604, + // (undocumented) + "Sensor: Return Air temperature" = 12616, + // (undocumented) + "Sensor: RF signal strength" = 12602, + // (undocumented) + "Sensor: Rotation" = 12566, + // (undocumented) + "Sensor: Seismic Intensity" = 12569, + // (undocumented) + "Sensor: Seismic magnitude" = 12570, + // (undocumented) + "Sensor: Smoke density" = 12599, + // (undocumented) + "Sensor: Soil humidity" = 12585, + // (undocumented) + "Sensor: Soil reactivity" = 12586, + // (undocumented) + "Sensor: Soil salinity" = 12587, + // (undocumented) + "Sensor: Soil temperature" = 12568, + // (undocumented) + "Sensor: Solar radiation" = 12554, + // (undocumented) + "Sensor: Suction Pressure" = 12622, + // (undocumented) + "Sensor: Supply Air temperature" = 12617, + // (undocumented) + "Sensor: Tank capacity" = 12563, + // (undocumented) + "Sensor: Target temperature" = 12578, + // (undocumented) + "Sensor: Tide level" = 12557, + // (undocumented) + "Sensor: Time" = 12577, + // (undocumented) + "Sensor: Total body water (TBW)" = 12593, + // (undocumented) + "Sensor: Ultraviolet" = 12571, + // (undocumented) + "Sensor: Velocity" = 12550, + // (undocumented) + "Sensor: Volatile Organic Compound level" = 12583, + // (undocumented) + "Sensor: Voltage" = 12559, + // (undocumented) + "Sensor: Water acidity" = 12611, + // (undocumented) + "Sensor: Water Chlorine level" = 12610, + // (undocumented) + "Sensor: Water flow" = 12600, + // (undocumented) + "Sensor: Water Oxidation reduction potential" = 12612, + // (undocumented) + "Sensor: Water pressure" = 12601, + // (undocumented) + "Sensor: Water temperature" = 12567, + // (undocumented) + "Sensor: Weight" = 12558 +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCC extends CommandClass { + // (undocumented) + ccCommand: BarrierOperatorCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCEventSignalingGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCEventSignalingGet extends BarrierOperatorCC { + // Warning: (ae-forgotten-export) The symbol "BarrierOperatorCCEventSignalingGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BarrierOperatorCCEventSignalingGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + subsystemType: SubsystemType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCEventSignalingReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCEventSignalingReport extends BarrierOperatorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly subsystemState: SubsystemState; + // (undocumented) + readonly subsystemType: SubsystemType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCEventSignalingSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCEventSignalingSet extends BarrierOperatorCC { + // Warning: (ae-forgotten-export) The symbol "BarrierOperatorCCEventSignalingSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BarrierOperatorCCEventSignalingSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + subsystemState: SubsystemState; + // (undocumented) + subsystemType: SubsystemType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCGet extends BarrierOperatorCC { +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCReport extends BarrierOperatorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly currentState: BarrierState | undefined; + // (undocumented) + readonly position: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCSet extends BarrierOperatorCC { + // Warning: (ae-forgotten-export) The symbol "BarrierOperatorCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BarrierOperatorCCSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + targetState: BarrierState.Open | BarrierState.Closed; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCSignalingCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCSignalingCapabilitiesGet extends BarrierOperatorCC { +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCSignalingCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BarrierOperatorCCSignalingCapabilitiesReport extends BarrierOperatorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedSubsystemTypes: readonly SubsystemType[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BarrierOperatorCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BarrierOperatorCCValues: Readonly<{ + signalingState: ((subsystemType: SubsystemType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Barrier Operator"]; + property: "signalingState"; + propertyKey: SubsystemType; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Barrier Operator"]; + readonly endpoint: number; + readonly property: "signalingState"; + readonly propertyKey: SubsystemType; + }; + readonly meta: { + readonly label: `Signaling State (${string})`; + readonly states: { + [x: number]: string; + }; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + currentState: { + readonly id: { + commandClass: (typeof CommandClasses)["Barrier Operator"]; + property: "currentState"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Barrier Operator"]; + readonly endpoint: number; + readonly property: "currentState"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current Barrier State"; + readonly states: { + [x: number]: string; + }; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + targetState: { + readonly id: { + commandClass: (typeof CommandClasses)["Barrier Operator"]; + property: "targetState"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Barrier Operator"]; + readonly endpoint: number; + readonly property: "targetState"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Target Barrier State"; + readonly states: { + [x: number]: string; + }; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + position: { + readonly id: { + commandClass: (typeof CommandClasses)["Barrier Operator"]; + property: "position"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Barrier Operator"]; + readonly endpoint: number; + readonly property: "position"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Barrier Position"; + readonly unit: "%"; + readonly max: 100; + readonly writeable: false; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedSubsystemTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Barrier Operator"]; + property: "supportedSubsystemTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Barrier Operator"]; + readonly endpoint: number; + readonly property: "supportedSubsystemTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BarrierOperatorCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BarrierOperatorCommand { + // (undocumented) + EventSignalingGet = 7, + // (undocumented) + EventSignalingReport = 8, + // (undocumented) + EventSignalingSet = 6, + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SignalingCapabilitiesGet = 4, + // (undocumented) + SignalingCapabilitiesReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BarrierState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BarrierState { + // (undocumented) + Closed = 0, + // (undocumented) + Closing = 252, + // (undocumented) + Open = 255, + // (undocumented) + Opening = 254, + // (undocumented) + Stopped = 253 +} + +// Warning: (ae-missing-release-tag) "BasicCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BasicCC extends CommandClass { + // (undocumented) + ccCommand: BasicCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "BasicCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BasicCCGet extends BasicCC { +} + +// Warning: (ae-missing-release-tag) "BasicCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BasicCCReport extends BasicCC { + // Warning: (ae-forgotten-export) The symbol "BasicCCReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BasicCCReportOptions); + // (undocumented) + get currentValue(): Maybe | undefined; + // (undocumented) + readonly duration: Duration | undefined; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + readonly targetValue: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BasicCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BasicCCSet extends BasicCC { + // Warning: (ae-forgotten-export) The symbol "BasicCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BasicCCSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + targetValue: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BasicCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BasicCCValues: Readonly<{ + compatEvent: { + readonly id: { + commandClass: CommandClasses.Basic; + property: "event"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Basic; + readonly endpoint: number; + readonly property: "event"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Event value"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: false; + readonly autoCreate: (applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint) => boolean; + }; + }; + restorePrevious: { + readonly id: { + commandClass: CommandClasses.Basic; + property: "restorePrevious"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Basic; + readonly endpoint: number; + readonly property: "restorePrevious"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Restore previous value"; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + duration: { + readonly id: { + commandClass: CommandClasses.Basic; + property: "duration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Basic; + readonly endpoint: number; + readonly property: "duration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Remaining duration"; + readonly minVersion: number; + readonly writeable: false; + readonly type: "duration"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + targetValue: { + readonly id: { + commandClass: CommandClasses.Basic; + property: "targetValue"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Basic; + readonly endpoint: number; + readonly property: "targetValue"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Target value"; + readonly forceCreation: boolean; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + currentValue: { + readonly id: { + commandClass: CommandClasses.Basic; + property: "currentValue"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Basic; + readonly endpoint: number; + readonly property: "currentValue"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current value"; + readonly writeable: false; + readonly max: 99; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BasicCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BasicCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (ae-missing-release-tag) "BatteryCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BatteryCC extends CommandClass { + // (undocumented) + ccCommand: BatteryCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "BatteryCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BatteryCCGet extends BatteryCC { +} + +// Warning: (ae-missing-release-tag) "BatteryCCHealthGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BatteryCCHealthGet extends BatteryCC { +} + +// Warning: (ae-missing-release-tag) "BatteryCCHealthReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BatteryCCHealthReport extends BatteryCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly maximumCapacity: number | undefined; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly temperature: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BatteryCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BatteryCCReport extends BatteryCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly backup: boolean | undefined; + // (undocumented) + readonly chargingStatus: BatteryChargingStatus | undefined; + // (undocumented) + readonly disconnected: boolean | undefined; + // (undocumented) + readonly isLow: boolean; + // (undocumented) + readonly level: number; + // (undocumented) + readonly lowFluid: boolean | undefined; + // (undocumented) + readonly lowTemperatureStatus: boolean | undefined; + // (undocumented) + readonly overheating: boolean | undefined; + // (undocumented) + readonly rechargeable: boolean | undefined; + // (undocumented) + readonly rechargeOrReplace: BatteryReplacementStatus | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BatteryCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BatteryCCValues: Readonly<{ + lowTemperatureStatus: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "lowTemperatureStatus"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "lowTemperatureStatus"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Battery temperature is low"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + }; + }; + disconnected: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "disconnected"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "disconnected"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Battery is disconnected"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + rechargeOrReplace: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "rechargeOrReplace"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "rechargeOrReplace"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Recharge or replace"; + readonly states: { + [x: number]: string; + }; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + lowFluid: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "lowFluid"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "lowFluid"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Fluid is low"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + overheating: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "overheating"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "overheating"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Overheating"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + backup: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "backup"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "backup"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Used as backup"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + rechargeable: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "rechargeable"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "rechargeable"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Rechargeable"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + chargingStatus: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "chargingStatus"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "chargingStatus"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Charging status"; + readonly states: { + [x: number]: string; + }; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + temperature: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "temperature"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "temperature"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Temperature"; + readonly writeable: false; + readonly min: -128; + readonly max: 127; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + maximumCapacity: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "maximumCapacity"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "maximumCapacity"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly max: 100; + readonly unit: "%"; + readonly label: "Maximum capacity"; + readonly writeable: false; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + isLow: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "isLow"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "isLow"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Low battery level"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + level: { + readonly id: { + commandClass: CommandClasses.Battery; + property: "level"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Battery; + readonly endpoint: number; + readonly property: "level"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly max: 100; + readonly unit: "%"; + readonly label: "Battery level"; + readonly writeable: false; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BatteryChargingStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BatteryChargingStatus { + // (undocumented) + Charging = 1, + // (undocumented) + Discharging = 0, + // (undocumented) + Maintaining = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BatteryCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BatteryCommand { + // (undocumented) + Get = 2, + // (undocumented) + HealthGet = 4, + // (undocumented) + HealthReport = 5, + // (undocumented) + Report = 3 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BatteryReplacementStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BatteryReplacementStatus { + // (undocumented) + No = 0, + // (undocumented) + Now = 2, + // (undocumented) + Soon = 1 +} + +// Warning: (ae-missing-release-tag) "BinarySensorCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySensorCC extends CommandClass { + // (undocumented) + ccCommand: BinarySensorCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + setMappedBasicValue(applHost: ZWaveApplicationHost, value: number): boolean; +} + +// Warning: (ae-missing-release-tag) "BinarySensorCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySensorCCGet extends BinarySensorCC { + // Warning: (ae-forgotten-export) The symbol "BinarySensorCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BinarySensorCCGetOptions); + // (undocumented) + sensorType: BinarySensorType | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BinarySensorCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySensorCCReport extends BinarySensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get type(): BinarySensorType; + // (undocumented) + get value(): boolean; +} + +// Warning: (ae-missing-release-tag) "BinarySensorCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySensorCCSupportedGet extends BinarySensorCC { +} + +// Warning: (ae-missing-release-tag) "BinarySensorCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySensorCCSupportedReport extends BinarySensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedSensorTypes: readonly BinarySensorType[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BinarySensorCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BinarySensorCCValues: Readonly<{ + state: ((sensorType: BinarySensorType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Binary Sensor"]; + property: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Binary Sensor"]; + readonly endpoint: number; + readonly property: string; + }; + readonly meta: { + readonly label: `Sensor state (${string})`; + readonly ccSpecific: { + readonly sensorType: BinarySensorType; + }; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedSensorTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Binary Sensor"]; + property: "supportedSensorTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Binary Sensor"]; + readonly endpoint: number; + readonly property: "supportedSensorTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BinarySensorCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BinarySensorCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + SupportedGet = 1, + // (undocumented) + SupportedReport = 4 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BinarySensorType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BinarySensorType { + // (undocumented) + "Door/Window" = 10, + // (undocumented) + "General Purpose" = 1, + // (undocumented) + "Glass Break" = 13, + // (undocumented) + Any = 255, + // (undocumented) + Aux = 9, + // (undocumented) + CO = 3, + // (undocumented) + CO2 = 4, + // (undocumented) + Freeze = 7, + // (undocumented) + Heat = 5, + // (undocumented) + Motion = 12, + // (undocumented) + Smoke = 2, + // (undocumented) + Tamper = 8, + // (undocumented) + Tilt = 11, + // (undocumented) + Water = 6 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BinarySensorValueMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BinarySensorValueMetadata = ValueMetadata_2 & { + ccSpecific: { + sensorType: BinarySensorType; + }; +}; + +// Warning: (ae-missing-release-tag) "BinarySwitchCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySwitchCC extends CommandClass { + // (undocumented) + ccCommand: BinarySwitchCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + setMappedBasicValue(applHost: ZWaveApplicationHost, value: number): boolean; +} + +// Warning: (ae-missing-release-tag) "BinarySwitchCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySwitchCCGet extends BinarySwitchCC { +} + +// Warning: (ae-missing-release-tag) "BinarySwitchCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySwitchCCReport extends BinarySwitchCC { + // Warning: (ae-forgotten-export) The symbol "BinarySwitchCCReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: BinarySwitchCCReportOptions); + // (undocumented) + readonly currentValue: Maybe | undefined; + // (undocumented) + readonly duration: Duration | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + readonly targetValue: boolean | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BinarySwitchCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class BinarySwitchCCSet extends BinarySwitchCC { + // Warning: (ae-forgotten-export) The symbol "BinarySwitchCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | BinarySwitchCCSetOptions); + // (undocumented) + duration: Duration | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + targetValue: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "BinarySwitchCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BinarySwitchCCValues: Readonly<{ + duration: { + readonly id: { + commandClass: (typeof CommandClasses)["Binary Switch"]; + property: "duration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Binary Switch"]; + readonly endpoint: number; + readonly property: "duration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Remaining duration"; + readonly writeable: false; + readonly type: "duration"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + targetValue: { + readonly id: { + commandClass: (typeof CommandClasses)["Binary Switch"]; + property: "targetValue"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Binary Switch"]; + readonly endpoint: number; + readonly property: "targetValue"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Target value"; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + currentValue: { + readonly id: { + commandClass: (typeof CommandClasses)["Binary Switch"]; + property: "currentValue"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Binary Switch"]; + readonly endpoint: number; + readonly property: "currentValue"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current value"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "BinarySwitchCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum BinarySwitchCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CCAPI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class CCAPI { + // (undocumented) + protected [POLL_VALUE]: PollValueImplementation | undefined; + // (undocumented) + protected [SET_VALUE]: SetValueImplementation | undefined; + constructor(applHost: ZWaveApplicationHost_2, endpoint: IZWaveEndpoint_2 | IVirtualEndpoint); + // (undocumented) + protected readonly applHost: ZWaveApplicationHost_2; + // (undocumented) + protected assertPhysicalEndpoint(endpoint: IZWaveEndpoint_2 | IVirtualEndpoint): asserts endpoint is IZWaveEndpoint_2; + // (undocumented) + protected assertSupportsCommand(commandEnum: unknown, command: number): void; + readonly ccId: CommandClasses_2; + protected get commandOptions(): SendCommandOptions; + // (undocumented) + static create(ccId: T, applHost: ZWaveApplicationHost_2, endpoint: IZWaveEndpoint_2 | IVirtualEndpoint, requireSupport?: boolean): CommandClasses_2 extends T ? CCAPI : CCToAPI; + // (undocumented) + protected readonly endpoint: IZWaveEndpoint_2 | IVirtualEndpoint; + getNode(): IZWaveNode_2 | undefined; + protected getValueDB(): ValueDB; + // (undocumented) + protected isBroadcast(): this is this & { + endpoint: IVirtualEndpoint & { + nodeId: typeof NODE_ID_BROADCAST; + }; + }; + // (undocumented) + protected isMulticast(): this is this & { + endpoint: IVirtualEndpoint & { + nodeId: number[]; + }; + }; + isSetValueOptimistic(valueId: ValueID): boolean; + // (undocumented) + protected isSinglecast(): this is this & { + endpoint: IZWaveEndpoint_2; + }; + isSupported(): boolean; + get pollValue(): PollValueImplementation | undefined; + protected schedulePoll(property: ValueIDProperties, expectedValue: unknown, { duration, transition }?: SchedulePollOptions): boolean; + get setValue(): SetValueImplementation | undefined; + supportsCommand(command: number): Maybe_2; + protected tryGetValueDB(): ValueDB | undefined; + get version(): number; + withOptions(options: SendCommandOptions): this; + withTXReport(): WithTXReport; +} + +// Warning: (ae-missing-release-tag) "CCAPIs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CCAPIs { + // Warning: (ae-forgotten-export) The symbol "AlarmSensorCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Alarm Sensor": AlarmSensorCCAPI; + // Warning: (ae-forgotten-export) The symbol "AssociationGroupInfoCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Association Group Information": AssociationGroupInfoCCAPI; + // Warning: (ae-forgotten-export) The symbol "BarrierOperatorCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Barrier Operator": BarrierOperatorCCAPI; + // Warning: (ae-forgotten-export) The symbol "BinarySensorCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Binary Sensor": BinarySensorCCAPI; + // Warning: (ae-forgotten-export) The symbol "BinarySwitchCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Binary Switch": BinarySwitchCCAPI; + // Warning: (ae-forgotten-export) The symbol "CentralSceneCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Central Scene": CentralSceneCCAPI; + // Warning: (ae-forgotten-export) The symbol "ClimateControlScheduleCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Climate Control Schedule": ClimateControlScheduleCCAPI; + // Warning: (ae-forgotten-export) The symbol "ColorSwitchCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Color Switch": ColorSwitchCCAPI; + // Warning: (ae-forgotten-export) The symbol "CRC16CCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "CRC-16 Encapsulation": CRC16CCAPI; + // Warning: (ae-forgotten-export) The symbol "DoorLockLoggingCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Door Lock Logging": DoorLockLoggingCCAPI; + // Warning: (ae-forgotten-export) The symbol "DoorLockCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Door Lock": DoorLockCCAPI; + // Warning: (ae-forgotten-export) The symbol "EntryControlCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Entry Control": EntryControlCCAPI; + // Warning: (ae-forgotten-export) The symbol "FirmwareUpdateMetaDataCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Firmware Update Meta Data": FirmwareUpdateMetaDataCCAPI; + // Warning: (ae-forgotten-export) The symbol "HumidityControlModeCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Humidity Control Mode": HumidityControlModeCCAPI; + // Warning: (ae-forgotten-export) The symbol "HumidityControlOperatingStateCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Humidity Control Operating State": HumidityControlOperatingStateCCAPI; + // Warning: (ae-forgotten-export) The symbol "HumidityControlSetpointCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Humidity Control Setpoint": HumidityControlSetpointCCAPI; + // Warning: (ae-forgotten-export) The symbol "ManufacturerProprietaryCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Manufacturer Proprietary": ManufacturerProprietaryCCAPI; + // Warning: (ae-forgotten-export) The symbol "ManufacturerSpecificCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Manufacturer Specific": ManufacturerSpecificCCAPI; + // Warning: (ae-forgotten-export) The symbol "MultiChannelAssociationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Multi Channel Association": MultiChannelAssociationCCAPI; + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Multi Channel": MultiChannelCCAPI; + // Warning: (ae-forgotten-export) The symbol "MultiCommandCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Multi Command": MultiCommandCCAPI; + // Warning: (ae-forgotten-export) The symbol "MultilevelSensorCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Multilevel Sensor": MultilevelSensorCCAPI; + // Warning: (ae-forgotten-export) The symbol "MultilevelSwitchCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Multilevel Switch": MultilevelSwitchCCAPI; + // Warning: (ae-forgotten-export) The symbol "NoOperationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "No Operation": NoOperationCCAPI; + // Warning: (ae-forgotten-export) The symbol "NodeNamingAndLocationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Node Naming and Location": NodeNamingAndLocationCCAPI; + // Warning: (ae-forgotten-export) The symbol "SceneActivationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Scene Activation": SceneActivationCCAPI; + // Warning: (ae-forgotten-export) The symbol "SceneActuatorConfigurationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Scene Actuator Configuration": SceneActuatorConfigurationCCAPI; + // Warning: (ae-forgotten-export) The symbol "SceneControllerConfigurationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Scene Controller Configuration": SceneControllerConfigurationCCAPI; + // Warning: (ae-forgotten-export) The symbol "Security2CCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Security 2": Security2CCAPI; + // Warning: (ae-forgotten-export) The symbol "SoundSwitchCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Sound Switch": SoundSwitchCCAPI; + // Warning: (ae-forgotten-export) The symbol "ThermostatFanModeCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Thermostat Fan Mode": ThermostatFanModeCCAPI; + // Warning: (ae-forgotten-export) The symbol "ThermostatFanStateCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Thermostat Fan State": ThermostatFanStateCCAPI; + // Warning: (ae-forgotten-export) The symbol "ThermostatModeCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Thermostat Mode": ThermostatModeCCAPI; + // Warning: (ae-forgotten-export) The symbol "ThermostatOperatingStateCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Thermostat Operating State": ThermostatOperatingStateCCAPI; + // Warning: (ae-forgotten-export) The symbol "ThermostatSetbackCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Thermostat Setback": ThermostatSetbackCCAPI; + // Warning: (ae-forgotten-export) The symbol "ThermostatSetpointCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Thermostat Setpoint": ThermostatSetpointCCAPI; + // Warning: (ae-forgotten-export) The symbol "TimeParametersCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Time Parameters": TimeParametersCCAPI; + // Warning: (ae-forgotten-export) The symbol "UserCodeCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "User Code": UserCodeCCAPI; + // Warning: (ae-forgotten-export) The symbol "WakeUpCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Wake Up": WakeUpCCAPI; + // Warning: (ae-forgotten-export) The symbol "ZWavePlusCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + "Z-Wave Plus Info": ZWavePlusCCAPI; + // (undocumented) + [Symbol.iterator](): Iterator; + // Warning: (ae-forgotten-export) The symbol "AssociationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Association: AssociationCCAPI; + // Warning: (ae-forgotten-export) The symbol "BasicCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Basic: BasicCCAPI; + // Warning: (ae-forgotten-export) The symbol "BatteryCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Battery: BatteryCCAPI; + // Warning: (ae-forgotten-export) The symbol "ClockCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Clock: ClockCCAPI; + // Warning: (ae-forgotten-export) The symbol "ConfigurationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Configuration: ConfigurationCCAPI; + // Warning: (ae-forgotten-export) The symbol "IndicatorCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Indicator: IndicatorCCAPI; + // Warning: (ae-forgotten-export) The symbol "IrrigationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Irrigation: IrrigationCCAPI; + // Warning: (ae-forgotten-export) The symbol "LanguageCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Language: LanguageCCAPI; + // Warning: (ae-forgotten-export) The symbol "LockCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Lock: LockCCAPI; + // Warning: (ae-forgotten-export) The symbol "MeterCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Meter: MeterCCAPI; + // Warning: (ae-forgotten-export) The symbol "NotificationCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Notification: NotificationCCAPI; + // Warning: (ae-forgotten-export) The symbol "PowerlevelCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Powerlevel: PowerlevelCCAPI; + // Warning: (ae-forgotten-export) The symbol "ProtectionCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Protection: ProtectionCCAPI; + // Warning: (ae-forgotten-export) The symbol "SecurityCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Security: SecurityCCAPI; + // Warning: (ae-forgotten-export) The symbol "SupervisionCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Supervision: SupervisionCCAPI; + // Warning: (ae-forgotten-export) The symbol "TimeCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Time: TimeCCAPI; + // Warning: (ae-forgotten-export) The symbol "VersionCCAPI" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Version: VersionCCAPI; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CCCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const CCCommand: (ccCommand: number) => TypedClassDecorator_2; + +// Warning: (ae-missing-release-tag) "CCCommandOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CCCommandOptions { + // (undocumented) + endpoint?: number; + // (undocumented) + nodeId: number | MulticastDestination; +} + +// Warning: (ae-missing-release-tag) "CCConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CCConstructor = typeof CommandClass & { + new (host: ZWaveHost, options: any): T; +}; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CCResponsePredicate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type CCResponsePredicate = (sentCommand: TSent, receivedCommand: TReceived) => CCResponseRole; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CCResponseRole" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CCResponseRole = boolean | "checkEncapsulated"; + +// Warning: (ae-missing-release-tag) "CCToAPI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CCToAPI = CCToName extends keyof CCAPIs ? CCAPIs[CCToName] : never; + +// Warning: (ae-missing-release-tag) "CCToName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CCToName = [CC] extends [ +typeof CommandClasses_2["Alarm Sensor"] +] ? "Alarm Sensor" : [CC] extends [typeof CommandClasses_2["Association"]] ? "Association" : [CC] extends [typeof CommandClasses_2["Association Group Information"]] ? "Association Group Information" : [CC] extends [typeof CommandClasses_2["Barrier Operator"]] ? "Barrier Operator" : [CC] extends [typeof CommandClasses_2["Basic"]] ? "Basic" : [CC] extends [typeof CommandClasses_2["Battery"]] ? "Battery" : [CC] extends [typeof CommandClasses_2["Binary Sensor"]] ? "Binary Sensor" : [CC] extends [typeof CommandClasses_2["Binary Switch"]] ? "Binary Switch" : [CC] extends [typeof CommandClasses_2["CRC-16 Encapsulation"]] ? "CRC-16 Encapsulation" : [CC] extends [typeof CommandClasses_2["Central Scene"]] ? "Central Scene" : [CC] extends [typeof CommandClasses_2["Climate Control Schedule"]] ? "Climate Control Schedule" : [CC] extends [typeof CommandClasses_2["Clock"]] ? "Clock" : [CC] extends [typeof CommandClasses_2["Color Switch"]] ? "Color Switch" : [CC] extends [typeof CommandClasses_2["Configuration"]] ? "Configuration" : [CC] extends [typeof CommandClasses_2["Door Lock"]] ? "Door Lock" : [CC] extends [typeof CommandClasses_2["Door Lock Logging"]] ? "Door Lock Logging" : [CC] extends [typeof CommandClasses_2["Entry Control"]] ? "Entry Control" : [CC] extends [typeof CommandClasses_2["Firmware Update Meta Data"]] ? "Firmware Update Meta Data" : [CC] extends [typeof CommandClasses_2["Humidity Control Mode"]] ? "Humidity Control Mode" : [CC] extends [typeof CommandClasses_2["Humidity Control Operating State"]] ? "Humidity Control Operating State" : [CC] extends [typeof CommandClasses_2["Humidity Control Setpoint"]] ? "Humidity Control Setpoint" : [CC] extends [typeof CommandClasses_2["Indicator"]] ? "Indicator" : [CC] extends [typeof CommandClasses_2["Irrigation"]] ? "Irrigation" : [CC] extends [typeof CommandClasses_2["Language"]] ? "Language" : [CC] extends [typeof CommandClasses_2["Lock"]] ? "Lock" : [CC] extends [typeof CommandClasses_2["Manufacturer Proprietary"]] ? "Manufacturer Proprietary" : [CC] extends [typeof CommandClasses_2["Manufacturer Specific"]] ? "Manufacturer Specific" : [CC] extends [typeof CommandClasses_2["Meter"]] ? "Meter" : [CC] extends [typeof CommandClasses_2["Multi Channel Association"]] ? "Multi Channel Association" : [CC] extends [typeof CommandClasses_2["Multi Channel"]] ? "Multi Channel" : [CC] extends [typeof CommandClasses_2["Multi Command"]] ? "Multi Command" : [CC] extends [typeof CommandClasses_2["Multilevel Sensor"]] ? "Multilevel Sensor" : [CC] extends [typeof CommandClasses_2["Multilevel Switch"]] ? "Multilevel Switch" : [CC] extends [typeof CommandClasses_2["No Operation"]] ? "No Operation" : [CC] extends [typeof CommandClasses_2["Node Naming and Location"]] ? "Node Naming and Location" : [CC] extends [typeof CommandClasses_2["Notification"]] ? "Notification" : [CC] extends [typeof CommandClasses_2["Powerlevel"]] ? "Powerlevel" : [CC] extends [typeof CommandClasses_2["Protection"]] ? "Protection" : [CC] extends [typeof CommandClasses_2["Scene Activation"]] ? "Scene Activation" : [CC] extends [typeof CommandClasses_2["Scene Actuator Configuration"]] ? "Scene Actuator Configuration" : [CC] extends [typeof CommandClasses_2["Scene Controller Configuration"]] ? "Scene Controller Configuration" : [CC] extends [typeof CommandClasses_2["Security 2"]] ? "Security 2" : [CC] extends [typeof CommandClasses_2["Security"]] ? "Security" : [CC] extends [typeof CommandClasses_2["Sound Switch"]] ? "Sound Switch" : [CC] extends [typeof CommandClasses_2["Supervision"]] ? "Supervision" : [CC] extends [typeof CommandClasses_2["Thermostat Fan Mode"]] ? "Thermostat Fan Mode" : [CC] extends [typeof CommandClasses_2["Thermostat Fan State"]] ? "Thermostat Fan State" : [CC] extends [typeof CommandClasses_2["Thermostat Mode"]] ? "Thermostat Mode" : [CC] extends [typeof CommandClasses_2["Thermostat Operating State"]] ? "Thermostat Operating State" : [CC] extends [typeof CommandClasses_2["Thermostat Setback"]] ? "Thermostat Setback" : [CC] extends [typeof CommandClasses_2["Thermostat Setpoint"]] ? "Thermostat Setpoint" : [CC] extends [typeof CommandClasses_2["Time"]] ? "Time" : [CC] extends [typeof CommandClasses_2["Time Parameters"]] ? "Time Parameters" : [CC] extends [typeof CommandClasses_2["User Code"]] ? "User Code" : [CC] extends [typeof CommandClasses_2["Version"]] ? "Version" : [CC] extends [typeof CommandClasses_2["Wake Up"]] ? "Wake Up" : [CC] extends [typeof CommandClasses_2["Z-Wave Plus Info"]] ? "Z-Wave Plus Info" : never; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-forgotten-export) The symbol "StaticCCValue" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ccValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ccValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function ccValue(value: StaticCCValue): TypedPropertyDecorator; + +// Warning: (ae-forgotten-export) The symbol "DynamicCCValue" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export function ccValue(value: DynamicCCValue, getArgs: (self: TTarget) => Readonly): TypedPropertyDecorator; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ccValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const ccValues: (valueDefinition: Record>) => TypedClassDecorator_2; + +// Warning: (ae-missing-release-tag) "CentralSceneCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCC extends CommandClass { + // (undocumented) + ccCommand: CentralSceneCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + skipEndpointInterview(): boolean; +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCConfigurationGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCCConfigurationGet extends CentralSceneCC { +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCConfigurationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCCConfigurationReport extends CentralSceneCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly slowRefresh: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCConfigurationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCCConfigurationSet extends CentralSceneCC { + // Warning: (ae-forgotten-export) The symbol "CentralSceneCCConfigurationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CentralSceneCCConfigurationSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + slowRefresh: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCNotification" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCCNotification extends CentralSceneCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly keyAttribute: CentralSceneKeys; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly sceneNumber: number; + // (undocumented) + readonly sequenceNumber: number; + // (undocumented) + readonly slowRefresh: boolean | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCCSupportedGet extends CentralSceneCC { +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CentralSceneCCSupportedReport extends CentralSceneCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly sceneCount: number; + // (undocumented) + get supportedKeyAttributes(): ReadonlyMap; + // (undocumented) + readonly supportsSlowRefresh: boolean | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "CentralSceneCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const CentralSceneCCValues: Readonly<{ + scene: ((sceneNumber: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Central Scene"]; + property: "scene"; + propertyKey: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Central Scene"]; + readonly endpoint: number; + readonly property: "scene"; + readonly propertyKey: string; + }; + readonly meta: { + readonly label: `Scene ${string}`; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + slowRefresh: { + readonly id: { + commandClass: (typeof CommandClasses)["Central Scene"]; + property: "slowRefresh"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Central Scene"]; + readonly endpoint: number; + readonly property: "slowRefresh"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Send held down notifications at a slow rate"; + readonly description: "When this is true, KeyHeldDown notifications are sent every 55s. When this is false, the notifications are sent every 200ms."; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedKeyAttributes: { + readonly id: { + commandClass: (typeof CommandClasses)["Central Scene"]; + property: "supportedKeyAttributes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Central Scene"]; + readonly endpoint: number; + readonly property: "supportedKeyAttributes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsSlowRefresh: { + readonly id: { + commandClass: (typeof CommandClasses)["Central Scene"]; + property: "supportsSlowRefresh"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Central Scene"]; + readonly endpoint: number; + readonly property: "supportsSlowRefresh"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + sceneCount: { + readonly id: { + commandClass: (typeof CommandClasses)["Central Scene"]; + property: "sceneCount"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Central Scene"]; + readonly endpoint: number; + readonly property: "sceneCount"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CentralSceneCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum CentralSceneCommand { + // (undocumented) + ConfigurationGet = 5, + // (undocumented) + ConfigurationReport = 6, + // (undocumented) + ConfigurationSet = 4, + // (undocumented) + Notification = 3, + // (undocumented) + SupportedGet = 1, + // (undocumented) + SupportedReport = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CentralSceneKeys" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum CentralSceneKeys { + // (undocumented) + KeyHeldDown = 2, + // (undocumented) + KeyPressed = 0, + // (undocumented) + KeyPressed2x = 3, + // (undocumented) + KeyPressed3x = 4, + // (undocumented) + KeyPressed4x = 5, + // (undocumented) + KeyPressed5x = 6, + // (undocumented) + KeyReleased = 1 +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCC extends CommandClass { + // (undocumented) + ccCommand: ClimateControlScheduleCommand; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCChangedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCChangedGet extends ClimateControlScheduleCC { +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCChangedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCChangedReport extends ClimateControlScheduleCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly changeCounter: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCGet extends ClimateControlScheduleCC { + // Warning: (ae-forgotten-export) The symbol "ClimateControlScheduleCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ClimateControlScheduleCCGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + weekday: Weekday; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCOverrideGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCOverrideGet extends ClimateControlScheduleCC { +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCOverrideReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCOverrideReport extends ClimateControlScheduleCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly overrideState: SetbackState; + // (undocumented) + readonly overrideType: ScheduleOverrideType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCOverrideSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCOverrideSet extends ClimateControlScheduleCC { + // Warning: (ae-forgotten-export) The symbol "ClimateControlScheduleCCOverrideSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ClimateControlScheduleCCOverrideSetOptions); + // (undocumented) + overrideState: SetbackState; + // (undocumented) + overrideType: ScheduleOverrideType; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCReport extends ClimateControlScheduleCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly schedule: readonly Switchpoint[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly weekday: Weekday; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClimateControlScheduleCCSet extends ClimateControlScheduleCC { + // Warning: (ae-forgotten-export) The symbol "ClimateControlScheduleCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ClimateControlScheduleCCSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + switchPoints: Switchpoint[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + weekday: Weekday; +} + +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ClimateControlScheduleCCValues: Readonly<{ + schedule: ((weekday: Weekday) => { + readonly id: { + commandClass: (typeof CommandClasses)["Climate Control Schedule"]; + property: "schedule"; + propertyKey: Weekday; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Climate Control Schedule"]; + readonly endpoint: number; + readonly property: "schedule"; + readonly propertyKey: Weekday; + }; + readonly meta: { + readonly label: `Schedule (${string})`; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + overrideState: { + readonly id: { + commandClass: (typeof CommandClasses)["Climate Control Schedule"]; + property: "overrideState"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Climate Control Schedule"]; + readonly endpoint: number; + readonly property: "overrideState"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Override state"; + readonly min: -12.8; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + overrideType: { + readonly id: { + commandClass: (typeof CommandClasses)["Climate Control Schedule"]; + property: "overrideType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Climate Control Schedule"]; + readonly endpoint: number; + readonly property: "overrideType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Override type"; + readonly states: { + [x: number]: string; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ClimateControlScheduleCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ClimateControlScheduleCommand { + // (undocumented) + ChangedGet = 4, + // (undocumented) + ChangedReport = 5, + // (undocumented) + Get = 2, + // (undocumented) + OverrideGet = 7, + // (undocumented) + OverrideReport = 8, + // (undocumented) + OverrideSet = 6, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (ae-missing-release-tag) "ClockCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClockCC extends CommandClass { + // (undocumented) + ccCommand: ClockCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ClockCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClockCCGet extends ClockCC { +} + +// Warning: (ae-missing-release-tag) "ClockCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClockCCReport extends ClockCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly hour: number; + // (undocumented) + readonly minute: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly weekday: Weekday; +} + +// Warning: (ae-missing-release-tag) "ClockCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ClockCCSet extends ClockCC { + // Warning: (ae-forgotten-export) The symbol "ClockCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ClockCCSetOptions); + // (undocumented) + hour: number; + // (undocumented) + minute: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + weekday: Weekday; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ClockCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ClockCommand { + // (undocumented) + Get = 5, + // (undocumented) + Report = 6, + // (undocumented) + Set = 4 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ColorComponent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ColorComponent { + // (undocumented) + "Cold White" = 1, + // (undocumented) + "Warm White" = 0, + // (undocumented) + Amber = 5, + // (undocumented) + Blue = 4, + // (undocumented) + Cyan = 6, + // (undocumented) + Green = 3, + // (undocumented) + Index = 8, + // (undocumented) + Purple = 7, + // (undocumented) + Red = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ColorComponentMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ColorComponentMap: { + warmWhite: ColorComponent; + coldWhite: ColorComponent; + red: ColorComponent; + green: ColorComponent; + blue: ColorComponent; + amber: ColorComponent; + cyan: ColorComponent; + purple: ColorComponent; + index: ColorComponent; +}; + +// Warning: (ae-missing-release-tag) "ColorKey" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ColorKey = keyof typeof ColorComponentMap; + +// Warning: (ae-missing-release-tag) "ColorSwitchCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCC extends CommandClass { + // (undocumented) + ccCommand: ColorSwitchCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCGet extends ColorSwitchCC { + // Warning: (ae-forgotten-export) The symbol "ColorSwitchCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ColorSwitchCCGetOptions); + // (undocumented) + get colorComponent(): ColorComponent; + set colorComponent(value: ColorComponent); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCReport extends ColorSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly colorComponent: ColorComponent; + // (undocumented) + readonly currentValue: number; + // (undocumented) + readonly duration: Duration_2 | undefined; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly targetValue: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCSet extends ColorSwitchCC { + // Warning: (ae-forgotten-export) The symbol "ColorSwitchCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & ColorSwitchCCSetOptions)); + // (undocumented) + colorTable: ColorTable; + // (undocumented) + duration: Duration_2 | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCStartLevelChange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCStartLevelChange extends ColorSwitchCC { + // Warning: (ae-forgotten-export) The symbol "ColorSwitchCCStartLevelChangeOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & ColorSwitchCCStartLevelChangeOptions)); + // (undocumented) + colorComponent: ColorComponent; + // (undocumented) + direction: keyof typeof LevelChangeDirection; + // (undocumented) + duration: Duration_2 | undefined; + // (undocumented) + ignoreStartLevel: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + startLevel: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCStopLevelChange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCStopLevelChange extends ColorSwitchCC { + // Warning: (ae-forgotten-export) The symbol "ColorSwitchCCStopLevelChangeOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ColorSwitchCCStopLevelChangeOptions); + // (undocumented) + readonly colorComponent: ColorComponent; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCSupportedGet extends ColorSwitchCC { +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ColorSwitchCCSupportedReport extends ColorSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedColorComponents: readonly ColorComponent[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "ColorSwitchCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ColorSwitchCCValues: Readonly<{ + targetColorChannel: ((component: ColorComponent) => { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "targetColor"; + propertyKey: ColorComponent; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "targetColor"; + readonly propertyKey: ColorComponent; + }; + readonly meta: { + readonly label: `Target value (${string})`; + readonly description: `The target value of the ${string} channel.`; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + currentColorChannel: ((component: ColorComponent) => { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "currentColor"; + propertyKey: ColorComponent; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "currentColor"; + readonly propertyKey: ColorComponent; + }; + readonly meta: { + readonly label: `Current value (${string})`; + readonly description: `The current value of the ${string} channel.`; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + hexColor: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "hexColor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "hexColor"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly minLength: 6; + readonly maxLength: 7; + readonly label: "RGB Color"; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly type: "color"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + duration: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "duration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "duration"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly label: "Remaining duration"; + readonly writeable: false; + readonly type: "duration"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + targetColor: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "targetColor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "targetColor"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly label: "Target color"; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + currentColor: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "currentColor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "currentColor"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly label: "Current color"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportsHexColor: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "supportsHexColor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "supportsHexColor"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedColorComponents: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Color Switch"]; + property: "supportedColorComponents"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Color Switch"]; + readonly endpoint: number; + readonly property: "supportedColorComponents"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ColorSwitchCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ColorSwitchCommand { + // (undocumented) + Get = 3, + // (undocumented) + Report = 4, + // (undocumented) + Set = 5, + // (undocumented) + StartLevelChange = 6, + // (undocumented) + StopLevelChange = 7, + // (undocumented) + SupportedGet = 1, + // (undocumented) + SupportedReport = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ColorTable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ColorTable = Partial> | Partial>; + +// Warning: (ae-missing-release-tag) "CommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CommandClass implements ICommandClass { + constructor(host: ZWaveHost, options: CommandClassOptions); + // (undocumented) + ccCommand?: number; + ccId: CommandClasses_2; + // (undocumented) + get ccName(): string; + protected computeEncapsulationOverhead(): number; + static createInstanceUnchecked(host: ZWaveHost, endpoint: IZWaveEndpoint_2, cc: CommandClasses_2 | CCConstructor): T | undefined; + protected deserialize(data: Buffer): { + ccId: CommandClasses_2; + ccCommand: number; + payload: Buffer; + } | { + ccId: CommandClasses_2; + payload: Buffer; + ccCommand?: undefined; + }; + determineRequiredCCInterviews(): readonly CommandClasses_2[]; + encapsulatingCC?: EncapsulatingCommandClass; + encapsulationFlags: EncapsulationFlags; + endpointIndex: number; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (ae-forgotten-export) The symbol "CCValue" needs to be exported by the entry point index.d.ts + protected ensureMetadata(applHost: ZWaveApplicationHost_2, ccValue: CCValue, meta?: ValueMetadata): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectMoreMessages(_session: CommandClass[]): boolean; + expectsCCResponse(): boolean; + static from(host: ZWaveHost, options: CommandClassDeserializationOptions): CommandClass; + static getCCCommand(data: Buffer): number | undefined; + protected getCCValue(valueId: ValueID): StaticCCValue | DynamicCCValue | undefined; + static getCommandClass(data: Buffer): CommandClasses_2; + static getConstructor(ccData: Buffer): CCConstructor; + getDefinedValueIDs(applHost: ZWaveApplicationHost_2): ValueID[]; + getEncapsulatingCC(ccId: CommandClasses_2, ccCommand?: number): CommandClass | undefined; + // (undocumented) + getEndpoint(applHost: ZWaveApplicationHost_2): IZWaveEndpoint_2 | undefined; + getMaxPayloadLength(baseLength: number): number; + protected getMetadata(applHost: ZWaveApplicationHost_2, ccValue: CCValue): T | undefined; + getNode(applHost: ZWaveApplicationHost_2): IZWaveNode_2 | undefined; + getPartialCCSessionId(): Record | undefined; + protected getValue(applHost: ZWaveApplicationHost_2, ccValue: CCValue): T | undefined; + protected getValueDB(applHost: ZWaveApplicationHost_2): ValueDB; + // (undocumented) + protected host: ZWaveHost; + interview(_applHost: ZWaveApplicationHost_2): Promise; + isEncapsulatedWith(ccId: CommandClasses_2, ccCommand?: number): boolean; + // (undocumented) + isExpectedCCResponse(received: CommandClass): boolean; + isExtended(): boolean; + isInternalValue(properties: ValueIDProperties): boolean; + isInterviewComplete(applHost: ZWaveApplicationHost_2): boolean; + // (undocumented) + isMulticast(): this is MulticastCC; + isSecretValue(properties: ValueIDProperties): boolean; + // (undocumented) + isSinglecast(): this is SinglecastCC; + isStatefulValue(properties: ValueIDProperties): boolean; + mergePartialCCs(_applHost: ZWaveApplicationHost_2, _partials: CommandClass[]): void; + nodeId: number | MulticastDestination; + // (undocumented) + payload: Buffer; + // Warning: (tsdoc-characters-after-block-tag) The token "@ccValue" looks like a TSDoc tag but contains an invalid character "."; if it is not a tag, use a backslash to escape the "@" + persistValues(applHost: ZWaveApplicationHost_2): boolean; + refreshValues(_applHost: ZWaveApplicationHost_2): Promise; + protected removeMetadata(applHost: ZWaveApplicationHost_2, ccValue: CCValue): void; + protected removeValue(applHost: ZWaveApplicationHost_2, ccValue: CCValue): void; + serialize(): Buffer; + setEncapsulationFlag(flag: EncapsulationFlags, active: boolean): void; + setInterviewComplete(applHost: ZWaveApplicationHost_2, complete: boolean): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + setMappedBasicValue(_applHost: ZWaveApplicationHost_2, _value: number): boolean; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + protected setMetadata(applHost: ZWaveApplicationHost_2, ccValue: CCValue, meta?: ValueMetadata): void; + protected setValue(applHost: ZWaveApplicationHost_2, ccValue: CCValue, value: unknown): void; + skipEndpointInterview(): boolean; + // (undocumented) + protected throwMissingCriticalInterviewResponse(): never; + toJSON(): JSONObject; + toLogEntry(_applHost: ZWaveApplicationHost_2): MessageOrCCLogEntry; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + translateProperty(_applHost: ZWaveApplicationHost_2, property: string | number, _propertyKey?: string | number): string; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + translatePropertyKey(_applHost: ZWaveApplicationHost_2, _property: string | number, propertyKey: string | number): string | undefined; + version: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "commandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const commandClass: (ccId: CommandClasses_2) => TypedClassDecorator_2; + +// Warning: (ae-missing-release-tag) "CommandClassDeserializationOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CommandClassDeserializationOptions = { + data: Buffer; + origin?: MessageOrigin; +} & ({ + fromEncapsulation?: false; + nodeId: number; +} | { + fromEncapsulation: true; + encapCC: CommandClass; +}); + +// Warning: (ae-forgotten-export) The symbol "CommandClassCreationOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CommandClassOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CommandClassOptions = CommandClassCreationOptions | CommandClassDeserializationOptions; + +// Warning: (ae-missing-release-tag) "ConfigurationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCC extends CommandClass { + // (undocumented) + ccCommand: ConfigurationCommand; + composePartialParamValue(applHost: ZWaveApplicationHost, parameter: number, bitMask: number, partialValue: number): number; + composePartialParamValues(applHost: ZWaveApplicationHost, parameter: number, partials: { + bitMask: number; + partialValue: number; + }[]): number; + deserializeParamInformationFromConfig(applHost: ZWaveApplicationHost, config: ParamInfoMap): void; + getPartialParamInfos(applHost: ZWaveApplicationHost, parameter: number): (ValueID_2 & { + metadata: ConfigurationMetadata; + })[]; + getQueriedParamInfos(applHost: ZWaveApplicationHost): Record; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + protected isParamInformationFromConfig(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + translateProperty(applHost: ZWaveApplicationHost, property: string | number, propertyKey?: string | number): string; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey?: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCBulkGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCBulkGet extends ConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "ConfigurationCCBulkGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCBulkGetOptions); + // (undocumented) + get parameters(): number[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCBulkReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCBulkReport extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get defaultValues(): boolean; + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + get isHandshakeResponse(): boolean; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get reportsToFollow(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get values(): ReadonlyMap; + // (undocumented) + get valueSize(): number; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCBulkSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCBulkSet extends ConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "ConfigurationCCBulkSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCBulkSetOptions); + // (undocumented) + get handshake(): boolean; + // (undocumented) + get parameters(): number[]; + // (undocumented) + get resetToDefault(): boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get valueFormat(): ConfigValueFormat; + // (undocumented) + get values(): number[]; + // (undocumented) + get valueSize(): number; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCDefaultReset" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCDefaultReset extends ConfigurationCC { +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCGet extends ConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "ConfigurationCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCGetOptions); + // (undocumented) + allowUnexpectedResponse: boolean; + // (undocumented) + parameter: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCInfoGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCInfoGet extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCGetOptions); + // (undocumented) + parameter: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCInfoReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCInfoReport extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + get info(): string; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: ConfigurationCCInfoReport[]): void; + // (undocumented) + get parameter(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get reportsToFollow(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCNameGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCNameGet extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCGetOptions); + // (undocumented) + parameter: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCNameReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCNameReport extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: ConfigurationCCNameReport[]): void; + // (undocumented) + get name(): string; + // (undocumented) + get parameter(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get reportsToFollow(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCPropertiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCPropertiesGet extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCGetOptions); + // (undocumented) + parameter: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCPropertiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCPropertiesReport extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get altersCapabilities(): boolean | undefined; + // (undocumented) + get defaultValue(): ConfigValue | undefined; + // (undocumented) + get isAdvanced(): boolean | undefined; + // (undocumented) + get isReadonly(): boolean | undefined; + // (undocumented) + get maxValue(): ConfigValue | undefined; + // (undocumented) + get minValue(): ConfigValue | undefined; + // (undocumented) + get nextParameter(): number; + // (undocumented) + get noBulkSupport(): boolean | undefined; + // (undocumented) + get parameter(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get valueFormat(): ConfigValueFormat; + // (undocumented) + get valueSize(): number; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCReport extends ConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get parameter(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get value(): ConfigValue; + // (undocumented) + get valueSize(): number; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigurationCCSet extends ConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "ConfigurationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ConfigurationCCSetOptions); + // (undocumented) + parameter: number; + // (undocumented) + resetToDefault: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + value: ConfigValue | undefined; + // (undocumented) + valueFormat: ConfigValueFormat | undefined; + // (undocumented) + valueSize: number | undefined; +} + +// Warning: (ae-missing-release-tag) "ConfigurationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ConfigurationCCValues: Readonly<{ + paramInformation: ((parameter: number, bitMask?: number | undefined) => { + readonly id: { + commandClass: CommandClasses.Configuration; + property: number; + propertyKey: number | undefined; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Configuration; + readonly endpoint: number; + readonly property: number; + readonly propertyKey: number | undefined; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + isParamInformationFromConfig: { + readonly id: { + commandClass: CommandClasses.Configuration; + property: "isParamInformationFromConfig"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Configuration; + readonly endpoint: number; + readonly property: "isParamInformationFromConfig"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ConfigurationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ConfigurationCommand { + // (undocumented) + BulkGet = 8, + // (undocumented) + BulkReport = 9, + // (undocumented) + BulkSet = 7, + // (undocumented) + DefaultReset = 1, + // (undocumented) + Get = 5, + // (undocumented) + InfoGet = 12, + // (undocumented) + InfoReport = 13, + // (undocumented) + NameGet = 10, + // (undocumented) + NameReport = 11, + // (undocumented) + PropertiesGet = 14, + // (undocumented) + PropertiesReport = 15, + // (undocumented) + Report = 6, + // (undocumented) + Set = 4 +} + +// Warning: (ae-missing-release-tag) "configureLifelineAssociations" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function configureLifelineAssociations(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): Promise; + +export { ConfigValue } + +// Warning: (ae-missing-release-tag) "CRC16CC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CRC16CC extends CommandClass { + // (undocumented) + ccCommand: CRC16Command; + static encapsulate(host: ZWaveHost_2, cc: CommandClass): CRC16CCCommandEncapsulation; + static requiresEncapsulation(cc: CommandClass): boolean; +} + +// Warning: (ae-missing-release-tag) "CRC16CCCommandEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CRC16CCCommandEncapsulation extends CRC16CC { + // Warning: (ae-forgotten-export) The symbol "CRC16CCCommandEncapsulationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CRC16CCCommandEncapsulationOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + encapsulated: CommandClass; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CRC16Command" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum CRC16Command { + // (undocumented) + CommandEncapsulation = 1 +} + +// Warning: (ae-missing-release-tag) "dataRate2ZWaveDataRate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function dataRate2ZWaveDataRate(dataRate: DataRate_2): ZWaveDataRate_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DeviceIdType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DeviceIdType { + // (undocumented) + FactoryDefault = 0, + // (undocumented) + PseudoRandom = 2, + // (undocumented) + SerialNumber = 1 +} + +// Warning: (ae-missing-release-tag) "DeviceResetLocallyCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DeviceResetLocallyCC extends CommandClass { + // (undocumented) + ccCommand: DeviceResetLocallyCommand; + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "DeviceResetLocallyCCNotification" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DeviceResetLocallyCCNotification extends DeviceResetLocallyCC { +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DeviceResetLocallyCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DeviceResetLocallyCommand { + // (undocumented) + Notification = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorHandleStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DoorHandleStatus = [boolean, boolean, boolean, boolean]; + +// Warning: (ae-missing-release-tag) "DoorLockCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCC extends CommandClass { + // (undocumented) + ccCommand: DoorLockCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "DoorLockCCCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCCapabilitiesGet extends DoorLockCC { +} + +// Warning: (ae-missing-release-tag) "DoorLockCCCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCCapabilitiesReport extends DoorLockCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly autoRelockSupported: boolean; + // (undocumented) + readonly blockToBlockSupported: boolean; + // (undocumented) + readonly boltSupported: boolean; + // (undocumented) + readonly doorSupported: boolean; + // (undocumented) + readonly holdAndReleaseSupported: boolean; + // (undocumented) + readonly latchSupported: boolean; + // (undocumented) + readonly supportedDoorLockModes: readonly DoorLockMode[]; + // (undocumented) + readonly supportedInsideHandles: DoorHandleStatus; + // (undocumented) + readonly supportedOperationTypes: readonly DoorLockOperationType[]; + // (undocumented) + readonly supportedOutsideHandles: DoorHandleStatus; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly twistAssistSupported: boolean; +} + +// Warning: (ae-missing-release-tag) "DoorLockCCConfigurationGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCConfigurationGet extends DoorLockCC { +} + +// Warning: (ae-missing-release-tag) "DoorLockCCConfigurationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCConfigurationReport extends DoorLockCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly autoRelockTime?: number; + // (undocumented) + readonly blockToBlock?: boolean; + // (undocumented) + readonly holdAndReleaseTime?: number; + // (undocumented) + readonly insideHandlesCanOpenDoorConfiguration: DoorHandleStatus; + // (undocumented) + readonly lockTimeoutConfiguration?: number; + // (undocumented) + readonly operationType: DoorLockOperationType; + // (undocumented) + readonly outsideHandlesCanOpenDoorConfiguration: DoorHandleStatus; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly twistAssist?: boolean; +} + +// Warning: (ae-missing-release-tag) "DoorLockCCConfigurationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCConfigurationSet extends DoorLockCC { + // Warning: (ae-forgotten-export) The symbol "DoorLockCCConfigurationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & DoorLockCCConfigurationSetOptions)); + // (undocumented) + autoRelockTime?: number; + // (undocumented) + blockToBlock?: boolean; + // (undocumented) + holdAndReleaseTime?: number; + // (undocumented) + insideHandlesCanOpenDoorConfiguration: DoorHandleStatus; + // (undocumented) + lockTimeoutConfiguration?: number; + // (undocumented) + operationType: DoorLockOperationType; + // (undocumented) + outsideHandlesCanOpenDoorConfiguration: DoorHandleStatus; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + twistAssist?: boolean; +} + +// Warning: (ae-missing-release-tag) "DoorLockCCOperationGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCOperationGet extends DoorLockCC { +} + +// Warning: (ae-missing-release-tag) "DoorLockCCOperationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCOperationReport extends DoorLockCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly boltStatus?: "locked" | "unlocked"; + // (undocumented) + readonly currentMode: DoorLockMode; + // (undocumented) + readonly doorStatus?: "open" | "closed"; + // (undocumented) + readonly duration?: Duration; + // (undocumented) + readonly insideHandlesCanOpenDoor: DoorHandleStatus; + // (undocumented) + readonly latchStatus?: "open" | "closed"; + // (undocumented) + readonly lockTimeout?: number; + // (undocumented) + readonly outsideHandlesCanOpenDoor: DoorHandleStatus; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly targetMode?: DoorLockMode; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "DoorLockCCOperationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockCCOperationSet extends DoorLockCC { + // Warning: (ae-forgotten-export) The symbol "DoorLockCCOperationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | DoorLockCCOperationSetOptions); + // (undocumented) + mode: DoorLockMode; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "DoorLockCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const DoorLockCCValues: Readonly<{ + doorStatus: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "doorStatus"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "doorStatus"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current status of the door"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + doorSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "doorSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "doorSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + boltStatus: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "boltStatus"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "boltStatus"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current status of the bolt"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + boltSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "boltSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "boltSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + latchStatus: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "latchStatus"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "latchStatus"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current status of the latch"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + latchSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "latchSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "latchSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + blockToBlock: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "blockToBlock"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "blockToBlock"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Block-to-block functionality enabled"; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 4; + }; + }; + blockToBlockSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "blockToBlockSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "blockToBlockSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly minVersion: number; + }; + }; + twistAssist: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "twistAssist"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "twistAssist"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Twist Assist enabled"; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 4; + }; + }; + twistAssistSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "twistAssistSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "twistAssistSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly minVersion: number; + }; + }; + holdAndReleaseTime: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "holdAndReleaseTime"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "holdAndReleaseTime"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Duration in seconds the latch stays retracted"; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 4; + }; + }; + holdAndReleaseSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "holdAndReleaseSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "holdAndReleaseSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly minVersion: number; + }; + }; + autoRelockTime: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "autoRelockTime"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "autoRelockTime"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Duration in seconds until lock returns to secure state"; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 4; + }; + }; + autoRelockSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "autoRelockSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "autoRelockSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly minVersion: number; + }; + }; + lockTimeout: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "lockTimeout"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "lockTimeout"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Seconds until lock mode times out"; + readonly writeable: false; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + lockTimeoutConfiguration: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "lockTimeoutConfiguration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "lockTimeoutConfiguration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Duration of timed mode in seconds"; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + operationType: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "operationType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "operationType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Lock operation type"; + readonly states: { + [x: number]: string; + }; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + insideHandlesCanOpenDoor: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "insideHandlesCanOpenDoor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "insideHandlesCanOpenDoor"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Which inside handles can open the door (actual status)"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + insideHandlesCanOpenDoorConfiguration: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "insideHandlesCanOpenDoorConfiguration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "insideHandlesCanOpenDoorConfiguration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Which inside handles can open the door (configuration)"; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedInsideHandles: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "supportedInsideHandles"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "supportedInsideHandles"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly minVersion: number; + }; + }; + outsideHandlesCanOpenDoor: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "outsideHandlesCanOpenDoor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "outsideHandlesCanOpenDoor"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Which outside handles can open the door (actual status)"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + outsideHandlesCanOpenDoorConfiguration: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "outsideHandlesCanOpenDoorConfiguration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "outsideHandlesCanOpenDoorConfiguration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Which outside handles can open the door (configuration)"; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedOutsideHandles: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "supportedOutsideHandles"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "supportedOutsideHandles"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly minVersion: number; + }; + }; + duration: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "duration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "duration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Remaining duration until target lock mode"; + readonly writeable: false; + readonly type: "duration"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + }; + }; + currentMode: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "currentMode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "currentMode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current lock mode"; + readonly states: { + [x: number]: string; + }; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + targetMode: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock"]; + property: "targetMode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock"]; + readonly endpoint: number; + readonly property: "targetMode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Target lock mode"; + readonly states: { + [x: number]: string; + }; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DoorLockCommand { + // (undocumented) + CapabilitiesGet = 7, + // (undocumented) + CapabilitiesReport = 8, + // (undocumented) + ConfigurationGet = 5, + // (undocumented) + ConfigurationReport = 6, + // (undocumented) + ConfigurationSet = 4, + // (undocumented) + OperationGet = 2, + // (undocumented) + OperationReport = 3, + // (undocumented) + OperationSet = 1 +} + +// Warning: (ae-missing-release-tag) "DoorLockLoggingCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockLoggingCC extends CommandClass { + // (undocumented) + ccCommand: DoorLockLoggingCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockLoggingCCRecordGet extends DoorLockLoggingCC { + // Warning: (ae-forgotten-export) The symbol "DoorLockLoggingCCRecordGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | DoorLockLoggingCCRecordGetOptions); + // (undocumented) + recordNumber: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockLoggingCCRecordReport extends DoorLockLoggingCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly record?: DoorLockLoggingRecord; + // (undocumented) + readonly recordNumber: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordsSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockLoggingCCRecordsSupportedGet extends DoorLockLoggingCC { +} + +// Warning: (ae-missing-release-tag) "DoorLockLoggingCCRecordsSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DoorLockLoggingCCRecordsSupportedReport extends DoorLockLoggingCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly recordsCount: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "DoorLockLoggingCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const DoorLockLoggingCCValues: Readonly<{ + recordsCount: { + readonly id: { + commandClass: (typeof CommandClasses)["Door Lock Logging"]; + property: "recordsCount"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Door Lock Logging"]; + readonly endpoint: number; + readonly property: "recordsCount"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockLoggingCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DoorLockLoggingCommand { + // (undocumented) + RecordGet = 3, + // (undocumented) + RecordReport = 4, + // (undocumented) + RecordsSupportedGet = 1, + // (undocumented) + RecordsSupportedReport = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockLoggingEventType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DoorLockLoggingEventType { + // (undocumented) + AllUserCodesDeleted = 25, + // (undocumented) + ConfigurationChanged = 29, + // (undocumented) + IllegalCode = 7, + // (undocumented) + LockAuto = 10, + // (undocumented) + LockButton = 3, + // (undocumented) + LockCode = 1, + // (undocumented) + LockCodeOutOfSchedule = 5, + // (undocumented) + LockManual = 8, + // (undocumented) + LockManual2 = 19, + // (undocumented) + LockRemote = 14, + // (undocumented) + LockRemoteCode = 12, + // (undocumented) + LockRemoteCodeOutOfSchedule = 16, + // (undocumented) + LockReset = 28, + // (undocumented) + LockSecured = 21, + // (undocumented) + LockUnsecured = 22, + // (undocumented) + LowBattery = 30, + // (undocumented) + MasterCodeChanged = 26, + // (undocumented) + NewBattery = 31, + // (undocumented) + RemoteIllegalCode = 18, + // (undocumented) + Unknown = 32, + // (undocumented) + UnlockAuto = 11, + // (undocumented) + UnlockButton = 4, + // (undocumented) + UnlockCode = 2, + // (undocumented) + UnlockCodeOutOfSchedule = 6, + // (undocumented) + UnlockManual = 9, + // (undocumented) + UnlockManual2 = 20, + // (undocumented) + UnlockRemote = 15, + // (undocumented) + UnlockRemoteCode = 13, + // (undocumented) + UnlockRemoteCodeOutOfSchedule = 17, + // (undocumented) + UserCodeAdded = 23, + // (undocumented) + UserCodeChanged = 27, + // (undocumented) + UserCodeDeleted = 24 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockLoggingRecord" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DoorLockLoggingRecord { + // (undocumented) + eventType: DoorLockLoggingEventType; + // (undocumented) + label: string; + // (undocumented) + timestamp: string; + // (undocumented) + userCode?: string | Buffer; + // (undocumented) + userId?: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockLoggingRecordStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DoorLockLoggingRecordStatus { + // (undocumented) + Empty = 0, + // (undocumented) + HoldsLegalData = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DoorLockMode { + // (undocumented) + InsideUnsecured = 16, + // (undocumented) + InsideUnsecuredWithTimeout = 17, + // (undocumented) + OutsideUnsecured = 32, + // (undocumented) + OutsideUnsecuredWithTimeout = 33, + // (undocumented) + Secured = 255, + // (undocumented) + Unknown = 254, + // (undocumented) + Unsecured = 0, + // (undocumented) + UnsecuredWithTimeout = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DoorLockOperationType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum DoorLockOperationType { + // (undocumented) + Constant = 1, + // (undocumented) + Timed = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "DynamicCCResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type DynamicCCResponse = (sentCC: TSent) => CCConstructor | CCConstructor[] | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ECDHProfiles" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ECDHProfiles { + // (undocumented) + Curve25519 = 0 +} + +// Warning: (ae-missing-release-tag) "EncapsulatedCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EncapsulatedCommandClass = CommandClass & { + encapsulatingCC: EncapsulatingCommandClass; +}; + +// Warning: (ae-missing-release-tag) "EncapsulatingCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EncapsulatingCommandClass = CommandClass & { + constructor: EncapsulatingCommandClassStatic; + encapsulated: EncapsulatedCommandClass; +}; + +// Warning: (ae-missing-release-tag) "EncapsulatingCommandClassStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface EncapsulatingCommandClassStatic { + // (undocumented) + new (applHost: ZWaveApplicationHost_2, options: CommandClassOptions): EncapsulatingCommandClass; + // (undocumented) + encapsulate(applHost: ZWaveApplicationHost_2, cc: CommandClass): EncapsulatingCommandClass; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "EndpointAddress" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EndpointAddress { + // (undocumented) + endpoint: number | number[]; + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "EntryControlCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCC extends CommandClass { + // (undocumented) + ccCommand: EntryControlCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "EntryControlCCConfigurationGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCConfigurationGet extends EntryControlCC { +} + +// Warning: (ae-missing-release-tag) "EntryControlCCConfigurationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCConfigurationReport extends EntryControlCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly keyCacheSize: number; + // (undocumented) + readonly keyCacheTimeout: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "EntryControlCCConfigurationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCConfigurationSet extends EntryControlCC { + // Warning: (ae-forgotten-export) The symbol "EntryControlCCConfigurationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | EntryControlCCConfigurationSetOptions); + // (undocumented) + readonly keyCacheSize: number; + // (undocumented) + readonly keyCacheTimeout: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "EntryControlCCEventSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCEventSupportedGet extends EntryControlCC { +} + +// Warning: (ae-missing-release-tag) "EntryControlCCEventSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCEventSupportedReport extends EntryControlCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly maxKeyCacheSize: number; + // (undocumented) + readonly maxKeyCacheTimeout: number; + // (undocumented) + readonly minKeyCacheSize: number; + // (undocumented) + readonly minKeyCacheTimeout: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly supportedDataTypes: readonly EntryControlDataTypes[]; + // (undocumented) + readonly supportedEventTypes: readonly EntryControlEventTypes[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "EntryControlCCKeySupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCKeySupportedGet extends EntryControlCC { +} + +// Warning: (ae-missing-release-tag) "EntryControlCCKeySupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCKeySupportedReport extends EntryControlCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedKeys: readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "EntryControlCCNotification" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class EntryControlCCNotification extends EntryControlCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly dataType: EntryControlDataTypes; + // (undocumented) + readonly eventData?: Buffer | string; + // (undocumented) + readonly eventType: EntryControlEventTypes; + // (undocumented) + readonly sequenceNumber: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "EntryControlCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const EntryControlCCValues: Readonly<{ + supportedKeys: { + readonly id: { + commandClass: (typeof CommandClasses)["Entry Control"]; + property: "supportedKeys"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Entry Control"]; + readonly endpoint: number; + readonly property: "supportedKeys"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedEventTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Entry Control"]; + property: "supportedEventTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Entry Control"]; + readonly endpoint: number; + readonly property: "supportedEventTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedDataTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Entry Control"]; + property: "supportedDataTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Entry Control"]; + readonly endpoint: number; + readonly property: "supportedDataTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + keyCacheTimeout: { + readonly id: { + commandClass: (typeof CommandClasses)["Entry Control"]; + property: "keyCacheTimeout"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Entry Control"]; + readonly endpoint: number; + readonly property: "keyCacheTimeout"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Key cache timeout"; + readonly unit: "seconds"; + readonly description: "How long the key cache must wait for additional characters"; + readonly min: 1; + readonly max: 10; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + keyCacheSize: { + readonly id: { + commandClass: (typeof CommandClasses)["Entry Control"]; + property: "keyCacheSize"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Entry Control"]; + readonly endpoint: number; + readonly property: "keyCacheSize"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Key cache size"; + readonly description: "Number of character that must be stored before sending"; + readonly min: 1; + readonly max: 32; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "EntryControlCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum EntryControlCommand { + // (undocumented) + ConfigurationGet = 7, + // (undocumented) + ConfigurationReport = 8, + // (undocumented) + ConfigurationSet = 6, + // (undocumented) + EventSupportedGet = 4, + // (undocumented) + EventSupportedReport = 5, + // (undocumented) + KeySupportedGet = 2, + // (undocumented) + KeySupportedReport = 3, + // (undocumented) + Notification = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "EntryControlDataTypes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum EntryControlDataTypes { + // (undocumented) + ASCII = 2, + // (undocumented) + MD5 = 3, + // (undocumented) + None = 0, + // (undocumented) + Raw = 1 +} + +// Warning: (ae-missing-release-tag) "entryControlEventTypeLabels" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const entryControlEventTypeLabels: Record; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "EntryControlEventTypes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum EntryControlEventTypes { + // (undocumented) + AlertMedical = 19, + // (undocumented) + AlertPanic = 18, + // (undocumented) + Arm1 = 8, + // (undocumented) + Arm2 = 9, + // (undocumented) + Arm3 = 10, + // (undocumented) + Arm4 = 11, + // (undocumented) + Arm5 = 12, + // (undocumented) + Arm6 = 13, + // (undocumented) + ArmAll = 4, + // (undocumented) + ArmAway = 5, + // (undocumented) + ArmHome = 6, + // (undocumented) + Bell = 15, + // (undocumented) + CachedKeys = 1, + // (undocumented) + Caching = 0, + // (undocumented) + Cancel = 25, + // (undocumented) + DisarmAll = 3, + // (undocumented) + Enter = 2, + // (undocumented) + ExitDelay = 7, + // (undocumented) + Fire = 16, + // (undocumented) + GateClose = 21, + // (undocumented) + GateOpen = 20, + // (undocumented) + Lock = 22, + // (undocumented) + Police = 17, + // (undocumented) + Rfid = 14, + // (undocumented) + Test = 24, + // (undocumented) + Unlock = 23 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "expectedCCResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function expectedCCResponse(cc: CCConstructor | DynamicCCResponse, predicate?: CCResponsePredicate): TypedClassDecorator_2; + +// Warning: (ae-forgotten-export) The symbol "S2ExtensionType" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "extensionType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function extensionType(type: S2ExtensionType): TypedClassDecorator; + +// Warning: (ae-missing-release-tag) "FibaroCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FibaroCC extends ManufacturerProprietaryCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // (undocumented) + fibaroCCCommand?: number; + // (undocumented) + fibaroCCId?: number; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "fibaroCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const fibaroCC: (fibaroCCId: number) => TypedClassDecorator_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "fibaroCCCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const fibaroCCCommand: (fibaroCCCommand: number) => TypedClassDecorator_2; + +// Warning: (ae-missing-release-tag) "FibaroVenetianBlindCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FibaroVenetianBlindCC extends FibaroCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // Warning: (ae-forgotten-export) The symbol "FibaroVenetianBlindCCCommand" needs to be exported by the entry point index.d.ts + // + // (undocumented) + fibaroCCCommand: FibaroVenetianBlindCCCommand; + // Warning: (ae-forgotten-export) The symbol "FibaroCCIDs" needs to be exported by the entry point index.d.ts + // + // (undocumented) + fibaroCCId: FibaroCCIDs.VenetianBlind; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "FibaroVenetianBlindCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FibaroVenetianBlindCCGet extends FibaroVenetianBlindCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); +} + +// Warning: (ae-missing-release-tag) "FibaroVenetianBlindCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FibaroVenetianBlindCCReport extends FibaroVenetianBlindCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get position(): Maybe | undefined; + // (undocumented) + get tilt(): Maybe | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FibaroVenetianBlindCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FibaroVenetianBlindCCSet extends FibaroVenetianBlindCC { + // Warning: (ae-forgotten-export) The symbol "FibaroVenetianBlindCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | FibaroVenetianBlindCCSetOptions); + // (undocumented) + position: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + tilt: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "FirmwareDownloadStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum FirmwareDownloadStatus { + // (undocumented) + Error_AuthenticationExpected = 1, + // (undocumented) + Error_FragmentSizeTooLarge = 2, + // (undocumented) + Error_InvalidHardwareVersion = 4, + // (undocumented) + Error_InvalidManufacturerOrFirmwareID = 0, + // (undocumented) + Error_NotDownloadable = 3, + // (undocumented) + OK = 255 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "FirmwareUpdateActivationStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum FirmwareUpdateActivationStatus { + // (undocumented) + Error_ActivationFailed = 1, + // (undocumented) + Error_InvalidFirmware = 0, + // (undocumented) + OK = 255 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "FirmwareUpdateCapabilities" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FirmwareUpdateCapabilities = { + readonly firmwareUpgradable: false; +} | { + readonly firmwareUpgradable: true; + readonly firmwareTargets: readonly number[]; + readonly continuesToFunction: Maybe; + readonly supportsActivation: Maybe; +}; + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCC extends CommandClass { + // (undocumented) + ccCommand: FirmwareUpdateMetaDataCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + skipEndpointInterview(): boolean; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCActivationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCActivationReport extends FirmwareUpdateMetaDataCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly activationStatus: FirmwareUpdateActivationStatus; + // (undocumented) + readonly checksum: number; + // (undocumented) + readonly firmwareId: number; + // (undocumented) + readonly firmwareTarget: number; + // (undocumented) + readonly hardwareVersion?: number; + // (undocumented) + readonly manufacturerId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCActivationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCActivationSet extends FirmwareUpdateMetaDataCC { + // Warning: (ae-forgotten-export) The symbol "FirmwareUpdateMetaDataCCActivationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (FirmwareUpdateMetaDataCCActivationSetOptions & CCCommandOptions)); + // (undocumented) + checksum: number; + // (undocumented) + firmwareId: number; + // (undocumented) + firmwareTarget: number; + // (undocumented) + hardwareVersion?: number; + // (undocumented) + manufacturerId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCGet extends FirmwareUpdateMetaDataCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly numReports: number; + // (undocumented) + readonly reportNumber: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCMetaDataGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCMetaDataGet extends FirmwareUpdateMetaDataCC { +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCMetaDataReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCMetaDataReport extends FirmwareUpdateMetaDataCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly additionalFirmwareIDs: readonly number[]; + // (undocumented) + readonly checksum: number; + // (undocumented) + readonly continuesToFunction: Maybe; + // (undocumented) + readonly firmwareId: number; + // (undocumented) + readonly firmwareUpgradable: boolean; + // (undocumented) + readonly hardwareVersion?: number; + // (undocumented) + readonly manufacturerId: number; + // (undocumented) + readonly maxFragmentSize?: number; + // (undocumented) + readonly supportsActivation: Maybe; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCPrepareGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCPrepareGet extends FirmwareUpdateMetaDataCC { + // Warning: (ae-forgotten-export) The symbol "FirmwareUpdateMetaDataCCPrepareGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | FirmwareUpdateMetaDataCCPrepareGetOptions); + // (undocumented) + firmwareId: number; + // (undocumented) + firmwareTarget: number; + // (undocumented) + fragmentSize: number; + // (undocumented) + hardwareVersion: number; + // (undocumented) + manufacturerId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCPrepareReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCPrepareReport extends FirmwareUpdateMetaDataCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly checksum: number; + // (undocumented) + readonly status: FirmwareDownloadStatus; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCReport extends FirmwareUpdateMetaDataCC { + // Warning: (ae-forgotten-export) The symbol "FirmwareUpdateMetaDataCCReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | FirmwareUpdateMetaDataCCReportOptions); + // (undocumented) + firmwareData: Buffer; + // (undocumented) + isLast: boolean; + // (undocumented) + reportNumber: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCRequestGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCRequestGet extends FirmwareUpdateMetaDataCC { + // Warning: (ae-forgotten-export) The symbol "FirmwareUpdateMetaDataCCRequestGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (FirmwareUpdateMetaDataCCRequestGetOptions & CCCommandOptions)); + // (undocumented) + activation?: boolean; + // (undocumented) + checksum: number; + // (undocumented) + firmwareId: number; + // (undocumented) + firmwareTarget?: number; + // (undocumented) + fragmentSize?: number; + // (undocumented) + hardwareVersion?: number; + // (undocumented) + manufacturerId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCRequestReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCRequestReport extends FirmwareUpdateMetaDataCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly status: FirmwareUpdateRequestStatus; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCStatusReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class FirmwareUpdateMetaDataCCStatusReport extends FirmwareUpdateMetaDataCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly status: FirmwareUpdateStatus; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + readonly waitTime?: number; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const FirmwareUpdateMetaDataCCValues: Readonly<{ + continuesToFunction: { + readonly id: { + commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + property: "continuesToFunction"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + readonly endpoint: number; + readonly property: "continuesToFunction"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + additionalFirmwareIDs: { + readonly id: { + commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + property: "additionalFirmwareIDs"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + readonly endpoint: number; + readonly property: "additionalFirmwareIDs"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + firmwareUpgradable: { + readonly id: { + commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + property: "firmwareUpgradable"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + readonly endpoint: number; + readonly property: "firmwareUpgradable"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsActivation: { + readonly id: { + commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + property: "supportsActivation"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"]; + readonly endpoint: number; + readonly property: "supportsActivation"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "FirmwareUpdateMetaDataCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum FirmwareUpdateMetaDataCommand { + // (undocumented) + ActivationReport = 9, + // (undocumented) + ActivationSet = 8, + // (undocumented) + Get = 5, + // (undocumented) + MetaDataGet = 1, + // (undocumented) + MetaDataReport = 2, + // (undocumented) + PrepareGet = 10, + // (undocumented) + PrepareReport = 11, + // (undocumented) + Report = 6, + // (undocumented) + RequestGet = 3, + // (undocumented) + RequestReport = 4, + // (undocumented) + StatusReport = 7 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "FirmwareUpdateRequestStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum FirmwareUpdateRequestStatus { + // (undocumented) + Error_AuthenticationExpected = 1, + // (undocumented) + Error_BatteryLow = 6, + // (undocumented) + Error_FirmwareUpgradeInProgress = 5, + // (undocumented) + Error_FragmentSizeTooLarge = 2, + // (undocumented) + Error_InvalidHardwareVersion = 4, + // (undocumented) + Error_InvalidManufacturerOrFirmwareID = 0, + // (undocumented) + Error_NotUpgradable = 3, + // (undocumented) + OK = 255 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "FirmwareUpdateStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum FirmwareUpdateStatus { + // (undocumented) + Error_Checksum = 0, + // (undocumented) + Error_InsufficientMemory = 7, + // (undocumented) + Error_InvalidFirmwareID = 3, + // (undocumented) + Error_InvalidFirmwareTarget = 4, + // (undocumented) + Error_InvalidHardwareVersion = 8, + // (undocumented) + Error_InvalidHeaderFormat = 6, + // (undocumented) + Error_InvalidHeaderInformation = 5, + // (undocumented) + Error_InvalidManufacturerID = 2, + // (undocumented) + Error_Timeout = -1, + // (undocumented) + Error_TransmissionFailed = 1, + // (undocumented) + OK_NoRestart = 254, + // (undocumented) + OK_RestartPending = 255, + // (undocumented) + OK_WaitingForActivation = 253 +} + +// Warning: (ae-missing-release-tag) "FLiRS2WakeUpTime" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function FLiRS2WakeUpTime(value: FLiRS_2): WakeUpTime; + +// Warning: (ae-missing-release-tag) "getAllAssociationGroups" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function getAllAssociationGroups(applHost: ZWaveApplicationHost, node: IZWaveNode): ReadonlyMap>; + +// Warning: (ae-missing-release-tag) "getAllAssociations" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function getAllAssociations(applHost: ZWaveApplicationHost, node: IZWaveNode): ReadonlyObjectKeyMap>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getAPI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getAPI(cc: CommandClasses_2): APIConstructor | undefined; + +// Warning: (ae-missing-release-tag) "getAssociationGroups" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function getAssociationGroups(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): ReadonlyMap; + +// Warning: (ae-missing-release-tag) "getAssociations" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function getAssociations(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): ReadonlyMap; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCCCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getCCCommand: (target: CommandClass) => number | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCCCommandConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getCCCommandConstructor: (ccId: CommandClasses_2, ccCommand: number) => CCConstructor | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCCConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getCCConstructor: (ccId: CommandClasses_2) => CCConstructor | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCCResponsePredicate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getCCResponsePredicate(ccClass: T): CCResponsePredicate | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-forgotten-export) The symbol "StaticCCValueFactory" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "getCCValueProperties" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getCCValueProperties(target: TTarget): ReadonlyMap>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getCCValues(cc: T | CommandClasses_2): Record | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getCommandClass(cc: CommandClass | CCAPI): CommandClasses_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getCommandClassStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getCommandClassStatic>(classConstructor: T): CommandClasses_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getExpectedCCResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getExpectedCCResponse(ccClass: T): typeof CommandClass | DynamicCCResponse | undefined; + +// Warning: (ae-missing-release-tag) "getExtensionType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getExtensionType(ext: T): S2ExtensionType; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getFibaroCCCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getFibaroCCCommand: (target: FibaroCC) => number | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-forgotten-export) The symbol "ManufacturerProprietaryCCConstructor" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "getFibaroCCCommandConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getFibaroCCCommandConstructor: (fibaroCCId: number, fibaroCCCommand: number) => ManufacturerProprietaryCCConstructor | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getFibaroCCConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getFibaroCCConstructor: (fibaroCCId: number) => ManufacturerProprietaryCCConstructor | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getFibaroCCId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getFibaroCCId: (target: FibaroCC) => number | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getImplementedVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getImplementedVersion(cc: T | CommandClasses_2): number; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getImplementedVersionStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getImplementedVersionStatic>(classConstructor: T): number; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getManufacturerId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getManufacturerId: (target: ManufacturerProprietaryCC) => number | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getManufacturerIdStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getManufacturerIdStatic(classConstructor: T): number; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getManufacturerProprietaryAPI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getManufacturerProprietaryAPI: (manufacturerId: number) => APIConstructor | undefined; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "getManufacturerProprietaryCCConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const getManufacturerProprietaryCCConstructor: (manufacturerId: number) => ManufacturerProprietaryCCConstructor | undefined; + +// Warning: (ae-forgotten-export) The symbol "Security2ExtensionConstructor" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "getS2ExtensionConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getS2ExtensionConstructor(type: S2ExtensionType): Security2ExtensionConstructor | undefined; + +// Warning: (ae-missing-release-tag) "gotDeserializationOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function gotDeserializationOptions(options: CommandClassOptions): options is CommandClassDeserializationOptions; + +// Warning: (ae-missing-release-tag) "HailCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HailCC extends CommandClass { + // (undocumented) + ccCommand: HailCommand.Hail; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HailCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HailCommand { + // (undocumented) + Hail = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HumidityControlMode { + // (undocumented) + "De-humidify" = 2, + // (undocumented) + "Auto" = 3, + // (undocumented) + "Humidify" = 1, + // (undocumented) + "Off" = 0 +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlModeCC extends CommandClass { + // (undocumented) + ccCommand: HumidityControlModeCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlModeCCGet extends HumidityControlModeCC { +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlModeCCReport extends HumidityControlModeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly mode: HumidityControlMode; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlModeCCSet extends HumidityControlModeCC { + // Warning: (ae-forgotten-export) The symbol "HumidityControlModeCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | HumidityControlModeCCSetOptions); + // (undocumented) + mode: HumidityControlMode; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlModeCCSupportedGet extends HumidityControlModeCC { +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlModeCCSupportedReport extends HumidityControlModeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get supportedModes(): readonly HumidityControlMode[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlModeCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const HumidityControlModeCCValues: Readonly<{ + supportedModes: { + readonly id: { + commandClass: (typeof CommandClasses)["Humidity Control Mode"]; + property: "supportedModes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Humidity Control Mode"]; + readonly endpoint: number; + readonly property: "supportedModes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + mode: { + readonly id: { + commandClass: (typeof CommandClasses)["Humidity Control Mode"]; + property: "mode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Humidity Control Mode"]; + readonly endpoint: number; + readonly property: "mode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly states: { + [x: number]: string; + }; + readonly label: "Humidity control mode"; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlModeCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HumidityControlModeCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlOperatingState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HumidityControlOperatingState { + // (undocumented) + "De-humidifying" = 2, + // (undocumented) + "Humidifying" = 1, + // (undocumented) + "Idle" = 0 +} + +// Warning: (ae-missing-release-tag) "HumidityControlOperatingStateCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlOperatingStateCC extends CommandClass { + // (undocumented) + ccCommand: HumidityControlOperatingStateCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "HumidityControlOperatingStateCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlOperatingStateCCGet extends HumidityControlOperatingStateCC { +} + +// Warning: (ae-missing-release-tag) "HumidityControlOperatingStateCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlOperatingStateCCReport extends HumidityControlOperatingStateCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly state: HumidityControlOperatingState; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlOperatingStateCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const HumidityControlOperatingStateCCValues: Readonly<{ + state: { + readonly id: { + commandClass: (typeof CommandClasses)["Humidity Control Operating State"]; + property: "state"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Humidity Control Operating State"]; + readonly endpoint: number; + readonly property: "state"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly states: { + [x: number]: string; + }; + readonly label: "Humidity control operating state"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlOperatingStateCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HumidityControlOperatingStateCommand { + // (undocumented) + Get = 1, + // (undocumented) + Report = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCapabilities" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface HumidityControlSetpointCapabilities { + // (undocumented) + maxValue: number; + // (undocumented) + maxValueScale: number; + // (undocumented) + minValue: number; + // (undocumented) + minValueScale: number; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCC extends CommandClass { + // (undocumented) + ccCommand: HumidityControlSetpointCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCCapabilitiesGet extends HumidityControlSetpointCC { + // Warning: (ae-forgotten-export) The symbol "HumidityControlSetpointCCCapabilitiesGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | HumidityControlSetpointCCCapabilitiesGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: HumidityControlSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCCapabilitiesReport extends HumidityControlSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get maxValue(): number; + // (undocumented) + get maxValueScale(): number; + // (undocumented) + get minValue(): number; + // (undocumented) + get minValueScale(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get type(): HumidityControlSetpointType; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCGet extends HumidityControlSetpointCC { + // Warning: (ae-forgotten-export) The symbol "HumidityControlSetpointCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | HumidityControlSetpointCCGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: HumidityControlSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCReport extends HumidityControlSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly scale: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get type(): HumidityControlSetpointType; + // (undocumented) + get value(): number; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCScaleSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCScaleSupportedGet extends HumidityControlSetpointCC { + // Warning: (ae-forgotten-export) The symbol "HumidityControlSetpointCCScaleSupportedGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | HumidityControlSetpointCCScaleSupportedGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: HumidityControlSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCScaleSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCScaleSupportedReport extends HumidityControlSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedScales: readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCSet extends HumidityControlSetpointCC { + // Warning: (ae-forgotten-export) The symbol "HumidityControlSetpointCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | HumidityControlSetpointCCSetOptions); + // (undocumented) + scale: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: HumidityControlSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCSupportedGet extends HumidityControlSetpointCC { +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class HumidityControlSetpointCCSupportedReport extends HumidityControlSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedSetpointTypes: readonly HumidityControlSetpointType[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const HumidityControlSetpointCCValues: Readonly<{ + setpointScale: ((setpointType: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Humidity Control Setpoint"]; + property: "setpointScale"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Humidity Control Setpoint"]; + readonly endpoint: number; + readonly property: "setpointScale"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Setpoint scale (${string})`; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + setpoint: ((setpointType: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Humidity Control Setpoint"]; + property: "setpoint"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Humidity Control Setpoint"]; + readonly endpoint: number; + readonly property: "setpoint"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Setpoint (${string})`; + readonly ccSpecific: { + readonly setpointType: number; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedSetpointTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Humidity Control Setpoint"]; + property: "supportedSetpointTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Humidity Control Setpoint"]; + readonly endpoint: number; + readonly property: "supportedSetpointTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlSetpointCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HumidityControlSetpointCommand { + // (undocumented) + CapabilitiesGet = 8, + // (undocumented) + CapabilitiesReport = 9, + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + ScaleSupportedGet = 6, + // (undocumented) + ScaleSupportedReport = 7, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlSetpointMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HumidityControlSetpointMetadata = ValueMetadata_2 & { + ccSpecific: { + setpointType: HumidityControlSetpointType; + }; +}; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlSetpointType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum HumidityControlSetpointType { + // (undocumented) + "De-humidifier" = 2, + // (undocumented) + "N/A" = 0, + // (undocumented) + "Auto" = 3, + // (undocumented) + "Humidifier" = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "HumidityControlSetpointValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface HumidityControlSetpointValue { + // (undocumented) + scale: number; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "ICommandClassContainer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ICommandClassContainer { + // (undocumented) + command: CommandClass; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "implementedVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const implementedVersion: (version: number) => TypedClassDecorator_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "inclusionTimeouts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const inclusionTimeouts: Readonly<{ + readonly TA1: 10000; + readonly TA2: 10000; + readonly TA3: 10000; + readonly TA4: 10000; + readonly TA5: 10000; + readonly TAI1: 240000; + readonly TAI2: 240000; +}>; + +// Warning: (ae-missing-release-tag) "IndicatorCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorCC extends CommandClass { + // (undocumented) + ccCommand: IndicatorCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + protected supportsV2Indicators(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + translateProperty(applHost: ZWaveApplicationHost, property: string | number, propertyKey?: string | number): string; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "IndicatorCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorCCGet extends IndicatorCC { + // Warning: (ae-forgotten-export) The symbol "IndicatorCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IndicatorCCGetOptions); + // (undocumented) + indicatorId: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IndicatorCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorCCReport extends IndicatorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly value: number | undefined; + // Warning: (ae-forgotten-export) The symbol "IndicatorObject" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly values: IndicatorObject[] | undefined; +} + +// Warning: (ae-missing-release-tag) "IndicatorCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorCCSet extends IndicatorCC { + // Warning: (ae-forgotten-export) The symbol "IndicatorCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (IndicatorCCSetOptions & CCCommandOptions)); + // (undocumented) + indicator0Value: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + values: IndicatorObject[] | undefined; +} + +// Warning: (ae-missing-release-tag) "IndicatorCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorCCSupportedGet extends IndicatorCC { + // Warning: (ae-forgotten-export) The symbol "IndicatorCCSupportedGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IndicatorCCSupportedGetOptions); + // (undocumented) + indicatorId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IndicatorCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorCCSupportedReport extends IndicatorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly indicatorId: number; + // (undocumented) + readonly nextIndicatorId: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly supportedProperties: readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IndicatorCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const IndicatorCCValues: Readonly<{ + valueV2: ((indicatorId: number, propertyId: number) => { + readonly id: { + commandClass: CommandClasses.Indicator; + property: number; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Indicator; + readonly endpoint: number; + readonly property: number; + readonly propertyKey: number; + }; + readonly meta: { + readonly ccSpecific: { + indicatorId: number; + propertyId: number; + }; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + supportedPropertyIDs: ((indicatorId: number) => { + readonly id: { + commandClass: CommandClasses.Indicator; + property: "supportedPropertyIDs"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Indicator; + readonly endpoint: number; + readonly property: "supportedPropertyIDs"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + valueV1: { + readonly id: { + commandClass: CommandClasses.Indicator; + property: "value"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Indicator; + readonly endpoint: number; + readonly property: "value"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Indicator value"; + readonly ccSpecific: { + readonly indicatorId: 0; + }; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedIndicatorIds: { + readonly id: { + commandClass: CommandClasses.Indicator; + property: "supportedIndicatorIds"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Indicator; + readonly endpoint: number; + readonly property: "supportedIndicatorIds"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "IndicatorCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum IndicatorCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "IndicatorMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type IndicatorMetadata = ValueMetadata_2 & { + ccSpecific: { + indicatorId: number; + propertyId?: number; + }; +}; + +// Warning: (ae-missing-release-tag) "InvalidCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class InvalidCC extends CommandClass { + constructor(host: ZWaveHost, options: InvalidCCCreationOptions); + // (undocumented) + get ccName(): string; + // (undocumented) + readonly reason?: string | ZWaveErrorCodes; + // (undocumented) + toLogEntry(): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "InvalidCCCreationOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface InvalidCCCreationOptions extends CommandClassCreationOptions { + // (undocumented) + ccName: string; + // (undocumented) + reason?: string | ZWaveErrorCodes; +} + +// Warning: (ae-missing-release-tag) "IrrigationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCC extends CommandClass { + // (undocumented) + ccCommand: IrrigationCommand; + static getMaxValveTableSizeCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): number | undefined; + static getNumValvesCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): number | undefined; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + static supportsMasterValveCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): boolean; + // (undocumented) + translateProperty(applHost: ZWaveApplicationHost, property: string | number, propertyKey?: string | number): string; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemConfigGet extends IrrigationCC { +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemConfigReport extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly highPressureThreshold: number; + // (undocumented) + readonly lowPressureThreshold: number; + // (undocumented) + readonly masterValveDelay: number; + // (undocumented) + readonly moistureSensorPolarity?: IrrigationSensorPolarity; + // (undocumented) + readonly rainSensorPolarity?: IrrigationSensorPolarity; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemConfigSet extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (IrrigationCCSystemConfigSetOptions & CCCommandOptions)); + // (undocumented) + highPressureThreshold: number; + // (undocumented) + lowPressureThreshold: number; + // (undocumented) + masterValveDelay: number; + // (undocumented) + moistureSensorPolarity?: IrrigationSensorPolarity; + // (undocumented) + rainSensorPolarity?: IrrigationSensorPolarity; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemConfigSetOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type IrrigationCCSystemConfigSetOptions = { + masterValveDelay: number; + highPressureThreshold: number; + lowPressureThreshold: number; + rainSensorPolarity?: IrrigationSensorPolarity; + moistureSensorPolarity?: IrrigationSensorPolarity; +}; + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemInfoGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemInfoGet extends IrrigationCC { +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemInfoReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemInfoReport extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly maxValveTableSize: number; + // (undocumented) + readonly numValves: number; + // (undocumented) + readonly numValveTables: number; + // (undocumented) + readonly supportsMasterValve: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemShutoff" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemShutoff extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCSystemShutoffOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCSystemShutoffOptions); + // (undocumented) + duration?: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemStatusGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemStatusGet extends IrrigationCC { +} + +// Warning: (ae-missing-release-tag) "IrrigationCCSystemStatusReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCSystemStatusReport extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + errorEmergencyShutdown: boolean; + // (undocumented) + errorHighPressure: boolean; + // (undocumented) + errorLowPressure: boolean; + // (undocumented) + errorNotProgrammed: boolean; + // (undocumented) + errorValve: boolean; + // (undocumented) + firstOpenZoneId?: number; + // (undocumented) + flow?: number; + // (undocumented) + flowSensorActive: boolean; + // (undocumented) + masterValveOpen: boolean; + // (undocumented) + moistureSensorActive: boolean; + // (undocumented) + pressure?: number; + // (undocumented) + pressureSensorActive: boolean; + // (undocumented) + rainSensorActive: boolean; + // (undocumented) + shutoffDuration: number; + // (undocumented) + systemVoltage: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const IrrigationCCValues: Readonly<{ + valveRunStartStop: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "startStop"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "startStop"; + }; + readonly meta: { + readonly label: `${string}: Start/Stop`; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + valveRunDuration: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "duration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "duration"; + }; + readonly meta: { + readonly label: `${string}: Run duration`; + readonly min: 1; + readonly unit: "s"; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + useMoistureSensor: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "useMoistureSensor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "useMoistureSensor"; + }; + readonly meta: { + readonly label: `${string}: Use moisture sensor`; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + useRainSensor: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "useRainSensor"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "useRainSensor"; + }; + readonly meta: { + readonly label: `${string}: Use rain sensor`; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorLowFlow: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "errorLowFlow"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "errorLowFlow"; + }; + readonly meta: { + readonly label: `${string}: Error - Flow below high threshold`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + lowFlowThreshold: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "lowFlowThreshold"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "lowFlowThreshold"; + }; + readonly meta: { + readonly label: `${string}: Low flow threshold`; + readonly min: 0; + readonly unit: "l/h"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorHighFlow: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "errorHighFlow"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "errorHighFlow"; + }; + readonly meta: { + readonly label: `${string}: Error - Flow above high threshold`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + highFlowThreshold: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "highFlowThreshold"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "highFlowThreshold"; + }; + readonly meta: { + readonly label: `${string}: High flow threshold`; + readonly min: 0; + readonly unit: "l/h"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorMaximumFlow: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "errorMaximumFlow"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "errorMaximumFlow"; + }; + readonly meta: { + readonly label: `${string}: Error - Maximum flow detected`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + maximumFlow: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "maximumFlow"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "maximumFlow"; + }; + readonly meta: { + readonly label: `${string}: Maximum flow`; + readonly min: 0; + readonly unit: "l/h"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorLowCurrent: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "errorLowCurrent"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "errorLowCurrent"; + }; + readonly meta: { + readonly label: `${string}: Error - Current below low threshold`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorHighCurrent: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "errorHighCurrent"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "errorHighCurrent"; + }; + readonly meta: { + readonly label: `${string}: Error - Current above high threshold`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorShortCircuit: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "errorShortCircuit"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "errorShortCircuit"; + }; + readonly meta: { + readonly label: `${string}: Error - Short circuit detected`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + nominalCurrentLowThreshold: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "nominalCurrentLowThreshold"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "nominalCurrentLowThreshold"; + }; + readonly meta: { + readonly label: `${string}: Nominal current - low threshold`; + readonly min: 0; + readonly max: 2550; + readonly unit: "mA"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + nominalCurrentHighThreshold: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "nominalCurrentHighThreshold"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "nominalCurrentHighThreshold"; + }; + readonly meta: { + readonly label: `${string}: Nominal current - high threshold`; + readonly min: 0; + readonly max: 2550; + readonly unit: "mA"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + nominalCurrent: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "nominalCurrent"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "nominalCurrent"; + }; + readonly meta: { + readonly label: `${string}: Nominal current`; + readonly unit: "mA"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + valveConnected: ((valveId: ValveId) => { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: ValveId; + propertyKey: "valveConnected"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: ValveId; + readonly propertyKey: "valveConnected"; + }; + readonly meta: { + readonly label: `${string}: Connected`; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + shutoffSystem: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "shutoff"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "shutoff"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Shutoff system"; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + firstOpenZoneId: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "firstOpenZoneId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "firstOpenZoneId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "First open zone valve ID"; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + masterValveOpen: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "masterValveOpen"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "masterValveOpen"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Master valve is open"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorValve: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "errorValve"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "errorValve"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Error: valve reporting error"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + lowPressureThreshold: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "lowPressureThreshold"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "lowPressureThreshold"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Low pressure threshold"; + readonly unit: "kPa"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorLowPressure: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "errorLowPressure"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "errorLowPressure"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Error: low pressure"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + highPressureThreshold: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "highPressureThreshold"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "highPressureThreshold"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "High pressure threshold"; + readonly unit: "kPa"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorHighPressure: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "errorHighPressure"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "errorHighPressure"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Error: high pressure"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorEmergencyShutdown: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "errorEmergencyShutdown"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "errorEmergencyShutdown"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Error: emergency shutdown"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + errorNotProgrammed: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "errorNotProgrammed"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "errorNotProgrammed"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Error: device not programmed"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + shutoffDuration: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "shutoffDuration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "shutoffDuration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Remaining shutoff duration"; + readonly unit: "hours"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + pressure: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "pressure"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "pressure"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Pressure"; + readonly unit: "kPa"; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + flow: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "flow"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "flow"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Flow"; + readonly unit: "l/h"; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + moistureSensorPolarity: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "moistureSensorPolarity"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "moistureSensorPolarity"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Moisture sensor polarity"; + readonly min: 0; + readonly max: 1; + readonly states: { + [x: number]: string; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + moistureSensorActive: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "moistureSensorActive"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "moistureSensorActive"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Moisture sensor attached and active"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + rainSensorPolarity: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "rainSensorPolarity"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "rainSensorPolarity"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Rain sensor polarity"; + readonly min: 0; + readonly max: 1; + readonly states: { + [x: number]: string; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + rainSensorActive: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "rainSensorActive"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "rainSensorActive"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Rain sensor attached and active"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + pressureSensorActive: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "pressureSensorActive"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "pressureSensorActive"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Pressure sensor active"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + flowSensorActive: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "flowSensorActive"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "flowSensorActive"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Flow sensor active"; + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + masterValveDelay: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "masterValveDelay"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "masterValveDelay"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Master valve delay"; + readonly description: "The delay between turning on the master valve and turning on any zone valve"; + readonly unit: "seconds"; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + systemVoltage: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "systemVoltage"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "systemVoltage"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "System voltage"; + readonly unit: "V"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + maxValveTableSize: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "maxValveTableSize"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "maxValveTableSize"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsMasterValve: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "supportsMasterValve"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "supportsMasterValve"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + numValveTables: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "numValveTables"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "numValveTables"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + numValves: { + readonly id: { + commandClass: CommandClasses.Irrigation; + property: "numValves"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Irrigation; + readonly endpoint: number; + readonly property: "numValves"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (ae-missing-release-tag) "IrrigationCCValveConfigGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveConfigGet extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCValveConfigGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCValveConfigGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + valveId: ValveId; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveConfigReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveConfigReport extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + highFlowThreshold: number; + // (undocumented) + lowFlowThreshold: number; + // (undocumented) + maximumFlow: number; + // (undocumented) + nominalCurrentHighThreshold: number; + // (undocumented) + nominalCurrentLowThreshold: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + useMoistureSensor: boolean; + // (undocumented) + useRainSensor: boolean; + // (undocumented) + valveId: ValveId; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveConfigSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveConfigSet extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (IrrigationCCValveConfigSetOptions & CCCommandOptions)); + // (undocumented) + highFlowThreshold: number; + // (undocumented) + lowFlowThreshold: number; + // (undocumented) + maximumFlow: number; + // (undocumented) + nominalCurrentHighThreshold: number; + // (undocumented) + nominalCurrentLowThreshold: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + useMoistureSensor: boolean; + // (undocumented) + useRainSensor: boolean; + // (undocumented) + valveId: ValveId; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveConfigSetOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type IrrigationCCValveConfigSetOptions = { + valveId: ValveId; + nominalCurrentHighThreshold: number; + nominalCurrentLowThreshold: number; + maximumFlow: number; + highFlowThreshold: number; + lowFlowThreshold: number; + useRainSensor: boolean; + useMoistureSensor: boolean; +}; + +// Warning: (ae-missing-release-tag) "IrrigationCCValveInfoGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveInfoGet extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCValveInfoGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCValveInfoGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + valveId: ValveId; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveInfoReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveInfoReport extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly connected: boolean; + // (undocumented) + readonly errorHighCurrent: boolean; + // (undocumented) + readonly errorHighFlow?: boolean; + // (undocumented) + readonly errorLowCurrent: boolean; + // (undocumented) + readonly errorLowFlow?: boolean; + // (undocumented) + readonly errorMaximumFlow?: boolean; + // (undocumented) + readonly errorShortCircuit: boolean; + // (undocumented) + readonly nominalCurrent: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly valveId: ValveId; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveRun" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveRun extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCValveRunOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCValveRunOptions); + // (undocumented) + duration: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + valveId: ValveId; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveTableGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveTableGet extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCValveTableGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCValveTableGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + tableId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveTableReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveTableReport extends IrrigationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly entries: ValveTableEntry[]; + // (undocumented) + readonly tableId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveTableRun" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveTableRun extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCValveTableRunOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCValveTableRunOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + tableIDs: number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "IrrigationCCValveTableSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IrrigationCCValveTableSet extends IrrigationCC { + // Warning: (ae-forgotten-export) The symbol "IrrigationCCValveTableSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | IrrigationCCValveTableSetOptions); + // (undocumented) + entries: ValveTableEntry[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + tableId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "IrrigationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum IrrigationCommand { + // (undocumented) + SystemConfigGet = 6, + // (undocumented) + SystemConfigReport = 7, + // (undocumented) + SystemConfigSet = 5, + // (undocumented) + SystemInfoGet = 1, + // (undocumented) + SystemInfoReport = 2, + // (undocumented) + SystemShutoff = 18, + // (undocumented) + SystemStatusGet = 3, + // (undocumented) + SystemStatusReport = 4, + // (undocumented) + ValveConfigGet = 11, + // (undocumented) + ValveConfigReport = 12, + // (undocumented) + ValveConfigSet = 10, + // (undocumented) + ValveInfoGet = 8, + // (undocumented) + ValveInfoReport = 9, + // (undocumented) + ValveRun = 13, + // (undocumented) + ValveTableGet = 15, + // (undocumented) + ValveTableReport = 16, + // (undocumented) + ValveTableRun = 17, + // (undocumented) + ValveTableSet = 14 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "IrrigationSensorPolarity" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum IrrigationSensorPolarity { + // (undocumented) + High = 1, + // (undocumented) + Low = 0 +} + +// Warning: (ae-missing-release-tag) "isAssociationAllowed" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function isAssociationAllowed(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, group: number, destination: AssociationAddress): boolean; + +// Warning: (ae-missing-release-tag) "isCommandClassContainer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isCommandClassContainer(msg: T | undefined): msg is T & ICommandClassContainer; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "isEncapsulatingCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isEncapsulatingCommandClass(cc: any): cc is CommandClass & EncapsulatingCommandClass; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "isMultiEncapsulatingCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isMultiEncapsulatingCommandClass(cc: any): cc is CommandClass & MultiEncapsulatingCommandClass; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "isTransportServiceEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isTransportServiceEncapsulation(command: CommandClass): command is TransportServiceCCFirstSegment | TransportServiceCCSubsequentSegment; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "KEXFailType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum KEXFailType { + // (undocumented) + BootstrappingCanceled = 6, + // (undocumented) + Decrypt = 5, + // (undocumented) + DifferentKey = 10, + // (undocumented) + KeyNotGranted = 8, + // (undocumented) + NoKeyMatch = 1, + // (undocumented) + NoSupportedCurve = 3, + // (undocumented) + NoSupportedScheme = 2, + // (undocumented) + NoVerify = 9, + // (undocumented) + WrongSecurityLevel = 7 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "KEXSchemes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum KEXSchemes { + // (undocumented) + KEXScheme1 = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "KeypadMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum KeypadMode { + // (undocumented) + LockedOut = 3, + // (undocumented) + Normal = 0, + // (undocumented) + Privacy = 2, + // (undocumented) + Vacation = 1 +} + +// Warning: (ae-missing-release-tag) "LanguageCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LanguageCC extends CommandClass { + // (undocumented) + ccCommand: LanguageCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "LanguageCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LanguageCCGet extends LanguageCC { +} + +// Warning: (ae-missing-release-tag) "LanguageCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LanguageCCReport extends LanguageCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly country: string | undefined; + // (undocumented) + readonly language: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "LanguageCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LanguageCCSet extends LanguageCC { + // Warning: (ae-forgotten-export) The symbol "LanguageCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | LanguageCCSetOptions); + // (undocumented) + get country(): string | undefined; + set country(value: string | undefined); + // (undocumented) + get language(): string; + set language(value: string); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "LanguageCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const LanguageCCValues: Readonly<{ + country: { + readonly id: { + commandClass: CommandClasses.Language; + property: "country"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Language; + readonly endpoint: number; + readonly property: "country"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Country code"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + language: { + readonly id: { + commandClass: CommandClasses.Language; + property: "language"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Language; + readonly endpoint: number; + readonly property: "language"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Language code"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "LanguageCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum LanguageCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "LevelChangeDirection" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum LevelChangeDirection { + // (undocumented) + "down" = 1, + // (undocumented) + "up" = 0 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "LocalProtectionState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum LocalProtectionState { + // (undocumented) + NoOperationPossible = 2, + // (undocumented) + ProtectedBySequence = 1, + // (undocumented) + Unprotected = 0 +} + +// Warning: (ae-missing-release-tag) "LockCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LockCC extends CommandClass { + // (undocumented) + ccCommand: LockCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "LockCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LockCCGet extends LockCC { +} + +// Warning: (ae-missing-release-tag) "LockCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LockCCReport extends LockCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly locked: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "LockCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class LockCCSet extends LockCC { + // Warning: (ae-forgotten-export) The symbol "LockCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | LockCCSetOptions); + // (undocumented) + locked: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "LockCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const LockCCValues: Readonly<{ + locked: { + readonly id: { + commandClass: CommandClasses.Lock; + property: "locked"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Lock; + readonly endpoint: number; + readonly property: "locked"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Locked"; + readonly description: "Whether the lock is locked"; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "LockCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum LockCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "manufacturerId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const manufacturerId: (manufacturerId: number) => TypedClassDecorator_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "manufacturerProprietaryAPI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const manufacturerProprietaryAPI: (manufacturerId: number) => TypedClassDecorator_2; + +// Warning: (ae-missing-release-tag) "ManufacturerProprietaryCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ManufacturerProprietaryCC extends CommandClass { + // Warning: (ae-forgotten-export) The symbol "ManufacturerProprietaryCCOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ManufacturerProprietaryCCOptions); + // (undocumented) + ccCommand: undefined; + // (undocumented) + createSpecificInstance(): ManufacturerProprietaryCC | undefined; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + manufacturerId?: number; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ManufacturerSpecificCC extends CommandClass { + // (undocumented) + ccCommand: ManufacturerSpecificCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCCDeviceSpecificGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ManufacturerSpecificCCDeviceSpecificGet extends ManufacturerSpecificCC { + // Warning: (ae-forgotten-export) The symbol "ManufacturerSpecificCCDeviceSpecificGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ManufacturerSpecificCCDeviceSpecificGetOptions); + // (undocumented) + deviceIdType: DeviceIdType; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCCDeviceSpecificReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ManufacturerSpecificCCDeviceSpecificReport extends ManufacturerSpecificCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly deviceId: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly type: DeviceIdType; +} + +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ManufacturerSpecificCCGet extends ManufacturerSpecificCC { +} + +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ManufacturerSpecificCCReport extends ManufacturerSpecificCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly manufacturerId: number; + // (undocumented) + readonly productId: number; + // (undocumented) + readonly productType: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ManufacturerSpecificCCValues: Readonly<{ + deviceId: ((type: DeviceIdType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + property: "deviceId"; + propertyKey: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + readonly endpoint: number; + readonly property: "deviceId"; + readonly propertyKey: string; + }; + readonly meta: { + readonly label: string; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + productId: { + readonly id: { + commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + property: "productId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + readonly endpoint: number; + readonly property: "productId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Product ID"; + readonly writeable: false; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + productType: { + readonly id: { + commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + property: "productType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + readonly endpoint: number; + readonly property: "productType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Product type"; + readonly writeable: false; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + manufacturerId: { + readonly id: { + commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + property: "manufacturerId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Manufacturer Specific"]; + readonly endpoint: number; + readonly property: "manufacturerId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Manufacturer ID"; + readonly writeable: false; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ManufacturerSpecificCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ManufacturerSpecificCommand { + // (undocumented) + DeviceSpecificGet = 6, + // (undocumented) + DeviceSpecificReport = 7, + // (undocumented) + Get = 4, + // (undocumented) + Report = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "messageIsPing" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function messageIsPing(msg: T): msg is T & { + command: NoOperationCC; +}; + +// Warning: (ae-missing-release-tag) "MeterCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterCC extends CommandClass { + // (undocumented) + ccCommand: MeterCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "MeterCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterCCGet extends MeterCC { + // Warning: (ae-forgotten-export) The symbol "MeterCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (MeterCCGetOptions & CCCommandOptions)); + // (undocumented) + rateType: RateType | undefined; + // (undocumented) + scale: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MeterCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterCCReport extends MeterCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get deltaTime(): Maybe; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get previousValue(): number | undefined; + // (undocumented) + get rateType(): RateType; + // (undocumented) + readonly scale: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get type(): number; + // (undocumented) + get value(): number; +} + +// Warning: (ae-missing-release-tag) "MeterCCReset" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterCCReset extends MeterCC { + // Warning: (ae-forgotten-export) The symbol "MeterCCResetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (MeterCCResetOptions & CCCommandOptions)); + // (undocumented) + serialize(): Buffer; + // (undocumented) + targetValue: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + type: number | undefined; +} + +// Warning: (ae-missing-release-tag) "MeterCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterCCSupportedGet extends MeterCC { +} + +// Warning: (ae-missing-release-tag) "MeterCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterCCSupportedReport extends MeterCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly supportedRateTypes: readonly RateType[]; + // (undocumented) + readonly supportedScales: readonly number[]; + // (undocumented) + readonly supportsReset: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly type: number; +} + +// Warning: (ae-missing-release-tag) "MeterCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MeterCCValues: Readonly<{ + value: ((meterType: number, rateType: RateType, scale: number) => { + readonly id: { + commandClass: CommandClasses.Meter; + property: "value"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "value"; + readonly propertyKey: number; + }; + readonly meta: { + readonly ccSpecific: { + readonly meterType: number; + readonly rateType: RateType; + readonly scale: number; + }; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + resetSingle: ((meterType: number) => { + readonly id: { + commandClass: CommandClasses.Meter; + property: "reset"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "reset"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Reset (${string})`; + readonly ccSpecific: { + readonly meterType: number; + }; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + resetAll: { + readonly id: { + commandClass: CommandClasses.Meter; + property: "reset"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "reset"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Reset accumulated values"; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedRateTypes: { + readonly id: { + commandClass: CommandClasses.Meter; + property: "supportedRateTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "supportedRateTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedScales: { + readonly id: { + commandClass: CommandClasses.Meter; + property: "supportedScales"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "supportedScales"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsReset: { + readonly id: { + commandClass: CommandClasses.Meter; + property: "supportsReset"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "supportsReset"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + type: { + readonly id: { + commandClass: CommandClasses.Meter; + property: "type"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Meter; + readonly endpoint: number; + readonly property: "type"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MeterCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MeterCommand { + // (undocumented) + Get = 1, + // (undocumented) + Report = 2, + // (undocumented) + Reset = 5, + // (undocumented) + SupportedGet = 3, + // (undocumented) + SupportedReport = 4 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MeterMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MeterMetadata = ValueMetadata_2 & { + ccSpecific: { + meterType: number; + rateType?: RateType; + scale?: number; + }; +}; + +// Warning: (ae-missing-release-tag) "MGRPExtension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MGRPExtension extends Security2Extension { + // Warning: (ae-forgotten-export) The symbol "Security2ExtensionDeserializationOptions" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "MGRPExtensionOptions" needs to be exported by the entry point index.d.ts + constructor(options: Security2ExtensionDeserializationOptions | MGRPExtensionOptions); + // (undocumented) + groupId: number; + // (undocumented) + serialize(moreToFollow: boolean): Buffer; + // (undocumented) + toLogEntry(): string; +} + +// Warning: (ae-missing-release-tag) "MOSExtension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MOSExtension extends Security2Extension { + constructor(options?: Security2ExtensionDeserializationOptions); +} + +// Warning: (ae-missing-release-tag) "MPANExtension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MPANExtension extends Security2Extension { + // Warning: (ae-forgotten-export) The symbol "MPANExtensionOptions" needs to be exported by the entry point index.d.ts + constructor(options: Security2ExtensionDeserializationOptions | MPANExtensionOptions); + // (undocumented) + groupId: number; + // (undocumented) + innerMPANState: Buffer; + // (undocumented) + isEncrypted(): boolean; + // (undocumented) + serialize(moreToFollow: boolean): Buffer; + // (undocumented) + toLogEntry(): string; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCC extends CommandClass { + // (undocumented) + ccCommand: MultiChannelAssociationCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + static getAllDestinationsCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): ReadonlyMap; + static getGroupCountCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): number; + static getMaxNodesCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, groupId: number): number; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCCGet extends MultiChannelAssociationCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelAssociationCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelAssociationCCGetOptions); + // (undocumented) + groupId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCRemove" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCCRemove extends MultiChannelAssociationCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelAssociationCCRemoveOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (MultiChannelAssociationCCRemoveOptions & CCCommandOptions)); + // (undocumented) + endpoints?: EndpointAddress[]; + // (undocumented) + groupId?: number; + // (undocumented) + nodeIds?: number[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCCReport extends MultiChannelAssociationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get endpoints(): readonly EndpointAddress[]; + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + readonly groupId: number; + // (undocumented) + readonly maxNodes: number; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: MultiChannelAssociationCCReport[]): void; + // (undocumented) + get nodeIds(): readonly number[]; + // (undocumented) + readonly reportsToFollow: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCCSet extends MultiChannelAssociationCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelAssociationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (MultiChannelAssociationCCSetOptions & CCCommandOptions)); + // (undocumented) + endpoints: EndpointAddress[]; + // (undocumented) + groupId: number; + // (undocumented) + nodeIds: number[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCSupportedGroupingsGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCCSupportedGroupingsGet extends MultiChannelAssociationCC { +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCSupportedGroupingsReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelAssociationCCSupportedGroupingsReport extends MultiChannelAssociationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly groupCount: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MultiChannelAssociationCCValues: Readonly<{ + endpoints: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel Association"]; + property: "endpoints"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel Association"]; + readonly endpoint: number; + readonly property: "endpoints"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + nodeIds: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel Association"]; + property: "nodeIds"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel Association"]; + readonly endpoint: number; + readonly property: "nodeIds"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + maxNodes: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel Association"]; + property: "maxNodes"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel Association"]; + readonly endpoint: number; + readonly property: "maxNodes"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + groupCount: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel Association"]; + property: "groupCount"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel Association"]; + readonly endpoint: number; + readonly property: "groupCount"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultiChannelAssociationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MultiChannelAssociationCommand { + // (undocumented) + Get = 2, + // (undocumented) + Remove = 4, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGroupingsGet = 5, + // (undocumented) + SupportedGroupingsReport = 6 +} + +// Warning: (ae-missing-release-tag) "MultiChannelCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCC extends CommandClass { + // (undocumented) + ccCommand: MultiChannelCommand; + static encapsulate(host: ZWaveHost_2, cc: CommandClass): MultiChannelCCCommandEncapsulation | MultiChannelCCV1CommandEncapsulation; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + static requiresEncapsulation(cc: CommandClass): boolean; + // (undocumented) + skipEndpointInterview(): boolean; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCAggregatedMembersGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCAggregatedMembersGet extends MultiChannelCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCAggregatedMembersGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelCCAggregatedMembersGetOptions); + // (undocumented) + requestedEndpoint: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCAggregatedMembersReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCAggregatedMembersReport extends MultiChannelCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly aggregatedEndpointIndex: number; + // (undocumented) + readonly members: readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCCapabilityGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCCapabilityGet extends MultiChannelCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCCapabilityGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelCCCapabilityGetOptions); + // (undocumented) + requestedEndpoint: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCCapabilityReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCCapabilityReport extends MultiChannelCC implements ApplicationNodeInformation { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly endpointIndex: number; + // (undocumented) + readonly genericDeviceClass: number; + // (undocumented) + readonly isDynamic: boolean; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly specificDeviceClass: number; + // (undocumented) + readonly supportedCCs: CommandClasses[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly wasRemoved: boolean; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCCommandEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCCommandEncapsulation extends MultiChannelCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCCommandEncapsulationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelCCCommandEncapsulationOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCDestination" needs to be exported by the entry point index.d.ts + destination: MultiChannelCCDestination; + // (undocumented) + encapsulated: CommandClass; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCEndPointFind" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCEndPointFind extends MultiChannelCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCEndPointFindOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelCCEndPointFindOptions); + // (undocumented) + genericClass: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + specificClass: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCEndPointFindReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCEndPointFindReport extends MultiChannelCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + get foundEndpoints(): readonly number[]; + // (undocumented) + get genericClass(): number; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: MultiChannelCCEndPointFindReport[]): void; + // (undocumented) + get reportsToFollow(): number; + // (undocumented) + get specificClass(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCEndPointGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCEndPointGet extends MultiChannelCC { +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCEndPointReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCEndPointReport extends MultiChannelCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly aggregatedCount: number | undefined; + // (undocumented) + readonly countIsDynamic: boolean; + // (undocumented) + readonly identicalCapabilities: boolean; + // (undocumented) + readonly individualCount: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCV1CommandEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCV1CommandEncapsulation extends MultiChannelCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCV1CommandEncapsulationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelCCV1CommandEncapsulationOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + encapsulated: CommandClass; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCV1Get" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCV1Get extends MultiChannelCC { + // Warning: (ae-forgotten-export) The symbol "MultiChannelCCV1GetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiChannelCCV1GetOptions); + // (undocumented) + requestedCC: CommandClasses; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCV1Report" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiChannelCCV1Report extends MultiChannelCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly endpointCount: number; + // (undocumented) + readonly requestedCC: CommandClasses; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultiChannelCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MultiChannelCCValues: Readonly<{ + aggregatedEndpointMembers: ((endpointIndex: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "members"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "members"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + endpointDeviceClass: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "deviceClass"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "deviceClass"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + endpointCCs: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "commandClasses"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "commandClasses"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + endpointsHaveIdenticalCapabilities: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "identicalCapabilities"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "identicalCapabilities"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + endpointCountIsDynamic: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "countIsDynamic"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "countIsDynamic"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + aggregatedEndpointCount: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "aggregatedCount"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "aggregatedCount"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + individualEndpointCount: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "individualCount"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "individualCount"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + endpointIndizes: { + readonly id: { + commandClass: (typeof CommandClasses)["Multi Channel"]; + property: "endpointIndizes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multi Channel"]; + readonly endpoint: number; + readonly property: "endpointIndizes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultiChannelCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MultiChannelCommand { + // (undocumented) + AggregatedMembersGet = 14, + // (undocumented) + AggregatedMembersReport = 15, + // (undocumented) + CapabilityGet = 9, + // (undocumented) + CapabilityReport = 10, + // (undocumented) + CommandEncapsulation = 13, + // (undocumented) + CommandEncapsulationV1 = 6, + // (undocumented) + EndPointFind = 11, + // (undocumented) + EndPointFindReport = 12, + // (undocumented) + EndPointGet = 7, + // (undocumented) + EndPointReport = 8, + // (undocumented) + GetV1 = 4, + // (undocumented) + ReportV1 = 5 +} + +// Warning: (ae-missing-release-tag) "MultiCommandCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiCommandCC extends CommandClass { + // (undocumented) + ccCommand: MultiCommandCommand; + // (undocumented) + static encapsulate(host: ZWaveHost_2, CCs: CommandClass[]): MultiCommandCCCommandEncapsulation; + static requiresEncapsulation(cc: CommandClass): boolean; +} + +// Warning: (ae-missing-release-tag) "MultiCommandCCCommandEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultiCommandCCCommandEncapsulation extends MultiCommandCC { + // Warning: (ae-forgotten-export) The symbol "MultiCommandCCCommandEncapsulationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultiCommandCCCommandEncapsulationOptions); + // (undocumented) + encapsulated: CommandClass[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultiCommandCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MultiCommandCommand { + // (undocumented) + CommandEncapsulation = 1 +} + +// Warning: (ae-missing-release-tag) "MultiEncapsulatingCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MultiEncapsulatingCommandClass { + // (undocumented) + constructor: MultiEncapsulatingCommandClassStatic; + // (undocumented) + encapsulated: EncapsulatedCommandClass[]; +} + +// Warning: (ae-missing-release-tag) "MultiEncapsulatingCommandClassStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface MultiEncapsulatingCommandClassStatic { + // (undocumented) + new (applHost: ZWaveApplicationHost_2, options: CommandClassOptions): MultiEncapsulatingCommandClass; + // (undocumented) + encapsulate(applHost: ZWaveApplicationHost_2, CCs: CommandClass[]): MultiEncapsulatingCommandClass; + // (undocumented) + requiresEncapsulation(cc: CommandClass): boolean; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCC extends CommandClass { + // (undocumented) + ccCommand: MultilevelSensorCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCCGet extends MultilevelSensorCC { + // Warning: (ae-forgotten-export) The symbol "MultilevelSensorCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultilevelSensorCCGetOptions); + // (undocumented) + scale: number | undefined; + // (undocumented) + sensorType: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCGetSupportedScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCCGetSupportedScale extends MultilevelSensorCC { + // Warning: (ae-forgotten-export) The symbol "MultilevelSensorCCGetSupportedScaleOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultilevelSensorCCGetSupportedScaleOptions); + // (undocumented) + sensorType: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCGetSupportedSensor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCCGetSupportedSensor extends MultilevelSensorCC { +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCCReport extends MultilevelSensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultilevelSensorCCReportOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + scale: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + type: number; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCReportOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MultilevelSensorCCReportOptions extends CCCommandOptions { + // (undocumented) + scale: number | Scale; + // (undocumented) + type: number; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCSupportedScaleReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCCSupportedScaleReport extends MultilevelSensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly sensorType: number; + // (undocumented) + readonly supportedScales: readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCSupportedSensorReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSensorCCSupportedSensorReport extends MultilevelSensorCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedSensorTypes: readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSensorCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MultilevelSensorCCValues: Readonly<{ + value: ((sensorTypeName: string) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Sensor"]; + property: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Sensor"]; + readonly endpoint: number; + readonly property: string; + }; + readonly meta: { + readonly label: string; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedScales: ((sensorType: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Sensor"]; + property: "supportedScales"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Sensor"]; + readonly endpoint: number; + readonly property: "supportedScales"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedSensorTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Sensor"]; + property: "supportedSensorTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Sensor"]; + readonly endpoint: number; + readonly property: "supportedSensorTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultilevelSensorCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MultilevelSensorCommand { + // (undocumented) + Get = 4, + // (undocumented) + GetSupportedScale = 3, + // (undocumented) + GetSupportedSensor = 1, + // (undocumented) + Report = 5, + // (undocumented) + SupportedScaleReport = 6, + // (undocumented) + SupportedSensorReport = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultilevelSensorValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MultilevelSensorValue { + // (undocumented) + scale: Scale_2; + // (undocumented) + value: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultilevelSensorValueMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MultilevelSensorValueMetadata = ValueMetadata_2 & { + ccSpecific: { + sensorType: number; + scale: number; + }; +}; + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCC extends CommandClass { + // (undocumented) + ccCommand: MultilevelSwitchCommand; + // (undocumented) + protected createMetadataForLevelChangeActions(applHost: ZWaveApplicationHost, switchType?: SwitchType): void; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + setMappedBasicValue(applHost: ZWaveApplicationHost, value: number): boolean; +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCGet extends MultilevelSwitchCC { +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCReport extends MultilevelSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get currentValue(): Maybe | undefined; + // (undocumented) + readonly duration: Duration | undefined; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly targetValue: number | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCSet extends MultilevelSwitchCC { + // Warning: (ae-forgotten-export) The symbol "MultilevelSwitchCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | MultilevelSwitchCCSetOptions); + // (undocumented) + duration: Duration | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + targetValue: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCStartLevelChange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCStartLevelChange extends MultilevelSwitchCC { + // Warning: (ae-forgotten-export) The symbol "MultilevelSwitchCCStartLevelChangeOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & MultilevelSwitchCCStartLevelChangeOptions)); + // (undocumented) + direction: keyof typeof LevelChangeDirection; + // (undocumented) + duration: Duration | undefined; + // (undocumented) + ignoreStartLevel: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + startLevel: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCStopLevelChange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCStopLevelChange extends MultilevelSwitchCC { +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCSupportedGet extends MultilevelSwitchCC { +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MultilevelSwitchCCSupportedReport extends MultilevelSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly switchType: SwitchType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "MultilevelSwitchCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MultilevelSwitchCCValues: Readonly<{ + levelChangeDown: ((switchType: SwitchType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: string; + }; + readonly meta: { + readonly label: `Perform a level change (${string})`; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly ccSpecific: { + readonly switchType: SwitchType; + }; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + levelChangeUp: ((switchType: SwitchType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: string; + }; + readonly meta: { + readonly label: `Perform a level change (${string})`; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly ccSpecific: { + readonly switchType: SwitchType; + }; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + superviseStartStopLevelChange: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "superviseStartStopLevelChange"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "superviseStartStopLevelChange"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + switchType: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "switchType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "switchType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + compatEvent: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "event"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "event"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Event value"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: false; + readonly autoCreate: (applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint) => boolean; + }; + }; + restorePrevious: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "restorePrevious"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "restorePrevious"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Restore previous value"; + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + duration: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "duration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "duration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Remaining duration"; + readonly writeable: false; + readonly type: "duration"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + targetValue: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "targetValue"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "targetValue"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Target value"; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly max: 99; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + currentValue: { + readonly id: { + commandClass: (typeof CommandClasses)["Multilevel Switch"]; + property: "currentValue"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Multilevel Switch"]; + readonly endpoint: number; + readonly property: "currentValue"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Current value"; + readonly writeable: false; + readonly max: 99; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultilevelSwitchCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MultilevelSwitchCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + StartLevelChange = 4, + // (undocumented) + StopLevelChange = 5, + // (undocumented) + SupportedGet = 6, + // (undocumented) + SupportedReport = 7 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "MultilevelSwitchLevelChangeMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MultilevelSwitchLevelChangeMetadata = ValueMetadata_2 & { + ccSpecific: { + switchType: SwitchType; + }; +}; + +// Warning: (ae-missing-release-tag) "NetworkTransferStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum NetworkTransferStatus { + // (undocumented) + Failed = 0, + // (undocumented) + Success = 1, + // (undocumented) + UpdateAborted = 3, + // (undocumented) + UpdateDisabled = 5, + // (undocumented) + UpdateDone = 2, + // (undocumented) + UpdateOverflow = 6, + // (undocumented) + UpdateWait = 4 +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCC extends CommandClass { + // (undocumented) + ccCommand: NodeNamingAndLocationCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + skipEndpointInterview(): boolean; +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCLocationGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCCLocationGet extends NodeNamingAndLocationCC { +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCLocationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCCLocationReport extends NodeNamingAndLocationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // (undocumented) + readonly location: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCLocationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCCLocationSet extends NodeNamingAndLocationCC { + // Warning: (ae-forgotten-export) The symbol "NodeNamingAndLocationCCLocationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | NodeNamingAndLocationCCLocationSetOptions); + // (undocumented) + location: string; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCNameGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCCNameGet extends NodeNamingAndLocationCC { +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCNameReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCCNameReport extends NodeNamingAndLocationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // (undocumented) + readonly name: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCNameSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NodeNamingAndLocationCCNameSet extends NodeNamingAndLocationCC { + // Warning: (ae-forgotten-export) The symbol "NodeNamingAndLocationCCNameSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | NodeNamingAndLocationCCNameSetOptions); + // (undocumented) + name: string; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const NodeNamingAndLocationCCValues: Readonly<{ + location: { + readonly id: { + commandClass: (typeof CommandClasses)["Node Naming and Location"]; + property: "location"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Node Naming and Location"]; + readonly endpoint: number; + readonly property: "location"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Node location"; + readonly type: "string"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + name: { + readonly id: { + commandClass: (typeof CommandClasses)["Node Naming and Location"]; + property: "name"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Node Naming and Location"]; + readonly endpoint: number; + readonly property: "name"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Node name"; + readonly type: "string"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "NodeNamingAndLocationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum NodeNamingAndLocationCommand { + // (undocumented) + LocationGet = 5, + // (undocumented) + LocationReport = 6, + // (undocumented) + LocationSet = 4, + // (undocumented) + NameGet = 2, + // (undocumented) + NameReport = 3, + // (undocumented) + NameSet = 1 +} + +// Warning: (ae-missing-release-tag) "NoOperationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NoOperationCC extends CommandClass { + // (undocumented) + ccCommand: undefined; +} + +// Warning: (ae-missing-release-tag) "NotificationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCC extends CommandClass { + // (undocumented) + ccCommand: NotificationCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + static getNotificationMode(applHost: ZWaveApplicationHost, node: IZWaveNode): "push" | "pull" | undefined; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "NotificationCCEventSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCEventSupportedGet extends NotificationCC { + // Warning: (ae-forgotten-export) The symbol "NotificationCCEventSupportedGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | NotificationCCEventSupportedGetOptions); + // (undocumented) + notificationType: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NotificationCCEventSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCEventSupportedReport extends NotificationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get notificationType(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + get supportedEvents(): readonly number[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NotificationCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCGet extends NotificationCC { + // Warning: (ae-forgotten-export) The symbol "NotificationCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | NotificationCCGetOptions); + alarmType: number | undefined; + // (undocumented) + notificationEvent: number | undefined; + notificationType: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NotificationCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCReport extends NotificationCC { + // Warning: (ae-forgotten-export) The symbol "NotificationCCReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (NotificationCCReportOptions & CCCommandOptions)); + // (undocumented) + alarmLevel: number | undefined; + // (undocumented) + alarmType: number | undefined; + // (undocumented) + eventParameters: Buffer | Duration | Record | undefined; + // (undocumented) + notificationEvent: number | undefined; + // (undocumented) + notificationStatus: boolean | number | undefined; + // (undocumented) + notificationType: number | undefined; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + sequenceNumber: number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly zensorNetSourceNodeId: number | undefined; +} + +// Warning: (ae-missing-release-tag) "NotificationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCSet extends NotificationCC { + // Warning: (ae-forgotten-export) The symbol "NotificationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | NotificationCCSetOptions); + // (undocumented) + notificationStatus: boolean; + // (undocumented) + notificationType: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NotificationCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCSupportedGet extends NotificationCC { +} + +// Warning: (ae-missing-release-tag) "NotificationCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationCCSupportedReport extends NotificationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedNotificationTypes: readonly number[]; + // (undocumented) + readonly supportsV1Alarm: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "NotificationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const NotificationCCValues: Readonly<{ + notificationVariable: ((notificationName: string, variableName: string) => { + readonly id: { + commandClass: CommandClasses.Notification; + property: string; + propertyKey: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: string; + readonly propertyKey: string; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + unknownNotificationVariable: ((notificationType: number, notificationName: string) => { + readonly id: { + commandClass: CommandClasses.Notification; + property: string; + propertyKey: "unknown"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: string; + readonly propertyKey: "unknown"; + }; + readonly meta: { + readonly label: `${string}: Unknown value`; + readonly ccSpecific: { + readonly notificationType: number; + }; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + unknownNotificationType: ((notificationType: number) => { + readonly id: { + commandClass: CommandClasses.Notification; + property: string; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: string; + }; + readonly meta: { + readonly label: `Unknown notification (${string})`; + readonly ccSpecific: { + readonly notificationType: number; + }; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + supportedNotificationEvents: ((notificationType: number) => { + readonly id: { + commandClass: CommandClasses.Notification; + property: "supportedNotificationEvents"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: "supportedNotificationEvents"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + alarmLevel: { + readonly id: { + commandClass: CommandClasses.Notification; + property: "alarmLevel"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: "alarmLevel"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Alarm Level"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + alarmType: { + readonly id: { + commandClass: CommandClasses.Notification; + property: "alarmType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: "alarmType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Alarm Type"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + notificationMode: { + readonly id: { + commandClass: CommandClasses.Notification; + property: "notificationMode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: "notificationMode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + supportedNotificationTypes: { + readonly id: { + commandClass: CommandClasses.Notification; + property: "supportedNotificationTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: "supportedNotificationTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; + supportsV1Alarm: { + readonly id: { + commandClass: CommandClasses.Notification; + property: "supportsV1Alarm"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Notification; + readonly endpoint: number; + readonly property: "supportsV1Alarm"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "NotificationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum NotificationCommand { + // (undocumented) + EventSupportedGet = 1, + // (undocumented) + EventSupportedReport = 2, + // (undocumented) + Get = 4, + // (undocumented) + Report = 5, + // (undocumented) + Set = 6, + // (undocumented) + SupportedGet = 7, + // (undocumented) + SupportedReport = 8 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "NotificationMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NotificationMetadata = ValueMetadata_2 & { + ccSpecific: { + notificationType: number; + }; +}; + +// Warning: (ae-missing-release-tag) "OwnMethodsOf" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OwnMethodsOf = Omit, keyof OnlyMethods>; + +// Warning: (ae-missing-release-tag) "parseWakeUpTime" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseWakeUpTime(value: number): WakeUpTime; + +// Warning: (ae-missing-release-tag) "PhysicalCCAPI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class PhysicalCCAPI extends CCAPI { + constructor(applHost: ZWaveApplicationHost_2, endpoint: IZWaveEndpoint_2 | IVirtualEndpoint); + // (undocumented) + protected readonly endpoint: IZWaveEndpoint_2; +} + +// Warning: (ae-missing-release-tag) "POLL_VALUE" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const POLL_VALUE: unique symbol; + +// Warning: (ae-missing-release-tag) "PollValueImplementation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PollValueImplementation = (property: ValueIDProperties) => Promise; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "Powerlevel" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum Powerlevel { + // (undocumented) + "-1 dBm" = 1, + // (undocumented) + "-2 dBm" = 2, + // (undocumented) + "-3 dBm" = 3, + // (undocumented) + "-4 dBm" = 4, + // (undocumented) + "-5 dBm" = 5, + // (undocumented) + "-6 dBm" = 6, + // (undocumented) + "-7 dBm" = 7, + // (undocumented) + "-8 dBm" = 8, + // (undocumented) + "-9 dBm" = 9, + // (undocumented) + "Normal Power" = 0 +} + +// Warning: (ae-missing-release-tag) "PowerlevelCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCC extends CommandClass { + // (undocumented) + ccCommand: PowerlevelCommand; +} + +// Warning: (ae-missing-release-tag) "PowerlevelCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCCGet extends PowerlevelCC { +} + +// Warning: (ae-missing-release-tag) "PowerlevelCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCCReport extends PowerlevelCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly powerlevel: Powerlevel; + // (undocumented) + readonly timeout?: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "PowerlevelCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCCSet extends PowerlevelCC { + // Warning: (ae-forgotten-export) The symbol "PowerlevelCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | PowerlevelCCSetOptions); + // (undocumented) + powerlevel: Powerlevel; + // (undocumented) + serialize(): Buffer; + // (undocumented) + timeout?: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "PowerlevelCCTestNodeGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCCTestNodeGet extends PowerlevelCC { +} + +// Warning: (ae-missing-release-tag) "PowerlevelCCTestNodeReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCCTestNodeReport extends PowerlevelCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly acknowledgedFrames: number; + // (undocumented) + readonly status: PowerlevelTestStatus; + // (undocumented) + readonly testNodeId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "PowerlevelCCTestNodeSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class PowerlevelCCTestNodeSet extends PowerlevelCC { + // Warning: (ae-forgotten-export) The symbol "PowerlevelCCTestNodeSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | PowerlevelCCTestNodeSetOptions); + // (undocumented) + powerlevel: Powerlevel; + // (undocumented) + serialize(): Buffer; + // (undocumented) + testFrameCount: number; + // (undocumented) + testNodeId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "PowerlevelCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum PowerlevelCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + TestNodeGet = 5, + // (undocumented) + TestNodeReport = 6, + // (undocumented) + TestNodeSet = 4 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "PowerlevelTestStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum PowerlevelTestStatus { + // (undocumented) + "In Progress" = 2, + // (undocumented) + Failed = 0, + // (undocumented) + Success = 1 +} + +// Warning: (ae-missing-release-tag) "ProtectionCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCC extends CommandClass { + // (undocumented) + ccCommand: ProtectionCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCExclusiveControlGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCExclusiveControlGet extends ProtectionCC { +} + +// Warning: (ae-missing-release-tag) "ProtectionCCExclusiveControlReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCExclusiveControlReport extends ProtectionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly exclusiveControlNodeId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCExclusiveControlSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCExclusiveControlSet extends ProtectionCC { + // Warning: (ae-forgotten-export) The symbol "ProtectionCCExclusiveControlSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ProtectionCCExclusiveControlSetOptions); + // (undocumented) + exclusiveControlNodeId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCGet extends ProtectionCC { +} + +// Warning: (ae-missing-release-tag) "ProtectionCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCReport extends ProtectionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly local: LocalProtectionState; + // (undocumented) + readonly rf?: RFProtectionState; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCSet extends ProtectionCC { + // Warning: (ae-forgotten-export) The symbol "ProtectionCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ProtectionCCSetOptions); + // (undocumented) + local: LocalProtectionState; + // (undocumented) + rf?: RFProtectionState; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCSupportedGet extends ProtectionCC { +} + +// Warning: (ae-missing-release-tag) "ProtectionCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCSupportedReport extends ProtectionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly supportedLocalStates: LocalProtectionState[]; + // (undocumented) + readonly supportedRFStates: RFProtectionState[]; + // (undocumented) + readonly supportsExclusiveControl: boolean; + // (undocumented) + readonly supportsTimeout: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCTimeoutGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCTimeoutGet extends ProtectionCC { +} + +// Warning: (ae-missing-release-tag) "ProtectionCCTimeoutReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCTimeoutReport extends ProtectionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly timeout: Timeout; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCTimeoutSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ProtectionCCTimeoutSet extends ProtectionCC { + // Warning: (ae-forgotten-export) The symbol "ProtectionCCTimeoutSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ProtectionCCTimeoutSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + timeout: Timeout; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ProtectionCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ProtectionCCValues: Readonly<{ + supportedRFStates: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "supportedRFStates"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "supportedRFStates"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedLocalStates: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "supportedLocalStates"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "supportedLocalStates"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsTimeout: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "supportsTimeout"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "supportsTimeout"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsExclusiveControl: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "supportsExclusiveControl"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "supportsExclusiveControl"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + timeout: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "timeout"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "timeout"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "RF protection timeout"; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + rfProtectionState: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "rf"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "rf"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "RF protection state"; + readonly states: { + [x: number]: string; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + localProtectionState: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "local"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "local"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Local protection state"; + readonly states: { + [x: number]: string; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + exclusiveControlNodeId: { + readonly id: { + commandClass: CommandClasses.Protection; + property: "exclusiveControlNodeId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Protection; + readonly endpoint: number; + readonly property: "exclusiveControlNodeId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly min: 1; + readonly max: 232; + readonly label: "Node ID with exclusive control"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ProtectionCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ProtectionCommand { + // (undocumented) + ExclusiveControlGet = 7, + // (undocumented) + ExclusiveControlReport = 8, + // (undocumented) + ExclusiveControlSet = 6, + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5, + // (undocumented) + TimeoutGet = 10, + // (undocumented) + TimeoutReport = 11, + // (undocumented) + TimeoutSet = 9 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "RateType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum RateType { + // (undocumented) + Consumed = 1, + // (undocumented) + Produced = 2, + // (undocumented) + Unspecified = 0 +} + +// Warning: (ae-missing-release-tag) "removeAssociations" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function removeAssociations(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, group: number, destinations: AssociationAddress[]): Promise; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "RFProtectionState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum RFProtectionState { + // (undocumented) + NoControl = 1, + // (undocumented) + NoResponse = 2, + // (undocumented) + Unprotected = 0 +} + +// Warning: (ae-missing-release-tag) "SceneActivationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneActivationCC extends CommandClass { + // (undocumented) + ccCommand: SceneActivationCommand; +} + +// Warning: (ae-missing-release-tag) "SceneActivationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneActivationCCSet extends SceneActivationCC { + // Warning: (ae-forgotten-export) The symbol "SceneActivationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SceneActivationCCSetOptions); + // (undocumented) + dimmingDuration: Duration | undefined; + // (undocumented) + sceneId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneActivationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SceneActivationCCValues: Readonly<{ + dimmingDuration: { + readonly id: { + commandClass: (typeof CommandClasses)["Scene Activation"]; + property: "dimmingDuration"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Scene Activation"]; + readonly endpoint: number; + readonly property: "dimmingDuration"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Dimming duration"; + readonly type: "duration"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + sceneId: { + readonly id: { + commandClass: (typeof CommandClasses)["Scene Activation"]; + property: "sceneId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Scene Activation"]; + readonly endpoint: number; + readonly property: "sceneId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly min: 1; + readonly label: "Scene ID"; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly secret: false; + readonly autoCreate: true; + readonly stateful: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SceneActivationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SceneActivationCommand { + // (undocumented) + Set = 1 +} + +// Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneActuatorConfigurationCC extends CommandClass { + // (undocumented) + ccCommand: SceneActuatorConfigurationCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneActuatorConfigurationCCGet extends SceneActuatorConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "SceneActuatorConfigurationCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SceneActuatorConfigurationCCGetOptions); + // (undocumented) + sceneId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneActuatorConfigurationCCReport extends SceneActuatorConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly dimmingDuration?: Duration; + // (undocumented) + readonly level?: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly sceneId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneActuatorConfigurationCCSet extends SceneActuatorConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "SceneActuatorConfigurationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SceneActuatorConfigurationCCSetOptions); + // (undocumented) + dimmingDuration: Duration; + // (undocumented) + level?: number; + // (undocumented) + sceneId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SceneActuatorConfigurationCCValues: Readonly<{ + dimmingDuration: ((sceneId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Scene Actuator Configuration"]; + property: "dimmingDuration"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Scene Actuator Configuration"]; + readonly endpoint: number; + readonly property: "dimmingDuration"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Dimming duration (${number})`; + readonly type: "duration"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + level: ((sceneId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Scene Actuator Configuration"]; + property: "level"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Scene Actuator Configuration"]; + readonly endpoint: number; + readonly property: "level"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Level (${number})`; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SceneActuatorConfigurationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SceneActuatorConfigurationCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (ae-missing-release-tag) "SceneControllerConfigurationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneControllerConfigurationCC extends CommandClass { + // (undocumented) + ccCommand: SceneControllerConfigurationCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + static getGroupCountCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): number; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneControllerConfigurationCCGet extends SceneControllerConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "SceneControllerConfigurationCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SceneControllerConfigurationCCGetOptions); + // (undocumented) + groupId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneControllerConfigurationCCReport extends SceneControllerConfigurationCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly dimmingDuration: Duration; + // (undocumented) + readonly groupId: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly sceneId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SceneControllerConfigurationCCSet extends SceneControllerConfigurationCC { + // Warning: (ae-forgotten-export) The symbol "SceneControllerConfigurationCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SceneControllerConfigurationCCSetOptions); + // (undocumented) + dimmingDuration: Duration; + // (undocumented) + groupId: number; + // (undocumented) + sceneId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SceneControllerConfigurationCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SceneControllerConfigurationCCValues: Readonly<{ + dimmingDuration: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Scene Controller Configuration"]; + property: "dimmingDuration"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Scene Controller Configuration"]; + readonly endpoint: number; + readonly property: "dimmingDuration"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Dimming duration (${number})`; + readonly type: "duration"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + sceneId: ((groupId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["Scene Controller Configuration"]; + property: "sceneId"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Scene Controller Configuration"]; + readonly endpoint: number; + readonly property: "sceneId"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `Associated Scene ID (${number})`; + readonly valueChangeOptions: readonly ["transitionDuration"]; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SceneControllerConfigurationCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SceneControllerConfigurationCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ScheduleOverrideType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ScheduleOverrideType { + // (undocumented) + None = 0, + // (undocumented) + Permanent = 2, + // (undocumented) + Temporary = 1 +} + +// Warning: (ae-missing-release-tag) "SchedulePollOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SchedulePollOptions { + // (undocumented) + duration?: Duration_2; + // (undocumented) + transition?: "fast" | "slow"; +} + +// Warning: (ae-missing-release-tag) "Security2CC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CC extends CommandClass { + // (undocumented) + ccCommand: Security2Command; + static encapsulate(host: ZWaveHost_2, cc: CommandClass, securityClass?: SecurityClass): Security2CCMessageEncapsulation; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + static requiresEncapsulation(cc: CommandClass): boolean; +} + +// Warning: (ae-missing-release-tag) "Security2CCCommandsSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCCommandsSupportedGet extends Security2CC { +} + +// Warning: (ae-missing-release-tag) "Security2CCCommandsSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCCommandsSupportedReport extends Security2CC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedCCs: CommandClasses_2[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCKEXFail" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCKEXFail extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCKEXFailOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | Security2CCKEXFailOptions); + // (undocumented) + failType: KEXFailType; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCKEXGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCKEXGet extends Security2CC { +} + +// Warning: (ae-missing-release-tag) "Security2CCKEXReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCKEXReport extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCKEXReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & Security2CCKEXReportOptions)); + // (undocumented) + readonly echo: boolean; + // (undocumented) + readonly requestCSA: boolean; + // (undocumented) + readonly requestedKeys: readonly SecurityClass[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + readonly supportedECDHProfiles: readonly ECDHProfiles[]; + // (undocumented) + readonly supportedKEXSchemes: readonly KEXSchemes[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCKEXSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCKEXSet extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCKEXSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & Security2CCKEXSetOptions)); + // (undocumented) + echo: boolean; + // (undocumented) + grantedKeys: SecurityClass[]; + // (undocumented) + permitCSA: boolean; + // (undocumented) + selectedECDHProfile: ECDHProfiles; + // (undocumented) + selectedKEXScheme: KEXSchemes; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCMessageEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCMessageEncapsulation extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCMessageEncapsulationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | Security2CCMessageEncapsulationOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + readonly decryptionKey?: Buffer; + // (undocumented) + encapsulated?: CommandClass; + // (undocumented) + extensions: Security2Extension[]; + // (undocumented) + host: ZWaveHost_2 & { + securityManager2: SecurityManager2; + }; + get sequenceNumber(): number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; + // (undocumented) + unsetSequenceNumber(): void; +} + +// Warning: (ae-missing-release-tag) "Security2CCNetworkKeyGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCNetworkKeyGet extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCNetworkKeyGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | Security2CCNetworkKeyGetOptions); + // (undocumented) + requestedKey: SecurityClass; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCNetworkKeyReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCNetworkKeyReport extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCNetworkKeyReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | Security2CCNetworkKeyReportOptions); + // (undocumented) + grantedKey: SecurityClass; + // (undocumented) + networkKey: Buffer; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCNetworkKeyVerify" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCNetworkKeyVerify extends Security2CC { +} + +// Warning: (ae-missing-release-tag) "Security2CCNonceGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCNonceGet extends Security2CC { + constructor(host: ZWaveHost_2, options: CCCommandOptions); + // (undocumented) + host: ZWaveHost_2 & { + securityManager2: SecurityManager2; + }; + get sequenceNumber(): number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCNonceReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCNonceReport extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCNonceReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & Security2CCNonceReportOptions)); + // (undocumented) + host: ZWaveHost_2 & { + securityManager2: SecurityManager2; + }; + // (undocumented) + readonly MOS: boolean; + // (undocumented) + readonly receiverEI?: Buffer; + get sequenceNumber(): number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + readonly SOS: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCPublicKeyReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCPublicKeyReport extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCPublicKeyReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | Security2CCPublicKeyReportOptions); + // (undocumented) + includingNode: boolean; + // (undocumented) + publicKey: Buffer; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "Security2CCTransferEnd" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2CCTransferEnd extends Security2CC { + // Warning: (ae-forgotten-export) The symbol "Security2CCTransferEndOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | Security2CCTransferEndOptions); + // (undocumented) + keyRequestComplete: boolean; + // (undocumented) + keyVerified: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "Security2Command" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum Security2Command { + // (undocumented) + CommandsSupportedGet = 13, + // (undocumented) + CommandsSupportedReport = 14, + // (undocumented) + KEXFail = 7, + // (undocumented) + KEXGet = 4, + // (undocumented) + KEXReport = 5, + // (undocumented) + KEXSet = 6, + // (undocumented) + MessageEncapsulation = 3, + // (undocumented) + NetworkKeyGet = 9, + // (undocumented) + NetworkKeyReport = 10, + // (undocumented) + NetworkKeyVerify = 11, + // (undocumented) + NonceGet = 1, + // (undocumented) + NonceReport = 2, + // (undocumented) + PublicKeyReport = 8, + // (undocumented) + TransferEnd = 12 +} + +// Warning: (ae-missing-release-tag) "Security2Extension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Security2Extension { + // Warning: (ae-forgotten-export) The symbol "Security2ExtensionOptions" needs to be exported by the entry point index.d.ts + constructor(options: Security2ExtensionOptions); + computeLength(): number; + // (undocumented) + critical: boolean; + static from(data: Buffer): Security2Extension; + static getConstructor(data: Buffer): Security2ExtensionConstructor; + static getExtensionLength(data: Buffer): number; + // (undocumented) + isEncrypted(): boolean; + // (undocumented) + readonly moreToFollow?: boolean; + // (undocumented) + payload: Buffer; + // (undocumented) + serialize(moreToFollow: boolean): Buffer; + // (undocumented) + toLogEntry(): string; + // (undocumented) + type: S2ExtensionType; +} + +// Warning: (ae-missing-release-tag) "SecurityCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCC extends CommandClass { + // (undocumented) + ccCommand: SecurityCommand; + static encapsulate(host: ZWaveHost_2, cc: CommandClass): SecurityCCCommandEncapsulation; + // (undocumented) + host: ZWaveHost_2 & { + securityManager: SecurityManager; + }; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + nodeId: number; + static requiresEncapsulation(cc: CommandClass): boolean; +} + +// Warning: (ae-missing-release-tag) "SecurityCCCommandEncapsulation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCCommandEncapsulation extends SecurityCC { + // Warning: (ae-forgotten-export) The symbol "SecurityCCCommandEncapsulationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SecurityCCCommandEncapsulationOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + encapsulated: CommandClass; + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: SecurityCCCommandEncapsulation[]): void; + // (undocumented) + nonce: Buffer | undefined; + // (undocumented) + get nonceId(): number | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "SecurityCCCommandEncapsulationNonceGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCCommandEncapsulationNonceGet extends SecurityCCCommandEncapsulation { +} + +// Warning: (ae-missing-release-tag) "SecurityCCCommandsSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCCommandsSupportedGet extends SecurityCC { +} + +// Warning: (ae-missing-release-tag) "SecurityCCCommandsSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCCommandsSupportedReport extends SecurityCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get controlledCCs(): CommandClasses_2[]; + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: SecurityCCCommandsSupportedReport[]): void; + // (undocumented) + readonly reportsToFollow: number; + // (undocumented) + get supportedCCs(): CommandClasses_2[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "SecurityCCNetworkKeySet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCNetworkKeySet extends SecurityCC { + // Warning: (ae-forgotten-export) The symbol "SecurityCCNetworkKeySetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SecurityCCNetworkKeySetOptions); + // (undocumented) + networkKey: Buffer; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "SecurityCCNetworkKeyVerify" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCNetworkKeyVerify extends SecurityCC { +} + +// Warning: (ae-missing-release-tag) "SecurityCCNonceGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCNonceGet extends SecurityCC { +} + +// Warning: (ae-missing-release-tag) "SecurityCCNonceReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCNonceReport extends SecurityCC { + // Warning: (ae-forgotten-export) The symbol "SecurityCCNonceReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SecurityCCNonceReportOptions); + // (undocumented) + nonce: Buffer; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "SecurityCCSchemeGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCSchemeGet extends SecurityCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "SecurityCCSchemeInherit" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCSchemeInherit extends SecurityCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "SecurityCCSchemeReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityCCSchemeReport extends SecurityCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SecurityCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SecurityCommand { + // (undocumented) + CommandEncapsulation = 129, + // (undocumented) + CommandEncapsulationNonceGet = 193, + // (undocumented) + CommandsSupportedGet = 2, + // (undocumented) + CommandsSupportedReport = 3, + // (undocumented) + NetworkKeySet = 6, + // (undocumented) + NetworkKeyVerify = 7, + // (undocumented) + NonceGet = 64, + // (undocumented) + NonceReport = 128, + // (undocumented) + SchemeGet = 4, + // (undocumented) + SchemeInherit = 8, + // (undocumented) + SchemeReport = 5 +} + +// Warning: (ae-missing-release-tag) "SET_VALUE" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const SET_VALUE: unique symbol; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SetbackSpecialState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SetbackSpecialState = "Frost Protection" | "Energy Saving" | "Unused"; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SetbackState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SetbackState = number | SetbackSpecialState; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SetbackType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SetbackType { + // (undocumented) + None = 0, + // (undocumented) + Permanent = 2, + // (undocumented) + Temporary = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SetValueAPIOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type SetValueAPIOptions = Partial; + +// Warning: (ae-missing-release-tag) "SetValueImplementation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SetValueImplementation = (property: ValueIDProperties, value: unknown, options?: SetValueAPIOptions) => Promise; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "shouldUseSupervision" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const shouldUseSupervision: (target: CommandClass) => boolean; + +// Warning: (ae-missing-release-tag) "SoundSwitchCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCC extends CommandClass { + // (undocumented) + ccCommand: SoundSwitchCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCConfigurationGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCConfigurationGet extends SoundSwitchCC { +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCConfigurationReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCConfigurationReport extends SoundSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly defaultToneId: number; + // (undocumented) + readonly defaultVolume: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCConfigurationSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCConfigurationSet extends SoundSwitchCC { + // Warning: (ae-forgotten-export) The symbol "SoundSwitchCCConfigurationSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SoundSwitchCCConfigurationSetOptions); + // (undocumented) + defaultToneId: number; + // (undocumented) + defaultVolume: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCToneInfoGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCToneInfoGet extends SoundSwitchCC { + // Warning: (ae-forgotten-export) The symbol "SoundSwitchCCToneInfoGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SoundSwitchCCToneInfoGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + toneId: number; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCToneInfoReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCToneInfoReport extends SoundSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly duration: number; + // (undocumented) + readonly name: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly toneId: number; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCTonePlayGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCTonePlayGet extends SoundSwitchCC { +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCTonePlayReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCTonePlayReport extends SoundSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly toneId: ToneId | number; + // (undocumented) + volume?: number; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCTonePlaySet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCTonePlaySet extends SoundSwitchCC { + // Warning: (ae-forgotten-export) The symbol "SoundSwitchCCTonePlaySetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SoundSwitchCCTonePlaySetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + toneId: ToneId | number; + // (undocumented) + volume?: number; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCTonesNumberGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCTonesNumberGet extends SoundSwitchCC { +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCTonesNumberReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SoundSwitchCCTonesNumberReport extends SoundSwitchCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly toneCount: number; +} + +// Warning: (ae-missing-release-tag) "SoundSwitchCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SoundSwitchCCValues: Readonly<{ + defaultToneId: { + readonly id: { + commandClass: (typeof CommandClasses)["Sound Switch"]; + property: "defaultToneId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Sound Switch"]; + readonly endpoint: number; + readonly property: "defaultToneId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly min: 0; + readonly max: 254; + readonly label: "Default tone ID"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + defaultVolume: { + readonly id: { + commandClass: (typeof CommandClasses)["Sound Switch"]; + property: "defaultVolume"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Sound Switch"]; + readonly endpoint: number; + readonly property: "defaultVolume"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly min: 0; + readonly max: 100; + readonly unit: "%"; + readonly label: "Default volume"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + toneId: { + readonly id: { + commandClass: (typeof CommandClasses)["Sound Switch"]; + property: "toneId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Sound Switch"]; + readonly endpoint: number; + readonly property: "toneId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Play Tone"; + readonly valueChangeOptions: readonly ["volume"]; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + volume: { + readonly id: { + commandClass: (typeof CommandClasses)["Sound Switch"]; + property: "volume"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Sound Switch"]; + readonly endpoint: number; + readonly property: "volume"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly min: 0; + readonly max: 100; + readonly unit: "%"; + readonly label: "Volume"; + readonly states: { + readonly 0: "default"; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SoundSwitchCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SoundSwitchCommand { + // (undocumented) + ConfigurationGet = 6, + // (undocumented) + ConfigurationReport = 7, + // (undocumented) + ConfigurationSet = 5, + // (undocumented) + ToneInfoGet = 3, + // (undocumented) + ToneInfoReport = 4, + // (undocumented) + TonePlayGet = 9, + // (undocumented) + TonePlayReport = 10, + // (undocumented) + TonePlaySet = 8, + // (undocumented) + TonesNumberGet = 1, + // (undocumented) + TonesNumberReport = 2 +} + +// Warning: (ae-missing-release-tag) "SPANExtension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SPANExtension extends Security2Extension { + // Warning: (ae-forgotten-export) The symbol "SPANExtensionOptions" needs to be exported by the entry point index.d.ts + constructor(options: Security2ExtensionDeserializationOptions | SPANExtensionOptions); + // (undocumented) + senderEI: Buffer; + // (undocumented) + serialize(moreToFollow: boolean): Buffer; + // (undocumented) + toLogEntry(): string; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SubsystemState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SubsystemState { + // (undocumented) + Off = 0, + // (undocumented) + On = 255 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SubsystemType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SubsystemType { + // (undocumented) + Audible = 1, + // (undocumented) + Visual = 2 +} + +// Warning: (ae-missing-release-tag) "SupervisionCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SupervisionCC extends CommandClass { + // (undocumented) + ccCommand: SupervisionCommand; + static encapsulate(host: ZWaveHost_2, cc: CommandClass, requestStatusUpdates?: boolean): SupervisionCCGet; + static getCCSupportedWithSupervision(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, ccId: CommandClasses): boolean; + static getSessionId(command: CommandClass): number | undefined; + static mayUseSupervision(applHost: ZWaveApplicationHost, command: T): command is SinglecastCC_2; + // (undocumented) + nodeId: number; + static requiresEncapsulation(cc: CommandClass): boolean; + static setCCSupportedWithSupervision(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint, ccId: CommandClasses, supported: boolean): void; +} + +// Warning: (ae-missing-release-tag) "SupervisionCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SupervisionCCGet extends SupervisionCC { + // Warning: (ae-forgotten-export) The symbol "SupervisionCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | SupervisionCCGetOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + encapsulated: CommandClass; + // (undocumented) + requestStatusUpdates: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + sessionId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SupervisionCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SupervisionCCReport extends SupervisionCC { + // Warning: (ae-forgotten-export) The symbol "SupervisionCCReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & SupervisionCCReportOptions)); + // (undocumented) + readonly duration: Duration | undefined; + // (undocumented) + readonly moreUpdatesFollow: boolean; + // (undocumented) + readonly requestWakeUpOnDemand: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + readonly sessionId: number; + // (undocumented) + readonly status: SupervisionStatus; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "SupervisionCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SupervisionCCValues: Readonly<{ + ccSupported: ((ccId: CommandClasses) => { + readonly id: { + commandClass: CommandClasses.Supervision; + property: "ccSupported"; + propertyKey: CommandClasses; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Supervision; + readonly endpoint: number; + readonly property: "ccSupported"; + readonly propertyKey: CommandClasses; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SupervisionCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SupervisionCommand { + // (undocumented) + Get = 1, + // (undocumented) + Report = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "Switchpoint" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface Switchpoint { + // (undocumented) + hour: number; + // (undocumented) + minute: number; + // (undocumented) + state: SetbackState | undefined; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "SwitchType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SwitchType { + // (undocumented) + "CCW/CW" = 4, + // (undocumented) + "Close/Open" = 3, + // (undocumented) + "Down/Up" = 2, + // (undocumented) + "Left/Right" = 5, + // (undocumented) + "not supported" = 0, + // (undocumented) + "Off/On" = 1, + // (undocumented) + "Pull/Push" = 7, + // (undocumented) + "Reverse/Forward" = 6 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatFanMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatFanMode { + // (undocumented) + "Auto high" = 2, + // (undocumented) + "Auto low" = 0, + // (undocumented) + "Auto medium" = 4, + // (undocumented) + "External circulation" = 11, + // (undocumented) + "Humidity circulation" = 7, + // (undocumented) + "Left and right" = 8, + // (undocumented) + "Up and down" = 9, + // (undocumented) + "Circulation" = 6, + // (undocumented) + "High" = 3, + // (undocumented) + "Low" = 1, + // (undocumented) + "Medium" = 5, + // (undocumented) + "Quiet" = 10 +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanModeCC extends CommandClass { + // (undocumented) + ccCommand: ThermostatFanModeCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanModeCCGet extends ThermostatFanModeCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanModeCCReport extends ThermostatFanModeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly mode: ThermostatFanMode; + // (undocumented) + readonly off: boolean | undefined; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanModeCCSet extends ThermostatFanModeCC { + // Warning: (ae-forgotten-export) The symbol "ThermostatFanModeCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ThermostatFanModeCCSetOptions); + // (undocumented) + mode: ThermostatFanMode; + // (undocumented) + off: boolean | undefined; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanModeCCSupportedGet extends ThermostatFanModeCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanModeCCSupportedReport extends ThermostatFanModeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly supportedModes: ThermostatFanMode[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatFanModeCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ThermostatFanModeCCValues: Readonly<{ + supportedFanModes: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Fan Mode"]; + property: "supportedModes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Fan Mode"]; + readonly endpoint: number; + readonly property: "supportedModes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + fanMode: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Fan Mode"]; + property: "mode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Fan Mode"]; + readonly endpoint: number; + readonly property: "mode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly states: { + [x: number]: string; + }; + readonly label: "Thermostat fan mode"; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + turnedOff: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Fan Mode"]; + property: "off"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Fan Mode"]; + readonly endpoint: number; + readonly property: "off"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Thermostat fan turned off"; + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatFanModeCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatFanModeCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatFanState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatFanState { + // (undocumented) + "Circulation mode" = 4, + // (undocumented) + "Humidity circulation mode" = 5, + // (undocumented) + "Idle / off" = 0, + // (undocumented) + "Quiet circulation mode" = 8, + // (undocumented) + "Right - left circulation mode" = 6, + // (undocumented) + "Running / running low" = 1, + // (undocumented) + "Running high" = 2, + // (undocumented) + "Running medium" = 3, + // (undocumented) + "Up - down circulation mode" = 7 +} + +// Warning: (ae-missing-release-tag) "ThermostatFanStateCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanStateCC extends CommandClass { + // (undocumented) + ccCommand: ThermostatFanStateCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ThermostatFanStateCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanStateCCGet extends ThermostatFanStateCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatFanStateCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatFanStateCCReport extends ThermostatFanStateCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly state: ThermostatFanState; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatFanStateCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ThermostatFanStateCCValues: Readonly<{ + fanState: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Fan State"]; + property: "state"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Fan State"]; + readonly endpoint: number; + readonly property: "state"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly states: { + [x: number]: string; + }; + readonly label: "Thermostat fan state"; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatFanStateCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatFanStateCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatMode { + // (undocumented) + "Auto changeover" = 10, + // (undocumented) + "Energy cool" = 12, + // (undocumented) + "Energy heat" = 11, + // (undocumented) + "Full power" = 15, + // (undocumented) + "Manufacturer specific" = 31, + // (undocumented) + "Resume (on)" = 5, + // (undocumented) + "Auto" = 3, + // (undocumented) + "Auxiliary" = 4, + // (undocumented) + "Away" = 13, + // (undocumented) + "Cool" = 2, + // (undocumented) + "Dry" = 8, + // (undocumented) + "Fan" = 6, + // (undocumented) + "Furnace" = 7, + // (undocumented) + "Heat" = 1, + // (undocumented) + "Moist" = 9, + // (undocumented) + "Off" = 0 +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatModeCC extends CommandClass { + // (undocumented) + ccCommand: ThermostatModeCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatModeCCGet extends ThermostatModeCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatModeCCReport extends ThermostatModeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | CCCommandOptions); + // (undocumented) + readonly manufacturerData: Buffer | undefined; + // (undocumented) + readonly mode: ThermostatMode; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatModeCCSet extends ThermostatModeCC { + // Warning: (ae-forgotten-export) The symbol "ThermostatModeCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ThermostatModeCCSetOptions); + // (undocumented) + manufacturerData?: Buffer; + // (undocumented) + mode: ThermostatMode; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatModeCCSupportedGet extends ThermostatModeCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatModeCCSupportedReport extends ThermostatModeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly supportedModes: ThermostatMode[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatModeCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ThermostatModeCCValues: Readonly<{ + supportedModes: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Mode"]; + property: "supportedModes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Mode"]; + readonly endpoint: number; + readonly property: "supportedModes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + manufacturerData: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Mode"]; + property: "manufacturerData"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Mode"]; + readonly endpoint: number; + readonly property: "manufacturerData"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Manufacturer data"; + readonly writeable: false; + readonly type: "buffer"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + thermostatMode: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Mode"]; + property: "mode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Mode"]; + readonly endpoint: number; + readonly property: "mode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly states: { + [x: number]: string; + }; + readonly label: "Thermostat mode"; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatModeCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatModeCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatOperatingState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatOperatingState { + // (undocumented) + "2nd Stage Aux Heat" = 10, + // (undocumented) + "2nd Stage Cooling" = 9, + // (undocumented) + "2nd Stage Heating" = 8, + // (undocumented) + "3rd Stage Aux Heat" = 11, + // (undocumented) + "Aux Heating" = 7, + // (undocumented) + "Fan Only" = 3, + // (undocumented) + "Pending Cool" = 5, + // (undocumented) + "Pending Heat" = 4, + // (undocumented) + "Vent/Economizer" = 6, + // (undocumented) + "Cooling" = 2, + // (undocumented) + "Heating" = 1, + // (undocumented) + "Idle" = 0 +} + +// Warning: (ae-missing-release-tag) "ThermostatOperatingStateCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatOperatingStateCC extends CommandClass { + // (undocumented) + ccCommand: ThermostatOperatingStateCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ThermostatOperatingStateCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatOperatingStateCCGet extends ThermostatOperatingStateCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatOperatingStateCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatOperatingStateCCReport extends ThermostatOperatingStateCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly state: ThermostatOperatingState; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatOperatingStateCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ThermostatOperatingStateCCValues: Readonly<{ + operatingState: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Operating State"]; + property: "state"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Operating State"]; + readonly endpoint: number; + readonly property: "state"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Operating state"; + readonly states: { + [x: number]: string; + }; + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatOperatingStateCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatOperatingStateCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3 +} + +// Warning: (ae-missing-release-tag) "ThermostatSetbackCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetbackCC extends CommandClass { + // (undocumented) + ccCommand: ThermostatSetbackCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetbackCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetbackCCGet extends ThermostatSetbackCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatSetbackCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetbackCCReport extends ThermostatSetbackCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly setbackState: SetbackState; + // (undocumented) + readonly setbackType: SetbackType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetbackCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetbackCCSet extends ThermostatSetbackCC { + // Warning: (ae-forgotten-export) The symbol "ThermostatSetbackCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ThermostatSetbackCCSetOptions); + // (undocumented) + serialize(): Buffer; + setbackState: SetbackState; + // (undocumented) + setbackType: SetbackType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetbackCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ThermostatSetbackCCValues: Readonly<{ + setbackState: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Setback"]; + property: "setbackState"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Setback"]; + readonly endpoint: number; + readonly property: "setbackState"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly min: -12.8; + readonly max: 12; + readonly label: "Setback state"; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + setbackType: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Setback"]; + property: "setbackType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Setback"]; + readonly endpoint: number; + readonly property: "setbackType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Setback type"; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatSetbackCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatSetbackCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatSetpointCapabilities" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ThermostatSetpointCapabilities { + // (undocumented) + maxValue: number; + // (undocumented) + maxValueScale: number; + // (undocumented) + minValue: number; + // (undocumented) + minValueScale: number; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCC extends CommandClass { + // (undocumented) + ccCommand: ThermostatSetpointCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + translatePropertyKey(applHost: ZWaveApplicationHost, property: string | number, propertyKey: string | number): string | undefined; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCCapabilitiesGet extends ThermostatSetpointCC { + // Warning: (ae-forgotten-export) The symbol "ThermostatSetpointCCCapabilitiesGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ThermostatSetpointCCCapabilitiesGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: ThermostatSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCCapabilitiesReport extends ThermostatSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get maxValue(): number; + // (undocumented) + get maxValueScale(): number; + // (undocumented) + get minValue(): number; + // (undocumented) + get minValueScale(): number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get type(): ThermostatSetpointType; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCGet extends ThermostatSetpointCC { + // Warning: (ae-forgotten-export) The symbol "ThermostatSetpointCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ThermostatSetpointCCGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: ThermostatSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCReport extends ThermostatSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + readonly scale: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + get type(): ThermostatSetpointType; + // (undocumented) + get value(): number; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCSet extends ThermostatSetpointCC { + // Warning: (ae-forgotten-export) The symbol "ThermostatSetpointCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | ThermostatSetpointCCSetOptions); + // (undocumented) + scale: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + setpointType: ThermostatSetpointType; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCSupportedGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCSupportedGet extends ThermostatSetpointCC { +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCSupportedReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ThermostatSetpointCCSupportedReport extends ThermostatSetpointCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedSetpointTypes: readonly ThermostatSetpointType[]; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "ThermostatSetpointCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ThermostatSetpointCCValues: Readonly<{ + setpointScale: ((setpointType: ThermostatSetpointType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + property: "setpointScale"; + propertyKey: ThermostatSetpointType; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + readonly endpoint: number; + readonly property: "setpointScale"; + readonly propertyKey: ThermostatSetpointType; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + setpoint: ((setpointType: ThermostatSetpointType) => { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + property: "setpoint"; + propertyKey: ThermostatSetpointType; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + readonly endpoint: number; + readonly property: "setpoint"; + readonly propertyKey: ThermostatSetpointType; + }; + readonly meta: { + readonly label: `Setpoint (${string})`; + readonly ccSpecific: { + readonly setpointType: ThermostatSetpointType; + }; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + setpointTypesInterpretation: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + property: "setpointTypesInterpretation"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + readonly endpoint: number; + readonly property: "setpointTypesInterpretation"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedSetpointTypes: { + readonly id: { + commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + property: "supportedSetpointTypes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Thermostat Setpoint"]; + readonly endpoint: number; + readonly property: "supportedSetpointTypes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatSetpointCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatSetpointCommand { + // (undocumented) + CapabilitiesGet = 9, + // (undocumented) + CapabilitiesReport = 10, + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + SupportedGet = 4, + // (undocumented) + SupportedReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatSetpointMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ThermostatSetpointMetadata = ValueMetadata_2 & { + ccSpecific: { + setpointType: ThermostatSetpointType; + }; +}; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatSetpointType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ThermostatSetpointType { + // (undocumented) + "Auto Changeover" = 10, + // (undocumented) + "Away Cooling" = 14, + // (undocumented) + "Away Heating" = 13, + // (undocumented) + "Dry Air" = 8, + // (undocumented) + "Energy Save Cooling" = 12, + // (undocumented) + "Energy Save Heating" = 11, + // (undocumented) + "Full Power" = 15, + // (undocumented) + "Moist Air" = 9, + // (undocumented) + "N/A" = 0, + // (undocumented) + "Cooling" = 2, + // (undocumented) + "Furnace" = 7, + // (undocumented) + "Heating" = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ThermostatSetpointValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ThermostatSetpointValue { + // (undocumented) + scale: number; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "throwMissingPropertyKey" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function throwMissingPropertyKey(cc: CommandClasses_2, property: string | number): never; + +// Warning: (ae-missing-release-tag) "throwUnsupportedProperty" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function throwUnsupportedProperty(cc: CommandClasses_2, property: string | number): never; + +// Warning: (ae-missing-release-tag) "throwUnsupportedPropertyKey" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function throwUnsupportedPropertyKey(cc: CommandClasses_2, property: string | number, propertyKey: string | number): never; + +// Warning: (ae-missing-release-tag) "throwWrongValueType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function throwWrongValueType(cc: CommandClasses_2, property: string | number, expectedType: string, receivedType: string): never; + +// Warning: (ae-missing-release-tag) "TimeCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCC extends CommandClass { + // (undocumented) + ccCommand: TimeCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "TimeCCDateGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCDateGet extends TimeCC { +} + +// Warning: (ae-missing-release-tag) "TimeCCDateReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCDateReport extends TimeCC { + // Warning: (ae-forgotten-export) The symbol "TimeCCDateReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TimeCCDateReportOptions); + // (undocumented) + day: number; + // (undocumented) + month: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; + // (undocumented) + year: number; +} + +// Warning: (ae-missing-release-tag) "TimeCCTimeGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCTimeGet extends TimeCC { +} + +// Warning: (ae-missing-release-tag) "TimeCCTimeOffsetGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCTimeOffsetGet extends TimeCC { +} + +// Warning: (ae-missing-release-tag) "TimeCCTimeOffsetReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCTimeOffsetReport extends TimeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get dstEndDate(): Date; + // (undocumented) + get dstOffset(): number; + // (undocumented) + get dstStartDate(): Date; + // (undocumented) + get standardOffset(): number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "TimeCCTimeOffsetSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCTimeOffsetSet extends TimeCC { + // Warning: (ae-forgotten-export) The symbol "TimeCCTimeOffsetSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TimeCCTimeOffsetSetOptions); + // (undocumented) + dstEndDate: Date; + // (undocumented) + dstOffset: number; + // (undocumented) + dstStartDate: Date; + // (undocumented) + serialize(): Buffer; + // (undocumented) + standardOffset: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "TimeCCTimeReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeCCTimeReport extends TimeCC { + // Warning: (ae-forgotten-export) The symbol "TimeCCTimeReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TimeCCTimeReportOptions); + // (undocumented) + hour: number; + // (undocumented) + minute: number; + // (undocumented) + second: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "TimeCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum TimeCommand { + // (undocumented) + DateGet = 3, + // (undocumented) + DateReport = 4, + // (undocumented) + TimeGet = 1, + // (undocumented) + TimeOffsetGet = 6, + // (undocumented) + TimeOffsetReport = 7, + // (undocumented) + TimeOffsetSet = 5, + // (undocumented) + TimeReport = 2 +} + +// Warning: (ae-missing-release-tag) "TimeParametersCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeParametersCC extends CommandClass { + // (undocumented) + ccCommand: TimeParametersCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "TimeParametersCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeParametersCCGet extends TimeParametersCC { +} + +// Warning: (ae-missing-release-tag) "TimeParametersCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeParametersCCReport extends TimeParametersCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get dateAndTime(): Date; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "TimeParametersCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TimeParametersCCSet extends TimeParametersCC { + // Warning: (ae-forgotten-export) The symbol "TimeParametersCCSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TimeParametersCCSetOptions); + // (undocumented) + dateAndTime: Date; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry; +} + +// Warning: (ae-missing-release-tag) "TimeParametersCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const TimeParametersCCValues: Readonly<{ + dateAndTime: { + readonly id: { + commandClass: (typeof CommandClasses_2)["Time Parameters"]; + property: "dateAndTime"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses_2)["Time Parameters"]; + readonly endpoint: number; + readonly property: "dateAndTime"; + }; + readonly is: (valueId: ValueID) => boolean; + readonly meta: { + readonly label: "Date and Time"; + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "TimeParametersCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum TimeParametersCommand { + // (undocumented) + Get = 2, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ToneId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ToneId { + // (undocumented) + Default = 255, + // (undocumented) + Off = 0 +} + +// Warning: (ae-missing-release-tag) "TransportServiceCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TransportServiceCC extends CommandClass implements SinglecastCC_2 { + // (undocumented) + ccCommand: TransportServiceCommand; + // (undocumented) + protected deserialize(data: Buffer): { + ccId: CommandClasses; + ccCommand: number; + payload: Buffer; + }; + static encapsulate(_host: ZWaveHost_2, _cc: CommandClass): TransportServiceCC; + // (undocumented) + static getCCCommand(data: Buffer): number | undefined; + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "TransportServiceCCFirstSegment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TransportServiceCCFirstSegment extends TransportServiceCC { + // Warning: (ae-forgotten-export) The symbol "TransportServiceCCFirstSegmentOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TransportServiceCCFirstSegmentOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + datagramSize: number; + // (undocumented) + encapsulated: CommandClass; + // (undocumented) + expectMoreMessages(): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + headerExtension: Buffer | undefined; + // (undocumented) + partialDatagram: Buffer; + // (undocumented) + serialize(): Buffer; + // (undocumented) + sessionId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "TransportServiceCCSegmentComplete" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TransportServiceCCSegmentComplete extends TransportServiceCC { + // Warning: (ae-forgotten-export) The symbol "TransportServiceCCSegmentCompleteOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TransportServiceCCSegmentCompleteOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + sessionId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "TransportServiceCCSegmentRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TransportServiceCCSegmentRequest extends TransportServiceCC { + // Warning: (ae-forgotten-export) The symbol "TransportServiceCCSegmentRequestOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TransportServiceCCSegmentRequestOptions); + // (undocumented) + datagramOffset: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + sessionId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "TransportServiceCCSegmentWait" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TransportServiceCCSegmentWait extends TransportServiceCC { + // Warning: (ae-forgotten-export) The symbol "TransportServiceCCSegmentWaitOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TransportServiceCCSegmentWaitOptions); + // (undocumented) + pendingSegments: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "TransportServiceCCSubsequentSegment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class TransportServiceCCSubsequentSegment extends TransportServiceCC { + // Warning: (ae-forgotten-export) The symbol "TransportServiceCCSubsequentSegmentOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | TransportServiceCCSubsequentSegmentOptions); + // (undocumented) + protected computeEncapsulationOverhead(): number; + // (undocumented) + datagramOffset: number; + // (undocumented) + datagramSize: number; + // (undocumented) + get encapsulated(): CommandClass; + // (undocumented) + expectMoreMessages(session: [ + TransportServiceCCFirstSegment, + ...TransportServiceCCSubsequentSegment[] + ]): boolean; + // (undocumented) + getPartialCCSessionId(): Record | undefined; + // (undocumented) + headerExtension: Buffer | undefined; + // (undocumented) + mergePartialCCs(applHost: ZWaveApplicationHost, partials: [ + TransportServiceCCFirstSegment, + ...TransportServiceCCSubsequentSegment[] + ]): void; + // (undocumented) + partialDatagram: Buffer; + // (undocumented) + serialize(): Buffer; + // (undocumented) + sessionId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "TransportServiceCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum TransportServiceCommand { + // (undocumented) + FirstSegment = 192, + // (undocumented) + SegmentComplete = 232, + // (undocumented) + SegmentRequest = 200, + // (undocumented) + SegmentWait = 240, + // (undocumented) + SubsequentSegment = 224 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "TransportServiceTimeouts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const TransportServiceTimeouts: { + requestMissingSegmentR2: number; + requestMissingSegmentR3: number; +}; + +// Warning: (ae-missing-release-tag) "UserCodeCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCC extends CommandClass { + // (undocumented) + ccCommand: UserCodeCommand; + static getSupportedASCIICharsCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): string | undefined; + static getSupportedKeypadModesCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): KeypadMode[] | undefined; + static getSupportedUserIDStatusesCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): UserIDStatus[] | undefined; + static getSupportedUsersCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): number | undefined; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; + // (undocumented) + refreshValues(applHost: ZWaveApplicationHost): Promise; + static supportsMasterCodeDeactivationCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): boolean; + static supportsMultipleUserCodeSetCached(applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint): boolean; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCCapabilitiesGet extends UserCodeCC { +} + +// Warning: (ae-missing-release-tag) "UserCodeCCCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCCapabilitiesReport extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedASCIIChars: string; + // (undocumented) + readonly supportedKeypadModes: readonly KeypadMode[]; + // (undocumented) + readonly supportedUserIDStatuses: readonly UserIDStatus[]; + // (undocumented) + readonly supportsMasterCode: boolean; + // (undocumented) + readonly supportsMasterCodeDeactivation: boolean; + // (undocumented) + readonly supportsMultipleUserCodeReport: boolean; + // (undocumented) + readonly supportsMultipleUserCodeSet: boolean; + // (undocumented) + readonly supportsUserCodeChecksum: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCExtendedUserCodeGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCExtendedUserCodeGet extends UserCodeCC { + // Warning: (ae-forgotten-export) The symbol "UserCodeCCExtendedUserCodeGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | UserCodeCCExtendedUserCodeGetOptions); + // (undocumented) + reportMore: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + userId: number; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCExtendedUserCodeReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCExtendedUserCodeReport extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly nextUserId: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // Warning: (ae-forgotten-export) The symbol "UserCode" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly userCodes: readonly UserCode[]; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCExtendedUserCodeSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCExtendedUserCodeSet extends UserCodeCC { + // Warning: (ae-forgotten-export) The symbol "UserCodeCCExtendedUserCodeSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | UserCodeCCExtendedUserCodeSetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // Warning: (ae-forgotten-export) The symbol "UserCodeCCSetOptions" needs to be exported by the entry point index.d.ts + // + // (undocumented) + userCodes: UserCodeCCSetOptions[]; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCGet extends UserCodeCC { + // Warning: (ae-forgotten-export) The symbol "UserCodeCCGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | UserCodeCCGetOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + userId: number; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCKeypadModeGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCKeypadModeGet extends UserCodeCC { +} + +// Warning: (ae-missing-release-tag) "UserCodeCCKeypadModeReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCKeypadModeReport extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly keypadMode: KeypadMode; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCKeypadModeSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCKeypadModeSet extends UserCodeCC { + // Warning: (ae-forgotten-export) The symbol "UserCodeCCKeypadModeSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | UserCodeCCKeypadModeSetOptions); + // (undocumented) + keypadMode: KeypadMode; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCMasterCodeGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCMasterCodeGet extends UserCodeCC { +} + +// Warning: (ae-missing-release-tag) "UserCodeCCMasterCodeReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCMasterCodeReport extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly masterCode: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCMasterCodeSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCMasterCodeSet extends UserCodeCC { + // Warning: (ae-forgotten-export) The symbol "UserCodeCCMasterCodeSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | UserCodeCCMasterCodeSetOptions); + // (undocumented) + masterCode: string; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-forgotten-export) The symbol "NotificationEventPayload" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UserCodeCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCReport extends UserCodeCC implements NotificationEventPayload { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + toNotificationEventParameters(): { + userId: number; + }; + // (undocumented) + readonly userCode: string | Buffer; + // (undocumented) + readonly userId: number; + // (undocumented) + readonly userIdStatus: UserIDStatus; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCSet extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & UserCodeCCSetOptions)); + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + userCode: string | Buffer; + // (undocumented) + userId: number; + // (undocumented) + userIdStatus: UserIDStatus; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCUserCodeChecksumGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCUserCodeChecksumGet extends UserCodeCC { +} + +// Warning: (ae-missing-release-tag) "UserCodeCCUserCodeChecksumReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCUserCodeChecksumReport extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly userCodeChecksum: number; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCUsersNumberGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCUsersNumberGet extends UserCodeCC { +} + +// Warning: (ae-missing-release-tag) "UserCodeCCUsersNumberReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class UserCodeCCUsersNumberReport extends UserCodeCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportedUsers: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "UserCodeCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const UserCodeCCValues: Readonly<{ + userCode: ((userId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "userCode"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "userCode"; + readonly propertyKey: number; + }; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly autoCreate: true; + readonly secret: true; + }; + }; + userIdStatus: ((userId: number) => { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "userIdStatus"; + propertyKey: number; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "userIdStatus"; + readonly propertyKey: number; + }; + readonly meta: { + readonly label: `User ID status (${number})`; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + }) & { + is: (valueId: ValueID_2) => boolean; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly secret: false; + readonly stateful: true; + readonly supportsEndpoints: true; + readonly autoCreate: true; + }; + }; + masterCode: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "masterCode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "masterCode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Master Code"; + readonly minLength: 4; + readonly maxLength: 10; + readonly type: "string"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly autoCreate: true; + readonly minVersion: 2; + readonly secret: true; + }; + }; + keypadMode: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "keypadMode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "keypadMode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Keypad Mode"; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + }; + }; + userCodeChecksum: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "userCodeChecksum"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "userCodeChecksum"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedASCIIChars: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportedASCIIChars"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportedASCIIChars"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedKeypadModes: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportedKeypadModes"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportedKeypadModes"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedUserIDStatuses: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportedUserIDStatuses"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportedUserIDStatuses"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsMultipleUserCodeSet: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportsMultipleUserCodeSet"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportsMultipleUserCodeSet"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsMultipleUserCodeReport: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportsMultipleUserCodeReport"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportsMultipleUserCodeReport"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsUserCodeChecksum: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportsUserCodeChecksum"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportsUserCodeChecksum"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsMasterCodeDeactivation: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportsMasterCodeDeactivation"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportsMasterCodeDeactivation"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportsMasterCode: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportsMasterCode"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportsMasterCode"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + supportedUsers: { + readonly id: { + commandClass: (typeof CommandClasses)["User Code"]; + property: "supportedUsers"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["User Code"]; + readonly endpoint: number; + readonly property: "supportedUsers"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "UserCodeCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum UserCodeCommand { + // (undocumented) + CapabilitiesGet = 6, + // (undocumented) + CapabilitiesReport = 7, + // (undocumented) + ExtendedUserCodeGet = 12, + // (undocumented) + ExtendedUserCodeReport = 13, + // (undocumented) + ExtendedUserCodeSet = 11, + // (undocumented) + Get = 2, + // (undocumented) + KeypadModeGet = 9, + // (undocumented) + KeypadModeReport = 10, + // (undocumented) + KeypadModeSet = 8, + // (undocumented) + MasterCodeGet = 15, + // (undocumented) + MasterCodeReport = 16, + // (undocumented) + MasterCodeSet = 14, + // (undocumented) + Report = 3, + // (undocumented) + Set = 1, + // (undocumented) + UserCodeChecksumGet = 17, + // (undocumented) + UserCodeChecksumReport = 18, + // (undocumented) + UsersNumberGet = 4, + // (undocumented) + UsersNumberReport = 5 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "UserIDStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum UserIDStatus { + // (undocumented) + Available = 0, + // (undocumented) + Disabled = 2, + // (undocumented) + Enabled = 1, + // (undocumented) + Messaging = 3, + // (undocumented) + PassageMode = 4, + // (undocumented) + StatusNotAvailable = 254 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "useSupervision" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const useSupervision: () => TypedClassDecorator_2; + +declare namespace utils { + export { + getAssociations, + getAllAssociations, + isAssociationAllowed, + getAssociationGroups, + getAllAssociationGroups, + addAssociations, + removeAssociations, + configureLifelineAssociations + } +} +export { utils } + +// Warning: (ae-missing-release-tag) "ValueIDProperties" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ValueIDProperties = Pick; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ValveId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ValveId = "master" | number; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ValveTableEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValveTableEntry { + // (undocumented) + duration: number; + // (undocumented) + valveId: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ValveType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ValveType { + // (undocumented) + MasterValve = 1, + // (undocumented) + ZoneValve = 0 +} + +// Warning: (ae-missing-release-tag) "VersionCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCC extends CommandClass { + // (undocumented) + ccCommand: VersionCommand; + // (undocumented) + determineRequiredCCInterviews(): readonly CommandClasses[]; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "VersionCCCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCCapabilitiesGet extends VersionCC { +} + +// Warning: (ae-missing-release-tag) "VersionCCCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCCapabilitiesReport extends VersionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly supportsZWaveSoftwareGet: boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "VersionCCCommandClassGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCCommandClassGet extends VersionCC { + // Warning: (ae-forgotten-export) The symbol "VersionCCCommandClassGetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | VersionCCCommandClassGetOptions); + // (undocumented) + requestedCC: CommandClasses; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "VersionCCCommandClassReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCCommandClassReport extends VersionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + get ccVersion(): number; + // (undocumented) + get requestedCC(): CommandClasses; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "VersionCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCGet extends VersionCC { +} + +// Warning: (ae-missing-release-tag) "VersionCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCReport extends VersionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly firmwareVersions: string[]; + // (undocumented) + readonly hardwareVersion: number | undefined; + // (undocumented) + readonly libraryType: ZWaveLibraryTypes; + // (undocumented) + readonly protocolVersion: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; +} + +// Warning: (ae-missing-release-tag) "VersionCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const VersionCCValues: Readonly<{ + applicationBuildNumber: { + readonly id: { + commandClass: CommandClasses.Version; + property: "applicationBuildNumber"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "applicationBuildNumber"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Application build number"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + applicationVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "applicationVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "applicationVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Application version"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + zWaveProtocolBuildNumber: { + readonly id: { + commandClass: CommandClasses.Version; + property: "zWaveProtocolBuildNumber"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "zWaveProtocolBuildNumber"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Z-Wave protocol build number"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + zWaveProtocolVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "zWaveProtocolVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "zWaveProtocolVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Z-Wave protocol version"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + serialAPIBuildNumber: { + readonly id: { + commandClass: CommandClasses.Version; + property: "hostInterfaceBuildNumber"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "hostInterfaceBuildNumber"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Serial API build number"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + serialAPIVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "hostInterfaceVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "hostInterfaceVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Serial API version"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + applicationFrameworkBuildNumber: { + readonly id: { + commandClass: CommandClasses.Version; + property: "applicationFrameworkBuildNumber"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "applicationFrameworkBuildNumber"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Z-Wave application framework API build number"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + applicationFrameworkAPIVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "applicationFrameworkAPIVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "applicationFrameworkAPIVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Z-Wave application framework API version"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + sdkVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "sdkVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "sdkVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "SDK version"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly supportsEndpoints: false; + }; + }; + supportsZWaveSoftwareGet: { + readonly id: { + commandClass: CommandClasses.Version; + property: "supportsZWaveSoftwareGet"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "supportsZWaveSoftwareGet"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 3; + readonly internal: true; + }; + }; + hardwareVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "hardwareVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "hardwareVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Z-Wave chip hardware version"; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly minVersion: 2; + readonly supportsEndpoints: false; + }; + }; + protocolVersion: { + readonly id: { + commandClass: CommandClasses.Version; + property: "protocolVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "protocolVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Z-Wave protocol version"; + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + libraryType: { + readonly id: { + commandClass: CommandClasses.Version; + property: "libraryType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "libraryType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Library type"; + readonly states: { + [x: number]: string; + }; + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + firmwareVersions: { + readonly id: { + commandClass: CommandClasses.Version; + property: "firmwareVersions"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: CommandClasses.Version; + readonly endpoint: number; + readonly property: "firmwareVersions"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "string[]"; + readonly label: "Z-Wave chip firmware versions"; + readonly writeable: false; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (ae-missing-release-tag) "VersionCCZWaveSoftwareGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCZWaveSoftwareGet extends VersionCC { +} + +// Warning: (ae-missing-release-tag) "VersionCCZWaveSoftwareReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VersionCCZWaveSoftwareReport extends VersionCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly applicationBuildNumber: number; + // (undocumented) + readonly applicationFrameworkAPIVersion: string; + // (undocumented) + readonly applicationFrameworkBuildNumber: number; + // (undocumented) + readonly applicationVersion: string; + // (undocumented) + readonly hostInterfaceBuildNumber: number; + // (undocumented) + readonly hostInterfaceVersion: string; + // (undocumented) + readonly sdkVersion: string; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly zWaveProtocolBuildNumber: number; + // (undocumented) + readonly zWaveProtocolVersion: string; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "VersionCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum VersionCommand { + // (undocumented) + CapabilitiesGet = 21, + // (undocumented) + CapabilitiesReport = 22, + // (undocumented) + CommandClassGet = 19, + // (undocumented) + CommandClassReport = 20, + // (undocumented) + Get = 17, + // (undocumented) + Report = 18, + // (undocumented) + ZWaveSoftwareGet = 23, + // (undocumented) + ZWaveSoftwareReport = 24 +} + +// Warning: (ae-missing-release-tag) "WakeUpCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCC extends CommandClass { + // (undocumented) + ccCommand: WakeUpCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "WakeUpCCIntervalCapabilitiesGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCIntervalCapabilitiesGet extends WakeUpCC { +} + +// Warning: (ae-missing-release-tag) "WakeUpCCIntervalCapabilitiesReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCIntervalCapabilitiesReport extends WakeUpCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly defaultWakeUpInterval: number; + // (undocumented) + readonly maxWakeUpInterval: number; + // (undocumented) + readonly minWakeUpInterval: number; + // (undocumented) + persistValues(applHost: ZWaveApplicationHost): boolean; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly wakeUpIntervalSteps: number; + // (undocumented) + readonly wakeUpOnDemandSupported: boolean; +} + +// Warning: (ae-missing-release-tag) "WakeUpCCIntervalGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCIntervalGet extends WakeUpCC { +} + +// Warning: (ae-missing-release-tag) "WakeUpCCIntervalReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCIntervalReport extends WakeUpCC { + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions); + // (undocumented) + readonly controllerNodeId: number; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + readonly wakeUpInterval: number; +} + +// Warning: (ae-missing-release-tag) "WakeUpCCIntervalSet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCIntervalSet extends WakeUpCC { + // Warning: (ae-forgotten-export) The symbol "WakeUpCCIntervalSetOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | WakeUpCCIntervalSetOptions); + // (undocumented) + controllerNodeId: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + wakeUpInterval: number; +} + +// Warning: (ae-missing-release-tag) "WakeUpCCNoMoreInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCNoMoreInformation extends WakeUpCC { +} + +// Warning: (ae-missing-release-tag) "WakeUpCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const WakeUpCCValues: Readonly<{ + wakeUpOnDemandSupported: { + readonly id: { + commandClass: (typeof CommandClasses)["Wake Up"]; + property: "wakeUpOnDemandSupported"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Wake Up"]; + readonly endpoint: number; + readonly property: "wakeUpOnDemandSupported"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + readonly supportsEndpoints: false; + readonly minVersion: number; + }; + }; + wakeUpInterval: { + readonly id: { + commandClass: (typeof CommandClasses)["Wake Up"]; + property: "wakeUpInterval"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Wake Up"]; + readonly endpoint: number; + readonly property: "wakeUpInterval"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Wake Up interval"; + readonly min: 0; + readonly max: 16777215; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; + controllerNodeId: { + readonly id: { + commandClass: (typeof CommandClasses)["Wake Up"]; + property: "controllerNodeId"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Wake Up"]; + readonly endpoint: number; + readonly property: "controllerNodeId"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly label: "Node ID of the controller"; + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }; + readonly options: { + readonly internal: false; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + }; + }; +}>; + +// Warning: (ae-missing-release-tag) "WakeUpCCWakeUpNotification" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class WakeUpCCWakeUpNotification extends WakeUpCC { +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "WakeUpCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum WakeUpCommand { + // (undocumented) + IntervalCapabilitiesGet = 9, + // (undocumented) + IntervalCapabilitiesReport = 10, + // (undocumented) + IntervalGet = 5, + // (undocumented) + IntervalReport = 6, + // (undocumented) + IntervalSet = 4, + // (undocumented) + NoMoreInformation = 8, + // (undocumented) + WakeUpNotification = 7 +} + +// Warning: (ae-missing-release-tag) "WakeUpTime" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum WakeUpTime { + // (undocumented) + "1000ms" = 1, + // (undocumented) + "250ms" = 2, + // (undocumented) + None = 0 +} + +// Warning: (ae-missing-release-tag) "wakeUpTime2FLiRS" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function wakeUpTime2FLiRS(value: WakeUpTime): FLiRS_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "Weekday" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum Weekday { + // (undocumented) + Friday = 5, + // (undocumented) + Monday = 1, + // (undocumented) + Saturday = 6, + // (undocumented) + Sunday = 7, + // (undocumented) + Thursday = 4, + // (undocumented) + Tuesday = 2, + // (undocumented) + Unknown = 0, + // (undocumented) + Wednesday = 3 +} + +// Warning: (ae-missing-release-tag) "WithTXReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WithTXReport = Omit | "withOptions" | "withTXReport"> & { + [K in keyof OwnMethodsOf]: API[K] extends (...args: any[]) => any ? (...args: Parameters) => WrapWithTXReport> : never; +}; + +// Warning: (ae-missing-release-tag) "WrapWithTXReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WrapWithTXReport = [T] extends [Promise] ? Promise> : [T] extends [void] ? { + txReport: TXReport | undefined; +} : { + result: T; + txReport: TXReport | undefined; +}; + +// Warning: (ae-missing-release-tag) "ZWaveDataRate2DataRate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function ZWaveDataRate2DataRate(zdr: ZWaveDataRate_2): DataRate_2; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackArgs_EntryControlCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveNotificationCallbackArgs_EntryControlCC { + // (undocumented) + dataType: EntryControlDataTypes; + dataTypeLabel: string; + // (undocumented) + eventData?: Buffer | string; + // (undocumented) + eventType: EntryControlEventTypes; + eventTypeLabel: string; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackArgs_MultilevelSwitchCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ZWaveNotificationCallbackArgs_MultilevelSwitchCC { + direction?: string; + eventType: MultilevelSwitchCommand.StartLevelChange | MultilevelSwitchCommand.StopLevelChange; + eventTypeLabel: string; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackArgs_NotificationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveNotificationCallbackArgs_NotificationCC { + event: number; + eventLabel: string; + label: string; + parameters?: NotificationCCReport["eventParameters"]; + type: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackArgs_PowerlevelCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ZWaveNotificationCallbackArgs_PowerlevelCC { + // (undocumented) + acknowledgedFrames: number; + // (undocumented) + status: PowerlevelTestStatus; + // (undocumented) + testNodeId: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackParams_EntryControlCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ZWaveNotificationCallbackParams_EntryControlCC = [ +node: IZWaveNode, +ccId: typeof CommandClasses["Entry Control"], +args: ZWaveNotificationCallbackArgs_EntryControlCC +]; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackParams_MultilevelSwitchCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ZWaveNotificationCallbackParams_MultilevelSwitchCC = [ +node: IZWaveNode, +ccId: typeof CommandClasses["Multilevel Switch"], +args: ZWaveNotificationCallbackArgs_MultilevelSwitchCC +]; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackParams_NotificationCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ZWaveNotificationCallbackParams_NotificationCC = [ +node: IZWaveNode, +ccId: CommandClasses.Notification, +args: ZWaveNotificationCallbackArgs_NotificationCC +]; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallbackParams_PowerlevelCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ZWaveNotificationCallbackParams_PowerlevelCC = [ +node: IZWaveNode, +ccId: CommandClasses.Powerlevel, +args: ZWaveNotificationCallbackArgs_PowerlevelCC +]; + +// Warning: (ae-missing-release-tag) "ZWavePlusCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWavePlusCC extends CommandClass { + // (undocumented) + ccCommand: ZWavePlusCommand; + // (undocumented) + interview(applHost: ZWaveApplicationHost): Promise; +} + +// Warning: (ae-missing-release-tag) "ZWavePlusCCGet" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWavePlusCCGet extends ZWavePlusCC { +} + +// Warning: (ae-missing-release-tag) "ZWavePlusCCReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWavePlusCCReport extends ZWavePlusCC { + // Warning: (ae-forgotten-export) The symbol "ZWavePlusCCReportOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost_2, options: CommandClassDeserializationOptions | (CCCommandOptions & ZWavePlusCCReportOptions)); + // (undocumented) + installerIcon: number; + // (undocumented) + nodeType: ZWavePlusNodeType; + // (undocumented) + roleType: ZWavePlusRoleType; + // (undocumented) + serialize(): Buffer; + // (undocumented) + toLogEntry(applHost: ZWaveApplicationHost): MessageOrCCLogEntry_2; + // (undocumented) + userIcon: number; + // (undocumented) + zwavePlusVersion: number; +} + +// Warning: (ae-missing-release-tag) "ZWavePlusCCValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ZWavePlusCCValues: Readonly<{ + installerIcon: { + readonly id: { + commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + property: "installerIcon"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + readonly endpoint: number; + readonly property: "installerIcon"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + userIcon: { + readonly id: { + commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + property: "userIcon"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + readonly endpoint: number; + readonly property: "userIcon"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly supportsEndpoints: true; + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly internal: true; + }; + }; + roleType: { + readonly id: { + commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + property: "roleType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + readonly endpoint: number; + readonly property: "roleType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + readonly internal: true; + }; + }; + nodeType: { + readonly id: { + commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + property: "nodeType"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + readonly endpoint: number; + readonly property: "nodeType"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + readonly internal: true; + }; + }; + zwavePlusVersion: { + readonly id: { + commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + property: "zwavePlusVersion"; + }; + readonly endpoint: (endpoint?: number | undefined) => { + readonly commandClass: (typeof CommandClasses)["Z-Wave Plus Info"]; + readonly endpoint: number; + readonly property: "zwavePlusVersion"; + }; + readonly is: (valueId: ValueID_2) => boolean; + readonly meta: { + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }; + readonly options: { + readonly minVersion: 1; + readonly stateful: true; + readonly secret: false; + readonly autoCreate: true; + readonly supportsEndpoints: false; + readonly internal: true; + }; + }; +}>; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWavePlusCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWavePlusCommand { + // (undocumented) + Get = 1, + // (undocumented) + Report = 2 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWavePlusNodeType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWavePlusNodeType { + // (undocumented) + IPGateway = 2, + // (undocumented) + Node = 0 +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWavePlusRoleType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWavePlusRoleType { + // (undocumented) + AlwaysOnSlave = 5, + // (undocumented) + CentralStaticController = 0, + // (undocumented) + NetworkAwareSlave = 8, + // (undocumented) + PortableController = 2, + // (undocumented) + PortableReportingController = 3, + // (undocumented) + PortableSlave = 4, + // (undocumented) + SleepingListeningSlave = 7, + // (undocumented) + SleepingReportingSlave = 6, + // (undocumented) + SubStaticController = 1 +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCC extends CommandClass { + // (undocumented) + ccCommand: ZWaveProtocolCommand; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAcceptLost" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAcceptLost extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCAcceptLostOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCAcceptLostOptions); + // (undocumented) + accepted: boolean; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignIDs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAssignIDs extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCAssignIDsOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCAssignIDsOptions); + // (undocumented) + homeId: number; + // (undocumented) + nodeId: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignReturnRoute" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAssignReturnRoute extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCAssignReturnRouteOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCAssignReturnRouteOptions); + // (undocumented) + destinationSpeed: ZWaveDataRate; + // (undocumented) + destinationWakeUp: WakeUpTime; + // (undocumented) + nodeId: number; + // (undocumented) + repeaters: number[]; + // (undocumented) + routeIndex: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignReturnRoutePriority" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAssignReturnRoutePriority extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCAssignReturnRoutePriorityOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCAssignReturnRoutePriorityOptions); + // (undocumented) + routeNumber: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + targetNodeId: number; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignSUCReturnRoute" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAssignSUCReturnRoute extends ZWaveProtocolCCAssignReturnRoute { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAssignSUCReturnRoutePriority" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAssignSUCReturnRoutePriority extends ZWaveProtocolCCAssignReturnRoutePriority { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCAutomaticControllerUpdateStart" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCAutomaticControllerUpdateStart extends ZWaveProtocolCC { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCCommandComplete" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCCommandComplete extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCCommandCompleteOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCCommandCompleteOptions); + // (undocumented) + sequenceNumber: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCExcludeRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCExcludeRequest extends ZWaveProtocolCCNodeInformationFrame { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCFindNodesInRange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCFindNodesInRange extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCFindNodesInRangeOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCFindNodesInRangeOptions); + // (undocumented) + candidateNodeIds: number[]; + // (undocumented) + dataRate: ZWaveDataRate; + // (undocumented) + serialize(): Buffer; + // (undocumented) + wakeUpTime: WakeUpTime; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCGetNodesInRange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCGetNodesInRange extends ZWaveProtocolCC { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCLost" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCLost extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCLostOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCLostOptions); + // (undocumented) + nodeId: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCNewNodeRegistered" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCNewNodeRegistered extends ZWaveProtocolCC implements NodeInformationFrame { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCNewNodeRegisteredOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCNewNodeRegisteredOptions); + // (undocumented) + basicDeviceClass: number; + // (undocumented) + genericDeviceClass: number; + // (undocumented) + isFrequentListening: FLiRS; + // (undocumented) + isListening: boolean; + // (undocumented) + isRouting: boolean; + // (undocumented) + nodeId: number; + // (undocumented) + nodeType: NodeType; + // (undocumented) + optionalFunctionality: boolean; + // (undocumented) + protocolVersion: ProtocolVersion; + // (undocumented) + serialize(): Buffer; + // (undocumented) + specificDeviceClass: number; + // (undocumented) + supportedCCs: CommandClasses_2[]; + // (undocumented) + supportedDataRates: DataRate[]; + // (undocumented) + supportsBeaming: boolean; + // (undocumented) + supportsSecurity: boolean; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCNewRangeRegistered" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCNewRangeRegistered extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCNewRangeRegisteredOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCNewRangeRegisteredOptions); + // (undocumented) + neighborNodeIds: number[]; + // (undocumented) + nodeId: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCNodeInformationFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCNodeInformationFrame extends ZWaveProtocolCC implements NodeInformationFrame { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCNodeInformationFrameOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCNodeInformationFrameOptions); + // (undocumented) + basicDeviceClass: number; + // (undocumented) + genericDeviceClass: number; + // (undocumented) + isFrequentListening: FLiRS; + // (undocumented) + isListening: boolean; + // (undocumented) + isRouting: boolean; + // (undocumented) + nodeType: NodeType; + // (undocumented) + optionalFunctionality: boolean; + // (undocumented) + protocolVersion: ProtocolVersion; + // (undocumented) + serialize(): Buffer; + // (undocumented) + specificDeviceClass: number; + // (undocumented) + supportedCCs: CommandClasses_2[]; + // (undocumented) + supportedDataRates: DataRate[]; + // (undocumented) + supportsBeaming: boolean; + // (undocumented) + supportsSecurity: boolean; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCNodesExist" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCNodesExist extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCNodesExistOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCNodesExistOptions); + // (undocumented) + nodeIDs: number[]; + // (undocumented) + nodeMaskType: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCNodesExistReply" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCNodesExistReply extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCNodesExistReplyOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCNodesExistReplyOptions); + // (undocumented) + nodeListUpdated: boolean; + // (undocumented) + nodeMaskType: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCNOPPower" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCNOPPower extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCNOPPowerOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCNOPPowerOptions); + // (undocumented) + powerDampening: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCRangeInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCRangeInfo extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCRangeInfoOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCRangeInfoOptions); + // (undocumented) + neighborNodeIds: number[]; + // (undocumented) + serialize(): Buffer; + // (undocumented) + wakeUpTime?: WakeUpTime; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCRequestNodeInformationFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCRequestNodeInformationFrame extends ZWaveProtocolCC { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCReservedIDs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCReservedIDs extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCReservedIDsOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCReservedIDsOptions); + // (undocumented) + reservedNodeIDs: number[]; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCReserveNodeIDs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCReserveNodeIDs extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCReserveNodeIDsOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCReserveNodeIDsOptions); + // (undocumented) + numNodeIDs: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSetNWIMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSetNWIMode extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCSetNWIModeOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCSetNWIModeOptions); + // (undocumented) + enabled: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + timeoutMinutes?: number; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSetSUC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSetSUC extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCSetSUCOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCSetSUCOptions); + // (undocumented) + enableSIS: boolean; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSetSUCAck" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSetSUCAck extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCSetSUCAckOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCSetSUCAckOptions); + // (undocumented) + accepted: boolean; + // (undocumented) + isSIS: boolean; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSmartStartIncludedNodeInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSmartStartIncludedNodeInformation extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCSmartStartIncludedNodeInformationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCSmartStartIncludedNodeInformationOptions); + // (undocumented) + nwiHomeId: Buffer; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSmartStartInclusionRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSmartStartInclusionRequest extends ZWaveProtocolCCNodeInformationFrame { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSmartStartPrime" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSmartStartPrime extends ZWaveProtocolCCNodeInformationFrame { +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCStaticRouteRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCStaticRouteRequest extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCStaticRouteRequestOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCStaticRouteRequestOptions); + // (undocumented) + nodeIds: number[]; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCSUCNodeID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCSUCNodeID extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCSUCNodeIDOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCSUCNodeIDOptions); + // (undocumented) + isSIS: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + sucNodeId: number; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCTransferEnd" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCTransferEnd extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCTransferEndOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCTransferEndOptions); + // (undocumented) + serialize(): Buffer; + // (undocumented) + status: NetworkTransferStatus; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCTransferNewPrimaryControllerComplete" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCTransferNewPrimaryControllerComplete extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCTransferNewPrimaryControllerCompleteOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCTransferNewPrimaryControllerCompleteOptions); + // (undocumented) + genericDeviceClass: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCTransferNodeInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCTransferNodeInformation extends ZWaveProtocolCC implements NodeProtocolInfoAndDeviceClass { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCTransferNodeInformationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCTransferNodeInformationOptions); + // (undocumented) + basicDeviceClass: number; + // (undocumented) + genericDeviceClass: number; + // (undocumented) + isFrequentListening: FLiRS; + // (undocumented) + isListening: boolean; + // (undocumented) + isRouting: boolean; + // (undocumented) + nodeId: number; + // (undocumented) + nodeType: NodeType; + // (undocumented) + optionalFunctionality: boolean; + // (undocumented) + protocolVersion: ProtocolVersion; + // (undocumented) + sequenceNumber: number; + // (undocumented) + serialize(): Buffer; + // (undocumented) + specificDeviceClass: number; + // (undocumented) + supportedDataRates: DataRate[]; + // (undocumented) + supportsBeaming: boolean; + // (undocumented) + supportsSecurity: boolean; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCTransferPresentation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCTransferPresentation extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCTransferPresentationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCTransferPresentationOptions); + // (undocumented) + excludeNode: boolean; + // (undocumented) + includeNode: boolean; + // (undocumented) + serialize(): Buffer; + // (undocumented) + supportsNWI: boolean; +} + +// Warning: (ae-missing-release-tag) "ZWaveProtocolCCTransferRangeInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveProtocolCCTransferRangeInformation extends ZWaveProtocolCC { + // Warning: (ae-forgotten-export) The symbol "ZWaveProtocolCCTransferRangeInformationOptions" needs to be exported by the entry point index.d.ts + constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | ZWaveProtocolCCTransferRangeInformationOptions); + // (undocumented) + neighborNodeIds: number[]; + // (undocumented) + nodeId: number; + // (undocumented) + sequenceNumber: number; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ZWaveProtocolCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWaveProtocolCommand { + // (undocumented) + AcceptLost = 23, + // (undocumented) + AssignIDs = 3, + // (undocumented) + AssignReturnRoute = 12, + // (undocumented) + AssignReturnRoutePriority = 36, + // (undocumented) + AssignSUCReturnRoute = 20, + // (undocumented) + AssignSUCReturnRoutePriority = 37, + // (undocumented) + AutomaticControllerUpdateStart = 16, + // (undocumented) + CommandComplete = 7, + // (undocumented) + ExcludeRequest = 35, + // (undocumented) + FindNodesInRange = 4, + // (undocumented) + GetNodesInRange = 5, + // (undocumented) + Lost = 22, + // (undocumented) + NewNodeRegistered = 13, + // (undocumented) + NewRangeRegistered = 14, + // (undocumented) + NodeInformationFrame = 1, + // (undocumented) + NodesExist = 31, + // (undocumented) + NodesExistReply = 32, + // (undocumented) + NOPPower = 24, + // (undocumented) + RangeInfo = 6, + // (undocumented) + RequestNodeInformationFrame = 2, + // (undocumented) + ReservedIDs = 26, + // (undocumented) + ReserveNodeIDs = 25, + // (undocumented) + SetNWIMode = 34, + // (undocumented) + SetSUC = 18, + // (undocumented) + SetSUCAck = 19, + // (undocumented) + SmartStartIncludedNodeInformation = 38, + // (undocumented) + SmartStartInclusionRequest = 40, + // (undocumented) + SmartStartPrime = 39, + // (undocumented) + StaticRouteRequest = 21, + // (undocumented) + SUCNodeID = 17, + // (undocumented) + TransferEnd = 11, + // (undocumented) + TransferNewPrimaryControllerComplete = 15, + // (undocumented) + TransferNodeInformation = 9, + // (undocumented) + TransferPresentation = 8, + // (undocumented) + TransferRangeInformation = 10 +} + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/cc/package.json b/packages/cc/package.json index b213244bf76a..aec4f008d8d0 100644 --- a/packages/cc/package.json +++ b/packages/cc/package.json @@ -51,6 +51,7 @@ "b": "yarn ts maintenance/_build.ts", "prebuild": "yarn b prebuild", "build": "yarn run prebuild && tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run prebuild && tsc -b tsconfig.build.json --watch --pretty", "lint_zwave": "yarn b lint", @@ -65,6 +66,7 @@ "reflect-metadata": "^0.1.13" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", diff --git a/packages/cc/src/index.ts b/packages/cc/src/index.ts index 061fea394962..3e1353ac07c9 100644 --- a/packages/cc/src/index.ts +++ b/packages/cc/src/index.ts @@ -1,4 +1,5 @@ import "reflect-metadata"; +import * as utils from "./lib/utils"; export * from "./cc/index"; export * from "./lib/API"; @@ -17,5 +18,5 @@ export { SPANExtension, } from "./lib/Security2/Extension"; export * from "./lib/Security2/shared"; -export * as utils from "./lib/utils"; export * from "./lib/_Types"; +export { utils }; diff --git a/packages/config/api-extractor.json b/packages/config/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/config/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/config/api.md b/packages/config/api.md new file mode 100644 index 000000000000..7ccf46aae9ae --- /dev/null +++ b/packages/config/api.md @@ -0,0 +1,921 @@ +## API Report File for "@zwave-js/config" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { CommandClasses } from '@zwave-js/core/safe'; +import type { CommandClassInfo } from '@zwave-js/core/safe'; +import { JSONObject } from '@zwave-js/shared/safe'; +import { JSONObject as JSONObject_2 } from '@zwave-js/shared'; +import type { LogContext } from '@zwave-js/core/safe'; +import { ReadonlyObjectKeyMap } from '@zwave-js/shared'; +import type { ValueID } from '@zwave-js/core/safe'; +import type { ValueType } from '@zwave-js/core/safe'; +import { ZWaveLogContainer } from '@zwave-js/core'; + +// Warning: (ae-missing-release-tag) "AssociationConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AssociationConfig = Omit; + +// Warning: (ae-missing-release-tag) "BasicDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BasicDeviceClass { + // (undocumented) + key: number; + // (undocumented) + label: string; +} + +// Warning: (ae-missing-release-tag) "BasicDeviceClassMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BasicDeviceClassMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "CompatAddCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CompatAddCC { + constructor(filename: string, definition: JSONObject); + // (undocumented) + readonly endpoints: ReadonlyMap>; +} + +// Warning: (ae-missing-release-tag) "CompatConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompatConfig = Omit; + +// Warning: (ae-missing-release-tag) "CompatMapAlarm" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class CompatMapAlarm { + constructor(filename: string, definition: JSONObject, index: number); + // (undocumented) + readonly from: CompatMapAlarmFrom; + // (undocumented) + readonly to: CompatMapAlarmTo; +} + +// Warning: (ae-missing-release-tag) "CompatMapAlarmFrom" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompatMapAlarmFrom { + // (undocumented) + alarmLevel?: number; + // (undocumented) + alarmType: number; +} + +// Warning: (ae-missing-release-tag) "CompatMapAlarmTo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompatMapAlarmTo { + // (undocumented) + eventParameters?: Record; + // (undocumented) + notificationEvent: number; + // (undocumented) + notificationType: number; +} + +// Warning: (ae-forgotten-export) The symbol "ConditionalItem" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ConditionalAssociationConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalAssociationConfig implements ConditionalItem { + constructor(filename: string, groupId: number, definition: JSONObject); + // (undocumented) + readonly condition?: string; + // (undocumented) + readonly description?: string; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): AssociationConfig | undefined; + // (undocumented) + readonly groupId: number; + readonly isLifeline: boolean; + // (undocumented) + readonly label: string; + // (undocumented) + readonly maxNodes: number; + readonly multiChannel: boolean | "auto"; +} + +// Warning: (ae-missing-release-tag) "ConditionalCompatConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalCompatConfig implements ConditionalItem { + constructor(filename: string, definition: JSONObject); + // (undocumented) + readonly addCCs?: ReadonlyMap; + // (undocumented) + readonly alarmMapping?: readonly CompatMapAlarm[]; + // (undocumented) + readonly condition?: string | undefined; + // (undocumented) + readonly disableBasicMapping?: boolean; + // (undocumented) + readonly disableStrictEntryControlDataValidation?: boolean; + // (undocumented) + readonly disableStrictMeasurementValidation?: boolean; + // (undocumented) + readonly enableBasicSetMapping?: boolean; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): CompatConfig | undefined; + // (undocumented) + readonly forceNotificationIdleReset?: boolean; + // (undocumented) + readonly forceSceneControllerGroupCount?: number; + // (undocumented) + readonly manualValueRefreshDelayMs?: number; + // (undocumented) + readonly mapRootReportsToEndpoint?: number; + // (undocumented) + readonly overrideFloatEncoding?: { + size?: number; + precision?: number; + }; + // (undocumented) + readonly preserveEndpoints?: "*" | readonly number[]; + // (undocumented) + readonly preserveRootApplicationCCValueIDs?: boolean; + // (undocumented) + readonly queryOnWakeup?: readonly [ + string, + string, + ...(string | number | boolean | Pick)[] + ][]; + // (undocumented) + readonly removeCCs?: ReadonlyMap; + // (undocumented) + readonly skipConfigurationInfoQuery?: boolean; + // (undocumented) + readonly skipConfigurationNameQuery?: boolean; + // (undocumented) + readonly treatBasicSetAsEvent?: boolean; + // (undocumented) + readonly treatDestinationEndpointAsSource?: boolean; + // (undocumented) + readonly treatMultilevelSwitchSetAsEvent?: boolean; +} + +// Warning: (ae-missing-release-tag) "ConditionalConfigOption" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalConfigOption implements ConditionalItem { + constructor(value: number, label: string, condition?: string | undefined); + // (undocumented) + readonly condition?: string | undefined; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): ConfigOption | undefined; + // (undocumented) + readonly label: string; + // (undocumented) + readonly value: number; +} + +// Warning: (ae-missing-release-tag) "ConditionalDeviceComment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalDeviceComment implements ConditionalItem { + constructor(level: DeviceComment["level"], text: string, condition?: string | undefined); + // (undocumented) + readonly condition?: string | undefined; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): DeviceComment | undefined; + // (undocumented) + readonly level: DeviceComment["level"]; + // (undocumented) + readonly text: string; +} + +// Warning: (ae-missing-release-tag) "ConditionalDeviceConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ConditionalDeviceConfig { + constructor(filename: string, isEmbedded: boolean, definition: JSONObject_2); + // (undocumented) + readonly associations?: ReadonlyMap; + readonly compat?: ConditionalCompatConfig | ConditionalCompatConfig[]; + // (undocumented) + readonly description: ConditionalPrimitive; + // (undocumented) + readonly devices: readonly { + productType: number; + productId: number; + }[]; + // (undocumented) + readonly endpoints?: ReadonlyMap; + // (undocumented) + evaluate(deviceId?: DeviceID): DeviceConfig; + // (undocumented) + readonly filename: string; + // (undocumented) + readonly firmwareVersion: FirmwareVersionRange; + // (undocumented) + static from(filename: string, isEmbedded: boolean, options: { + rootDir: string; + relative?: boolean; + }): Promise; + readonly isEmbedded: boolean; + // (undocumented) + readonly label: ConditionalPrimitive; + // Warning: (ae-forgotten-export) The symbol "ConditionalPrimitive" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly manufacturer: ConditionalPrimitive; + // (undocumented) + readonly manufacturerId: number; + readonly metadata?: ConditionalDeviceMetadata; + // (undocumented) + readonly paramInformation?: ConditionalParamInfoMap; + readonly proprietary?: Record; +} + +// Warning: (ae-missing-release-tag) "ConditionalDeviceMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalDeviceMetadata implements ConditionalItem { + constructor(filename: string, definition: JSONObject); + readonly comments?: ConditionalDeviceComment | ConditionalDeviceComment[]; + // (undocumented) + readonly condition?: string; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): DeviceMetadata | undefined; + readonly exclusion?: ConditionalPrimitive; + readonly inclusion?: ConditionalPrimitive; + readonly manual?: ConditionalPrimitive; + readonly reset?: ConditionalPrimitive; + readonly wakeup?: ConditionalPrimitive; +} + +// Warning: (ae-missing-release-tag) "ConditionalEndpointConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalEndpointConfig implements ConditionalItem { + constructor(filename: string, index: number, definition: JSONObject); + // (undocumented) + readonly associations?: ReadonlyMap; + // (undocumented) + readonly condition?: string; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): EndpointConfig | undefined; + // (undocumented) + readonly index: number; +} + +// Warning: (ae-missing-release-tag) "ConditionalParamInfoMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ConditionalParamInfoMap = ReadonlyObjectKeyMap<{ + parameter: number; + valueBitMask?: number; +}, ConditionalParamInformation[]>; + +// Warning: (ae-missing-release-tag) "ConditionalParamInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConditionalParamInformation implements ConditionalItem { + constructor(parent: ConditionalDeviceConfig, parameterNumber: number, valueBitMask: number | undefined, definition: JSONObject); + // (undocumented) + readonly allowManualEntry: boolean; + // (undocumented) + readonly condition?: string; + // (undocumented) + readonly defaultValue: number; + // (undocumented) + readonly description?: string; + // (undocumented) + evaluateCondition(deviceId?: DeviceID): ParamInformation | undefined; + // (undocumented) + readonly label: string; + // (undocumented) + readonly maxValue?: number; + // (undocumented) + readonly minValue?: number; + // (undocumented) + readonly options: readonly ConditionalConfigOption[]; + // (undocumented) + readonly parameterNumber: number; + // (undocumented) + readonly readOnly?: true; + // (undocumented) + readonly unit?: string; + // (undocumented) + readonly unsigned?: boolean; + // (undocumented) + readonly valueBitMask?: number; + // (undocumented) + readonly valueSize: number; + // (undocumented) + readonly writeOnly?: true; +} + +// Warning: (ae-missing-release-tag) "CONFIG_LABEL" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const CONFIG_LABEL = "CONFIG"; + +// Warning: (ae-missing-release-tag) "CONFIG_LOGLEVEL" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const CONFIG_LOGLEVEL = "debug"; + +// Warning: (ae-missing-release-tag) "ConfigLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ConfigLogContext = LogContext<"config">; + +// Warning: (ae-missing-release-tag) "ConfigManager" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ConfigManager { + constructor(options?: ConfigManagerOptions); + // (undocumented) + get basicDeviceClasses(): BasicDeviceClassMap; + // (undocumented) + get configVersion(): string; + // (undocumented) + get genericDeviceClasses(): GenericDeviceClassMap; + // (undocumented) + getFulltextIndex(): FulltextDeviceConfigIndex | undefined; + // (undocumented) + getIndex(): DeviceConfigIndex | undefined; + // (undocumented) + getMeterName(meterType: number): string; + // (undocumented) + getNotificationName(notificationType: number): string; + // (undocumented) + getSensorTypeName(sensorType: number): string; + // (undocumented) + get indicatorProperties(): IndicatorPropertiesMap; + // (undocumented) + get indicators(): IndicatorMap; + // (undocumented) + loadAll(): Promise; + // (undocumented) + loadDeviceClasses(): Promise; + // (undocumented) + loadDeviceIndex(): Promise; + // (undocumented) + loadFulltextDeviceIndex(): Promise; + // (undocumented) + loadIndicators(): Promise; + // (undocumented) + loadManufacturers(): Promise; + // (undocumented) + loadMeters(): Promise; + // (undocumented) + loadNamedScales(): Promise; + // (undocumented) + loadNotifications(): Promise; + // (undocumented) + loadSensorTypes(): Promise; + // (undocumented) + lookupBasicDeviceClass(basic: number): BasicDeviceClass; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + lookupDevice(manufacturerId: number, productType: number, productId: number, firmwareVersion?: string): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + lookupDevicePreserveConditions(manufacturerId: number, productType: number, productId: number, firmwareVersion?: string): Promise; + // (undocumented) + lookupGenericDeviceClass(generic: number): GenericDeviceClass; + lookupIndicator(indicatorId: number): string | undefined; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + lookupManufacturer(manufacturerId: number): string | undefined; + lookupMeter(meterType: number): Meter | undefined; + lookupMeterScale(type: number, scale: number): MeterScale; + lookupNamedScale(name: string, scale: number): Scale; + lookupNamedScaleGroup(name: string): ScaleGroup | undefined; + lookupNotification(notificationType: number): Notification | undefined; + lookupProperty(propertyId: number): IndicatorProperty | undefined; + lookupSensorScale(sensorType: number, scale: number): Scale; + lookupSensorType(sensorType: number): SensorType | undefined; + // (undocumented) + lookupSpecificDeviceClass(generic: number, specific: number): SpecificDeviceClass; + // (undocumented) + get manufacturers(): ManufacturersMap; + // (undocumented) + get meters(): MeterMap; + // (undocumented) + get namedScales(): NamedScalesGroupMap; + // (undocumented) + get notifications(): NotificationMap; + // (undocumented) + saveManufacturers(): Promise; + // (undocumented) + get sensorTypes(): SensorTypeMap; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + setManufacturer(manufacturerId: number, manufacturerName: string): void; + // (undocumented) + get useExternalConfig(): boolean; +} + +// Warning: (ae-missing-release-tag) "ConfigManagerOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ConfigManagerOptions { + // (undocumented) + deviceConfigPriorityDir?: string; + // (undocumented) + logContainer?: ZWaveLogContainer; +} + +// Warning: (ae-missing-release-tag) "ConfigOption" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ConfigOption { + // (undocumented) + label: string; + // (undocumented) + value: number; +} + +// Warning: (ae-missing-release-tag) "DeviceComment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DeviceComment { + // (undocumented) + level: "info" | "warning" | "error"; + // (undocumented) + text: string; +} + +// Warning: (ae-missing-release-tag) "DeviceConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DeviceConfig { + constructor(filename: string, + isEmbedded: boolean, manufacturer: string, manufacturerId: number, label: string, description: string, devices: readonly { + productType: number; + productId: number; + }[], firmwareVersion: FirmwareVersionRange, endpoints?: ReadonlyMap | undefined, associations?: ReadonlyMap | undefined, paramInformation?: ParamInfoMap | undefined, + proprietary?: Record | undefined, + compat?: CompatConfig | undefined, + metadata?: DeviceMetadata | undefined); + // (undocumented) + readonly associations?: ReadonlyMap | undefined; + readonly compat?: CompatConfig | undefined; + // (undocumented) + readonly description: string; + // (undocumented) + readonly devices: readonly { + productType: number; + productId: number; + }[]; + // (undocumented) + readonly endpoints?: ReadonlyMap | undefined; + // (undocumented) + readonly filename: string; + // (undocumented) + readonly firmwareVersion: FirmwareVersionRange; + // (undocumented) + static from(filename: string, isEmbedded: boolean, options: { + rootDir: string; + relative?: boolean; + deviceId?: DeviceID; + }): Promise; + getAssociationConfigForEndpoint(endpointIndex: number, group: number): AssociationConfig | undefined; + readonly isEmbedded: boolean; + // (undocumented) + readonly label: string; + // (undocumented) + readonly manufacturer: string; + // (undocumented) + readonly manufacturerId: number; + readonly metadata?: DeviceMetadata | undefined; + // (undocumented) + readonly paramInformation?: ParamInfoMap | undefined; + readonly proprietary?: Record | undefined; +} + +// Warning: (ae-missing-release-tag) "DeviceConfigIndex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeviceConfigIndex = DeviceConfigIndexEntry[]; + +// Warning: (ae-missing-release-tag) "DeviceConfigIndexEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DeviceConfigIndexEntry { + // (undocumented) + filename: string; + // (undocumented) + firmwareVersion: FirmwareVersionRange; + // (undocumented) + manufacturerId: string; + // (undocumented) + productId: string; + // (undocumented) + productType: string; + // (undocumented) + rootDir?: string; +} + +// Warning: (ae-missing-release-tag) "DeviceID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DeviceID { + // (undocumented) + firmwareVersion?: string; + // (undocumented) + manufacturerId: number; + // (undocumented) + productId: number; + // (undocumented) + productType: number; +} + +// Warning: (ae-missing-release-tag) "DeviceMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DeviceMetadata { + // (undocumented) + comments?: DeviceComment | DeviceComment[]; + // (undocumented) + exclusion?: string; + // (undocumented) + inclusion?: string; + // (undocumented) + manual?: string; + // (undocumented) + reset?: string; + // (undocumented) + wakeup?: string; +} + +// Warning: (ae-missing-release-tag) "embeddedDevicesDir" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const embeddedDevicesDir: string; + +// Warning: (ae-missing-release-tag) "EndpointConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EndpointConfig = Omit & { + associations?: Map | undefined; +}; + +// Warning: (ae-missing-release-tag) "externalConfigDir" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function externalConfigDir(): string | undefined; + +// Warning: (ae-missing-release-tag) "FirmwareVersionRange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FirmwareVersionRange { + // (undocumented) + max: string; + // (undocumented) + min: string; +} + +// Warning: (ae-missing-release-tag) "FulltextDeviceConfigIndex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FulltextDeviceConfigIndex = FulltextDeviceConfigIndexEntry[]; + +// Warning: (ae-missing-release-tag) "FulltextDeviceConfigIndexEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FulltextDeviceConfigIndexEntry { + // (undocumented) + description: string; + // (undocumented) + filename: string; + // (undocumented) + firmwareVersion: FirmwareVersionRange; + // (undocumented) + label: string; + // (undocumented) + manufacturer: string; + // (undocumented) + manufacturerId: string; + // (undocumented) + productId: string; + // (undocumented) + productType: string; + // (undocumented) + rootDir?: string; +} + +// Warning: (ae-missing-release-tag) "GenericDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class GenericDeviceClass { + constructor(key: number, definition: JSONObject); + // (undocumented) + readonly controlledCCs: readonly CommandClasses[]; + // (undocumented) + readonly key: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly requiresSecurity?: boolean; + // (undocumented) + readonly specific: ReadonlyMap; + // (undocumented) + readonly supportedCCs: readonly CommandClasses[]; +} + +// Warning: (ae-missing-release-tag) "GenericDeviceClassMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type GenericDeviceClassMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "getDefaultGenericDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getDefaultGenericDeviceClass(key: number): GenericDeviceClass; + +// Warning: (ae-missing-release-tag) "getDefaultMeterScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getDefaultMeterScale(scale: number): MeterScale; + +// Warning: (ae-missing-release-tag) "getDefaultScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getDefaultScale(scale: number): Scale; + +// Warning: (ae-missing-release-tag) "getDefaultSpecificDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getDefaultSpecificDeviceClass(generic: GenericDeviceClass, key: number): SpecificDeviceClass; + +// Warning: (ae-missing-release-tag) "getDevicesPaths" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getDevicesPaths(configDir: string): { + devicesDir: string; + indexPath: string; +}; + +// Warning: (ae-missing-release-tag) "IndicatorMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type IndicatorMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "IndicatorPropertiesMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type IndicatorPropertiesMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "IndicatorProperty" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class IndicatorProperty { + constructor(id: number, definition: JSONObject); + // (undocumented) + readonly description: string | undefined; + // (undocumented) + readonly id: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly max: number | undefined; + // (undocumented) + readonly min: number | undefined; + // (undocumented) + readonly readonly: boolean | undefined; + // (undocumented) + readonly type: ValueType | undefined; +} + +// Warning: (ae-missing-release-tag) "ManufacturersMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ManufacturersMap = Map; + +// Warning: (ae-missing-release-tag) "Meter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Meter { + constructor(id: number, definition: JSONObject); + // (undocumented) + readonly id: number; + // (undocumented) + readonly name: string; + // (undocumented) + readonly scales: ReadonlyMap; +} + +// Warning: (ae-missing-release-tag) "MeterMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MeterMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "MeterScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MeterScale { + constructor(key: number, definition: string); + // (undocumented) + readonly key: number; + // (undocumented) + readonly label: string; +} + +// Warning: (ae-missing-release-tag) "NamedScalesGroupMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NamedScalesGroupMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "Notification" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Notification { + constructor(id: number, definition: JSONObject); + // (undocumented) + readonly events: ReadonlyMap; + // (undocumented) + readonly id: number; + // (undocumented) + lookupValue(value: number): NotificationValueDefinition | undefined; + // (undocumented) + readonly name: string; + // (undocumented) + readonly variables: readonly NotificationVariable[]; +} + +// Warning: (ae-missing-release-tag) "NotificationEvent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationEvent { + constructor(id: number, definition: JSONObject); + // (undocumented) + readonly description?: string; + // (undocumented) + readonly id: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly parameter?: NotificationParameter; +} + +// Warning: (ae-missing-release-tag) "NotificationMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NotificationMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "NotificationParameter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationParameter { + constructor(definition: JSONObject); +} + +// Warning: (ae-missing-release-tag) "NotificationParameterWithCommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class NotificationParameterWithCommandClass { + constructor(_definition: JSONObject); +} + +// Warning: (ae-missing-release-tag) "NotificationParameterWithDuration" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class NotificationParameterWithDuration { + constructor(_definition: JSONObject); +} + +// Warning: (ae-missing-release-tag) "NotificationParameterWithValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationParameterWithValue { + constructor(definition: JSONObject); + // (undocumented) + readonly propertyName: string; +} + +// Warning: (ae-missing-release-tag) "NotificationState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationState { + constructor(id: number, definition: JSONObject); + // (undocumented) + readonly description?: string; + // (undocumented) + readonly id: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly parameter?: NotificationParameter; +} + +// Warning: (ae-forgotten-export) The symbol "NotificationStateDefinition" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "NotificationEventDefinition" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "NotificationValueDefinition" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NotificationValueDefinition = (NotificationStateDefinition | NotificationEventDefinition) & { + description?: string; + label: string; + parameter?: NotificationParameter; +}; + +// Warning: (ae-missing-release-tag) "NotificationVariable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class NotificationVariable { + constructor(definition: JSONObject); + readonly idle: boolean; + // (undocumented) + readonly name: string; + // (undocumented) + readonly states: ReadonlyMap; +} + +// Warning: (ae-missing-release-tag) "ParamInfoMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ParamInfoMap = ReadonlyObjectKeyMap<{ + parameter: number; + valueBitMask?: number; +}, ParamInformation>; + +// Warning: (ae-missing-release-tag) "ParamInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ParamInformation = Omit & { + options: readonly ConfigOption[]; + minValue: NonNullable; + maxValue: NonNullable; +}; + +// Warning: (ae-missing-release-tag) "saveManufacturersInternal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function saveManufacturersInternal(manufacturers: ManufacturersMap): Promise; + +// Warning: (ae-missing-release-tag) "Scale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class Scale { + constructor(key: number, definition: JSONObject); + // (undocumented) + readonly description: string | undefined; + // (undocumented) + readonly key: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly unit: string | undefined; +} + +// Warning: (ae-missing-release-tag) "ScaleGroup" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ScaleGroup = ReadonlyMap & { + readonly name?: string; +}; + +// Warning: (ae-missing-release-tag) "SensorType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SensorType { + constructor(manager: ConfigManager, key: number, definition: JSONObject); + // (undocumented) + readonly key: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly scales: ScaleGroup; +} + +// Warning: (ae-missing-release-tag) "SensorTypeMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SensorTypeMap = ReadonlyMap; + +// Warning: (ae-missing-release-tag) "SpecificDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SpecificDeviceClass { + constructor(key: number, definition: JSONObject, generic: GenericDeviceClass); + // (undocumented) + readonly controlledCCs: readonly CommandClasses[]; + // (undocumented) + readonly key: number; + // (undocumented) + readonly label: string; + // (undocumented) + readonly requiresSecurity?: boolean; + // (undocumented) + readonly supportedCCs: readonly CommandClasses[]; + // (undocumented) + readonly zwavePlusDeviceType?: string; +} + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/config/package.json b/packages/config/package.json index 2118211873e8..1c7296510e89 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -46,6 +46,7 @@ "scripts": { "prebuild": "yarn ts maintenance/prebuild.ts", "build": "yarn prebuild && tsc -b tsconfig.build.json", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty", "lint_config": "yarn ts maintenance/lintConfigFiles.ts", @@ -63,6 +64,7 @@ "winston": "^3.8.1" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.5.2", "@types/js-levenshtein": "^1.1.1", diff --git a/packages/core/api-extractor.json b/packages/core/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/core/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/core/api.md b/packages/core/api.md new file mode 100644 index 000000000000..395424544f31 --- /dev/null +++ b/packages/core/api.md @@ -0,0 +1,3080 @@ +## API Report File for "@zwave-js/core" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +import { DeepPartial } from '@zwave-js/shared'; +import type { Format } from 'logform'; +import type { JsonlDB } from '@alcalzone/jsonl-db'; +import type { JSONObject } from '@zwave-js/shared'; +import type { Logger } from 'winston'; +import type { TransformableInfo } from 'logform'; +import type Transport from 'winston-transport'; +import type { TypedClassDecorator } from '@zwave-js/shared'; +import { TypedEventEmitter } from '@zwave-js/shared'; +import winston from 'winston'; + +// Warning: (ae-missing-release-tag) "actuatorCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const actuatorCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "allCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const allCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "applicationCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const applicationCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "ApplicationNodeInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApplicationNodeInformation { + // (undocumented) + genericDeviceClass: number; + // (undocumented) + specificDeviceClass: number; + // (undocumented) + supportedCCs: CommandClasses[]; +} + +// Warning: (ae-missing-release-tag) "assertValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function assertValueID(param: Record): asserts param is ValueID; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "assertZWaveError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function assertZWaveError(valueOrFactory: T, options?: AssertZWaveErrorOptions): T extends () => PromiseLike ? Promise : void; + +// Warning: (ae-missing-release-tag) "AssertZWaveErrorOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface AssertZWaveErrorOptions { + // (undocumented) + context?: unknown; + // (undocumented) + errorCode?: ZWaveErrorCodes; + // (undocumented) + messageMatches?: string | RegExp; +} + +// Warning: (ae-missing-release-tag) "authHomeIdFromDSK" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function authHomeIdFromDSK(dsk: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "CacheBackedMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class CacheBackedMap implements Map { + // (undocumented) + [Symbol.iterator]: () => IterableIterator<[K, V]>; + // (undocumented) + get [Symbol.toStringTag](): string; + constructor(cache: JsonlDB, cacheKeys: CacheBackedMapKeys); + // (undocumented) + clear(): void; + // (undocumented) + delete(key: K): boolean; + // (undocumented) + entries: () => IterableIterator<[K, V]>; + // (undocumented) + forEach: (callbackfn: (value: V, key: K, map: Map) => void, thisArg?: any) => void; + // (undocumented) + get: (key: K) => V | undefined; + // (undocumented) + has: (key: K) => boolean; + // (undocumented) + keys: () => IterableIterator; + // (undocumented) + set(key: K, value: V): this; + // (undocumented) + get size(): number; + // (undocumented) + values: () => IterableIterator; +} + +// Warning: (ae-missing-release-tag) "CacheBackedMapKeys" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CacheBackedMapKeys { + prefix: string; + suffixDeserializer: (suffix: string) => K | undefined; + suffixSerializer: (suffix: K) => string; +} + +// Warning: (ae-missing-release-tag) "CacheMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CacheMetadata extends Pick { + // (undocumented) + metadata: ValueMetadata; +} + +// Warning: (ae-missing-release-tag) "CacheValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CacheValue extends Pick { + // Warning: (ae-forgotten-export) The symbol "SerializedValue" needs to be exported by the entry point index.d.ts + // + // (undocumented) + value: SerializedValue; +} + +// Warning: (ae-internal-missing-underscore) The name "channelPadding" should be prefixed with an underscore because the declaration is marked as @internal +// +// @internal (undocumented) +export const channelPadding: string; + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "CommandClasses" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum CommandClasses { + // (undocumented) + "Alarm Sensor" = 156, + // (undocumented) + "Alarm Silence" = 157, + // (undocumented) + "All Switch" = 39, + // (undocumented) + "Anti-Theft Unlock" = 126, + // (undocumented) + "Anti-Theft" = 93, + // (undocumented) + "Application Capability" = 87, + // (undocumented) + "Application Status" = 34, + // (undocumented) + "Association Command Configuration" = 155, + // (undocumented) + "Association Group Information" = 89, + // (undocumented) + "Authentication Media Write" = 162, + // (undocumented) + "Barrier Operator" = 102, + // (undocumented) + "Basic Tariff Information" = 54, + // (undocumented) + "Basic Window Covering" = 80, + // (undocumented) + "Binary Sensor" = 48, + // (undocumented) + "Binary Switch" = 37, + // (undocumented) + "Binary Toggle Switch" = 40, + // (undocumented) + "Central Scene" = 91, + // (undocumented) + "Climate Control Schedule" = 70, + // (undocumented) + "Color Switch" = 51, + // (undocumented) + "Controller Replication" = 33, + // (undocumented) + "CRC-16 Encapsulation" = 86, + // (undocumented) + "Demand Control Plan Configuration" = 58, + // (undocumented) + "Demand Control Plan Monitor" = 59, + // (undocumented) + "Device Reset Locally" = 90, + // (undocumented) + "Door Lock Logging" = 76, + // (undocumented) + "Door Lock" = 98, + // (undocumented) + "Energy Production" = 144, + // (undocumented) + "Entry Control" = 111, + // (undocumented) + "Firmware Update Meta Data" = 122, + // (undocumented) + "Generic Schedule" = 163, + // (undocumented) + "Geographic Location" = 140, + // (undocumented) + "Grouping Name" = 123, + // (undocumented) + "HRV Control" = 57, + // (undocumented) + "HRV Status" = 55, + // (undocumented) + "Humidity Control Mode" = 109, + // (undocumented) + "Humidity Control Operating State" = 110, + // (undocumented) + "Humidity Control Setpoint" = 100, + // (undocumented) + "Inclusion Controller" = 116, + // (undocumented) + "IP Association" = 92, + // (undocumented) + "IP Configuration" = 154, + // (undocumented) + "IR Repeater" = 160, + // (undocumented) + "Manufacturer Proprietary" = 145, + // (undocumented) + "Manufacturer Specific" = 114, + // (undocumented) + "Meter Table Configuration" = 60, + // (undocumented) + "Meter Table Monitor" = 61, + // (undocumented) + "Meter Table Push Configuration" = 62, + // (undocumented) + "Move To Position Window Covering" = 81, + // (undocumented) + "Multi Channel Association" = 142, + // (undocumented) + "Multi Channel" = 96, + // (undocumented) + "Multi Command" = 143, + // (undocumented) + "Multilevel Sensor" = 49, + // (undocumented) + "Multilevel Switch" = 38, + // (undocumented) + "Multilevel Toggle Switch" = 41, + // (undocumented) + "Network Management Basic Node" = 77, + // (undocumented) + "Network Management Inclusion" = 52, + // (undocumented) + "Network Management Installation and Maintenance" = 103, + // (undocumented) + "Network Management Primary" = 84, + // (undocumented) + "Network Management Proxy" = 82, + // (undocumented) + "No Operation" = 0, + // (undocumented) + "Node Naming and Location" = 119, + // (undocumented) + "Node Provisioning" = 120, + // (undocumented) + "Prepayment Encapsulation" = 65, + // (undocumented) + "Pulse Meter" = 53, + // (undocumented) + "Rate Table Configuration" = 72, + // (undocumented) + "Rate Table Monitor" = 73, + // (undocumented) + "Remote Association Activation" = 124, + // (undocumented) + "Remote Association Configuration" = 125, + // (undocumented) + "Scene Activation" = 43, + // (undocumented) + "Scene Actuator Configuration" = 44, + // (undocumented) + "Scene Controller Configuration" = 45, + // (undocumented) + "Schedule Entry Lock" = 78, + // (undocumented) + "Screen Attributes" = 147, + // (undocumented) + "Screen Meta Data" = 146, + // (undocumented) + "Security 2" = 159, + // (undocumented) + "Security Mark" = 61696, + // (undocumented) + "Sensor Configuration" = 158, + // (undocumented) + "Simple AV Control" = 148, + // (undocumented) + "Sound Switch" = 121, + // (undocumented) + "Support/Control Mark" = 239, + // (undocumented) + "Tariff Table Configuration" = 74, + // (undocumented) + "Tariff Table Monitor" = 75, + // (undocumented) + "Thermostat Fan Mode" = 68, + // (undocumented) + "Thermostat Fan State" = 69, + // (undocumented) + "Thermostat Mode" = 64, + // (undocumented) + "Thermostat Operating State" = 66, + // (undocumented) + "Thermostat Setback" = 71, + // (undocumented) + "Thermostat Setpoint" = 67, + // (undocumented) + "Time Parameters" = 139, + // (undocumented) + "Transport Service" = 85, + // (undocumented) + "User Code" = 99, + // (undocumented) + "Wake Up" = 132, + // (undocumented) + "Window Covering" = 106, + // (undocumented) + "Z-Wave Plus Info" = 94, + // (undocumented) + "Z-Wave Protocol" = 1, + // (undocumented) + "Z/IP 6LoWPAN" = 79, + // (undocumented) + "Z/IP Gateway" = 95, + // (undocumented) + "Z/IP Naming and Location" = 104, + // (undocumented) + "Z/IP ND" = 88, + // (undocumented) + "Z/IP Portal" = 97, + // (undocumented) + "Z/IP" = 35, + // (undocumented) + "Association" = 133, + // (undocumented) + "Authentication" = 161, + // (undocumented) + "Basic" = 32, + // (undocumented) + "Battery" = 128, + // (undocumented) + "Clock" = 129, + // (undocumented) + "Configuration" = 112, + // (undocumented) + "Hail" = 130, + // (undocumented) + "Indicator" = 135, + // (undocumented) + "Irrigation" = 107, + // (undocumented) + "Language" = 137, + // (undocumented) + "Lock" = 118, + // (undocumented) + "Mailbox" = 105, + // (undocumented) + "Meter" = 50, + // (undocumented) + "Notification" = 113, + // (undocumented) + "Powerlevel" = 115, + // (undocumented) + "Prepayment" = 63, + // (undocumented) + "Proprietary" = 136, + // (undocumented) + "Protection" = 117, + // (undocumented) + "Schedule" = 83, + // (undocumented) + "Security" = 152, + // (undocumented) + "Supervision" = 108, + // (undocumented) + "Time" = 138, + // (undocumented) + "Version" = 134 +} + +// Warning: (ae-missing-release-tag) "CommandClassInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CommandClassInfo { + isControlled: boolean; + isSupported: boolean; + secure: boolean; + version: number; +} + +// Warning: (ae-missing-release-tag) "computeCMAC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function computeCMAC(message: Buffer, key: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "computeMAC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function computeMAC(authData: Buffer, key: Buffer, iv?: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "computeNoncePRK" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function computeNoncePRK(senderEI: Buffer, receiverEI: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "computePRK" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function computePRK(ecdhSharedSecret: Buffer, pubKeyA: Buffer, pubKeyB: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "ConfigurationMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ConfigurationMetadata extends ValueMetadataAny { + // (undocumented) + allowManualEntry?: boolean; + // (undocumented) + default?: ConfigValue; + // (undocumented) + format?: ConfigValueFormat; + // (undocumented) + info?: string; + // (undocumented) + isAdvanced?: boolean; + // (undocumented) + isFromConfig?: boolean; + // (undocumented) + max?: ConfigValue; + // (undocumented) + min?: ConfigValue; + // (undocumented) + name?: string; + // (undocumented) + noBulkSupport?: boolean; + // (undocumented) + requiresReInclusion?: boolean; + // (undocumented) + states?: Record; + // (undocumented) + unit?: string; + // (undocumented) + valueSize?: number; +} + +// Warning: (tsdoc-undefined-tag) The TSDoc tag "@publicAPI" is not defined in this configuration +// Warning: (ae-missing-release-tag) "ConfigValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ConfigValue = number | Set; + +// Warning: (ae-missing-release-tag) "ConfigValueFormat" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum ConfigValueFormat { + // (undocumented) + BitField = 3, + // (undocumented) + Enumerated = 2, + // (undocumented) + SignedInteger = 0, + // (undocumented) + UnsignedInteger = 1 +} + +// Warning: (ae-missing-release-tag) "CONTROL_CHAR_WIDTH" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const CONTROL_CHAR_WIDTH = 2; + +// Warning: (ae-missing-release-tag) "CONTROLLER_LABEL" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const CONTROLLER_LABEL = "CNTRLR"; + +// Warning: (ae-missing-release-tag) "ControllerCapabilityFlags" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ControllerCapabilityFlags { + // (undocumented) + NoNodesIncluded = 32, + // (undocumented) + OnOtherNetwork = 2, + // (undocumented) + Secondary = 1, + // (undocumented) + SISPresent = 4, + // (undocumented) + SUC = 16, + // (undocumented) + WasRealPrimary = 8 +} + +// Warning: (ae-missing-release-tag) "ControllerLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ControllerLogContext = ControllerSelfLogContext | ControllerNodeLogContext | ControllerValueLogContext; + +// Warning: (ae-missing-release-tag) "ControllerLogger" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ControllerLogger extends ZWaveLoggerBase { + constructor(loggers: ZWaveLogContainer); + interviewStage(node: Interviewable): void; + interviewStart(node: Interviewable): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + logNode(nodeId: number, message: string, level?: "debug" | "verbose" | "warn" | "error"): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + logNode(nodeId: number, options: LogNodeOptions): void; + metadataUpdated(args: LogValueArgs): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + print(message: string, level?: "verbose" | "warn" | "error"): void; + value(change: "added", args: LogValueArgs): void; + // (undocumented) + value(change: "updated", args: LogValueArgs): void; + // (undocumented) + value(change: "removed", args: LogValueArgs): void; + // (undocumented) + value(change: "notification", args: LogValueArgs): void; + // (undocumented) + valueEventPrefixes: Readonly<{ + added: "+"; + updated: "~"; + removed: "-"; + notification: "!"; + }>; +} + +// Warning: (ae-missing-release-tag) "ControllerNodeLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ControllerNodeLogContext = LogContext<"controller"> & NodeLogContext & { + endpoint?: number; + direction: string; +}; + +// Warning: (ae-missing-release-tag) "ControllerSelfLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ControllerSelfLogContext = LogContext<"controller"> & { + type: "controller"; +}; + +// Warning: (ae-missing-release-tag) "ControllerValueLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ControllerValueLogContext = LogContext<"controller"> & ValueLogContext & { + direction?: string; + change?: "added" | "updated" | "removed" | "notification"; + internal?: boolean; +}; + +// Warning: (ae-missing-release-tag) "CRC16_CCITT" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function CRC16_CCITT(data: Buffer, startValue?: number): number; + +// Warning: (ae-missing-release-tag) "createDefaultTransportFormat" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createDefaultTransportFormat(colorize: boolean, shortTimestamps: boolean): Format; + +// Warning: (ae-missing-release-tag) "createLoggerFormat" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createLoggerFormat(channel: string): Format; + +// Warning: (ae-missing-release-tag) "createLogMessagePrinter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createLogMessagePrinter(shortTimestamps: boolean): Format; + +// Warning: (ae-forgotten-export) The symbol "Constructor" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createReflectionDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createReflectionDecorator = Constructor>({ name, valueFromArgs, constructorLookupKey, }: CreateReflectionDecoratorOptions): ReflectionDecorator; + +// Warning: (ae-missing-release-tag) "CreateReflectionDecoratorOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateReflectionDecoratorOptions = Constructor> { + constructorLookupKey?: false | ((target: TConstructor, ...args: TArgs) => string); + name: string; + valueFromArgs: (...args: TArgs) => TValue; +} + +// Warning: (ae-missing-release-tag) "createReflectionDecoratorPair" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createReflectionDecoratorPair = Constructor>({ superName, subName, }: CreateReflectionDecoratorPairOptions): ReflectionDecoratorPair; + +// Warning: (ae-missing-release-tag) "CreateReflectionDecoratorPairOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateReflectionDecoratorPairOptions { + subName: string; + superName: string; +} + +// Warning: (ae-missing-release-tag) "createSimpleReflectionDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createSimpleReflectionDecorator = Constructor>({ name, }: CreateSimpleReflectionDecoratorOptions): SimpleReflectionDecorator; + +// Warning: (ae-missing-release-tag) "CreateSimpleReflectionDecoratorOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateSimpleReflectionDecoratorOptions { + name: string; +} + +// Warning: (ae-missing-release-tag) "createValuelessReflectionDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createValuelessReflectionDecorator({ name, }: CreateValuelessReflectionDecoratorOptions): ValuelessReflectionDecorator; + +// Warning: (ae-missing-release-tag) "CreateValuelessReflectionDecoratorOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateValuelessReflectionDecoratorOptions { + name: string; +} + +// Warning: (ae-missing-release-tag) "DataDirection" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DataDirection = "inbound" | "outbound" | "none"; + +// Warning: (ae-missing-release-tag) "DataRate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DataRate = 9600 | 40000 | 100000; + +// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" +// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag +// Warning: (ae-missing-release-tag) "dbKeyToValueIdFast" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function dbKeyToValueIdFast(key: string): { + nodeId: number; +} & ValueID; + +// Warning: (ae-missing-release-tag) "decodeX25519KeyDER" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function decodeX25519KeyDER(key: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "decryptAES128CCM" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function decryptAES128CCM(key: Buffer, iv: Buffer, ciphertext: Buffer, additionalData: Buffer, authTag: Buffer): { + plaintext: Buffer; + authOK: boolean; +}; + +// Warning: (ae-missing-release-tag) "decryptAES128OFB" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const decryptAES128OFB: (input: Buffer, key: Buffer, iv: Buffer) => Buffer; + +// Warning: (ae-missing-release-tag) "deriveMEI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function deriveMEI(noncePRK: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "deriveNetworkKeys" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function deriveNetworkKeys(PNK: Buffer): { + keyCCM: Buffer; + keyMPAN: Buffer; + personalizationString: Buffer; +}; + +// Warning: (ae-missing-release-tag) "deriveTempKeys" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function deriveTempKeys(PRK: Buffer): { + tempKeyCCM: Buffer; + tempPersonalizationString: Buffer; +}; + +// Warning: (ae-missing-release-tag) "deserializeCacheValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function deserializeCacheValue(value: SerializedValue): unknown; + +// Warning: (ae-missing-release-tag) "directionPrefixPadding" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const directionPrefixPadding: string; + +// Warning: (ae-missing-release-tag) "dskFromString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function dskFromString(dsk: string): Buffer; + +// Warning: (ae-missing-release-tag) "dskToString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function dskToString(dsk: Buffer): string; + +// Warning: (ae-missing-release-tag) "DSTInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DSTInfo { + // (undocumented) + dstOffset: number; + // (undocumented) + endDate: Date; + // (undocumented) + standardOffset: number; + // (undocumented) + startDate: Date; +} + +// Warning: (ae-missing-release-tag) "Duration" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class Duration { + constructor(value: number, unit: DurationUnit); + static from(input: "default"): Duration; + // (undocumented) + static from(input?: Duration | string): Duration | undefined; + static parseReport(payload?: number): Duration | undefined; + static parseSet(payload?: number): Duration | undefined; + static parseString(text: string): Duration | undefined; + serializeReport(): number; + serializeSet(): number; + // (undocumented) + toJSON(): string | JSONObject; + // (undocumented) + toMilliseconds(): number | undefined; + // (undocumented) + toString(): string; + // (undocumented) + unit: DurationUnit; + // (undocumented) + get value(): number; + set value(v: number); +} + +// Warning: (ae-missing-release-tag) "DurationUnit" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DurationUnit = "seconds" | "minutes" | "unknown" | "default"; + +// Warning: (ae-missing-release-tag) "encapsulationCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const encapsulationCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "EncapsulationFlags" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum EncapsulationFlags { + // (undocumented) + CRC16 = 4, + // (undocumented) + None = 0, + // (undocumented) + Security = 2, + // (undocumented) + Supervision = 1 +} + +// Warning: (ae-missing-release-tag) "encodeBitMask" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeBitMask(values: readonly number[], maxValue: number, startValue?: number): Buffer; + +// Warning: (ae-missing-release-tag) "encodeBoolean" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeBoolean(val: boolean): number; + +// Warning: (ae-missing-release-tag) "encodeCCId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeCCId(ccId: CommandClasses, payload: Buffer, offset?: number): number; + +// Warning: (ae-missing-release-tag) "encodeCCList" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function encodeCCList(supportedCCs: readonly CommandClasses[], controlledCCs: readonly CommandClasses[]): Buffer; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "encodeFloatWithScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeFloatWithScale(value: number, scale: number, override?: { + size?: number; + precision?: number; +}): Buffer; + +// Warning: (ae-missing-release-tag) "encodeMaybeBoolean" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeMaybeBoolean(val: Maybe): number; + +// Warning: (ae-missing-release-tag) "encodeNodeInformationFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function encodeNodeInformationFrame(info: NodeInformationFrame): Buffer; + +// Warning: (ae-missing-release-tag) "encodeNodeProtocolInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function encodeNodeProtocolInfo(info: NodeProtocolInfo): Buffer; + +// Warning: (ae-missing-release-tag) "encodeNodeProtocolInfoAndDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function encodeNodeProtocolInfoAndDeviceClass(info: NodeProtocolInfoAndDeviceClass): Buffer; + +// Warning: (ae-missing-release-tag) "encodeNodeUpdatePayload" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function encodeNodeUpdatePayload(nif: NodeUpdatePayload): Buffer; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "encodePartial" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodePartial(fullValue: number, partialValue: number, bitMask: number): number; + +// Warning: (ae-missing-release-tag) "encodeX25519KeyDERPKCS8" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeX25519KeyDERPKCS8(key: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "encodeX25519KeyDERSPKI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encodeX25519KeyDERSPKI(key: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "encryptAES128CCM" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function encryptAES128CCM(key: Buffer, iv: Buffer, plaintext: Buffer, additionalData: Buffer, authTagLength: number): { + ciphertext: Buffer; + authTag: Buffer; +}; + +// Warning: (ae-missing-release-tag) "encryptAES128ECB" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function encryptAES128ECB(plaintext: Buffer, key: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "encryptAES128OFB" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const encryptAES128OFB: (input: Buffer, key: Buffer, iv: Buffer) => Buffer; + +// Warning: (ae-missing-release-tag) "enumValuesToMetadataStates" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function enumValuesToMetadataStates>(enumeration: T, values?: readonly number[]): Record; + +// Warning: (ae-missing-release-tag) "extractFirmware" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function extractFirmware(rawData: Buffer, format: FirmwareFileFormat): Firmware; + +// Warning: (ae-missing-release-tag) "Firmware" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface Firmware { + // (undocumented) + data: Buffer; + // (undocumented) + firmwareTarget?: number; +} + +// Warning: (ae-missing-release-tag) "FirmwareFileFormat" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FirmwareFileFormat = "aeotec" | "otz" | "ota" | "hex" | "hec" | "gecko" | "bin"; + +// Warning: (ae-missing-release-tag) "FLiRS" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FLiRS = false | "250ms" | "1000ms"; + +// Warning: (ae-missing-release-tag) "formatDate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function formatDate(date: Date, format: string): string; + +// Warning: (ae-missing-release-tag) "generateAuthKey" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function generateAuthKey(networkKey: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "generateEncryptionKey" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function generateEncryptionKey(networkKey: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "getBitMaskWidth" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getBitMaskWidth(mask: number): number; + +// Warning: (ae-missing-release-tag) "getCCName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getCCName(cc: number): string; + +// Warning: (ae-missing-release-tag) "getDefaultDSTInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getDefaultDSTInfo(defaultOffset?: number): DSTInfo; + +// Warning: (ae-missing-release-tag) "getDirectionPrefix" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getDirectionPrefix(direction: DataDirection): "« " | "» " | " "; + +// Warning: (ae-missing-release-tag) "getDSTInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getDSTInfo(now?: Date): DSTInfo; + +// Warning: (ae-missing-release-tag) "getErrorSuffix" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getErrorSuffix(code: ZWaveErrorCodes): string; + +// Warning: (ae-missing-release-tag) "getHighestSecurityClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getHighestSecurityClass(securityClasses: SecurityClass[]): SecurityClass; + +// Warning: (ae-missing-release-tag) "getIntegerLimits" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getIntegerLimits(size: 1 | 2 | 3 | 4, signed: boolean): { + min: number; + max: number; +}; + +// Warning: (ae-missing-release-tag) "getLegalRangeForBitMask" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getLegalRangeForBitMask(mask: number, unsigned: boolean): [min: number, max: number]; + +// Warning: (ae-missing-release-tag) "getMinimumShiftForBitMask" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getMinimumShiftForBitMask(mask: number): number; + +// Warning: (ae-missing-release-tag) "getMinIntegerSize" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getMinIntegerSize(value: number, signed: boolean): 1 | 2 | 4 | undefined; + +// Warning: (ae-missing-release-tag) "getNodeTag" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getNodeTag(nodeId: number): string; + +// Warning: (ae-missing-release-tag) "getNumericEnumValues" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getNumericEnumValues>(enumeration: T): readonly number[]; + +// Warning: (ae-missing-release-tag) "GraphNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class GraphNode { + constructor(value: T, edges?: Iterable>); + readonly edges: Set>; + readonly value: T; +} + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "guessFirmwareFileFormat" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function guessFirmwareFileFormat(filename: string, rawData: Buffer): FirmwareFileFormat; + +// Warning: (ae-missing-release-tag) "highResTimestamp" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function highResTimestamp(): number; + +// Warning: (ae-missing-release-tag) "HOMEID_BYTES" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const HOMEID_BYTES = 4; + +// Warning: (ae-missing-release-tag) "ICommandClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ICommandClass { + // (undocumented) + ccCommand?: number; + // (undocumented) + ccId: CommandClasses; + // (undocumented) + expectsCCResponse(): boolean; + // (undocumented) + isExpectedCCResponse(received: ICommandClass): boolean; + // (undocumented) + nodeId: number | MulticastDestination; + // (undocumented) + serialize(): Buffer; +} + +// Warning: (ae-missing-release-tag) "indexDBsByNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function indexDBsByNode(databases: JsonlDB[]): Map>; + +// Warning: (ae-missing-release-tag) "IntegerLimits" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const IntegerLimits: Readonly<{ + UInt8: Readonly<{ + min: 0; + max: 255; + }>; + UInt16: Readonly<{ + min: 0; + max: 65535; + }>; + UInt24: Readonly<{ + min: 0; + max: 16777215; + }>; + UInt32: Readonly<{ + min: 0; + max: 4294967295; + }>; + Int8: Readonly<{ + min: -128; + max: 127; + }>; + Int16: Readonly<{ + min: -32768; + max: 32767; + }>; + Int24: Readonly<{ + min: -8388608; + max: 8388607; + }>; + Int32: Readonly<{ + min: -2147483648; + max: 2147483647; + }>; +}>; + +// Warning: (ae-missing-release-tag) "Interviewable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface Interviewable { + // (undocumented) + id: number; + // (undocumented) + interviewStage: InterviewStage; +} + +// Warning: (ae-missing-release-tag) "InterviewStage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum InterviewStage { + CommandClasses = 3, + Complete = 5, + NodeInfo = 2, + None = 0, + OverwriteConfig = 4, + ProtocolInfo = 1 +} + +// Warning: (ae-missing-release-tag) "isConsecutiveArray" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isConsecutiveArray(values: number[]): boolean; + +// Warning: (ae-missing-release-tag) "isExtendedCCId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isExtendedCCId(ccId: CommandClasses): boolean; + +// Warning: (ae-missing-release-tag) "isMessagePriority" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isMessagePriority(val: unknown): val is MessagePriority; + +// Warning: (ae-missing-release-tag) "isRecoverableZWaveError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isRecoverableZWaveError(e: unknown): e is ZWaveError; + +// Warning: (ae-missing-release-tag) "isRssiError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isRssiError(rssi: RSSI): rssi is RssiError; + +// Warning: (ae-missing-release-tag) "isSupervisionResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isSupervisionResult(obj: unknown): obj is SupervisionResult; + +// Warning: (ae-missing-release-tag) "isTransmissionError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isTransmissionError(e: unknown): e is ZWaveError & { + code: ZWaveErrorCodes.Controller_Timeout | ZWaveErrorCodes.Controller_MessageDropped | ZWaveErrorCodes.Controller_CallbackNOK | ZWaveErrorCodes.Controller_ResponseNOK | ZWaveErrorCodes.Controller_NodeTimeout | ZWaveErrorCodes.Security2CC_CannotDecode; +}; + +// Warning: (ae-missing-release-tag) "isUnsupervisedOrSucceeded" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isUnsupervisedOrSucceeded(result: SupervisionResult | undefined): result is undefined | (SupervisionResult & { + status: SupervisionStatus.Success | SupervisionStatus.Working; +}); + +// Warning: (ae-missing-release-tag) "isValidDSK" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isValidDSK(dsk: string): boolean; + +// Warning: (ae-missing-release-tag) "isValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isValueID(param: Record): param is ValueID; + +// Warning: (ae-missing-release-tag) "isZWaveError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isZWaveError(e: unknown): e is ZWaveError; + +// Warning: (ae-missing-release-tag) "IVirtualEndpoint" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface IVirtualEndpoint { + // (undocumented) + getCCVersion(cc: CommandClasses): number; + // (undocumented) + readonly index: number; + // (undocumented) + readonly node: IVirtualNode; + // (undocumented) + readonly nodeId: number | MulticastDestination; + // (undocumented) + supportsCC(cc: CommandClasses): boolean; + // (undocumented) + readonly virtual: true; +} + +// Warning: (ae-missing-release-tag) "IVirtualNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface IVirtualNode extends IVirtualEndpoint { + // (undocumented) + getEndpoint(index: 0): IVirtualEndpoint; + // (undocumented) + getEndpoint(index: number): IVirtualEndpoint | undefined; + // (undocumented) + getEndpointOrThrow(index: number): IVirtualEndpoint; + // (undocumented) + readonly id: number | undefined; + // (undocumented) + readonly physicalNodes: readonly IZWaveNode[]; +} + +// Warning: (ae-missing-release-tag) "IZWaveEndpoint" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface IZWaveEndpoint { + // (undocumented) + addCC(cc: CommandClasses, info: Partial): void; + // (undocumented) + controlsCC(cc: CommandClasses): boolean; + // (undocumented) + getCCs(): Iterable<[ccId: CommandClasses, info: CommandClassInfo]>; + // (undocumented) + getCCVersion(cc: CommandClasses): number; + // (undocumented) + getNodeUnsafe(): IZWaveNode | undefined; + // (undocumented) + readonly index: number; + // (undocumented) + isCCSecure(cc: CommandClasses): boolean; + // (undocumented) + readonly nodeId: number; + // (undocumented) + removeCC(cc: CommandClasses): void; + // (undocumented) + supportsCC(cc: CommandClasses): boolean; + // (undocumented) + readonly virtual: false; +} + +// Warning: (ae-missing-release-tag) "IZWaveNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface IZWaveNode extends IZWaveEndpoint, SecurityClassOwner { + // (undocumented) + readonly canSleep: boolean | undefined; + // (undocumented) + getAllEndpoints(): IZWaveEndpoint[]; + // (undocumented) + getEndpoint(index: 0): IZWaveEndpoint; + // (undocumented) + getEndpoint(index: number): IZWaveEndpoint | undefined; + // (undocumented) + getEndpointOrThrow(index: number): IZWaveEndpoint; + // (undocumented) + readonly id: number; + // (undocumented) + interviewStage: InterviewStage; + // (undocumented) + isFrequentListening: FLiRS | undefined; + // (undocumented) + isListening: boolean | undefined; + // (undocumented) + readonly isSecure: Maybe; + // (undocumented) + readonly status: NodeStatus; +} + +// Warning: (ae-missing-release-tag) "LOG_PREFIX_WIDTH" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const LOG_PREFIX_WIDTH = 20; + +// Warning: (ae-missing-release-tag) "LOG_WIDTH" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const LOG_WIDTH = 80; + +// Warning: (ae-missing-release-tag) "LogConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LogConfig { + // (undocumented) + enabled: boolean; + // (undocumented) + filename: string; + // (undocumented) + forceConsole: boolean; + // (undocumented) + level: string | number; + // (undocumented) + logToFile: boolean; + // (undocumented) + nodeFilter?: number[]; + // (undocumented) + transports: Transport[]; +} + +// Warning: (ae-missing-release-tag) "LogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LogContext { + source: T; + type?: string; +} + +// Warning: (ae-missing-release-tag) "logMessageFormatter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const logMessageFormatter: Format; + +// Warning: (ae-missing-release-tag) "LogNodeOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LogNodeOptions { + // (undocumented) + direction?: DataDirection; + // (undocumented) + endpoint?: number; + // (undocumented) + level?: "debug" | "verbose" | "warn" | "error"; + // (undocumented) + message: string; +} + +// Warning: (ae-missing-release-tag) "LogValueArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LogValueArgs = T & { + nodeId: number; + internal?: boolean; +}; + +// Warning: (ae-missing-release-tag) "managementCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const managementCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "MAX_NODES" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const MAX_NODES = 232; + +// Warning: (ae-missing-release-tag) "MAX_REPEATERS" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const MAX_REPEATERS = 4; + +// Warning: (ae-forgotten-export) The symbol "BrandedUnknown" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Maybe" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Maybe = T | BrandedUnknown; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "messageFitsIntoOneLine" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function messageFitsIntoOneLine(info: ZWaveLogInfo, messageLength: number): boolean; + +// Warning: (ae-missing-release-tag) "MessageOrCCLogEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MessageOrCCLogEntry { + // (undocumented) + message?: MessageRecord; + // (undocumented) + tags: string[]; +} + +// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag +// Warning: (ae-missing-release-tag) "MessagePriority" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum MessagePriority { + // (undocumented) + Controller = 1, + // (undocumented) + MultistepController = 2, + // (undocumented) + NodeQuery = 7, + // (undocumented) + Nonce = 0, + // (undocumented) + Normal = 6, + // (undocumented) + Ping = 4, + // (undocumented) + Poll = 8, + // (undocumented) + Supervision = 3, + // (undocumented) + WakeUp = 5 +} + +// Warning: (ae-missing-release-tag) "MessageRecord" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MessageRecord = Record; + +// Warning: (ae-missing-release-tag) "messageRecordToLines" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function messageRecordToLines(message: MessageRecord): string[]; + +// Warning: (ae-missing-release-tag) "messageToLines" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function messageToLines(message: string | string[]): string[]; + +// Warning: (ae-missing-release-tag) "MetadataUpdatedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MetadataUpdatedArgs extends ValueID { + // (undocumented) + metadata: ValueMetadata | undefined; +} + +// Warning: (ae-missing-release-tag) "MulticastCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MulticastCC = T & { + nodeId: MulticastDestination; +}; + +// Warning: (ae-missing-release-tag) "MulticastDestination" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MulticastDestination = [number, number, ...number[]]; + +// Warning: (ae-missing-release-tag) "NODE_ID_BROADCAST" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const NODE_ID_BROADCAST = 255; + +// Warning: (ae-missing-release-tag) "NODE_ID_MAX" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const NODE_ID_MAX = 232; + +// Warning: (ae-missing-release-tag) "NodeInformationFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NodeInformationFrame = NodeProtocolInfoAndDeviceClass & ApplicationNodeInformation; + +// Warning: (ae-missing-release-tag) "NodeLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NodeLogContext = LogContext & { + nodeId: number; + type: "node"; +}; + +// Warning: (ae-missing-release-tag) "NodeProtocolInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeProtocolInfo { + hasSpecificDeviceClass: boolean; + isFrequentListening: FLiRS; + isListening: boolean; + isRouting: boolean; + nodeType: NodeType; + optionalFunctionality: boolean; + // (undocumented) + protocolVersion: ProtocolVersion; + // (undocumented) + supportedDataRates: DataRate[]; + supportsBeaming: boolean; + supportsSecurity: boolean; +} + +// Warning: (ae-missing-release-tag) "NodeProtocolInfoAndDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeProtocolInfoAndDeviceClass extends Omit { + // (undocumented) + basicDeviceClass: number; + // (undocumented) + genericDeviceClass: number; + // (undocumented) + specificDeviceClass: number; +} + +// Warning: (ae-missing-release-tag) "NodeStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum NodeStatus { + // (undocumented) + Alive = 4, + // (undocumented) + Asleep = 1, + // (undocumented) + Awake = 2, + // (undocumented) + Dead = 3, + // (undocumented) + Unknown = 0 +} + +// Warning: (ae-missing-release-tag) "NodeType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum NodeType { + // (undocumented) + "End Node" = 1, + // @deprecated (undocumented) + "Routing End Node" = 1, + // (undocumented) + Controller = 0 +} + +// Warning: (ae-missing-release-tag) "NodeUpdatePayload" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeUpdatePayload extends ApplicationNodeInformation { + // (undocumented) + basicDeviceClass: number; + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "nonApplicationCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const nonApplicationCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "normalizeValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function normalizeValueID(valueID: ValueID): ValueID; + +// Warning: (ae-missing-release-tag) "NUM_NODEMASK_BYTES" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const NUM_NODEMASK_BYTES: number; + +// Warning: (ae-missing-release-tag) "nwiHomeIdFromDSK" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function nwiHomeIdFromDSK(dsk: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "parseApplicationNodeInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseApplicationNodeInformation(nif: Buffer): ApplicationNodeInformation; + +// Warning: (ae-missing-release-tag) "parseBitMask" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseBitMask(mask: Buffer, startValue?: number): number[]; + +// Warning: (ae-missing-release-tag) "parseBoolean" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseBoolean(val: number): boolean | undefined; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "parseCCId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseCCId(payload: Buffer, offset?: number): { + ccId: CommandClasses; + bytesRead: number; +}; + +// Warning: (ae-missing-release-tag) "parseCCList" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseCCList(payload: Buffer): { + supportedCCs: CommandClasses[]; + controlledCCs: CommandClasses[]; +}; + +// Warning: (ae-missing-release-tag) "parseFloatWithScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "parseFloatWithScale" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseFloatWithScale(payload: Buffer, allowEmpty?: false): { + value: number; + scale: number; + bytesRead: number; +}; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// +// @public +export function parseFloatWithScale(payload: Buffer, allowEmpty: true): { + value?: number; + scale?: number; + bytesRead: number; +}; + +// Warning: (ae-missing-release-tag) "parseMaybeBoolean" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseMaybeBoolean(val: number, preserveUnknown?: boolean): Maybe | undefined; + +// Warning: (ae-missing-release-tag) "parseMaybeNumber" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseMaybeNumber(val: number): Maybe | undefined; + +// Warning: (ae-missing-release-tag) "parseNodeInformationFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseNodeInformationFrame(buffer: Buffer): NodeInformationFrame; + +// Warning: (ae-missing-release-tag) "parseNodeProtocolInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseNodeProtocolInfo(buffer: Buffer, offset: number): NodeProtocolInfo; + +// Warning: (ae-missing-release-tag) "parseNodeProtocolInfoAndDeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseNodeProtocolInfoAndDeviceClass(buffer: Buffer): { + info: NodeProtocolInfoAndDeviceClass; + bytesRead: number; +}; + +// Warning: (ae-missing-release-tag) "parseNodeUpdatePayload" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function parseNodeUpdatePayload(nif: Buffer): NodeUpdatePayload; + +// Warning: (ae-missing-release-tag) "parseNumber" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseNumber(val: number): number | undefined; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "parsePartial" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parsePartial(value: number, bitMask: number, signed: boolean): number; + +// Warning: (ae-missing-release-tag) "parseQRCodeString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function parseQRCodeString(qr: string): QRProvisioningInformation; + +// Warning: (ae-missing-release-tag) "ProtocolDataRate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ProtocolDataRate { + // (undocumented) + LongRange_100k = 4, + // (undocumented) + ZWave_100k = 3, + // (undocumented) + ZWave_40k = 2, + // (undocumented) + ZWave_9k6 = 1 +} + +// Warning: (ae-missing-release-tag) "protocolDataRateMask" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const protocolDataRateMask = 7; + +// Warning: (ae-missing-release-tag) "protocolDataRateToString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function protocolDataRateToString(rate: ProtocolDataRate): string; + +// Warning: (ae-missing-release-tag) "Protocols" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum Protocols { + // (undocumented) + ZWave = 0, + // (undocumented) + ZWaveLongRange = 1 +} + +// Warning: (ae-missing-release-tag) "ProtocolType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ProtocolType { + // (undocumented) + "Z-Wave AV" = 1, + // (undocumented) + "Z-Wave for IP" = 2, + // (undocumented) + "Z-Wave" = 0 +} + +// Warning: (ae-missing-release-tag) "ProtocolVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ProtocolVersion { + // (undocumented) + "2.0" = 1, + // (undocumented) + "4.2x / 5.0x" = 2, + // (undocumented) + "4.5x / 6.0x" = 3, + // (undocumented) + "unknown" = 0 +} + +// Warning: (ae-missing-release-tag) "ProvisioningInformation_MaxInclusionRequestInterval" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProvisioningInformation_MaxInclusionRequestInterval { + // (undocumented) + maxInclusionRequestInterval: number; +} + +// Warning: (ae-missing-release-tag) "ProvisioningInformation_ProductId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProvisioningInformation_ProductId { + // (undocumented) + applicationVersion: string; + // (undocumented) + manufacturerId: number; + // (undocumented) + productId: number; + // (undocumented) + productType: number; +} + +// Warning: (ae-missing-release-tag) "ProvisioningInformation_ProductType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProvisioningInformation_ProductType { + // (undocumented) + genericDeviceClass: number; + // (undocumented) + installerIconType: number; + // (undocumented) + specificDeviceClass: number; +} + +// Warning: (ae-missing-release-tag) "ProvisioningInformation_SupportedProtocols" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProvisioningInformation_SupportedProtocols { + // (undocumented) + supportedProtocols: Protocols[]; +} + +// Warning: (ae-missing-release-tag) "ProvisioningInformation_UUID16" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProvisioningInformation_UUID16 { + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "ProvisioningInformationType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ProvisioningInformationType { + // (undocumented) + AdvancedJoining = 53, + // (undocumented) + BootstrappingMode = 54, + // (undocumented) + Location = 51, + // (undocumented) + MaxInclusionRequestInterval = 2, + // (undocumented) + Name = 50, + // (undocumented) + NetworkStatus = 55, + // (undocumented) + ProductId = 1, + // (undocumented) + ProductType = 0, + // (undocumented) + SmartStartInclusionSetting = 52, + // (undocumented) + SupportedProtocols = 4, + // (undocumented) + UUID16 = 3 +} + +// Warning: (ae-missing-release-tag) "QRCodeVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum QRCodeVersion { + // (undocumented) + S2 = 0, + // (undocumented) + SmartStart = 1 +} + +// Warning: (ae-missing-release-tag) "QRProvisioningInformation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type QRProvisioningInformation = { + version: QRCodeVersion; + readonly requestedSecurityClasses: SecurityClass[]; + securityClasses: SecurityClass[]; + dsk: string; +} & ProvisioningInformation_ProductType & ProvisioningInformation_ProductId & Partial & Partial & Partial; + +// Warning: (ae-missing-release-tag) "ReflectionDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ReflectionDecorator = Constructor> { + decorator: (...args: TArgs) => TypedClassDecorator; + lookupConstructorByKey: (key: string) => TConstructor | undefined; + lookupConstructorByValue: (value: TValue) => TConstructor | undefined; + lookupValue: (target: TBase) => TValue | undefined; + lookupValueStatic: (constr: Function) => TValue | undefined; +} + +// Warning: (ae-missing-release-tag) "ReflectionDecoratorPair" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ReflectionDecoratorPair = Constructor> { + lookupSubConstructor: (...args: [...TSuperArgs, ...TSubArgs]) => TConstructor | undefined; + lookupSubValue: (target: TBase) => TSubArgs[0] | undefined; + lookupSubValueStatic: (constr: Function) => TSubArgs[0] | undefined; + lookupSuperConstructor: (...args: TSuperArgs) => TConstructor | undefined; + lookupSuperValue: (target: TBase) => TSuperArgs[0] | undefined; + lookupSuperValueStatic: (constr: Function) => TSuperArgs[0] | undefined; + subDecorator: (...args: TSubArgs) => TypedClassDecorator; + superDecorator: (...args: TSuperArgs) => TypedClassDecorator; +} + +// Warning: (ae-missing-release-tag) "restoreSilence" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function restoreSilence(logger: winston.Logger, original: boolean): void; + +// Warning: (ae-missing-release-tag) "RFRegion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum RFRegion { + // (undocumented) + "Australia/New Zealand" = 2, + // (undocumented) + "Default (EU)" = 255, + // (undocumented) + "Hong Kong" = 3, + // (undocumented) + "USA (Long Range)" = 9, + // (undocumented) + "China" = 8, + // (undocumented) + "Europe" = 0, + // (undocumented) + "India" = 5, + // (undocumented) + "Israel" = 6, + // (undocumented) + "Japan" = 32, + // (undocumented) + "Korea" = 33, + // (undocumented) + "Russia" = 7, + // (undocumented) + "Unknown" = 254, + // (undocumented) + "USA" = 1 +} + +// Warning: (ae-missing-release-tag) "RouteProtocolDataRate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum RouteProtocolDataRate { + // (undocumented) + LongRange_100k = 4, + // (undocumented) + Unspecified = 0, + // (undocumented) + ZWave_100k = 3, + // (undocumented) + ZWave_40k = 2, + // (undocumented) + ZWave_9k6 = 1 +} + +// Warning: (ae-missing-release-tag) "RSSI" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type RSSI = number | RssiError; + +// Warning: (ae-missing-release-tag) "RssiError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum RssiError { + // (undocumented) + NoSignalDetected = 125, + // (undocumented) + NotAvailable = 127, + // (undocumented) + ReceiverSaturated = 126 +} + +// Warning: (ae-missing-release-tag) "rssiToString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function rssiToString(rssi: RSSI): string; + +// Warning: (ae-missing-release-tag) "S2SecurityClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type S2SecurityClass = SecurityClass.S2_Unauthenticated | SecurityClass.S2_Authenticated | SecurityClass.S2_AccessControl; + +// Warning: (ae-missing-release-tag) "SECURITY_S2_AUTH_TAG_LENGTH" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SECURITY_S2_AUTH_TAG_LENGTH = 8; + +// Warning: (ae-missing-release-tag) "SecurityClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SecurityClass { + None = -1, + // (undocumented) + S0_Legacy = 7, + // (undocumented) + S2_AccessControl = 2, + // (undocumented) + S2_Authenticated = 1, + // (undocumented) + S2_Unauthenticated = 0, + Temporary = -2 +} + +// Warning: (ae-missing-release-tag) "securityClassIsS2" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function securityClassIsS2(secClass: SecurityClass | undefined): secClass is S2SecurityClass; + +// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag +// Warning: (ae-missing-release-tag) "securityClassOrder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const securityClassOrder: readonly [SecurityClass.S2_AccessControl, SecurityClass.S2_Authenticated, SecurityClass.S2_Unauthenticated, SecurityClass.S0_Legacy]; + +// Warning: (ae-missing-release-tag) "SecurityClassOwner" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SecurityClassOwner { + // (undocumented) + getHighestSecurityClass(): SecurityClass | undefined; + // (undocumented) + hasSecurityClass(securityClass: SecurityClass): Maybe; + // (undocumented) + readonly id: number; + // (undocumented) + setSecurityClass(securityClass: SecurityClass, granted: boolean): void; +} + +// Warning: (ae-missing-release-tag) "SecurityManager" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityManager { + constructor(options: SecurityManagerOptions); + // (undocumented) + get authKey(): Buffer; + deleteAllNoncesForReceiver(receiver: number): void; + // (undocumented) + deleteNonce(id: number | NonceKey): void; + // (undocumented) + get encryptionKey(): Buffer; + generateNonce(receiver: number, length: number): Buffer; + // (undocumented) + getFreeNonce(nodeId: number): Buffer | undefined; + // (undocumented) + getNonce(id: number | NonceKey): Buffer | undefined; + // (undocumented) + getNonceId(nonce: Buffer): number; + // (undocumented) + hasNonce(id: number | NonceKey): boolean; + // (undocumented) + get networkKey(): Buffer; + set networkKey(v: Buffer); + // Warning: (ae-forgotten-export) The symbol "NonceKey" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "NonceEntry" needs to be exported by the entry point index.d.ts + // + // (undocumented) + setNonce(id: number | NonceKey, entry: NonceEntry, { free }?: SetNonceOptions): void; +} + +// Warning: (ae-missing-release-tag) "SecurityManager2" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SecurityManager2 { + constructor(); + // (undocumented) + assignSecurityClassMulticast(group: number, securityClass: SecurityClass): void; + deleteNonce(receiver: number): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + generateNonce(receiver: number | undefined): Buffer; + // (undocumented) + getKeysForNode(peerNodeID: number): NetworkKeys | TempNetworkKeys; + // Warning: (ae-forgotten-export) The symbol "NetworkKeys" needs to be exported by the entry point index.d.ts + // + // (undocumented) + getKeysForSecurityClass(securityClass: SecurityClass): NetworkKeys; + // (undocumented) + getSPANState(peerNodeID: number): SPANTableEntry | { + type: SPANState.None; + }; + // (undocumented) + hasKeysForSecurityClass(securityClass: SecurityClass): boolean; + hasUsedSecurityClass(peerNodeID: number, securityClass: SecurityClass): boolean; + // (undocumented) + initializeMPAN(group: number): void; + initializeSPAN(peerNodeId: number, securityClass: SecurityClass, senderEI: Buffer, receiverEI: Buffer): void; + initializeTempSPAN(peerNodeId: number, senderEI: Buffer, receiverEI: Buffer): void; + isDuplicateSinglecast(peerNodeId: number, sequenceNumber: number): boolean; + // (undocumented) + nextMPAN(group: number): Buffer; + // (undocumented) + nextNonce(peerNodeId: number): Buffer; + nextSequenceNumber(peerNodeId: number): number; + setKey(securityClass: SecurityClass, key: Buffer): void; + setSPANState(peerNodeID: number, state: SPANTableEntry | { + type: SPANState.None; + }): void; + // (undocumented) + storeRemoteEI(peerNodeId: number, remoteEI: Buffer): void; + // (undocumented) + storeSequenceNumber(peerNodeId: number, sequenceNumber: number): void; + // Warning: (ae-forgotten-export) The symbol "TempNetworkKeys" needs to be exported by the entry point index.d.ts + readonly tempKeys: Map; +} + +// Warning: (ae-missing-release-tag) "SecurityManagerOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SecurityManagerOptions { + // (undocumented) + networkKey: Buffer; + // (undocumented) + nonceTimeout: number; + // (undocumented) + ownNodeId: number; +} + +// Warning: (ae-missing-release-tag) "SendCommandOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SendCommandOptions = SendMessageOptions & SupervisionOptions & { + maxSendAttempts?: number; + autoEncapsulate?: boolean; + encapsulationFlags?: EncapsulationFlags; + transmitOptions?: TransmitOptions; +}; + +// Warning: (ae-missing-release-tag) "SendCommandReturnType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SendCommandReturnType = undefined extends TResponse ? SupervisionResult | undefined : TResponse | undefined; + +// Warning: (ae-missing-release-tag) "SendMessageOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SendMessageOptions { + changeNodeStatusOnMissingACK?: boolean; + expire?: number; + onTXReport?: (report: TXReport) => void; + // @internal + pauseSendThread?: boolean; + priority?: MessagePriority; + requestWakeUpOnDemand?: boolean; + supportCheck?: boolean; + // @internal + tag?: any; +} + +// Warning: (ae-missing-release-tag) "sensorCCs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const sensorCCs: readonly CommandClasses[]; + +// Warning: (ae-missing-release-tag) "serializeCacheValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function serializeCacheValue(value: unknown): SerializedValue; + +// Warning: (ae-missing-release-tag) "SetNonceOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SetNonceOptions { + // (undocumented) + free?: boolean; +} + +// Warning: (ae-missing-release-tag) "SetValueOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SetValueOptions { + noEvent?: boolean; + noThrow?: boolean; + source?: ValueUpdatedArgs["source"]; + stateful?: boolean; +} + +// Warning: (ae-missing-release-tag) "SimpleReflectionDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SimpleReflectionDecorator = Constructor> { + decorator: (...args: TArgs) => TypedClassDecorator; + lookupConstructor: (...args: TArgs) => TConstructor | undefined; + lookupValue: (target: TBase) => TArgs[0] | undefined; + lookupValueStatic: (constr: Function) => TArgs[0] | undefined; +} + +// Warning: (ae-missing-release-tag) "SinglecastCC" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SinglecastCC = T & { + nodeId: number; +}; + +// Warning: (ae-missing-release-tag) "SPANState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SPANState { + // (undocumented) + LocalEI = 2, + None = 0, + // (undocumented) + RemoteEI = 1, + // (undocumented) + SPAN = 3 +} + +// Warning: (ae-missing-release-tag) "SPANTableEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SPANTableEntry = { + type: SPANState.RemoteEI; + receiverEI: Buffer; +} | { + type: SPANState.LocalEI; + receiverEI: Buffer; +} | { + type: SPANState.SPAN; + securityClass: SecurityClass; + rng: CtrDRBG; +}; + +// Warning: (ae-internal-missing-underscore) The name "stringToNodeList" should be prefixed with an underscore because the declaration is marked as @internal +// +// @internal (undocumented) +export function stringToNodeList(nodes?: string): number[] | undefined; + +// Warning: (ae-missing-release-tag) "stripUndefined" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function stripUndefined(obj: Record): Record; + +// Warning: (ae-missing-release-tag) "supervisedCommandFailed" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function supervisedCommandFailed(result: unknown): result is SupervisionResult & { + status: SupervisionStatus.Fail | SupervisionStatus.NoSupport; +}; + +// Warning: (ae-missing-release-tag) "supervisedCommandSucceeded" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function supervisedCommandSucceeded(result: unknown): result is SupervisionResult & { + status: SupervisionStatus.Success | SupervisionStatus.Working; +}; + +// Warning: (ae-missing-release-tag) "SupervisionOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SupervisionOptions = ({ + useSupervision?: "auto"; +} & ({ + requestStatusUpdates?: false; +} | { + requestStatusUpdates: true; + onUpdate: SupervisionUpdateHandler; +})) | { + useSupervision: false; +}; + +// Warning: (ae-missing-release-tag) "SupervisionResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SupervisionResult = { + status: SupervisionStatus.NoSupport | SupervisionStatus.Fail | SupervisionStatus.Success; + remainingDuration?: undefined; +} | { + status: SupervisionStatus.Working; + remainingDuration: Duration; +}; + +// Warning: (ae-missing-release-tag) "SupervisionStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SupervisionStatus { + // (undocumented) + Fail = 2, + // (undocumented) + NoSupport = 0, + // (undocumented) + Success = 255, + // (undocumented) + Working = 1 +} + +// Warning: (ae-missing-release-tag) "SupervisionUpdateHandler" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SupervisionUpdateHandler = (update: SupervisionResult) => void; + +// Warning: (ae-missing-release-tag) "tagify" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function tagify(tags: string[]): string; + +// Warning: (ae-missing-release-tag) "Timeout" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class Timeout { + constructor(value: number, unit: TimeoutUnit); + static parse(payload: number): Timeout; + // (undocumented) + static parse(payload: undefined): undefined; + serialize(): number; + // (undocumented) + toJSON(): string | JSONObject; + // (undocumented) + toMilliseconds(): number | undefined; + // (undocumented) + toString(): string; + // (undocumented) + unit: TimeoutUnit; + // (undocumented) + get value(): number; + set value(v: number); +} + +// Warning: (ae-missing-release-tag) "TimeoutUnit" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TimeoutUnit = "seconds" | "minutes" | "none" | "infinite"; + +// Warning: (ae-missing-release-tag) "timespan" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const timespan: Readonly<{ + seconds: (num: number) => number; + minutes: (num: number) => number; + hours: (num: number) => number; + days: (num: number) => number; +}>; + +// Warning: (ae-missing-release-tag) "timestampFormatShort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const timestampFormatShort = "HH:mm:ss.SSS"; + +// Warning: (ae-missing-release-tag) "timestampPadding" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const timestampPadding: string; + +// Warning: (ae-missing-release-tag) "timestampPaddingShort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const timestampPaddingShort: string; + +// Warning: (ae-missing-release-tag) "topologicalSort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function topologicalSort(graph: GraphNode[]): T[]; + +// Warning: (ae-missing-release-tag) "TranslatedValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TranslatedValueID extends ValueID { + // (undocumented) + commandClassName: string; + // (undocumented) + propertyKeyName?: string; + // (undocumented) + propertyName?: string; +} + +// Warning: (ae-missing-release-tag) "TransmitOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum TransmitOptions { + // (undocumented) + ACK = 1, + // (undocumented) + AutoRoute = 4, + // (undocumented) + DEFAULT = 37, + // (undocumented) + DEFAULT_NOACK = 36, + // (undocumented) + Explore = 32, + // (undocumented) + LowPower = 2, + // (undocumented) + NoRoute = 16, + // (undocumented) + NotSet = 0 +} + +// Warning: (ae-missing-release-tag) "TransmitStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum TransmitStatus { + // (undocumented) + Fail = 2, + // (undocumented) + NoAck = 1, + // (undocumented) + NoRoute = 4, + // (undocumented) + NotIdle = 3, + // (undocumented) + OK = 0 +} + +// Warning: (ae-missing-release-tag) "TXReport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TXReport { + ackChannelNo?: number; + ackRepeaterRSSI?: [RSSI?, RSSI?, RSSI?, RSSI?]; + ackRSSI?: RSSI; + beam1000ms: boolean; + beam250ms: boolean; + destinationAckMeasuredNoiseFloor?: RSSI; + destinationAckMeasuredRSSI?: RSSI; + destinationAckTxPower?: number; + failedRouteFirstNonFunctionalNodeId?: number; + failedRouteLastFunctionalNodeId?: number; + measuredNoiseFloor?: RSSI; + numRepeaters: number; + repeaterNodeIds: [number?, number?, number?, number?]; + routeSchemeState: number; + routeSpeed: ProtocolDataRate; + routingAttempts: number; + txChannelNo: number; + txPower?: number; + txTicks: number; +} + +// Warning: (ae-missing-release-tag) "unknownBoolean" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const unknownBoolean: Maybe; + +// Warning: (ae-missing-release-tag) "unknownNumber" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const unknownNumber: Maybe; + +// Warning: (ae-missing-release-tag) "unsilence" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function unsilence(logger: winston.Logger): boolean; + +// Warning: (ae-forgotten-export) The symbol "ValidatePayload" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "validatePayload" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const validatePayload: ValidatePayload; + +// Warning: (ae-missing-release-tag) "ValueAddedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueAddedArgs extends ValueID { + // (undocumented) + newValue: unknown; +} + +// Warning: (ae-missing-release-tag) "ValueChangeOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ValueChangeOptions { + transitionDuration: Duration | string; + volume: number; +} + +// Warning: (ae-forgotten-export) The symbol "ValueDBEventCallbacks" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ValueDB" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ValueDB extends TypedEventEmitter { + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + constructor(nodeId: number, valueDB: JsonlDB, metadataDB: JsonlDB, ownKeys?: Set); + clear(options?: SetValueOptions): void; + findMetadata(predicate: (id: ValueID) => boolean): (ValueID & { + metadata: ValueMetadata; + })[]; + findValues(predicate: (id: ValueID) => boolean): (ValueID & { + value: unknown; + })[]; + getAllMetadata(forCC: CommandClasses): (ValueID & { + metadata: ValueMetadata; + })[]; + getMetadata(valueId: ValueID): ValueMetadata | undefined; + getValue(valueId: ValueID): T | undefined; + getValues(forCC: CommandClasses): (ValueID & { + value: unknown; + })[]; + hasMetadata(valueId: ValueID): boolean; + hasValue(valueId: ValueID): boolean; + removeValue(valueId: ValueID, options?: SetValueOptions): boolean; + setMetadata(valueId: ValueID, metadata: ValueMetadata | undefined, options?: SetValueOptions): void; + setValue(valueId: ValueID, value: unknown, options?: SetValueOptions): void; +} + +// Warning: (ae-missing-release-tag) "ValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ValueID { + // (undocumented) + commandClass: CommandClasses; + // (undocumented) + endpoint?: number; + // (undocumented) + property: string | number; + // (undocumented) + propertyKey?: string | number; +} + +// Warning: (ae-missing-release-tag) "valueIdToString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function valueIdToString(valueID: ValueID): string; + +// Warning: (ae-missing-release-tag) "ValuelessReflectionDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValuelessReflectionDecorator { + decorator: () => TypedClassDecorator; + isDecorated: (target: TBase) => boolean; + isDecoratedStatic: (constr: Function) => boolean; +} + +// Warning: (ae-missing-release-tag) "ValueLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ValueLogContext = LogContext & ValueID & { + nodeId: number; + type: "value"; +}; + +// Warning: (ae-missing-release-tag) "ValueMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ValueMetadata" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ValueMetadata = ValueMetadataAny | ValueMetadataNumeric | ValueMetadataBoolean | ValueMetadataString | ValueMetadataDuration | ValueMetadataBuffer | ConfigurationMetadata; + +// @public +export const ValueMetadata: { + Any: Readonly<{ + readonly type: "any"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnly: Readonly<{ + readonly writeable: false; + readonly type: "any"; + readonly readable: true; + }>; + WriteOnly: Readonly<{ + readonly readable: false; + readonly type: "any"; + readonly writeable: true; + }>; + Number: Readonly<{ + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyNumber: Readonly<{ + readonly writeable: false; + readonly type: "number"; + readonly readable: true; + }>; + WriteOnlyNumber: Readonly<{ + readonly readable: false; + readonly type: "number"; + readonly writeable: true; + }>; + UInt8: Readonly<{ + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + UInt16: Readonly<{ + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + UInt24: Readonly<{ + readonly min: 0; + readonly max: 16777215; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + UInt32: Readonly<{ + readonly min: 0; + readonly max: 4294967295; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + Int8: Readonly<{ + readonly min: -128; + readonly max: 127; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + Int16: Readonly<{ + readonly min: -32768; + readonly max: 32767; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + Int24: Readonly<{ + readonly min: -8388608; + readonly max: 8388607; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + Int32: Readonly<{ + readonly min: -2147483648; + readonly max: 2147483647; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyUInt8: Readonly<{ + readonly writeable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyUInt16: Readonly<{ + readonly writeable: false; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyUInt24: Readonly<{ + readonly writeable: false; + readonly min: 0; + readonly max: 16777215; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyUInt32: Readonly<{ + readonly writeable: false; + readonly min: 0; + readonly max: 4294967295; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyInt8: Readonly<{ + readonly writeable: false; + readonly min: -128; + readonly max: 127; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyInt16: Readonly<{ + readonly writeable: false; + readonly min: -32768; + readonly max: 32767; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyInt24: Readonly<{ + readonly writeable: false; + readonly min: -8388608; + readonly max: 8388607; + readonly type: "number"; + readonly readable: true; + }>; + ReadOnlyInt32: Readonly<{ + readonly writeable: false; + readonly min: -2147483648; + readonly max: 2147483647; + readonly type: "number"; + readonly readable: true; + }>; + WriteOnlyUInt8: Readonly<{ + readonly readable: false; + readonly min: 0; + readonly max: 255; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyUInt16: Readonly<{ + readonly readable: false; + readonly min: 0; + readonly max: 65535; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyUInt24: Readonly<{ + readonly readable: false; + readonly min: 0; + readonly max: 16777215; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyUInt32: Readonly<{ + readonly readable: false; + readonly min: 0; + readonly max: 4294967295; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyInt8: Readonly<{ + readonly readable: false; + readonly min: -128; + readonly max: 127; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyInt16: Readonly<{ + readonly readable: false; + readonly min: -32768; + readonly max: 32767; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyInt24: Readonly<{ + readonly readable: false; + readonly min: -8388608; + readonly max: 8388607; + readonly type: "number"; + readonly writeable: true; + }>; + WriteOnlyInt32: Readonly<{ + readonly readable: false; + readonly min: -2147483648; + readonly max: 2147483647; + readonly type: "number"; + readonly writeable: true; + }>; + Level: Readonly<{ + readonly max: 99; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyLevel: Readonly<{ + readonly writeable: false; + readonly max: 99; + readonly min: 0; + readonly type: "number"; + readonly readable: true; + }>; + WriteOnlyLevel: Readonly<{ + readonly readable: false; + readonly max: 99; + readonly min: 0; + readonly type: "number"; + readonly writeable: true; + }>; + Boolean: Readonly<{ + readonly type: "boolean"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyBoolean: Readonly<{ + readonly writeable: false; + readonly type: "boolean"; + readonly readable: true; + }>; + WriteOnlyBoolean: Readonly<{ + readonly readable: false; + readonly type: "boolean"; + readonly writeable: true; + }>; + String: Readonly<{ + readonly type: "string"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyString: Readonly<{ + readonly writeable: false; + readonly type: "string"; + readonly readable: true; + }>; + WriteOnlyString: Readonly<{ + readonly readable: false; + readonly type: "string"; + readonly writeable: true; + }>; + Color: Readonly<{ + readonly type: "color"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyColor: Readonly<{ + readonly writeable: false; + readonly type: "color"; + readonly readable: true; + }>; + WriteOnlyColor: Readonly<{ + readonly readable: false; + readonly type: "color"; + readonly writeable: true; + }>; + Duration: Readonly<{ + readonly type: "duration"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyDuration: Readonly<{ + readonly writeable: false; + readonly type: "duration"; + readonly readable: true; + }>; + WriteOnlyDuration: Readonly<{ + readonly readable: false; + readonly type: "duration"; + readonly writeable: true; + }>; + Buffer: Readonly<{ + readonly type: "buffer"; + readonly readable: true; + readonly writeable: true; + }>; + ReadOnlyBuffer: Readonly<{ + readonly writeable: false; + readonly type: "buffer"; + readonly readable: true; + }>; + WriteOnlyBuffer: Readonly<{ + readable: false; + type: "buffer"; + writeable: true; + }>; +}; + +// Warning: (ae-missing-release-tag) "ValueMetadataAny" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueMetadataAny { + ccSpecific?: Record; + default?: any; + description?: string; + label?: string; + readable: boolean; + type: ValueType; + valueChangeOptions?: readonly (keyof ValueChangeOptions)[]; + writeable: boolean; +} + +// Warning: (ae-missing-release-tag) "ValueMetadataBoolean" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueMetadataBoolean extends ValueMetadataAny { + default?: number; + // (undocumented) + type: "boolean"; +} + +// Warning: (ae-missing-release-tag) "ValueMetadataBuffer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueMetadataBuffer extends ValueMetadataAny { + maxLength?: number; + minLength?: number; + // (undocumented) + type: "buffer"; +} + +// Warning: (ae-missing-release-tag) "ValueMetadataDuration" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueMetadataDuration extends ValueMetadataAny { + // (undocumented) + default?: Duration; + // (undocumented) + type: "duration"; +} + +// Warning: (ae-missing-release-tag) "ValueMetadataNumeric" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueMetadataNumeric extends ValueMetadataAny { + default?: number; + max?: number; + min?: number; + states?: Record; + steps?: number; + // (undocumented) + type: "number"; + unit?: string; +} + +// Warning: (ae-missing-release-tag) "ValueMetadataString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueMetadataString extends ValueMetadataAny { + default?: string; + maxLength?: number; + minLength?: number; + // (undocumented) + type: "string" | "color"; +} + +// Warning: (ae-missing-release-tag) "ValueNotificationArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueNotificationArgs extends ValueID { + // (undocumented) + value: unknown; +} + +// Warning: (ae-missing-release-tag) "ValueRemovedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueRemovedArgs extends ValueID { + // (undocumented) + prevValue: unknown; +} + +// Warning: (ae-missing-release-tag) "ValueType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ValueType = "number" | "boolean" | "string" | "number[]" | "boolean[]" | "string[]" | "duration" | "color" | "buffer" | "any"; + +// Warning: (ae-missing-release-tag) "ValueUpdatedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ValueUpdatedArgs extends ValueID { + // (undocumented) + newValue: unknown; + // (undocumented) + prevValue: unknown; + source?: "driver" | "node"; +} + +// Warning: (ae-missing-release-tag) "ZWaveApiVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveApiVersion { + // (undocumented) + kind: "official" | "legacy"; + // (undocumented) + version: number; +} + +// Warning: (ae-missing-release-tag) "ZWaveDataRate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWaveDataRate { + // (undocumented) + "100k" = 3, + // (undocumented) + "40k" = 2, + // (undocumented) + "9k6" = 1 +} + +// Warning: (ae-missing-release-tag) "ZWaveError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ZWaveError extends Error { + constructor(message: string, code: ZWaveErrorCodes, + context?: unknown, + transactionSource?: string | undefined); + // (undocumented) + readonly code: ZWaveErrorCodes; + readonly context?: unknown; + // (undocumented) + readonly message: string; + readonly transactionSource?: string | undefined; +} + +// Warning: (ae-missing-release-tag) "ZWaveErrorCodes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum ZWaveErrorCodes { + // (undocumented) + Argument_Invalid = 322, + // (undocumented) + Arithmetic = 321, + AssociationCC_InvalidGroup = 1300, + AssociationCC_NotAllowed = 1301, + // (undocumented) + CC_Invalid = 300, + // (undocumented) + CC_NoAPI = 304, + // (undocumented) + CC_NoNodeID = 301, + // (undocumented) + CC_NotImplemented = 303, + // (undocumented) + CC_NotSupported = 302, + Config_CircularImport = 342, + // (undocumented) + Config_Invalid = 340, + // (undocumented) + Config_NotFound = 341, + Config_Update_InstallFailed = 345, + Config_Update_PackageManagerNotFound = 344, + Config_Update_RegistryError = 343, + ConfigurationCC_FirstParameterNumber = 1000, + ConfigurationCC_NoLegacyScanOnNewDevices = 1001, + ConfigurationCC_NoResetToDefaultOnLegacyDevices = 1002, + // (undocumented) + Controller_CallbackNOK = 204, + Controller_CommandError = 214, + Controller_EndpointNotFound = 210, + // (undocumented) + Controller_ExclusionFailed = 206, + // (undocumented) + Controller_InclusionFailed = 205, + Controller_InterviewRestarted = 208, + // (undocumented) + Controller_MessageDropped = 202, + Controller_MessageExpired = 213, + Controller_NodeInsecureCommunication = 212, + Controller_NodeNotFound = 209, + Controller_NodeRemoved = 211, + Controller_NodeTimeout = 201, + Controller_NotSupported = 207, + // (undocumented) + Controller_ResponseNOK = 203, + Controller_Timeout = 200, + // (undocumented) + Deserialization_NotImplemented = 320, + // (undocumented) + Driver_Destroyed = 102, + Driver_Failed = 100, + // (undocumented) + Driver_FeatureDisabled = 111, + // (undocumented) + Driver_InvalidCache = 107, + // (undocumented) + Driver_InvalidDataReceived = 104, + // (undocumented) + Driver_InvalidOptions = 108, + // (undocumented) + Driver_NoErrorHandler = 110, + // (undocumented) + Driver_NoPriority = 106, + Driver_NoSecurity = 109, + // (undocumented) + Driver_NotReady = 103, + // (undocumented) + Driver_NotSupported = 105, + // (undocumented) + Driver_Reset = 101, + FirmwareUpdateCC_Busy = 1500, + FirmwareUpdateCC_FailedToAbort = 1504, + FirmwareUpdateCC_FailedToStart = 1503, + FirmwareUpdateCC_NotUpgradable = 1501, + FirmwareUpdateCC_TargetNotFound = 1502, + FirmwareUpdateCC_Timeout = 1505, + FWUpdateService_IntegrityCheckFailed = 262, + FWUpdateService_MissingInformation = 260, + FWUpdateService_RequestError = 261, + Invalid_Firmware_File = 1506, + ManufacturerProprietaryCC_NoManufacturerId = 1200, + NVM_InvalidFormat = 283, + NVM_InvalidJSON = 281, + NVM_NoSpace = 284, + NVM_NotSupported = 280, + NVM_ObjectNotFound = 282, + // (undocumented) + PacketFormat_Checksum = 2, + // (undocumented) + PacketFormat_DecryptionFailed = 4, + // (undocumented) + PacketFormat_Invalid = 1, + // (undocumented) + PacketFormat_InvalidPayload = 3, + // (undocumented) + PacketFormat_Truncated = 0, + PowerlevelCC_UnsupportedTestNode = 1600, + RemoveFailedNode_Failed = 360, + RemoveFailedNode_NodeOK = 361, + ReplaceFailedNode_Failed = 362, + ReplaceFailedNode_NodeOK = 363, + Security2CC_CannotDecode = 1405, + Security2CC_InvalidQRCode = 1406, + Security2CC_MissingExtension = 1404, + Security2CC_NoSPAN = 1401, + Security2CC_NotInitialized = 1402, + Security2CC_NotSecure = 1403, + SecurityCC_NoNonce = 1400, + SupervisionCC_CommandFailed = 1100, + Unsupported_Firmware_Format = 1507 +} + +// Warning: (ae-missing-release-tag) "ZWaveLibraryTypes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ZWaveLibraryTypes { + // (undocumented) + "AV Device" = 11, + // (undocumented) + "AV Remote" = 10, + // (undocumented) + "Bridge Controller" = 7, + // (undocumented) + "Device under Test" = 8, + // (undocumented) + "Enhanced Slave" = 3, + // (undocumented) + "N/A" = 9, + // (undocumented) + "Routing Slave" = 6, + // (undocumented) + "Static Controller" = 1, + // (undocumented) + "Controller" = 2, + // (undocumented) + "Installer" = 5, + // (undocumented) + "Slave" = 4, + // (undocumented) + "Unknown" = 0 +} + +// Warning: (ae-missing-release-tag) "ZWaveLogContainer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveLogContainer extends winston.Container { + constructor(config?: DeepPartial); + // (undocumented) + destroy(): void; + // (undocumented) + getConfiguration(): LogConfig; + // (undocumented) + getLogger(label: string): ZWaveLogger; + isLoglevelVisible(loglevel: string): boolean; + shouldLogNode(nodeId: number): boolean; + // (undocumented) + updateConfiguration(config: DeepPartial): void; +} + +// Warning: (ae-missing-release-tag) "ZWaveLogger" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveLogger = Omit & { + log: (info: ZWaveLogInfo) => void; +}; + +// Warning: (ae-missing-release-tag) "ZWaveLoggerBase" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ZWaveLoggerBase { + constructor(loggers: ZWaveLogContainer, logLabel: string); + // (undocumented) + container: ZWaveLogContainer; + // (undocumented) + logger: ZWaveLogger; +} + +// Warning: (ae-missing-release-tag) "ZWaveLogInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveLogInfo extends Omit { + // (undocumented) + context: TContext; + // (undocumented) + direction: string; + // (undocumented) + label?: string; + // (undocumented) + message: string | string[]; + // (undocumented) + multiline?: boolean; + primaryTags?: string; + // (undocumented) + secondaryTagPadding?: number; + secondaryTags?: string; + // (undocumented) + timestamp?: string; +} + +// Warnings were encountered during analysis: +// +// src/security/Manager2.ts:54:4 - (ae-forgotten-export) The symbol "CtrDRBG" needs to be exported by the entry point index.d.ts +// src/security/QR.ts:98:2 - (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/core" does not have an export "requestedSecurityClasses" + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/core/package.json b/packages/core/package.json index 148a9abcbdc2..4f945268ef46 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -44,6 +44,7 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty" }, @@ -62,6 +63,7 @@ "winston-transport": "^4.5.0" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", "@types/triple-beam": "^1.3.2", diff --git a/packages/host/api-extractor.json b/packages/host/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/host/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/host/api.md b/packages/host/api.md new file mode 100644 index 000000000000..fa95e2d3c8a8 --- /dev/null +++ b/packages/host/api.md @@ -0,0 +1,145 @@ +## API Report File for "@zwave-js/host" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +import type { CommandClasses } from '@zwave-js/core'; +import type { ConfigManager } from '@zwave-js/config'; +import type { ControllerLogger } from '@zwave-js/core'; +import type { DeviceConfig } from '@zwave-js/config'; +import type { ICommandClass } from '@zwave-js/core'; +import type { IZWaveNode } from '@zwave-js/core'; +import type { Maybe } from '@zwave-js/core'; +import type { Overwrite } from 'alcalzone-shared/types'; +import type { ReadonlyThrowingMap } from '@zwave-js/shared'; +import type { SecurityClass } from '@zwave-js/core'; +import type { SecurityManager } from '@zwave-js/core'; +import type { SecurityManager2 } from '@zwave-js/core'; +import type { SendCommandOptions } from '@zwave-js/core'; +import type { SendCommandReturnType } from '@zwave-js/core'; +import { ThrowingMap } from '@zwave-js/shared'; +import type { ValueDB } from '@zwave-js/core'; +import type { ValueID } from '@zwave-js/core'; + +// Warning: (ae-missing-release-tag) "createTestingHost" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createTestingHost(options?: Partial): TestingHost; + +// Warning: (ae-missing-release-tag) "CreateTestingHostOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateTestingHostOptions { + // (undocumented) + getSafeCCVersionForNode: ZWaveHost["getSafeCCVersionForNode"]; + // (undocumented) + homeId: ZWaveHost["homeId"]; + // (undocumented) + ownNodeId: ZWaveHost["ownNodeId"]; +} + +// Warning: (ae-missing-release-tag) "FileSystem" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface FileSystem { + // (undocumented) + ensureDir(path: string): Promise; + // (undocumented) + pathExists(path: string): Promise; + // (undocumented) + readFile(file: string, encoding: string): Promise; + // (undocumented) + writeFile(file: string, data: string | Buffer, options?: { + encoding: string; + } | string): Promise; +} + +// Warning: (ae-missing-release-tag) "NodeSchedulePollOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NodeSchedulePollOptions { + expectedValue?: unknown; + timeoutMs?: number; +} + +// Warning: (ae-missing-release-tag) "TestingHost" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TestingHost = Overwrite; +}>; + +// Warning: (ae-missing-release-tag) "ZWaveApplicationHost" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ZWaveApplicationHost extends ZWaveHost { + configManager: ConfigManager; + // (undocumented) + controllerLog: ControllerLogger; + getValueDB(nodeId: number): ValueDB; + isControllerNode(nodeId: number): boolean; + nodes: ReadonlyThrowingMap; + // (undocumented) + options: ZWaveHostOptions; + // (undocumented) + schedulePoll(nodeId: number, valueId: ValueID, options: NodeSchedulePollOptions): boolean; + // (undocumented) + sendCommand(command: ICommandClass, options?: SendCommandOptions): Promise>; + tryGetValueDB(nodeId: number): ValueDB | undefined; + // (undocumented) + waitForCommand(predicate: (cc: ICommandClass) => boolean, timeout: number): Promise; +} + +// Warning: (ae-missing-release-tag) "ZWaveHost" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ZWaveHost { + // (undocumented) + getDeviceConfig?: (nodeId: number) => DeviceConfig | undefined; + // (undocumented) + getHighestSecurityClass(nodeId: number): SecurityClass | undefined; + getNextCallbackId(): number; + getSafeCCVersionForNode(cc: CommandClasses, nodeId: number, endpointIndex?: number): number; + // (undocumented) + hasSecurityClass(nodeId: number, securityClass: SecurityClass): Maybe; + homeId: number; + isCCSecure(cc: CommandClasses, nodeId: number, endpointIndex?: number): boolean; + ownNodeId: number; + securityManager: SecurityManager | undefined; + securityManager2: SecurityManager2 | undefined; + // (undocumented) + setSecurityClass(nodeId: number, securityClass: SecurityClass, granted: boolean): void; +} + +// Warning: (ae-missing-release-tag) "ZWaveHostOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveHostOptions { + // (undocumented) + attempts: { + controller: number; + sendData: number; + nodeInterview: number; + }; + disableOptimisticValueUpdate?: boolean; + // (undocumented) + interview?: { + queryAllUserCodes?: boolean; + }; + // (undocumented) + preferences?: { + scales: Partial>; + }; + preserveUnknownValues?: boolean; + timeouts: { + refreshValue: number; + refreshValueAfterTransition: number; + }; +} + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/host/package.json b/packages/host/package.json index ee9ab0b8fe0e..8500ce565e89 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -44,6 +44,7 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty" }, @@ -54,6 +55,7 @@ "alcalzone-shared": "^4.0.1" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", "jest-extended": "^2.0.0", diff --git a/packages/nvmedit/api-extractor.json b/packages/nvmedit/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/nvmedit/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/nvmedit/api.md b/packages/nvmedit/api.md new file mode 100644 index 000000000000..c205f68392d5 --- /dev/null +++ b/packages/nvmedit/api.md @@ -0,0 +1,433 @@ +## API Report File for "@zwave-js/nvmedit" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +import { CommandClasses } from '@zwave-js/core/safe'; +import { FLiRS } from '@zwave-js/core/safe'; +import { NodeProtocolInfo } from '@zwave-js/core/safe'; +import { RFRegion } from '@zwave-js/core/safe'; +import { RouteProtocolDataRate } from '@zwave-js/core/safe'; + +// Warning: (ae-missing-release-tag) "FragmentType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum FragmentType { + // (undocumented) + First = 1, + // (undocumented) + Last = 3, + // (undocumented) + Next = 2, + // (undocumented) + None = 0 +} + +// Warning: (ae-missing-release-tag) "json500To700" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function json500To700(json: NVM500JSON, truncateApplicationData?: boolean): NVMJSON; + +// Warning: (ae-missing-release-tag) "json700To500" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function json700To500(json: NVMJSON): NVM500JSON; + +// Warning: (ae-missing-release-tag) "jsonToNVM" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function jsonToNVM(json: Required, protocolVersion: string): Buffer; + +// Warning: (ae-missing-release-tag) "jsonToNVM500" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function jsonToNVM500(json: Required, protocolVersion: string): Buffer; + +// Warning: (ae-missing-release-tag) "migrateNVM" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function migrateNVM(sourceNVM: Buffer, targetNVM: Buffer): Buffer; + +// Warning: (ae-missing-release-tag) "NVM500JSON" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVM500JSON { + // (undocumented) + controller: NVM500JSONController; + // (undocumented) + format: 500; + // (undocumented) + meta?: NVM500Meta; + // (undocumented) + nodes: Record; +} + +// Warning: (ae-missing-release-tag) "NVM500JSONController" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVM500JSONController { + // (undocumented) + applicationData?: string | null; + // (undocumented) + applicationVersion: string; + // (undocumented) + commandClasses: CommandClasses[]; + // (undocumented) + controllerConfiguration: number; + // (undocumented) + lastNodeId: number; + // (undocumented) + learnedHomeId?: string | null; + // (undocumented) + maxNodeId: number; + // (undocumented) + nodeId: number; + // (undocumented) + ownHomeId: string; + // (undocumented) + preferredRepeaters: number[]; + // (undocumented) + protocolVersion: string; + // (undocumented) + reservedId: number; + // (undocumented) + rfConfig: NVM500JSONControllerRFConfig; + // (undocumented) + staticControllerNodeId: number; + // (undocumented) + sucLastIndex: number; + // Warning: (ae-forgotten-export) The symbol "SUCUpdateEntry" needs to be exported by the entry point index.d.ts + // + // (undocumented) + sucUpdateEntries: SUCUpdateEntry[]; + // (undocumented) + systemState: number; + // (undocumented) + watchdogStarted: number; +} + +// Warning: (ae-missing-release-tag) "NVM500JSONControllerRFConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVM500JSONControllerRFConfig { + // (undocumented) + powerLevelLow: number[]; + // (undocumented) + powerLevelNormal: number[]; + // (undocumented) + powerMode: number; + // (undocumented) + powerModeExtintEnable: number; + // (undocumented) + powerModeWutTimeout: number; +} + +// Warning: (ae-missing-release-tag) "NVM500JSONNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NVM500JSONNode = NVM500JSONNodeWithInfo | NVM500JSONVirtualNode; + +// Warning: (ae-forgotten-export) The symbol "NVM500NodeInfo" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "NVM500JSONNodeWithInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVM500JSONNodeWithInfo extends NVM500NodeInfo { + // (undocumented) + appRouteLock: boolean; + // (undocumented) + isVirtual: boolean; + // Warning: (ae-forgotten-export) The symbol "Route" needs to be exported by the entry point index.d.ts + // + // (undocumented) + lwr?: Route | null; + // (undocumented) + neighbors: number[]; + // (undocumented) + nlwr?: Route | null; + // (undocumented) + pendingDiscovery: boolean; + // (undocumented) + routeSlaveSUC: boolean; + // (undocumented) + sucPendingUpdate: boolean; + // (undocumented) + sucUpdateIndex: number; +} + +// Warning: (ae-missing-release-tag) "NVM500JSONVirtualNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVM500JSONVirtualNode { + // (undocumented) + isVirtual: true; +} + +// Warning: (ae-missing-release-tag) "NVM500Meta" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVM500Meta { + // (undocumented) + firmwareID: number; + // Warning: (ae-forgotten-export) The symbol "NVM500Details" needs to be exported by the entry point index.d.ts + // + // (undocumented) + library: NVM500Details["library"]; + // (undocumented) + manufacturerID: number; + // (undocumented) + productID: number; + // (undocumented) + productType: number; +} + +// Warning: (ae-missing-release-tag) "nvm500ToJSON" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function nvm500ToJSON(buffer: Buffer): Required; + +// Warning: (ae-missing-release-tag) "NVMJSON" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMJSON { + // (undocumented) + controller: NVMJSONController; + // (undocumented) + format: number; + // (undocumented) + meta?: NVMMeta; + // (undocumented) + nodes: Record; +} + +// Warning: (ae-missing-release-tag) "NVMJSONController" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMJSONController { + // (undocumented) + applicationData?: string | null; + // (undocumented) + applicationVersion: string; + // (undocumented) + commandClasses: { + includedInsecurely: CommandClasses[]; + includedSecurelyInsecureCCs: CommandClasses[]; + includedSecurelySecureCCs: CommandClasses[]; + }; + // (undocumented) + controllerConfiguration: number; + // (undocumented) + dcdcConfig?: number | null; + // (undocumented) + genericDeviceClass: number; + // (undocumented) + homeId: string; + // (undocumented) + isListening: boolean; + // (undocumented) + lastNodeId: number; + // (undocumented) + lastNodeIdLR?: number | null; + // (undocumented) + maxNodeId: number; + // (undocumented) + maxNodeIdLR?: number | null; + // (undocumented) + nodeId: number; + // (undocumented) + optionalFunctionality: boolean; + // (undocumented) + preferredRepeaters?: number[] | null; + // (undocumented) + primaryLongRangeChannelId?: number | null; + // (undocumented) + protocolVersion: string; + // (undocumented) + reservedId: number; + // (undocumented) + reservedIdLR?: number | null; + // (undocumented) + rfConfig?: NVMJSONControllerRFConfig | null; + // (undocumented) + specificDeviceClass: number; + // (undocumented) + staticControllerNodeId: number; + // (undocumented) + sucAwarenessPushNeeded?: number | null; + // (undocumented) + sucLastIndex: number; + // (undocumented) + sucUpdateEntries: SUCUpdateEntry[]; + // (undocumented) + systemState: number; +} + +// Warning: (ae-missing-release-tag) "NVMJSONControllerRFConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMJSONControllerRFConfig { + // (undocumented) + enablePTI: number | null; + // (undocumented) + maxTXPower: number | null; + // (undocumented) + measured0dBm: number; + // (undocumented) + rfRegion: RFRegion; + // (undocumented) + txPower: number; +} + +// Warning: (ae-missing-release-tag) "NVMJSONNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NVMJSONNode = NVMJSONNodeWithInfo | NVMJSONVirtualNode; + +// Warning: (ae-missing-release-tag) "NVMJSONNodeWithInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMJSONNodeWithInfo extends Omit { + // (undocumented) + appRouteLock: boolean; + // (undocumented) + genericDeviceClass: number; + // (undocumented) + isVirtual: boolean; + // (undocumented) + lwr?: Route | null; + // (undocumented) + neighbors: number[]; + // (undocumented) + nlwr?: Route | null; + // (undocumented) + pendingDiscovery: boolean; + // (undocumented) + routeSlaveSUC: boolean; + // (undocumented) + specificDeviceClass: number | null; + // (undocumented) + sucPendingUpdate: boolean; + // (undocumented) + sucUpdateIndex: number; +} + +// Warning: (ae-missing-release-tag) "NVMJSONVirtualNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMJSONVirtualNode { + // (undocumented) + isVirtual: true; +} + +// Warning: (ae-missing-release-tag) "NVMMeta" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMMeta { + // (undocumented) + deviceFamily: number; + // (undocumented) + memoryMapped: boolean; + // (undocumented) + pageSize: number; + // (undocumented) + writeSize: PageWriteSize; +} + +// Warning: (ae-missing-release-tag) "NVM3Object" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMObject { + // (undocumented) + data?: Buffer; + // (undocumented) + fragmentType: FragmentType; + // (undocumented) + key: number; + // (undocumented) + type: ObjectType; +} + +// Warning: (ae-missing-release-tag) "NVM3Page" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NVMPage { + // (undocumented) + header: PageHeader; + // (undocumented) + objects: NVMObject[]; +} + +// Warning: (ae-missing-release-tag) "nvmToJSON" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function nvmToJSON(buffer: Buffer, debugLogs?: boolean): Required; + +// Warning: (ae-missing-release-tag) "ObjectType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ObjectType { + // (undocumented) + CounterLarge = 1, + // (undocumented) + CounterSmall = 2, + // (undocumented) + DataLarge = 0, + // (undocumented) + DataSmall = 7, + // (undocumented) + Deleted = 3 +} + +// Warning: (ae-missing-release-tag) "NVM3PageHeader" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface PageHeader { + // (undocumented) + deviceFamily: number; + // (undocumented) + encrypted: boolean; + // (undocumented) + eraseCount: number; + // (undocumented) + memoryMapped: boolean; + // (undocumented) + offset: number; + // (undocumented) + pageSize: number; + // (undocumented) + status: PageStatus; + // (undocumented) + version: number; + // (undocumented) + writeSize: PageWriteSize; +} + +// Warning: (ae-missing-release-tag) "PageStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum PageStatus { + // (undocumented) + Bad = 65535, + // (undocumented) + Bad_ErasePending = 42405, + // (undocumented) + OK = 4294967295, + // (undocumented) + OK_ErasePending = 4294944165 +} + +// Warning: (ae-missing-release-tag) "PageWriteSize" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum PageWriteSize { + // (undocumented) + WRITE_SIZE_16 = 1, + // (undocumented) + WRITE_SIZE_32 = 0 +} + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/nvmedit/package.json b/packages/nvmedit/package.json index abeb93597cd5..d7871bb1b212 100644 --- a/packages/nvmedit/package.json +++ b/packages/nvmedit/package.json @@ -55,10 +55,12 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", diff --git a/packages/serial/api-extractor.json b/packages/serial/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/serial/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/serial/api.md b/packages/serial/api.md new file mode 100644 index 000000000000..e655e85fc579 --- /dev/null +++ b/packages/serial/api.md @@ -0,0 +1,721 @@ +## API Report File for "@zwave-js/serial" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// +/// + +import type { BindingPortInterface } from '@serialport/bindings-interface'; +import type { DataDirection } from '@zwave-js/core/safe'; +import { DataDirection as DataDirection_2 } from '@zwave-js/core'; +import { Duplex } from 'stream'; +import { EventEmitter } from 'events'; +import { IZWaveNode } from '@zwave-js/core'; +import type { JSONObject } from '@zwave-js/shared/safe'; +import type { LogContext } from '@zwave-js/core/safe'; +import { MessageOrCCLogEntry } from '@zwave-js/core'; +import { MessagePriority } from '@zwave-js/core'; +import * as net from 'net'; +import type { OpenOptions } from '@serialport/bindings-interface'; +import { PassThrough } from 'stream'; +import type { PortInfo } from '@serialport/bindings-interface'; +import type { PortStatus } from '@serialport/bindings-interface'; +import { SerialPort } from 'serialport'; +import type { SetOptions } from '@serialport/bindings-interface'; +import { Transform } from 'stream'; +import { TransformCallback } from 'stream'; +import type { TypedClassDecorator } from '@zwave-js/shared/safe'; +import { TypedEventEmitter } from '@zwave-js/shared'; +import type { UpdateOptions } from '@serialport/bindings-interface'; +import type { ZWaveApplicationHost } from '@zwave-js/host'; +import type { ZWaveHost } from '@zwave-js/host'; +import { ZWaveLogContainer } from '@zwave-js/core'; +import { ZWaveLoggerBase } from '@zwave-js/core'; + +// Warning: (ae-missing-release-tag) "createAndOpenMockedZWaveSerialPort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createAndOpenMockedZWaveSerialPort(path: string): Promise<{ + port: ZWaveSerialPort; + binding: MockPortBinding; +}>; + +// Warning: (ae-missing-release-tag) "DeserializingMessageConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeserializingMessageConstructor = new (host: ZWaveHost, options: MessageDeserializationOptions) => T; + +// Warning: (ae-missing-release-tag) "expectedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function expectedCallback(typeOrPredicate: FunctionType | typeof Message | ResponsePredicate): TypedClassDecorator; + +// Warning: (ae-missing-release-tag) "expectedResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const expectedResponse: (typeOrPredicate: FunctionType | typeof Message | ResponsePredicate) => TypedClassDecorator; + +// Warning: (ae-missing-release-tag) "FunctionType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum FunctionType { + // (undocumented) + AddNodeToNetwork = 74, + // (undocumented) + ApplicationCommand = 4, + // (undocumented) + ApplicationUpdateRequest = 73, + // (undocumented) + AssignReturnRoute = 70, + // (undocumented) + AssignSUCReturnRoute = 81, + // (undocumented) + BridgeApplicationCommand = 168, + // (undocumented) + DeleteReturnRoute = 71, + // (undocumented) + DeleteSUCReturnRoute = 85, + // (undocumented) + ExtExtWriteLongByte = 45, + // (undocumented) + ExtNVMReadLongBuffer = 42, + // (undocumented) + ExtNVMReadLongByte = 44, + // (undocumented) + ExtNVMWriteLongBuffer = 43, + // (undocumented) + FUNC_ID_APPLICATION_SLAVE_COMMAND_HANDLER = 161, + // (undocumented) + FUNC_ID_PROMISCUOUS_APPLICATION_COMMAND_HANDLER = 209, + // (undocumented) + FUNC_ID_SERIAL_API_SLAVE_NODE_INFO = 160, + // (undocumented) + FUNC_ID_ZW_CONTROLLER_CHANGE = 77, + // (undocumented) + FUNC_ID_ZW_CREATE_NEW_PRIMARY = 76, + // (undocumented) + FUNC_ID_ZW_ENABLE_SUC = 82, + // (undocumented) + FUNC_ID_ZW_EXPLORE_REQUEST_INCLUSION = 94, + // (undocumented) + FUNC_ID_ZW_GET_RANDOM = 28, + // (undocumented) + FUNC_ID_ZW_GET_VIRTUAL_NODES = 165, + // (undocumented) + FUNC_ID_ZW_IS_VIRTUAL_NODE = 166, + // (undocumented) + FUNC_ID_ZW_NEW_CONTROLLER = 67, + // (undocumented) + FUNC_ID_ZW_R_F_POWER_LEVEL_SET = 23, + // (undocumented) + FUNC_ID_ZW_REPLICATION_COMMAND_COMPLETE = 68, + // (undocumented) + FUNC_ID_ZW_REPLICATION_SEND_DATA = 69, + // (undocumented) + FUNC_ID_ZW_REQUEST_NETWORK_UPDATE = 83, + // (undocumented) + FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE_OPTIONS = 90, + // (undocumented) + FUNC_ID_ZW_SEND_NODE_INFORMATION = 18, + // (undocumented) + FUNC_ID_ZW_SEND_SLAVE_DATA = 163, + // (undocumented) + FUNC_ID_ZW_SEND_SLAVE_NODE_INFO = 162, + // (undocumented) + FUNC_ID_ZW_SET_LEARN_MODE = 80, + // (undocumented) + FUNC_ID_ZW_SET_LEARN_NODE_STATE = 64, + // (undocumented) + FUNC_ID_ZW_SET_PROMISCUOUS_MODE = 208, + // (undocumented) + FUNC_ID_ZW_SET_SLAVE_LEARN_MODE = 164, + // (undocumented) + GetBackgroundRSSI = 59, + // (undocumented) + GetControllerCapabilities = 5, + // (undocumented) + GetControllerId = 32, + // (undocumented) + GetControllerVersion = 21, + // (undocumented) + GetNodeProtocolInfo = 65, + // (undocumented) + GetNVMId = 41, + // (undocumented) + GetProtocolVersion = 9, + // (undocumented) + GetRoutingInfo = 128, + // (undocumented) + GetSerialApiCapabilities = 7, + // (undocumented) + GetSerialApiInitData = 2, + // (undocumented) + GetSUCNodeId = 86, + // (undocumented) + HardReset = 66, + // (undocumented) + IsFailedNode = 98, + // (undocumented) + NVMOperations = 46, + // (undocumented) + RemoveFailedNode = 97, + // (undocumented) + RemoveNodeFromNetwork = 75, + // (undocumented) + ReplaceFailedNode = 99, + // (undocumented) + RequestNodeInfo = 96, + // (undocumented) + RequestNodeNeighborUpdate = 72, + // (undocumented) + SendData = 19, + // (undocumented) + SendDataAbort = 22, + // (undocumented) + SendDataBridge = 169, + // (undocumented) + SendDataMulticast = 20, + // (undocumented) + SendDataMulticastBridge = 171, + // (undocumented) + SerialAPISetup = 11, + // (undocumented) + SerialAPIStarted = 10, + // (undocumented) + SetApplicationNodeInformation = 3, + // (undocumented) + SetRFReceiveMode = 16, + // (undocumented) + SetSerialApiTimeouts = 6, + // (undocumented) + SetSUCNodeId = 84, + // (undocumented) + SoftReset = 8, + // (undocumented) + UNKNOWN_FUNC_AssignPrioritySUCReturnRoute = 88, + // (undocumented) + UNKNOWN_FUNC_ClearNetworkStats = 57, + // (undocumented) + UNKNOWN_FUNC_CLOCK_COMPARE = 50, + // (undocumented) + UNKNOWN_FUNC_CLOCK_GET = 49, + // (undocumented) + UNKNOWN_FUNC_CLOCK_SET = 48, + // (undocumented) + UNKNOWN_FUNC_FlashAutoProgSet = 39, + // (undocumented) + UNKNOWN_FUNC_GET_LIBRARY_TYPE = 189, + // (undocumented) + UNKNOWN_FUNC_GET_PRIORITY_ROUTE = 146, + // (undocumented) + UNKNOWN_FUNC_GET_PROTOCOL_STATUS = 191, + // (undocumented) + UNKNOWN_FUNC_GetNetworkStats = 58, + // (undocumented) + UNKNOWN_FUNC_GetTXCounter = 129, + // (undocumented) + UNKNOWN_FUNC_LOCK_ROUTE_RESPONSE = 144, + // (undocumented) + UNKNOWN_FUNC_MEMORY_GET_BUFFER = 35, + // (undocumented) + UNKNOWN_FUNC_MEMORY_GET_BYTE = 33, + // (undocumented) + UNKNOWN_FUNC_MEMORY_PUT_BUFFER = 36, + // (undocumented) + UNKNOWN_FUNC_MEMORY_PUT_BYTE = 34, + // (undocumented) + UNKNOWN_FUNC_REDISCOVERY_NEEDED = 89, + // (undocumented) + UNKNOWN_FUNC_RemoveNodeIdFromNetwork = 63, + // (undocumented) + UNKNOWN_FUNC_ResetTXCounter = 130, + // (undocumented) + UNKNOWN_FUNC_RF_POWERLEVEL_GET = 186, + // (undocumented) + UNKNOWN_FUNC_RTC_TIMER_CALL = 54, + // (undocumented) + UNKNOWN_FUNC_RTC_TIMER_CREATE = 51, + // (undocumented) + UNKNOWN_FUNC_RTC_TIMER_DELETE = 53, + // (undocumented) + UNKNOWN_FUNC_RTC_TIMER_READ = 52, + // (undocumented) + UNKNOWN_FUNC_SEND_DATA_META = 24, + // (undocumented) + UNKNOWN_FUNC_SEND_DATA_ROUTE_DEMO = 145, + // (undocumented) + UNKNOWN_FUNC_SEND_SUC_ID = 87, + // (undocumented) + UNKNOWN_FUNC_SEND_TEST_FRAME = 190, + // (undocumented) + UNKNOWN_FUNC_SERIAL_API_TEST = 149, + // (undocumented) + UNKNOWN_FUNC_SET_PRIORITY_ROUTE = 147, + // (undocumented) + UNKNOWN_FUNC_SET_SLEEP_MODE = 17, + // (undocumented) + UNKNOWN_FUNC_StoreHomeId = 132, + // (undocumented) + UNKNOWN_FUNC_StoreNodeInfo = 131, + // (undocumented) + UNKNOWN_FUNC_TIMER_CALL = 115, + // (undocumented) + UNKNOWN_FUNC_TIMER_CANCEL = 114, + // (undocumented) + UNKNOWN_FUNC_TIMER_RESTART = 113, + // (undocumented) + UNKNOWN_FUNC_TIMER_START = 112, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0x28 = 40, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0x66 = 102, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0x67 = 103, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0x78 = 120, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0x98 = 152, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0xB4 = 180, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0xB9 = 185, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0xD2 = 210, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0xD3 = 211, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0xD4 = 212, + // (undocumented) + UNKNOWN_FUNC_UNKNOWN_0xEF = 239, + // (undocumented) + UNKNOWN_FUNC_WATCH_DOG_DISABLE = 183, + // (undocumented) + UNKNOWN_FUNC_WATCH_DOG_ENABLE = 182, + // (undocumented) + UNKNOWN_FUNC_WATCH_DOG_KICK = 184, + // (undocumented) + UNKNOWN_FUNC_ZMEBootloaderFlash = 244, + // (undocumented) + UNKNOWN_FUNC_ZMECapabilities = 245, + // (undocumented) + UNKNOWN_FUNC_ZMEFreqChange = 242, + // (undocumented) + UNKNOWN_FUNC_ZMERestore = 243, + // (undocumented) + UNKNOWN_FUNC_ZMESerialAPIOptions = 248 +} + +// Warning: (ae-missing-release-tag) "getDefaultPriority" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getDefaultPriority(messageClass: T): MessagePriority | undefined; + +// Warning: (ae-missing-release-tag) "getDefaultPriorityStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getDefaultPriorityStatic>(classConstructor: T): MessagePriority | undefined; + +// Warning: (ae-missing-release-tag) "getExpectedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getExpectedCallback(messageClass: T): FunctionType | typeof Message | ResponsePredicate | undefined; + +// Warning: (ae-missing-release-tag) "getExpectedCallbackStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getExpectedCallbackStatic>(classConstructor: T): FunctionType | typeof Message | ResponsePredicate | undefined; + +// Warning: (ae-missing-release-tag) "getExpectedResponse" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getExpectedResponse(messageClass: T): FunctionType | typeof Message | ResponsePredicate | undefined; + +// Warning: (ae-missing-release-tag) "getExpectedResponseStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getExpectedResponseStatic>(classConstructor: T): FunctionType | typeof Message | ResponsePredicate | undefined; + +// Warning: (ae-missing-release-tag) "getFunctionType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getFunctionType(messageClass: T): FunctionType | undefined; + +// Warning: (ae-missing-release-tag) "getFunctionTypeStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getFunctionTypeStatic>(classConstructor: T): FunctionType | undefined; + +// Warning: (ae-missing-release-tag) "getMessageType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getMessageType(messageClass: T): MessageType | undefined; + +// Warning: (ae-missing-release-tag) "getMessageTypeStatic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getMessageTypeStatic>(classConstructor: T): MessageType | undefined; + +// Warning: (ae-missing-release-tag) "gotDeserializationOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function gotDeserializationOptions(options: Record | undefined): options is MessageDeserializationOptions; + +// Warning: (ae-missing-release-tag) "INodeQuery" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface INodeQuery { + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "isMultiStageCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isMultiStageCallback(msg: T): msg is T & MultiStageCallback; + +// Warning: (ae-missing-release-tag) "isNodeQuery" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isNodeQuery(msg: T): msg is T & INodeQuery; + +// Warning: (ae-missing-release-tag) "isSuccessIndicator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isSuccessIndicator(msg: T): msg is T & SuccessIndicator; + +// Warning: (ae-missing-release-tag) "Message" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class Message { + constructor(host: ZWaveHost, options?: MessageOptions); + get callbackId(): number; + set callbackId(v: number | undefined); + // (undocumented) + get completedTimestamp(): number | undefined; + // (undocumented) + expectedCallback: FunctionType | typeof Message | ResponsePredicate | undefined; + // (undocumented) + expectedResponse: FunctionType | typeof Message | ResponsePredicate | undefined; + expectsCallback(): boolean; + expectsNodeUpdate(): boolean; + expectsResponse(): boolean; + static extractPayload(data: Buffer): Buffer; + static from(host: ZWaveHost, data: Buffer, origin?: MessageOrigin): Message; + // (undocumented) + functionType: FunctionType; + getCallbackTimeout(): number | undefined; + static getConstructor(data: Buffer): MessageConstructor; + static getMessageLength(data: Buffer): number; + getNodeId(): number | undefined; + getNodeUnsafe(applHost: ZWaveApplicationHost): IZWaveNode | undefined; + hasCallbackId(): boolean; + // (undocumented) + protected host: ZWaveHost; + static isComplete(data?: Buffer): boolean; + isExpectedCallback(msg: Message): boolean; + isExpectedNodeUpdate(msg: Message): boolean; + isExpectedResponse(msg: Message): boolean; + markAsCompleted(): void; + markAsSent(): void; + needsCallbackId(): boolean; + // (undocumented) + payload: Buffer; + get rtt(): number | undefined; + serialize(): Buffer; + toJSON(): JSONObject; + toLogEntry(): MessageOrCCLogEntry; + get transmissionTimestamp(): number | undefined; + // (undocumented) + type: MessageType; +} + +// Warning: (ae-missing-release-tag) "MessageBaseOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MessageBaseOptions { + // (undocumented) + callbackId?: number; +} + +// Warning: (ae-missing-release-tag) "MessageConstructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MessageConstructor = new (host: ZWaveHost, options?: MessageOptions) => T; + +// Warning: (ae-missing-release-tag) "MessageCreationOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MessageCreationOptions extends MessageBaseOptions { + // (undocumented) + expectedCallback?: FunctionType | typeof Message | ResponsePredicate; + // (undocumented) + expectedResponse?: FunctionType | typeof Message | ResponsePredicate; + // (undocumented) + functionType?: FunctionType; + // (undocumented) + payload?: Buffer; + // (undocumented) + type?: MessageType; +} + +// Warning: (ae-missing-release-tag) "MessageDeserializationOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MessageDeserializationOptions { + // (undocumented) + data: Buffer; + // (undocumented) + origin?: MessageOrigin; +} + +// Warning: (ae-missing-release-tag) "MessageHeaders" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MessageHeaders { + // (undocumented) + ACK = 6, + // (undocumented) + CAN = 24, + // (undocumented) + NAK = 21, + // (undocumented) + SOF = 1 +} + +// Warning: (ae-missing-release-tag) "MessageOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MessageOptions = MessageCreationOptions | MessageDeserializationOptions; + +// Warning: (ae-missing-release-tag) "MessageOrigin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum MessageOrigin { + // (undocumented) + Controller = 0, + // (undocumented) + Host = 1 +} + +// Warning: (ae-missing-release-tag) "MessageType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum MessageType { + // (undocumented) + Request = 0, + // (undocumented) + Response = 1 +} + +// Warning: (ae-missing-release-tag) "messageTypes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const messageTypes: (messageType: MessageType, functionType: FunctionType) => TypedClassDecorator; + +// Warning: (ae-missing-release-tag) "MockSerialPort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "MockSerialPort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockSerialPort { + // (undocumented) + addListener(event: TEvent, callback: MockSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + emit(event: TEvent, ...args: Parameters): boolean; + // (undocumented) + off(event: TEvent, callback: MockSerialPortEventCallbacks[TEvent]): this; + // Warning: (ae-forgotten-export) The symbol "MockSerialPortEvents" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "MockSerialPortEventCallbacks" needs to be exported by the entry point index.d.ts + // + // (undocumented) + on(event: TEvent, callback: MockSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + once(event: TEvent, callback: MockSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + removeAllListeners(event?: MockSerialPortEvents): this; + // (undocumented) + removeListener(event: TEvent, callback: MockSerialPortEventCallbacks[TEvent]): this; +} + +// @public (undocumented) +export class MockSerialPort extends ZWaveSerialPort { + constructor(port: string, loggers: ZWaveLogContainer); + // (undocumented) + close(): Promise; + // (undocumented) + readonly closeStub: jest.Mock; + // (undocumented) + static getInstance(port: string): MockSerialPort | undefined; + // (undocumented) + get isOpen(): boolean; + // (undocumented) + get lastWrite(): string | number[] | Buffer | undefined; + // (undocumented) + open(): Promise; + // (undocumented) + readonly openStub: jest.Mock; + // (undocumented) + raiseError(err: Error): void; + // (undocumented) + receiveData(data: Buffer): void; + // (undocumented) + writeAsync(data: Buffer): Promise; + // (undocumented) + readonly writeStub: jest.Mock; +} + +// Warning: (ae-missing-release-tag) "MultiStageCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface MultiStageCallback { + isFinal(): boolean; +} + +// Warning: (ae-missing-release-tag) "priority" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const priority: (prio: MessagePriority) => TypedClassDecorator; + +// Warning: (ae-missing-release-tag) "ResponsePredicate" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ResponsePredicate = (sentMessage: TSent, receivedMessage: Message) => boolean; + +// Warning: (ae-missing-release-tag) "ResponseRole" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ResponseRole = "unexpected" | "confirmation" | "final" | "fatal_controller" | "fatal_node"; + +// Warning: (ae-missing-release-tag) "SerialAPIParser" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class SerialAPIParser extends Transform { + // Warning: (ae-forgotten-export) The symbol "SerialLogger" needs to be exported by the entry point index.d.ts + constructor(logger?: SerialLogger | undefined); + // (undocumented) + _transform(chunk: any, encoding: string, callback: TransformCallback): void; +} + +// Warning: (ae-missing-release-tag) "SerialLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SerialLogContext extends LogContext<"serial"> { + // (undocumented) + direction: DataDirection; + // (undocumented) + header?: string; +} + +// Warning: (ae-missing-release-tag) "skipBytes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function skipBytes(buf: Buffer, n: number): Buffer; + +// Warning: (ae-missing-release-tag) "SuccessIndicator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SuccessIndicator { + isOK(): boolean; +} + +// Warning: (ae-missing-release-tag) "ZWaveSerialChunk" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveSerialChunk = MessageHeaders.ACK | MessageHeaders.NAK | MessageHeaders.CAN | Buffer; + +// Warning: (ae-missing-release-tag) "ZWaveSerialPort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ZWaveSerialPort extends ZWaveSerialPortBase { + constructor(port: string, loggers: ZWaveLogContainer, Binding?: typeof SerialPort); + // (undocumented) + get isOpen(): boolean; +} + +// Warning: (ae-missing-release-tag) "ZWaveSerialPortBase" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveSerialPortBase" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveSerialPortBase { + // (undocumented) + addListener(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + emit(event: TEvent, ...args: Parameters): boolean; + // (undocumented) + off(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + on(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + once(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; + // (undocumented) + removeAllListeners(event?: ZWaveSerialPortEvents): this; + // (undocumented) + removeListener(event: TEvent, callback: ZWaveSerialPortEventCallbacks[TEvent]): this; +} + +// @public (undocumented) +export class ZWaveSerialPortBase extends PassThrough { + // (undocumented) + [Symbol.asyncIterator]: () => AsyncIterableIterator; + constructor(implementation: ZWaveSerialPortImplementation, loggers: ZWaveLogContainer); + // (undocumented) + close(): Promise; + // (undocumented) + get isOpen(): boolean; + // (undocumented) + protected logger: SerialLogger; + // (undocumented) + open(): Promise; + // (undocumented) + protected serial: ReturnType; + // (undocumented) + writeAsync(data: Buffer): Promise; +} + +// Warning: (ae-missing-release-tag) "ZWaveSerialPortEventCallbacks" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveSerialPortEventCallbacks { + // (undocumented) + data: (data: ZWaveSerialChunk) => void; + // (undocumented) + error: (e: Error) => void; +} + +// Warning: (ae-missing-release-tag) "ZWaveSerialPortEvents" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveSerialPortEvents = Extract; + +// Warning: (ae-missing-release-tag) "ZWaveSerialPortImplementation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveSerialPortImplementation { + // (undocumented) + close(port: ReturnType): Promise; + // (undocumented) + create(): Duplex & EventEmitter; + // (undocumented) + open(port: ReturnType): Promise; +} + +// Warning: (ae-missing-release-tag) "ZWaveSocket" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class ZWaveSocket extends ZWaveSerialPortBase { + constructor(socketOptions: ZWaveSocketOptions, loggers: ZWaveLogContainer); +} + +// Warning: (ae-missing-release-tag) "ZWaveSocketOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveSocketOptions = Omit | Omit; + +// Warnings were encountered during analysis: +// +// src/MockSerialPort.ts:109:2 - (ae-forgotten-export) The symbol "MockPortBinding" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/serial/package.json b/packages/serial/package.json index a156827a6f3c..06b4935fa158 100644 --- a/packages/serial/package.json +++ b/packages/serial/package.json @@ -48,6 +48,7 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty" }, @@ -61,6 +62,7 @@ "winston": "^3.8.1" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@serialport/binding-mock": "^10.2.2", "@serialport/bindings-interface": "*", "@serialport/stream": "*", diff --git a/packages/shared/api-extractor.json b/packages/shared/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/shared/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/shared/api.md b/packages/shared/api.md new file mode 100644 index 000000000000..83257ba4b1f6 --- /dev/null +++ b/packages/shared/api.md @@ -0,0 +1,311 @@ +## API Report File for "@zwave-js/shared" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +// Warning: (ae-forgotten-export) The symbol "Constructors" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "AllOf" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function AllOf(...BaseClasses: Constructors): Constructor>; + +// Warning: (ae-missing-release-tag) "AllOrNone" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type AllOrNone> = T | { + [key in keyof T]?: undefined; +}; + +// Warning: (ae-missing-release-tag) "applyMixin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function applyMixin(target: Constructor, mixin: Constructor, includeConstructor?: boolean): void; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "buffer2hex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function buffer2hex(buffer: Buffer, uppercase?: boolean): string; + +// Warning: (ae-missing-release-tag) "cloneDeep" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function cloneDeep(source: T): T; + +// Warning: (ae-missing-release-tag) "compareStrings" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function compareStrings(a: string, b: string): number; + +// Warning: (ae-missing-release-tag) "Constructor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Constructor = new (...args: any[]) => T; + +// Warning: (ae-missing-release-tag) "cpp2js" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function cpp2js(str: string): string; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "createThrowingMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createThrowingMap(throwKeyNotFound?: (key: K) => never): ThrowingMap; + +// Warning: (ae-missing-release-tag) "DeepPartial" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeepPartial = { + [P in keyof T]+?: DeepPartial; +}; + +// Warning: (ae-missing-release-tag) "discreteBinarySearch" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function discreteBinarySearch(rangeMin: number, rangeMax: number, executor: (value: number) => boolean | PromiseLike): Promise; + +// Warning: (ae-missing-release-tag) "discreteLinearSearch" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function discreteLinearSearch(rangeMin: number, rangeMax: number, executor: (value: number) => boolean | PromiseLike): Promise; + +// Warning: (ae-missing-release-tag) "enumFilesRecursive" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function enumFilesRecursive(rootDir: string, predicate?: (filename: string) => boolean): Promise; + +// Warning: (ae-missing-release-tag) "EventHandler" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EventHandler = ((arg1: any, arg2: any, arg3: any, arg4: any) => void) | ((arg1: any, arg2: any, arg3: any) => void) | ((arg1: any, arg2: any) => void) | ((arg1: any) => void) | ((...args: any[]) => void); + +// Warning: (ae-missing-release-tag) "flatMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function flatMap(array: T[], callbackfn: (value: T, index: number, array: T[]) => U[]): U[]; + +// Warning: (ae-missing-release-tag) "formatId" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function formatId(id: number | string): string; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "getEnumMemberName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getEnumMemberName(enumeration: unknown, value: number): string; + +// Warning: (ae-missing-release-tag) "getErrorMessage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getErrorMessage(e: unknown, includeStack?: boolean): string; + +// Warning: (ae-missing-release-tag) "IsAny" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type IsAny = 0 extends 1 & T ? true : false; + +// Warning: (ae-missing-release-tag) "isDocker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function isDocker(): boolean; + +// Warning: (ae-missing-release-tag) "isPrintableASCII" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isPrintableASCII(text: string): boolean; + +// Warning: (ae-missing-release-tag) "isPrintableASCIIWithNewlines" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function isPrintableASCIIWithNewlines(text: string): boolean; + +// Warning: (ae-missing-release-tag) "JSONObject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JSONObject = Record; + +// Warning: (ae-missing-release-tag) "keysOf" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function keysOf(obj: T): (keyof T)[]; + +// Warning: (ae-missing-release-tag) "mergeDeep" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function mergeDeep(target: Record | undefined, source: Record): Record; + +// Warning: (ae-missing-release-tag) "MethodsNamesOf" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MethodsNamesOf = OnlyMethods[keyof T]; + +// Warning: (ae-missing-release-tag) "Mixin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function Mixin(baseCtors: Constructor[]): (derivedCtor: Constructor) => void; + +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen +// Warning: (ae-missing-release-tag) "num2hex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function num2hex(val: number | undefined | null, uppercase?: boolean): string; + +// Warning: (ae-missing-release-tag) "ObjectKeyMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class ObjectKeyMap, TValue> { + // (undocumented) + [Symbol.iterator](): IterableIterator<[TKey, TValue]>; + constructor(entries?: [TKey, TValue][], defaultKeyProps?: Partial); + // (undocumented) + clear(): void; + // (undocumented) + delete(key: TKey): boolean; + // (undocumented) + entries(): IterableIterator<[TKey, TValue]>; + // (undocumented) + forEach(callbackfn: (value: TValue, key: TKey, map: this) => void): void; + // (undocumented) + get(key: TKey): TValue | undefined; + // (undocumented) + has(key: TKey): boolean; + // (undocumented) + keys(): IterableIterator; + // (undocumented) + set(key: TKey, value: TValue): void; + // (undocumented) + get size(): number; + // (undocumented) + values(): IterableIterator; +} + +// Warning: (ae-missing-release-tag) "OnlyMethods" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OnlyMethods = { + [K in keyof T]: T[K] extends (...args: any[]) => any ? T[K] : never; +}; + +// Warning: (ae-missing-release-tag) "padVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function padVersion(version: string): string; + +// Warning: (ae-missing-release-tag) "pick" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function pick, K extends keyof T>(obj: T, keys: readonly K[]): Pick; + +// Warning: (ae-missing-release-tag) "pickDeep" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function pickDeep(object: Record, path: string): T; + +// Warning: (ae-forgotten-export) The symbol "PickSymbolIterator" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ReadonlyObjectKeyMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ReadonlyObjectKeyMap, TValue> = Pick, "has" | "get" | "entries" | "keys" | "values" | "size"> & PickSymbolIterator>; + +// Warning: (ae-missing-release-tag) "ReadonlyThrowingMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ReadonlyThrowingMap = ReadonlyMap & { + getOrThrow(key: K): V; +}; + +// Warning: (ae-missing-release-tag) "skipBytes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function skipBytes(buf: Buffer, n: number): Buffer; + +// Warning: (ae-missing-release-tag) "staticExtends" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function staticExtends any>(constructor: unknown, base: T): constructor is T; + +// Warning: (ae-missing-release-tag) "stringify" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function stringify(arg: unknown, space?: 4 | "\t"): string; + +// Warning: (ae-missing-release-tag) "sum" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function sum(values: number[]): number; + +// Warning: (ae-missing-release-tag) "throttle" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function throttle(fn: (...args: T) => void, intervalMs: number, trailing?: boolean): (...args: T) => void; + +// Warning: (ae-missing-release-tag) "ThrowingMap" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ThrowingMap = Map & { + getOrThrow(key: K): V; +}; + +// Warning: (ae-missing-release-tag) "TimedExpectation" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class TimedExpectation implements PromiseLike { + constructor(timeoutMs: number, predicate?: ((input: TPredicate) => boolean) | undefined, timeoutErrorMessage?: string); + // (undocumented) + readonly predicate?: ((input: TPredicate) => boolean) | undefined; + // (undocumented) + resolve(result: TResult): void; + readonly stack: string; + // (undocumented) + then(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null): PromiseLike; +} + +// Warning: (ae-missing-release-tag) "TypedClassDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TypedClassDecorator = T>(apiClass: TConstructor) => TConstructor | void; + +// Warning: (ae-missing-release-tag) "TypedEventEmitter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "TypedEventEmitter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface TypedEventEmitter> { + // (undocumented) + emit(event: TEvent, ...args: Parameters): boolean; + // (undocumented) + off(event: TEvent, callback: TEvents[TEvent]): this; + // (undocumented) + on(event: TEvent, callback: TEvents[TEvent]): this; + // (undocumented) + once(event: TEvent, callback: TEvents[TEvent]): this; + // (undocumented) + removeAllListeners(event?: keyof TEvents): this; + // (undocumented) + removeListener(event: TEvent, callback: TEvents[TEvent]): this; +} + +// @public (undocumented) +export class TypedEventEmitter> { +} + +// Warning: (ae-missing-release-tag) "TypedPropertyDecorator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TypedPropertyDecorator = (target: T, propertyKey: string | symbol) => void; + +// Warning: (ae-missing-release-tag) "UnionToIntersection" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UnionToIntersection = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/shared/package.json b/packages/shared/package.json index b541eb6a10d4..9701752f92e4 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -48,10 +48,12 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", diff --git a/packages/testing/api-extractor.json b/packages/testing/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/testing/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/testing/api.md b/packages/testing/api.md new file mode 100644 index 000000000000..1707cd0b3551 --- /dev/null +++ b/packages/testing/api.md @@ -0,0 +1,278 @@ +## API Report File for "@zwave-js/testing" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// +/// + +import { CommandClasses } from '@zwave-js/core'; +import { CommandClassInfo } from '@zwave-js/core'; +import { FunctionType } from '@zwave-js/serial/safe'; +import type { ICommandClass } from '@zwave-js/core'; +import { Message } from '@zwave-js/serial'; +import type { MockPortBinding } from '@zwave-js/serial/mock'; +import { NodeProtocolInfoAndDeviceClass } from '@zwave-js/core'; +import Transport from 'winston-transport'; +import { ZWaveApiVersion } from '@zwave-js/core/safe'; +import type { ZWaveHost } from '@zwave-js/host'; +import { ZWaveLibraryTypes } from '@zwave-js/core/safe'; +import type { ZWaveLogInfo } from '@zwave-js/core'; + +// Warning: (ae-missing-release-tag) "assertLogInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function assertLogInfo(transport: SpyTransport, options: Partial<{ + level: string; + predicate: (info: ZWaveLogInfo) => boolean; + callNumber: number; +}>): void; + +// Warning: (ae-missing-release-tag) "assertMessage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function assertMessage(transport: SpyTransport, options: Partial<{ + message: string; + predicate: (msg: string) => boolean; + ignoreColor: boolean; + ignoreTimestamp: boolean; + ignoreChannel: boolean; + callNumber: number; +}>): void; + +// Warning: (ae-missing-release-tag) "createMockZWaveAckFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createMockZWaveAckFrame(options?: Partial>): MockZWaveAckFrame; + +// Warning: (ae-missing-release-tag) "createMockZWaveRequestFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createMockZWaveRequestFrame(payload: ICommandClass, options?: Partial>): MockZWaveRequestFrame; + +// Warning: (ae-missing-release-tag) "MOCK_FRAME_ACK_TIMEOUT" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const MOCK_FRAME_ACK_TIMEOUT = 1000; + +// Warning: (ae-missing-release-tag) "MockController" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@zwave-js/testing" does not have an export "MockSerialPort" +// +// @public +export class MockController { + constructor(options: MockControllerOptions); + ackNodeRequestFrame(node: MockNode, frame?: MockZWaveRequestFrame): Promise; + // (undocumented) + addNode(node: MockNode): void; + assertReceivedHostMessage(predicate: (msg: Message) => boolean, options?: { + errorMessage?: string; + }): void; + autoAckNodeFrames: boolean; + // Warning: (ae-forgotten-export) The symbol "MockControllerCapabilities" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly capabilities: MockControllerCapabilities; + clearReceivedHostMessages(): void; + // (undocumented) + defineBehavior(...behaviors: MockControllerBehavior[]): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectHostACK(timeout: number): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectHostMessage(timeout: number, predicate: (msg: Message) => boolean): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectNodeACK(node: MockNode, timeout: number): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectNodeCC(node: MockNode, timeout: number, predicate: (cc: ICommandClass) => cc is T): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectNodeFrame(node: MockNode, timeout: number, predicate: (msg: MockZWaveFrame) => msg is T): Promise; + // (undocumented) + readonly host: ZWaveHost; + // (undocumented) + get nodes(): ReadonlyMap; + onNodeFrame(node: MockNode, frame: MockZWaveFrame): Promise; + // (undocumented) + removeNode(node: MockNode): void; + sendToHost(data: Buffer): Promise; + sendToNode(node: MockNode, frame: MockZWaveFrame): Promise; + // (undocumented) + readonly serial: MockPortBinding; + readonly state: Map; +} + +// Warning: (ae-missing-release-tag) "MockControllerBehavior" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockControllerBehavior { + onHostMessage?: (host: ZWaveHost, controller: MockController, msg: Message) => Promise | boolean | undefined; + onNodeFrame?: (host: ZWaveHost, controller: MockController, node: MockNode, frame: MockZWaveFrame) => Promise | boolean | undefined; +} + +// Warning: (ae-missing-release-tag) "MockControllerOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockControllerOptions { + // (undocumented) + capabilities?: Partial; + // (undocumented) + homeId?: number; + // (undocumented) + ownNodeId?: number; + // (undocumented) + serial: MockPortBinding; +} + +// Warning: (ae-missing-release-tag) "MockEndpoint" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class MockEndpoint { + constructor(options: MockEndpointOptions); + addCC(cc: CommandClasses, info: Partial): void; + // Warning: (ae-forgotten-export) The symbol "MockEndpointCapabilities" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly capabilities: MockEndpointCapabilities; + // (undocumented) + readonly implementedCCs: Map; + // (undocumented) + readonly index: number; + // (undocumented) + readonly node: MockNode; + removeCC(cc: CommandClasses): void; +} + +// Warning: (ae-missing-release-tag) "MockEndpointOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockEndpointOptions { + // (undocumented) + capabilities?: Partial & { + commandClasses?: PartialCCCapabilities[]; + }; + // (undocumented) + index: number; + // (undocumented) + node: MockNode; +} + +// Warning: (ae-missing-release-tag) "MockNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class MockNode { + constructor(options: MockNodeOptions); + ackControllerRequestFrame(frame?: MockZWaveRequestFrame): Promise; + addCC(cc: CommandClasses, info: Partial): void; + assertReceivedControllerFrame(predicate: (frame: MockZWaveFrame) => boolean, options?: { + noMatch?: boolean; + errorMessage?: string; + }): void; + assertSentControllerFrame(predicate: (frame: MockZWaveFrame) => boolean, options?: { + noMatch?: boolean; + errorMessage?: string; + }): void; + autoAckControllerFrames: boolean; + // Warning: (ae-forgotten-export) The symbol "MockNodeCapabilities" needs to be exported by the entry point index.d.ts + // + // (undocumented) + readonly capabilities: MockNodeCapabilities; + clearReceivedControllerFrames(): void; + clearSentControllerFrames(): void; + // (undocumented) + readonly controller: MockController; + // (undocumented) + defineBehavior(...behaviors: MockNodeBehavior[]): void; + // (undocumented) + readonly endpoints: Map; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectControllerACK(timeout: number): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + expectControllerFrame(timeout: number, predicate: (msg: MockZWaveFrame) => msg is T): Promise; + // (undocumented) + readonly id: number; + // (undocumented) + readonly implementedCCs: Map; + onControllerFrame(frame: MockZWaveFrame): Promise; + removeCC(cc: CommandClasses): void; + sendToController(frame: MockZWaveFrame): Promise; + readonly state: Map; +} + +// Warning: (ae-missing-release-tag) "MockNodeBehavior" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockNodeBehavior { + onControllerFrame?: (controller: MockController, self: MockNode, frame: MockZWaveFrame) => Promise | boolean | undefined; +} + +// Warning: (ae-missing-release-tag) "MockNodeOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockNodeOptions { + // (undocumented) + capabilities?: Partial & { + commandClasses?: PartialCCCapabilities[]; + endpoints?: (Partial & { + commandClasses?: PartialCCCapabilities[]; + })[]; + }; + // (undocumented) + controller: MockController; + // (undocumented) + id: number; +} + +// Warning: (ae-missing-release-tag) "MockZWaveAckFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockZWaveAckFrame { + ack: boolean; + failedHop?: number; + repeaters: number[]; + // (undocumented) + type: MockZWaveFrameType.ACK; +} + +// Warning: (ae-missing-release-tag) "MockZWaveFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type MockZWaveFrame = MockZWaveRequestFrame | MockZWaveAckFrame; + +// Warning: (ae-missing-release-tag) "MockZWaveFrameType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum MockZWaveFrameType { + // (undocumented) + ACK = 1, + // (undocumented) + Request = 0 +} + +// Warning: (ae-missing-release-tag) "MockZWaveRequestFrame" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MockZWaveRequestFrame { + ackRequested: boolean; + payload: ICommandClass; + repeaters: number[]; + // (undocumented) + type: MockZWaveFrameType.Request; +} + +// Warning: (ae-missing-release-tag) "SpyTransport" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class SpyTransport extends Transport { + constructor(); + // (undocumented) + log(info: any, next: () => void): any; + // (undocumented) + get spy(): jest.Mock; +} + +// Warnings were encountered during analysis: +// +// src/MockNode.ts:46:3 - (ae-forgotten-export) The symbol "PartialCCCapabilities" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/testing/package.json b/packages/testing/package.json index 7bca4670f716..21a4fa93cf66 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -32,6 +32,7 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "tsc -b tsconfig.build.json --clean", "watch": "yarn run build --watch --pretty" }, @@ -42,6 +43,7 @@ "@zwave-js/shared": "workspace:*" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", "@types/triple-beam": "^1.3.2", diff --git a/packages/zwave-js/api-extractor.json b/packages/zwave-js/api-extractor.json new file mode 100644 index 000000000000..a40932a7ac8b --- /dev/null +++ b/packages/zwave-js/api-extractor.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor-base.json" +} diff --git a/packages/zwave-js/api.md b/packages/zwave-js/api.md new file mode 100644 index 000000000000..b4b3a13a4564 --- /dev/null +++ b/packages/zwave-js/api.md @@ -0,0 +1,1324 @@ +## API Report File for "zwave-js" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +import { APIMethodsOf } from '@zwave-js/cc'; +import { AssociationAddress } from '@zwave-js/cc'; +import { AssociationGroup } from '@zwave-js/cc'; +import type { BasicDeviceClass } from '@zwave-js/config'; +import { buffer2hex } from '@zwave-js/shared/safe'; +import { CCAPIs } from '@zwave-js/cc'; +import { CCConstructor } from '@zwave-js/cc'; +import { CommandClass } from '@zwave-js/cc'; +import { CommandClasses } from '@zwave-js/core/safe'; +import { CommandClasses as CommandClasses_2 } from '@zwave-js/core'; +import { CommandClassInfo } from '@zwave-js/core'; +import { Comparable } from 'alcalzone-shared/comparable'; +import { CompareResult } from 'alcalzone-shared/comparable'; +import { ConfigManager } from '@zwave-js/config'; +import { ControllerLogContext } from '@zwave-js/core'; +import { ControllerNodeLogContext } from '@zwave-js/core'; +import { ControllerSelfLogContext } from '@zwave-js/core'; +import { ControllerValueLogContext } from '@zwave-js/core'; +import { DataDirection } from '@zwave-js/core'; +import { DataRate } from '@zwave-js/core/safe'; +import { DataRate as DataRate_2 } from '@zwave-js/core'; +import { DeepPartial } from '@zwave-js/shared'; +import type { DeferredPromise } from 'alcalzone-shared/deferred-promise'; +import type { DeviceConfig } from '@zwave-js/config'; +import { Duration } from '@zwave-js/core/safe'; +import { DurationUnit } from '@zwave-js/core/safe'; +import { extractFirmware } from '@zwave-js/core'; +import { FileSystem } from '@zwave-js/host/safe'; +import type { FileSystem as FileSystem_2 } from '@zwave-js/host'; +import { Firmware } from '@zwave-js/core'; +import { FirmwareFileFormat } from '@zwave-js/core'; +import { FirmwareUpdateCapabilities } from '@zwave-js/cc'; +import type { FirmwareUpdateStatus } from '@zwave-js/cc'; +import { FLiRS } from '@zwave-js/core/safe'; +import { FLiRS as FLiRS_2 } from '@zwave-js/core'; +import { formatId } from '@zwave-js/shared/safe'; +import { FunctionType } from '@zwave-js/serial'; +import type { GenericDeviceClass } from '@zwave-js/config'; +import { getEnumMemberName } from '@zwave-js/shared/safe'; +import { GraphNode } from '@zwave-js/core'; +import { guessFirmwareFileFormat } from '@zwave-js/core'; +import { ICommandClass } from '@zwave-js/core'; +import { ICommandClassContainer } from '@zwave-js/cc'; +import { InterviewStage } from '@zwave-js/core/safe'; +import { isRssiError } from '@zwave-js/core/safe'; +import { IVirtualEndpoint } from '@zwave-js/core/safe'; +import { IVirtualNode } from '@zwave-js/core'; +import type { IZWaveEndpoint } from '@zwave-js/core'; +import { IZWaveNode } from '@zwave-js/core'; +import type { JSONObject } from '@zwave-js/shared'; +import { KEXFailType } from '@zwave-js/cc'; +import { LogConfig } from '@zwave-js/core'; +import { LogContext } from '@zwave-js/core'; +import { Maybe } from '@zwave-js/core'; +import { Message } from '@zwave-js/serial'; +import { MessageBaseOptions } from '@zwave-js/serial'; +import { MessageDeserializationOptions } from '@zwave-js/serial'; +import { MessageOptions } from '@zwave-js/serial'; +import { MessageOrCCLogEntry } from '@zwave-js/core'; +import { MessagePriority } from '@zwave-js/core'; +import { MessageType } from '@zwave-js/serial'; +import type { MetadataUpdatedArgs } from '@zwave-js/core'; +import { MockControllerBehavior } from '@zwave-js/testing'; +import { MockNodeBehavior } from '@zwave-js/testing'; +import { MockPortBinding } from '@zwave-js/serial/mock'; +import { MulticastCC } from '@zwave-js/core'; +import { MulticastDestination } from '@zwave-js/core/safe'; +import { NODE_ID_BROADCAST } from '@zwave-js/core/safe'; +import { NODE_ID_MAX } from '@zwave-js/core/safe'; +import { NodeStatus } from '@zwave-js/core/safe'; +import type { NodeStatus as NodeStatus_2 } from '@zwave-js/core'; +import { NodeType } from '@zwave-js/core/safe'; +import { NodeType as NodeType_2 } from '@zwave-js/core'; +import { num2hex } from '@zwave-js/shared/safe'; +import { parseQRCodeString } from '@zwave-js/core'; +import { Powerlevel } from '@zwave-js/cc'; +import { ProtocolDataRate } from '@zwave-js/core/safe'; +import type { ProtocolDataRate as ProtocolDataRate_2 } from '@zwave-js/core'; +import { protocolDataRateToString } from '@zwave-js/core'; +import { Protocols } from '@zwave-js/core'; +import { ProtocolType } from '@zwave-js/core'; +import { ProtocolVersion } from '@zwave-js/core/safe'; +import { ProtocolVersion as ProtocolVersion_2 } from '@zwave-js/core'; +import { QRCodeVersion } from '@zwave-js/core'; +import { QRProvisioningInformation } from '@zwave-js/core'; +import { ReadonlyObjectKeyMap } from '@zwave-js/shared'; +import { ReadonlyThrowingMap } from '@zwave-js/shared'; +import { ResponsePredicate } from '@zwave-js/serial'; +import { ResponseRole } from '@zwave-js/serial'; +import { RFRegion } from '@zwave-js/core/safe'; +import { RFRegion as RFRegion_2 } from '@zwave-js/core'; +import { RouteProtocolDataRate } from '@zwave-js/core'; +import { RSSI } from '@zwave-js/core/safe'; +import { RSSI as RSSI_2 } from '@zwave-js/core'; +import { RssiError } from '@zwave-js/core/safe'; +import { rssiToString } from '@zwave-js/core'; +import { Scale } from '@zwave-js/config'; +import type { SecurityClass } from '@zwave-js/core/safe'; +import { SecurityClass as SecurityClass_2 } from '@zwave-js/core'; +import { SecurityClassOwner } from '@zwave-js/core'; +import { SendCommandOptions } from '@zwave-js/core'; +import { SendCommandReturnType } from '@zwave-js/core'; +import { SendMessageOptions } from '@zwave-js/core'; +import { SensorType } from '@zwave-js/config'; +import { SetbackState } from '@zwave-js/cc'; +import { SetValueAPIOptions } from '@zwave-js/cc'; +import { SinglecastCC } from '@zwave-js/core'; +import type { SpecificDeviceClass } from '@zwave-js/config'; +import { Switchpoint } from '@zwave-js/cc'; +import { TranslatedValueID as TranslatedValueID_2 } from '@zwave-js/core'; +import { TransmitOptions } from '@zwave-js/core'; +import { TXReport } from '@zwave-js/core/safe'; +import { TypedEventEmitter } from '@zwave-js/shared'; +import * as util from 'util'; +import type { ValueAddedArgs } from '@zwave-js/core'; +import { ValueDB } from '@zwave-js/core'; +import { ValueID } from '@zwave-js/core/safe'; +import { ValueID as ValueID_2 } from '@zwave-js/core'; +import { ValueMetadata } from '@zwave-js/core/safe'; +import { ValueMetadata as ValueMetadata_2 } from '@zwave-js/core'; +import { ValueMetadataAny } from '@zwave-js/core/safe'; +import { ValueMetadataBoolean } from '@zwave-js/core/safe'; +import { ValueMetadataNumeric } from '@zwave-js/core/safe'; +import { ValueMetadataString } from '@zwave-js/core/safe'; +import type { ValueNotificationArgs } from '@zwave-js/core'; +import type { ValueRemovedArgs } from '@zwave-js/core'; +import { ValueType } from '@zwave-js/core/safe'; +import type { ValueUpdatedArgs } from '@zwave-js/core'; +import { ZWaveApiVersion } from '@zwave-js/core/safe'; +import type { ZWaveApplicationHost } from '@zwave-js/host'; +import { ZWaveError } from '@zwave-js/core/safe'; +import { ZWaveErrorCodes } from '@zwave-js/core/safe'; +import type { ZWaveHost } from '@zwave-js/host'; +import type { ZWaveHostOptions } from '@zwave-js/host'; +import { ZWaveLibraryTypes } from '@zwave-js/core/safe'; +import type { ZWaveNotificationCallbackParams_EntryControlCC } from '@zwave-js/cc'; +import type { ZWaveNotificationCallbackParams_MultilevelSwitchCC } from '@zwave-js/cc'; +import type { ZWaveNotificationCallbackParams_NotificationCC } from '@zwave-js/cc'; +import type { ZWaveNotificationCallbackParams_PowerlevelCC } from '@zwave-js/cc'; +import { ZWavePlusNodeType } from '@zwave-js/cc'; +import { ZWavePlusRoleType } from '@zwave-js/cc'; + +export { buffer2hex } + +// Warning: (ae-forgotten-export) The symbol "ControllerEventCallbacks" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ControllerEvents" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ControllerEvents = Extract; + +export { ControllerLogContext } + +export { ControllerNodeLogContext } + +export { ControllerSelfLogContext } + +// Warning: (ae-missing-release-tag) "ControllerStatistics" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ControllerStatistics { + CAN: number; + messagesDroppedRX: number; + messagesDroppedTX: number; + messagesRX: number; + messagesTX: number; + NAK: number; + timeoutACK: number; + timeoutCallback: number; + timeoutResponse: number; +} + +export { ControllerValueLogContext } + +// Warning: (ae-forgotten-export) The symbol "CreateAndStartDriverWithMockPortOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "CreateAndStartDriverWithMockPortResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createAndStartDriverWithMockPort" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createAndStartDriverWithMockPort(options?: DeepPartial): Promise; + +// Warning: (ae-missing-release-tag) "createDefaultBehaviors" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createDefaultMockControllerBehaviors(): MockControllerBehavior[]; + +// Warning: (ae-missing-release-tag) "createDefaultBehaviors" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createDefaultMockNodeBehaviors(): MockNodeBehavior[]; + +export { DataRate } + +// Warning: (ae-missing-release-tag) "DeviceClass" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class DeviceClass { + constructor(configManager: ConfigManager, basic: number, generic: number, specific: number); + // (undocumented) + readonly basic: BasicDeviceClass; + // (undocumented) + readonly generic: GenericDeviceClass; + // (undocumented) + get mandatoryControlledCCs(): readonly CommandClasses[]; + // (undocumented) + get mandatorySupportedCCs(): readonly CommandClasses[]; + // (undocumented) + readonly specific: SpecificDeviceClass; + // (undocumented) + toJSON(): JSONObject; +} + +// Warning: (ae-forgotten-export) The symbol "DriverEventCallbacks" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Driver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class Driver extends TypedEventEmitter implements ZWaveApplicationHost { + // (undocumented) + [util.inspect.custom](): string; + constructor(port: string, options?: DeepPartial); + get allNodesReady(): boolean; + // (undocumented) + readonly cacheDir: string; + checkForConfigUpdates(silent?: boolean): Promise; + // Warning: (ae-forgotten-export) The symbol "SendDataRequest" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "SendDataBridgeRequest" needs to be exported by the entry point index.d.ts + computeNetCCPayloadSize(commandOrMsg: CommandClass | SendDataRequest | SendDataBridgeRequest): number; + // (undocumented) + readonly configManager: ConfigManager; + // (undocumented) + get configVersion(): string; + get controller(): ZWaveController; + // Warning: (ae-forgotten-export) The symbol "SendDataMessage" needs to be exported by the entry point index.d.ts + createSendDataMessage(command: CommandClass, options?: Omit): SendDataMessage; + destroy(): Promise; + disableStatistics(): void; + enableErrorReporting(): void; + // Warning: (ae-forgotten-export) The symbol "AppInfo" needs to be exported by the entry point index.d.ts + enableStatistics(appInfo: Pick): void; + static enumerateSerialPorts(): Promise; + getLogConfig(): LogConfig; + getNextCallbackId(): number; + // (undocumented) + getNodeUnsafe(msg: Message): ZWaveNode | undefined; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + getSafeCCVersionForNode(cc: CommandClasses_2, nodeId: number, endpointIndex?: number): number; + // Warning: (ae-forgotten-export) The symbol "SendDataMulticastRequest" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "SendDataMulticastBridgeRequest" needs to be exported by the entry point index.d.ts + getSendDataMulticastConstructor(): typeof SendDataMulticastRequest | typeof SendDataMulticastBridgeRequest; + getSendDataSinglecastConstructor(): typeof SendDataRequest | typeof SendDataBridgeRequest; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + getSupportedCCVersionForEndpoint(cc: CommandClasses_2, nodeId: number, endpointIndex?: number): number; + hardReset(): Promise; + // Warning: (ae-forgotten-export) The symbol "Transaction" needs to be exported by the entry point index.d.ts + hasPendingTransactions(predicate: (t: Transaction) => boolean): boolean; + installConfigUpdate(): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + isCCSecure(ccId: CommandClasses_2, nodeId: number, endpointIndex?: number): boolean; + get ready(): boolean; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (ae-forgotten-export) The symbol "RequestHandler" needs to be exported by the entry point index.d.ts + registerRequestHandler(fnType: FunctionType, handler: RequestHandler, oneTime?: boolean): void; + restoreNetworkStructureFromCache(): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "SupervisionResult" + sendCommand(command: CommandClass, options?: SendCommandOptions): Promise>; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + sendMessage(msg: Message, options?: SendMessageOptions): Promise; + setPreferredScales(scales: ZWaveOptions["preferences"]["scales"]): void; + softReset(): Promise; + start(): Promise; + get statisticsEnabled(): boolean; + // (undocumented) + tryGetEndpoint(cc: CommandClass): Endpoint | undefined; + trySoftReset(): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + unregisterRequestHandler(fnType: FunctionType, handler: RequestHandler): void; + // (undocumented) + unwrapCommands(msg: Message & ICommandClassContainer): void; + updateLogConfig(config: DeepPartial): void; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + waitForCommand(predicate: (cc: ICommandClass) => boolean, timeout: number): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "waitForCommand" + waitForMessage(predicate: (msg: Message) => boolean, timeout: number): Promise; +} + +// Warning: (ae-missing-release-tag) "DriverLogContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DriverLogContext extends LogContext<"driver"> { + // (undocumented) + direction?: DataDirection; +} + +export { Duration } + +export { DurationUnit } + +// Warning: (ae-missing-release-tag) "Endpoint" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class Endpoint implements IZWaveEndpoint { + constructor( + nodeId: number, + driver: Driver, + index: number, deviceClass?: DeviceClass, supportedCCs?: CommandClasses_2[]); + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + addCC(cc: CommandClasses_2, info: Partial): void; + protected addMandatoryCC(cc: CommandClasses_2, info: Partial): void; + protected applyDeviceClass(deviceClass?: DeviceClass): void; + buildCCInterviewGraph(skipCCs: CommandClasses_2[]): GraphNode[]; + get commandClasses(): CCAPIs; + controlsCC(cc: CommandClasses_2): boolean; + createCCInstance(cc: CommandClasses_2 | CCConstructor): T | undefined; + createCCInstanceUnsafe(cc: CommandClasses_2 | CCConstructor): T | undefined; + // (undocumented) + get deviceClass(): DeviceClass | undefined; + protected set deviceClass(deviceClass: DeviceClass | undefined); + protected readonly driver: Driver; + // (undocumented) + getCCs(): Iterable<[ccId: CommandClasses_2, info: CommandClassInfo]>; + getCCVersion(cc: CommandClasses_2): number; + getNodeUnsafe(): ZWaveNode | undefined; + getSupportedCCInstances(): readonly CommandClass[]; + hideBasicCCInFavorOfActuatorCCs(): void; + readonly index: number; + get installerIcon(): number | undefined; + invokeCCAPI any> = CommandClasses_2 extends CC ? any : APIMethodsOf>(cc: CC, method: TMethod, ...args: Parameters): ReturnType; + isCCSecure(cc: CommandClasses_2): boolean; + readonly nodeId: number; + removeCC(cc: CommandClasses_2): void; + protected reset(): void; + supportsCC(cc: CommandClasses_2): boolean; + supportsCCAPI(cc: CommandClasses_2): boolean; + get userIcon(): number | undefined; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "IZWaveEndpoint" + readonly virtual = false; +} + +// Warning: (ae-missing-release-tag) "ExclusionOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ExclusionOptions = { + strategy: ExclusionStrategy.ExcludeOnly | ExclusionStrategy.DisableProvisioningEntry | ExclusionStrategy.Unprovision; +}; + +// Warning: (ae-missing-release-tag) "ExclusionStrategy" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ExclusionStrategy { + DisableProvisioningEntry = 1, + ExcludeOnly = 0, + Unprovision = 2 +} + +export { extractFirmware } + +export { FileSystem } + +export { Firmware } + +export { FirmwareFileFormat } + +// Warning: (ae-missing-release-tag) "FirmwareUpdateFileInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FirmwareUpdateFileInfo { + // (undocumented) + integrity: `sha256:${string}`; + // (undocumented) + target: number; + // (undocumented) + url: string; +} + +// Warning: (ae-missing-release-tag) "FirmwareUpdateInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FirmwareUpdateInfo = { + version: string; + changelog: string; + files: FirmwareUpdateFileInfo[]; +}; + +export { FLiRS } + +export { formatId } + +// Warning: (ae-missing-release-tag) "formatLifelineHealthCheckRound" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function formatLifelineHealthCheckRound(round: number, numRounds: number, result: LifelineHealthCheckResult): string; + +// Warning: (ae-missing-release-tag) "formatLifelineHealthCheckSummary" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function formatLifelineHealthCheckSummary(summary: LifelineHealthCheckSummary): string; + +// Warning: (ae-missing-release-tag) "formatRouteHealthCheckRound" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function formatRouteHealthCheckRound(sourceNodeId: number, targetNodeId: number, round: number, numRounds: number, result: RouteHealthCheckResult): string; + +// Warning: (ae-missing-release-tag) "formatRouteHealthCheckSummary" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function formatRouteHealthCheckSummary(sourceNodeId: number, targetNodeId: number, summary: RouteHealthCheckSummary): string; + +// Warning: (ae-missing-release-tag) "FoundNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface FoundNode { + // (undocumented) + controlledCCs?: CommandClasses[]; + // (undocumented) + deviceClass?: DeviceClass; + // (undocumented) + id: number; + // (undocumented) + supportedCCs?: CommandClasses[]; +} + +export { FunctionType } + +export { getEnumMemberName } + +export { guessFirmwareFileFormat } + +// Warning: (ae-missing-release-tag) "HealNodeStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HealNodeStatus = "pending" | "done" | "failed" | "skipped"; + +// Warning: (ae-missing-release-tag) "healthCheckRatingToWord" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function healthCheckRatingToWord(rating: number): string; + +// Warning: (ae-missing-release-tag) "IncludedProvisioningEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface IncludedProvisioningEntry extends PlannedProvisioningEntry { + // (undocumented) + nodeId: number; +} + +// Warning: (ae-missing-release-tag) "InclusionGrant" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface InclusionGrant { + clientSideAuth: boolean; + securityClasses: SecurityClass[]; +} + +// Warning: (ae-missing-release-tag) "InclusionOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type InclusionOptions = { + strategy: InclusionStrategy.Default; + forceSecurity?: boolean; +} | { + strategy: InclusionStrategy.Security_S2; + provisioning?: PlannedProvisioningEntry; +} | { + strategy: InclusionStrategy.Insecure | InclusionStrategy.Security_S0; +}; + +// Warning: (ae-missing-release-tag) "InclusionResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface InclusionResult { + lowSecurity?: boolean; +} + +// Warning: (ae-missing-release-tag) "InclusionState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum InclusionState { + Busy = 3, + Excluding = 2, + Idle = 0, + Including = 1, + SmartStart = 4 +} + +// Warning: (ae-missing-release-tag) "InclusionStrategy" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum InclusionStrategy { + Default = 0, + Insecure = 2, + Security_S0 = 3, + Security_S2 = 4, + SmartStart = 1 +} + +// Warning: (ae-missing-release-tag) "InclusionUserCallbacks" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface InclusionUserCallbacks { + abort(): void; + grantSecurityClasses(requested: InclusionGrant): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + validateDSKAndEnterPIN(dsk: string): Promise; +} + +export { InterviewStage } + +export { isRssiError } + +// Warning: (ae-missing-release-tag) "libName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const libName: string; + +// Warning: (ae-missing-release-tag) "libVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const libVersion: string; + +// Warning: (ae-missing-release-tag) "LifelineHealthCheckResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface LifelineHealthCheckResult { + failedPingsController?: number; + failedPingsNode: number; + latency: number; + minPowerlevel?: Powerlevel; + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + numNeighbors: number; + rating: number; + routeChanges?: number; + snrMargin?: number; +} + +// Warning: (ae-missing-release-tag) "LifelineHealthCheckSummary" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LifelineHealthCheckSummary { + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + rating: number; + results: LifelineHealthCheckResult[]; +} + +// Warning: (ae-missing-release-tag) "LifelineRoutes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface LifelineRoutes { + lwr?: RouteStatistics; + nlwr?: RouteStatistics; +} + +export { Message } + +export { MessageOptions } + +export { MessagePriority } + +export { MessageType } + +export { NODE_ID_BROADCAST } + +export { NODE_ID_MAX } + +// Warning: (ae-missing-release-tag) "NodeInterviewFailedEventArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NodeInterviewFailedEventArgs = { + errorMessage: string; + isFinal: boolean; +} & ({ + attempt: number; + maxAttempts: number; +} | {}); + +// Warning: (ae-missing-release-tag) "NodeStatistics" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface NodeStatistics { + commandsDroppedRX: number; + commandsDroppedTX: number; + commandsRX: number; + commandsTX: number; + lwr?: RouteStatistics; + nlwr?: RouteStatistics; + rssi?: RSSI_2; + rtt?: number; + timeoutResponse: number; +} + +export { NodeStatus } + +export { NodeType } + +export { num2hex } + +export { parseQRCodeString } + +// Warning: (ae-missing-release-tag) "PlannedProvisioningEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface PlannedProvisioningEntry { + [prop: string]: any; + dsk: string; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "securityClasses" + requestedSecurityClasses?: readonly SecurityClass[]; + securityClasses: SecurityClass[]; + status?: ProvisioningEntryStatus; +} + +export { ProtocolDataRate } + +export { protocolDataRateToString } + +export { Protocols } + +export { ProtocolType } + +export { ProtocolVersion } + +// Warning: (ae-missing-release-tag) "ProvisioningEntryStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum ProvisioningEntryStatus { + // (undocumented) + Active = 0, + // (undocumented) + Inactive = 1 +} + +export { QRCodeVersion } + +export { QRProvisioningInformation } + +// Warning: (ae-missing-release-tag) "RefreshInfoOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RefreshInfoOptions { + resetSecurityClasses?: boolean; + waitForWakeup?: boolean; +} + +// Warning: (ae-missing-release-tag) "ReplaceNodeOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ReplaceNodeOptions = { + strategy: InclusionStrategy.Security_S2; + provisioning?: PlannedProvisioningEntry; +} | { + strategy: InclusionStrategy.Insecure | InclusionStrategy.Security_S0; +}; + +export { ResponsePredicate } + +export { ResponseRole } + +export { RFRegion } + +// Warning: (ae-missing-release-tag) "RouteHealthCheckResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface RouteHealthCheckResult { + failedPingsToSource?: number; + failedPingsToTarget?: number; + minPowerlevelSource?: Powerlevel; + minPowerlevelTarget?: Powerlevel; + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + numNeighbors: number; + rating: number; +} + +// Warning: (ae-missing-release-tag) "RouteHealthCheckSummary" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RouteHealthCheckSummary { + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + rating: number; + results: RouteHealthCheckResult[]; +} + +export { RouteProtocolDataRate } + +// Warning: (ae-missing-release-tag) "RouteStatistics" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RouteStatistics { + protocolDataRate: ProtocolDataRate_2; + repeaterRSSI?: RSSI_2[]; + repeaters: number[]; + routeFailedBetween?: [number, number]; + rssi?: RSSI_2; +} + +export { RSSI } + +export { RssiError } + +export { rssiToString } + +export { Scale } + +// Warning: (ae-missing-release-tag) "SDKVersion" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SDKVersion = `${number}.${number}` | `${number}.${number}.${number}`; + +export { SendMessageOptions } + +export { SensorType } + +// Warning: (ae-missing-release-tag) "SerialAPISetupCommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export enum SerialAPISetupCommand { + // (undocumented) + GetLRMaximumPayloadSize = 17, + // (undocumented) + GetMaximumPayloadSize = 16, + // (undocumented) + GetPowerlevel = 8, + // (undocumented) + GetRFRegion = 32, + // (undocumented) + GetSupportedCommands = 1, + // (undocumented) + SetNodeIDType = 128, + // (undocumented) + SetPowerlevel = 4, + // (undocumented) + SetRFRegion = 64, + // (undocumented) + SetTxStatusReport = 2, + // (undocumented) + Unsupported = 0 +} + +export { SetbackState } + +// Warning: (ae-missing-release-tag) "SmartStartProvisioningEntry" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SmartStartProvisioningEntry = PlannedProvisioningEntry | IncludedProvisioningEntry; + +export { Switchpoint } + +// Warning: (ae-missing-release-tag) "TranslatedValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TranslatedValueID extends ValueID_2 { + // (undocumented) + commandClassName: string; + // (undocumented) + propertyKeyName?: string; + // (undocumented) + propertyName?: string; +} + +export { TXReport } + +export { ValueID } + +export { ValueMetadata } + +export { ValueMetadataAny } + +export { ValueMetadataBoolean } + +export { ValueMetadataNumeric } + +export { ValueMetadataString } + +export { ValueType } + +// Warning: (ae-missing-release-tag) "VirtualEndpoint" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class VirtualEndpoint implements IVirtualEndpoint { + constructor( + node: VirtualNode | undefined, + driver: Driver, + index: number); + get commandClasses(): CCAPIs; + protected readonly driver: Driver; + getCCVersion(cc: CommandClasses): number; + readonly index: number; + invokeCCAPI any> = CommandClasses extends CC ? any : APIMethodsOf>(cc: CC, method: TMethod, ...args: Parameters): ReturnType; + // (undocumented) + get node(): VirtualNode; + // (undocumented) + get nodeId(): number | MulticastDestination; + supportsCC(cc: CommandClasses): boolean; + supportsCCAPI(cc: CommandClasses): boolean; + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "IZWaveEndpoint" + readonly virtual = true; +} + +// Warning: (ae-missing-release-tag) "VirtualNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export class VirtualNode extends VirtualEndpoint implements IVirtualNode { + constructor(id: number | undefined, driver: Driver, + physicalNodes: Iterable); + getDefinedValueIDs(): VirtualValueID[]; + getEndpoint(index: 0): VirtualEndpoint; + // (undocumented) + getEndpoint(index: number): VirtualEndpoint | undefined; + getEndpointCount(): number; + // (undocumented) + getEndpointOrThrow(index: number): VirtualEndpoint; + // (undocumented) + readonly id: number | undefined; + // (undocumented) + readonly physicalNodes: ZWaveNode[]; + setValue(valueId: ValueID_2, value: unknown, options?: SetValueAPIOptions): Promise; +} + +// Warning: (ae-missing-release-tag) "VirtualValueID" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface VirtualValueID extends TranslatedValueID_2 { + ccVersion: number; + metadata: ValueMetadata_2; +} + +export { ZWaveApiVersion } + +// Warning: (ae-forgotten-export) The symbol "ControllerStatisticsHost" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ZWaveController" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveController" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveController extends ControllerStatisticsHost { +} + +// @public (undocumented) +export class ZWaveController extends TypedEventEmitter { + addAssociations(source: AssociationAddress, group: number, destinations: AssociationAddress[]): Promise; + // (undocumented) + assignReturnRoute(nodeId: number, destinationNodeId: number): Promise; + // (undocumented) + assignSUCReturnRoute(nodeId: number): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + backupNVMRaw(onProgress?: (bytesRead: number, total: number) => void): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + beginExclusion(options?: ExclusionOptions): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // + // @deprecated + beginExclusion(unprovision: boolean | "inactive"): Promise; + beginHealingNetwork(): boolean; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + beginInclusion(options?: InclusionOptions): Promise; + beginOTAFirmwareUpdate(nodeId: number, update: FirmwareUpdateFileInfo): Promise; + // (undocumented) + cancelSecureBootstrapS2(reason: KEXFailType): void; + configureSUC(nodeId: number, enableSUC: boolean, enableSIS: boolean): Promise; + // (undocumented) + deleteReturnRoute(nodeId: number): Promise; + // (undocumented) + deleteSUCReturnRoute(nodeId: number): Promise; + externalNVMClose(): Promise; + externalNVMOpen(): Promise; + externalNVMReadBuffer(offset: number, length: number): Promise; + externalNVMReadBuffer700(offset: number, length: number): Promise<{ + buffer: Buffer; + endOfFile: boolean; + }>; + externalNVMReadByte(offset: number): Promise; + externalNVMWriteBuffer(offset: number, buffer: Buffer): Promise; + externalNVMWriteBuffer700(offset: number, buffer: Buffer): Promise<{ + endOfFile: boolean; + }>; + externalNVMWriteByte(offset: number, data: number): Promise; + // (undocumented) + get firmwareVersion(): string | undefined; + getAllAssociationGroups(nodeId: number): ReadonlyMap>; + getAllAssociations(nodeId: number): ReadonlyObjectKeyMap>; + getAssociationGroups(source: AssociationAddress): ReadonlyMap; + getAssociations(source: AssociationAddress): ReadonlyMap; + getAvailableFirmwareUpdates(nodeId: number): Promise; + getBackgroundRSSI(): Promise<{ + rssiChannel0: RSSI_2; + rssiChannel1: RSSI_2; + rssiChannel2?: RSSI_2; + }>; + getBroadcastNode(): VirtualNode; + getKnownLifelineRoutes(): ReadonlyMap; + getMulticastGroup(nodeIDs: number[]): VirtualNode; + getNodeByDSK(dsk: Buffer | string): ZWaveNode | undefined; + getNodeNeighbors(nodeId: number, onlyRepeaters?: boolean): Promise; + // Warning: (ae-forgotten-export) The symbol "NVMId" needs to be exported by the entry point index.d.ts + getNVMId(): Promise; + // Warning: (ae-forgotten-export) The symbol "SerialAPISetup_GetPowerlevelResponse" needs to be exported by the entry point index.d.ts + getPowerlevel(): Promise>; + getProvisioningEntries(): SmartStartProvisioningEntry[]; + getProvisioningEntry(dskOrNodeId: string | number): Readonly | undefined; + getRFRegion(): Promise; + hasPlannedProvisioningEntries(): boolean; + healNode(nodeId: number): Promise; + get homeId(): number | undefined; + // (undocumented) + get inclusionState(): InclusionState; + isAnyOTAFirmwareUpdateInProgress(): boolean; + isAssociationAllowed(source: AssociationAddress, group: number, destination: AssociationAddress): boolean; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + isFailedNode(nodeId: number): Promise; + isFunctionSupported(functionType: FunctionType): boolean; + get isHealNetworkActive(): boolean; + // (undocumented) + get isPrimary(): boolean | undefined; + isSerialAPISetupCommandSupported(command: SerialAPISetupCommand): boolean; + // (undocumented) + get isSIS(): boolean | undefined; + // (undocumented) + get isSISPresent(): boolean | undefined; + // (undocumented) + get isSUC(): boolean | undefined; + // (undocumented) + get isUsingHomeIdFromOtherNetwork(): boolean | undefined; + // (undocumented) + get manufacturerId(): number | undefined; + get nodes(): ReadonlyThrowingMap; + // (undocumented) + get nodeType(): NodeType_2 | undefined; + get ownNodeId(): number | undefined; + // (undocumented) + get productId(): number | undefined; + // (undocumented) + get productType(): number | undefined; + provisionSmartStartNode(entry: PlannedProvisioningEntry): void; + removeAssociations(source: AssociationAddress, group: number, destinations: AssociationAddress[]): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + removeFailedNode(nodeId: number): Promise; + removeNodeFromAllAssociations(nodeId: number): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + replaceFailedNode(nodeId: number, options?: ReplaceNodeOptions): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + restoreNVM(nvmData: Buffer, convertProgress?: (bytesRead: number, total: number) => void, restoreProgress?: (bytesWritten: number, total: number) => void): Promise; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "zwave-js" does not have an export "restoreNVM" + restoreNVMRaw(nvmData: Buffer, onProgress?: (bytesWritten: number, total: number) => void): Promise; + // (undocumented) + get sdkVersion(): string | undefined; + sdkVersionGt(version: SDKVersion): boolean | undefined; + sdkVersionGte(version: SDKVersion): boolean | undefined; + sdkVersionLt(version: SDKVersion): boolean | undefined; + sdkVersionLte(version: SDKVersion): boolean | undefined; + setPowerlevel(powerlevel: number, measured0dBm: number): Promise; + setRFRegion(region: RFRegion_2): Promise; + stopExclusion(): Promise; + stopHealingNetwork(): boolean; + stopInclusion(): Promise; + // (undocumented) + get sucNodeId(): number | undefined; + // (undocumented) + get supportedFunctionTypes(): readonly FunctionType[] | undefined; + // (undocumented) + get supportedSerialAPISetupCommands(): readonly SerialAPISetupCommand[] | undefined; + supportsFeature(feature: ZWaveFeature): boolean | undefined; + get supportsSoftReset(): boolean | undefined; + // (undocumented) + get supportsTimers(): boolean | undefined; + toggleRF(enabled: boolean): Promise; + // (undocumented) + get type(): ZWaveLibraryTypes | undefined; + unprovisionSmartStartNode(dskOrNodeId: string | number): void; + get valueDB(): ValueDB; + // (undocumented) + get wasRealPrimary(): boolean | undefined; + // (undocumented) + get zwaveApiVersion(): ZWaveApiVersion | undefined; + // Warning: (ae-forgotten-export) The symbol "UnknownZWaveChipType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + get zwaveChipType(): string | UnknownZWaveChipType | undefined; +} + +export { ZWaveError } + +export { ZWaveErrorCodes } + +// Warning: (ae-missing-release-tag) "ZWaveFeature" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export enum ZWaveFeature { + // (undocumented) + SmartStart = 0 +} + +// Warning: (ae-missing-release-tag) "ZWaveInterviewFailedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveInterviewFailedCallback = (node: ZWaveNode, args: NodeInterviewFailedEventArgs) => void; + +export { ZWaveLibraryTypes } + +// Warning: (ae-forgotten-export) The symbol "StatisticsEventCallbacksWithSelf" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "NodeStatisticsHost" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ZWaveNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ZWaveNode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveNode extends TypedEventEmitter>, NodeStatisticsHost { +} + +// @public +export class ZWaveNode extends Endpoint implements SecurityClassOwner, IZWaveNode { + constructor(id: number, driver: Driver, deviceClass?: DeviceClass, supportedCCs?: CommandClasses_2[], controlledCCs?: CommandClasses_2[], valueDB?: ValueDB); + abortFirmwareUpdate(): Promise; + // (undocumented) + get aggregatedEndpointCount(): number | undefined; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + beginFirmwareUpdate(data: Buffer, target?: number): Promise; + // (undocumented) + get canSleep(): boolean | undefined; + checkLifelineHealth(rounds?: number, onProgress?: (round: number, totalRounds: number, lastRating: number) => void): Promise; + checkRouteHealth(targetNodeId: number, rounds?: number, onProgress?: (round: number, totalRounds: number, lastRating: number) => void): Promise; + destroy(): void; + get deviceConfig(): DeviceConfig | undefined; + // (undocumented) + get deviceDatabaseUrl(): string | undefined; + get dsk(): Buffer | undefined; + // (undocumented) + get endpointCountIsDynamic(): boolean | undefined; + // (undocumented) + get endpointsHaveIdenticalCapabilities(): boolean | undefined; + // (undocumented) + get firmwareVersion(): string | undefined; + getAllEndpoints(): Endpoint[]; + getDefinedValueIDs(): TranslatedValueID[]; + getEndpoint(index: 0): Endpoint; + // (undocumented) + getEndpoint(index: number): Endpoint | undefined; + getEndpointCount(): number; + getEndpointIndizes(): number[]; + // (undocumented) + getEndpointOrThrow(index: number): Endpoint; + getFirmwareUpdateCapabilities(): Promise; + getFirmwareUpdateCapabilitiesCached(): FirmwareUpdateCapabilities; + getHighestSecurityClass(): SecurityClass_2 | undefined; + getValue(valueId: ValueID_2): T | undefined; + getValueMetadata(valueId: ValueID_2): ValueMetadata_2; + // (undocumented) + hasSecurityClass(securityClass: SecurityClass_2): Maybe; + get hasSUCReturnRoute(): boolean; + set hasSUCReturnRoute(value: boolean); + // (undocumented) + readonly id: number; + // (undocumented) + get individualEndpointCount(): number | undefined; + interview(): Promise; + get interviewAttempts(): number; + interviewCC(cc: CommandClasses_2): Promise; + protected interviewCCs(): Promise; + get interviewStage(): InterviewStage; + set interviewStage(value: InterviewStage); + get isControllerNode(): boolean; + isFirmwareUpdateInProgress(): boolean; + get isFrequentListening(): FLiRS_2 | undefined; + get isListening(): boolean | undefined; + get isRouting(): boolean | undefined; + get isSecure(): Maybe; + keepAwake: boolean; + // (undocumented) + get label(): string | undefined; + protected loadDeviceConfig(): Promise; + get location(): string | undefined; + set location(value: string | undefined); + // (undocumented) + get manufacturerId(): number | undefined; + // (undocumented) + get maxDataRate(): DataRate_2 | undefined; + get name(): string | undefined; + set name(value: string | undefined); + get nodeType(): NodeType_2 | undefined; + protected overwriteConfig(): Promise; + ping(): Promise; + pollValue(valueId: ValueID_2, sendCommandOptions?: SendCommandOptions): Promise; + // (undocumented) + get productId(): number | undefined; + // (undocumented) + get productType(): number | undefined; + get protocolVersion(): ProtocolVersion_2 | undefined; + protected queryNodeInfo(): Promise; + protected queryProtocolInfo(): Promise; + get ready(): boolean; + refreshCCValues(cc: CommandClasses_2): Promise; + refreshInfo(options?: RefreshInfoOptions): Promise; + refreshValues(): Promise; + requiresManualValueRefresh(): boolean; + // (undocumented) + get sdkVersion(): string | undefined; + // (undocumented) + setSecurityClass(securityClass: SecurityClass_2, granted: boolean): void; + setValue(valueId: ValueID_2, value: unknown, options?: SetValueAPIOptions): Promise; + get status(): NodeStatus; + // (undocumented) + get supportedDataRates(): readonly DataRate_2[] | undefined; + get supportsBeaming(): boolean | undefined; + get supportsSecurity(): boolean | undefined; + // (undocumented) + get supportsWakeUpOnDemand(): boolean | undefined; + testPowerlevel(testNodeId: number, powerlevel: Powerlevel, healthCheckTestFrameCount: number, onProgress?: (acknowledged: number, total: number) => void): Promise; + waitForWakeup(): Promise; + // (undocumented) + get zwavePlusNodeType(): ZWavePlusNodeType | undefined; + // (undocumented) + get zwavePlusRoleType(): ZWavePlusRoleType | undefined; + // (undocumented) + get zwavePlusVersion(): number | undefined; +} + +// Warning: (ae-missing-release-tag) "ZWaveNodeEventCallbacks" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveNodeEventCallbacks extends ZWaveNodeValueEventCallbacks { + // (undocumented) + "firmware update finished": ZWaveNodeFirmwareUpdateFinishedCallback; + // (undocumented) + "firmware update progress": ZWaveNodeFirmwareUpdateProgressCallback; + // (undocumented) + "interview completed": (node: ZWaveNode) => void; + // (undocumented) + "interview failed": ZWaveInterviewFailedCallback; + // (undocumented) + "interview stage completed": (node: ZWaveNode, stageName: string) => void; + // (undocumented) + "interview started": (node: ZWaveNode) => void; + // (undocumented) + "wake up": ZWaveNodeStatusChangeCallback; + // (undocumented) + alive: ZWaveNodeStatusChangeCallback; + // (undocumented) + dead: ZWaveNodeStatusChangeCallback; + // (undocumented) + notification: ZWaveNotificationCallback; + // (undocumented) + ready: (node: ZWaveNode) => void; + // (undocumented) + sleep: ZWaveNodeStatusChangeCallback; +} + +// Warning: (ae-missing-release-tag) "ZWaveNodeEvents" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeEvents = Extract; + +// Warning: (ae-missing-release-tag) "ZWaveNodeFirmwareUpdateFinishedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeFirmwareUpdateFinishedCallback = (node: ZWaveNode, status: FirmwareUpdateStatus, waitTime?: number) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeFirmwareUpdateProgressCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeFirmwareUpdateProgressCallback = (node: ZWaveNode, sentFragments: number, totalFragments: number) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeMetadataUpdatedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeMetadataUpdatedArgs = MetadataUpdatedArgs & TranslatedValueID; + +// Warning: (ae-missing-release-tag) "ZWaveNodeMetadataUpdatedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeMetadataUpdatedCallback = (node: ZWaveNode, args: ZWaveNodeMetadataUpdatedArgs) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeStatusChangeCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeStatusChangeCallback = (node: ZWaveNode, oldStatus: NodeStatus_2) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueAddedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueAddedArgs = ValueAddedArgs & TranslatedValueID; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueAddedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueAddedCallback = (node: ZWaveNode, args: ZWaveNodeValueAddedArgs) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueEventCallbacks" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveNodeValueEventCallbacks { + // (undocumented) + "metadata updated": ZWaveNodeMetadataUpdatedCallback; + // (undocumented) + "value added": ZWaveNodeValueAddedCallback; + // (undocumented) + "value notification": ZWaveNodeValueNotificationCallback; + // (undocumented) + "value removed": ZWaveNodeValueRemovedCallback; + // (undocumented) + "value updated": ZWaveNodeValueUpdatedCallback; +} + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueNotificationArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueNotificationArgs = ValueNotificationArgs & TranslatedValueID; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueNotificationCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueNotificationCallback = (node: ZWaveNode, args: ZWaveNodeValueNotificationArgs) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueRemovedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueRemovedArgs = ValueRemovedArgs & TranslatedValueID; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueRemovedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueRemovedCallback = (node: ZWaveNode, args: ZWaveNodeValueRemovedArgs) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueUpdatedArgs" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueUpdatedArgs = Omit & TranslatedValueID; + +// Warning: (ae-missing-release-tag) "ZWaveNodeValueUpdatedCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNodeValueUpdatedCallback = (node: ZWaveNode, args: ZWaveNodeValueUpdatedArgs) => void; + +// Warning: (ae-missing-release-tag) "ZWaveNotificationCallback" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZWaveNotificationCallback = (...args: ZWaveNotificationCallbackParams_NotificationCC | ZWaveNotificationCallbackParams_EntryControlCC | ZWaveNotificationCallbackParams_PowerlevelCC | ZWaveNotificationCallbackParams_MultilevelSwitchCC) => void; + +// Warning: (ae-missing-release-tag) "ZWaveOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ZWaveOptions extends ZWaveHostOptions { + // (undocumented) + apiKeys?: { + firmwareUpdateService?: string; + }; + // (undocumented) + attempts: { + controller: number; + sendData: number; + nodeInterview: number; + }; + disableOptimisticValueUpdate?: boolean; + emitValueUpdateAfterSetValue?: boolean; + enableSoftReset?: boolean; + inclusionUserCallbacks?: InclusionUserCallbacks; + // (undocumented) + interview: { + queryAllUserCodes?: boolean; + disableOnNodeAdded?: boolean; + }; + logConfig?: LogConfig; + // (undocumented) + preferences: { + scales: Partial>; + }; + preserveUnknownValues?: boolean; + securityKeys?: { + S2_Unauthenticated?: Buffer; + S2_Authenticated?: Buffer; + S2_AccessControl?: Buffer; + S0_Legacy?: Buffer; + }; + // (undocumented) + storage: { + driver: FileSystem_2; + cacheDir: string; + lockDir?: string; + deviceConfigPriorityDir?: string; + throttle: "fast" | "normal" | "slow"; + }; + timeouts: { + ack: number; + byte: number; + response: number; + sendDataCallback: number; + report: number; + nonce: number; + serialAPIStarted: number; + }; +} + + +export * from "@zwave-js/cc"; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/zwave-js/package.json b/packages/zwave-js/package.json index c039ca058d24..fe6cc0cdc66c 100644 --- a/packages/zwave-js/package.json +++ b/packages/zwave-js/package.json @@ -65,6 +65,7 @@ }, "scripts": { "build": "tsc -b tsconfig.build.json --verbose", + "extract-api": "yarn api-extractor run", "clean": "yarn run build --clean", "watch": "yarn run build --watch --pretty" }, @@ -95,6 +96,7 @@ "xstate": "^4.29.0" }, "devDependencies": { + "@microsoft/api-extractor": "*", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.5.2", "@types/node": "^14.18.23", diff --git a/yarn.lock b/yarn.lock index ec1000beadd0..d7e73f357a0b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3055,6 +3055,58 @@ __metadata: languageName: node linkType: hard +"@microsoft/api-extractor-model@npm:7.22.1": + version: 7.22.1 + resolution: "@microsoft/api-extractor-model@npm:7.22.1" + dependencies: + "@microsoft/tsdoc": 0.14.1 + "@microsoft/tsdoc-config": ~0.16.1 + "@rushstack/node-core-library": 3.49.0 + checksum: f1e583cc95abf383e0650568ec3c8a32810de3f47175308f7f867b5b5fa18a92d6fdb2d1f035f54b77c9346ad8a4070c8c70a18602de80a404b2ff3310d9334d + languageName: node + linkType: hard + +"@microsoft/api-extractor@npm:*, @microsoft/api-extractor@npm:^7.28.6": + version: 7.28.6 + resolution: "@microsoft/api-extractor@npm:7.28.6" + dependencies: + "@microsoft/api-extractor-model": 7.22.1 + "@microsoft/tsdoc": 0.14.1 + "@microsoft/tsdoc-config": ~0.16.1 + "@rushstack/node-core-library": 3.49.0 + "@rushstack/rig-package": 0.3.13 + "@rushstack/ts-command-line": 4.12.1 + colors: ~1.2.1 + lodash: ~4.17.15 + resolve: ~1.17.0 + semver: ~7.3.0 + source-map: ~0.6.1 + typescript: ~4.6.3 + bin: + api-extractor: bin/api-extractor + checksum: a287e12c84c8c11690783f1118b7cc2e02f777ef21c72e9e37bd920a4837ab09a05888ce0d25f8d29af0032465b80ab62e9a111b169226c49b17e8b97b21f598 + languageName: node + linkType: hard + +"@microsoft/tsdoc-config@npm:~0.16.1": + version: 0.16.1 + resolution: "@microsoft/tsdoc-config@npm:0.16.1" + dependencies: + "@microsoft/tsdoc": 0.14.1 + ajv: ~6.12.6 + jju: ~1.4.0 + resolve: ~1.19.0 + checksum: 2b2121803caf6584fe0264ad16f8fa10de68438c0b82bd25f918606052af5312050f38b6abd4bcf3d40f120713aab144762a7a280fa22dd12e5571cd08e348e1 + languageName: node + linkType: hard + +"@microsoft/tsdoc@npm:0.14.1": + version: 0.14.1 + resolution: "@microsoft/tsdoc@npm:0.14.1" + checksum: e4ad038ccff2cd96e0d53ee42e2136f0f5a925b16cfda14261f1c2eb55ba0088a0e3b08ff819b476ddc69b2242a391925fab7f6ae2afabb19b96f87e19c114fc + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -3232,6 +3284,45 @@ __metadata: languageName: node linkType: hard +"@rushstack/node-core-library@npm:3.49.0": + version: 3.49.0 + resolution: "@rushstack/node-core-library@npm:3.49.0" + dependencies: + "@types/node": 12.20.24 + colors: ~1.2.1 + fs-extra: ~7.0.1 + import-lazy: ~4.0.0 + jju: ~1.4.0 + resolve: ~1.17.0 + semver: ~7.3.0 + timsort: ~0.3.0 + z-schema: ~5.0.2 + checksum: 6ac8247a466faebc242cf8ca6a9960d78dee305482358cca15e9a9ba22f775c18d4f857a9dfcad4c03853d4a6fde768d142a794b6af2baa6aecd5f8faee989a2 + languageName: node + linkType: hard + +"@rushstack/rig-package@npm:0.3.13": + version: 0.3.13 + resolution: "@rushstack/rig-package@npm:0.3.13" + dependencies: + resolve: ~1.17.0 + strip-json-comments: ~3.1.1 + checksum: 98c0b7dbefe6ae169745d065d696fbef5d07e71bae5146e070a2e37de82c5625752865c54f12bba6b002868fcb27a1d2d098a19b0a5d20a1dfacaa002c81c13d + languageName: node + linkType: hard + +"@rushstack/ts-command-line@npm:4.12.1": + version: 4.12.1 + resolution: "@rushstack/ts-command-line@npm:4.12.1" + dependencies: + "@types/argparse": 1.0.38 + argparse: ~1.0.9 + colors: ~1.2.1 + string-argv: ~0.3.1 + checksum: e9479bd001f4f206d207c867ec7b91444727cf8a1c685dac7589c6a33b54f47200deabc450d6831a1cc38501f0322eb7003c1f78f1fa43230541c4b7ddc4718d + languageName: node + linkType: hard + "@sentry/core@npm:7.8.1": version: 7.8.1 resolution: "@sentry/core@npm:7.8.1" @@ -3518,6 +3609,13 @@ __metadata: languageName: node linkType: hard +"@types/argparse@npm:1.0.38": + version: 1.0.38 + resolution: "@types/argparse@npm:1.0.38" + checksum: 26ed7e3f1e3595efdb883a852f5205f971b798e4c28b7e30a32c5298eee596e8b45834ce831f014d250b9730819ab05acff5b31229666d3af4ba465b4697d0eb + languageName: node + linkType: hard + "@types/babel__core@npm:^7.1.14": version: 7.1.18 resolution: "@types/babel__core@npm:7.1.18" @@ -3663,6 +3761,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:12.20.24": + version: 12.20.24 + resolution: "@types/node@npm:12.20.24" + checksum: e7a13460e2f5b0b5a32c0f3af7daf1a05201552a66d542d3cc3b1ea8b52d4730250f9eb1961d755e31cfe5d03c78340911a6242657a0a9a17d6f7e341fc9f366 + languageName: node + linkType: hard + "@types/node@npm:>=12": version: 17.0.21 resolution: "@types/node@npm:17.0.21" @@ -3932,6 +4037,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/cc@workspace:packages/cc" dependencies: + "@microsoft/api-extractor": "*" "@types/fs-extra": ^9.0.13 "@types/jest": ^27.5.2 "@types/node": ^14.18.23 @@ -3954,6 +4060,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/config@workspace:packages/config" dependencies: + "@microsoft/api-extractor": "*" "@types/fs-extra": ^9.0.13 "@types/jest": ^27.5.2 "@types/js-levenshtein": ^1.1.1 @@ -3992,6 +4099,7 @@ __metadata: resolution: "@zwave-js/core@workspace:packages/core" dependencies: "@alcalzone/jsonl-db": ^2.5.2 + "@microsoft/api-extractor": "*" "@types/jest": ^27.5.2 "@types/node": ^14.18.23 "@types/triple-beam": ^1.3.2 @@ -4017,6 +4125,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/host@workspace:packages/host" dependencies: + "@microsoft/api-extractor": "*" "@types/jest": ^27.5.2 "@types/node": ^14.18.23 "@zwave-js/config": "workspace:*" @@ -4062,6 +4171,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/nvmedit@workspace:packages/nvmedit" dependencies: + "@microsoft/api-extractor": "*" "@types/fs-extra": ^9.0.13 "@types/jest": ^27.5.2 "@types/node": ^14.18.23 @@ -4102,6 +4212,7 @@ __metadata: "@babel/preset-typescript": ^7.18.6 "@commitlint/cli": ^17.0.3 "@commitlint/config-conventional": ^17.0.3 + "@microsoft/api-extractor": ^7.28.6 "@tsconfig/node14": ^1.0.3 "@types/fs-extra": ^9.0.13 "@types/jest": ^27.5.2 @@ -4150,6 +4261,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/serial@workspace:packages/serial" dependencies: + "@microsoft/api-extractor": "*" "@sentry/node": ^7.8.1 "@serialport/binding-mock": ^10.2.2 "@serialport/bindings-interface": "*" @@ -4175,6 +4287,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/shared@workspace:packages/shared" dependencies: + "@microsoft/api-extractor": "*" "@types/fs-extra": ^9.0.13 "@types/jest": ^27.5.2 "@types/node": ^14.18.23 @@ -4191,6 +4304,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/testing@workspace:packages/testing" dependencies: + "@microsoft/api-extractor": "*" "@types/jest": ^27.5.2 "@types/node": ^14.18.23 "@types/triple-beam": ^1.3.2 @@ -4303,7 +4417,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.10.0, ajv@npm:^6.12.4": +"ajv@npm:^6.10.0, ajv@npm:^6.12.4, ajv@npm:~6.12.6": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -4467,7 +4581,7 @@ __metadata: languageName: node linkType: hard -"argparse@npm:^1.0.7": +"argparse@npm:^1.0.7, argparse@npm:~1.0.9": version: 1.0.10 resolution: "argparse@npm:1.0.10" dependencies: @@ -5191,6 +5305,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^2.20.3": + version: 2.20.3 + resolution: "commander@npm:2.20.3" + checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e + languageName: node + linkType: hard + "comment-json@npm:^4.2.2": version: 4.2.2 resolution: "comment-json@npm:4.2.2" @@ -6554,6 +6675,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:~7.0.1": + version: 7.0.1 + resolution: "fs-extra@npm:7.0.1" + dependencies: + graceful-fs: ^4.1.2 + jsonfile: ^4.0.0 + universalify: ^0.1.0 + checksum: 141b9dccb23b66a66cefdd81f4cda959ff89282b1d721b98cea19ba08db3dcbe6f862f28841f3cf24bb299e0b7e6c42303908f65093cb7e201708e86ea5a8dcf + languageName: node + linkType: hard + "fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -6844,6 +6976,13 @@ __metadata: languageName: node linkType: hard +"graceful-fs@npm:^4.1.2": + version: 4.2.10 + resolution: "graceful-fs@npm:4.2.10" + checksum: 3f109d70ae123951905d85032ebeae3c2a5a7a997430df00ea30df0e3a6c60cf6689b109654d6fdacd28810a053348c4d14642da1d075049e6be1ba5216218da + languageName: node + linkType: hard + "graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.6 resolution: "graceful-fs@npm:4.2.6" @@ -7068,6 +7207,13 @@ __metadata: languageName: node linkType: hard +"import-lazy@npm:~4.0.0": + version: 4.0.0 + resolution: "import-lazy@npm:4.0.0" + checksum: 22f5e51702134aef78890156738454f620e5fe7044b204ebc057c614888a1dd6fdf2ede0fdcca44d5c173fd64f65c985f19a51775b06967ef58cc3d26898df07 + languageName: node + linkType: hard + "import-local@npm:^3.0.2": version: 3.0.2 resolution: "import-local@npm:3.0.2" @@ -7197,6 +7343,15 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.1.0": + version: 2.9.0 + resolution: "is-core-module@npm:2.9.0" + dependencies: + has: ^1.0.3 + checksum: b27034318b4b462f1c8f1dfb1b32baecd651d891a4e2d1922135daeff4141dfced2b82b07aef83ef54275c4a3526aa38da859223664d0868ca24182badb784ce + languageName: node + linkType: hard + "is-core-module@npm:^2.2.0": version: 2.4.0 resolution: "is-core-module@npm:2.4.0" @@ -7929,6 +8084,13 @@ __metadata: languageName: node linkType: hard +"jju@npm:~1.4.0": + version: 1.4.0 + resolution: "jju@npm:1.4.0" + checksum: 3790481bd2b7827dd6336e6e3dc2dcc6d425679ba7ebde7b679f61dceb4457ea0cda330972494de608571f4973c6dfb5f70fab6f3c5037dbab19ac449a60424f + languageName: node + linkType: hard + "js-levenshtein@npm:^1.1.6": version: 1.1.6 resolution: "js-levenshtein@npm:1.1.6" @@ -8159,6 +8321,20 @@ __metadata: languageName: node linkType: hard +"lodash.get@npm:^4.4.2": + version: 4.4.2 + resolution: "lodash.get@npm:4.4.2" + checksum: e403047ddb03181c9d0e92df9556570e2b67e0f0a930fcbbbd779370972368f5568e914f913e93f3b08f6d492abc71e14d4e9b7a18916c31fa04bd2306efe545 + languageName: node + linkType: hard + +"lodash.isequal@npm:^4.5.0": + version: 4.5.0 + resolution: "lodash.isequal@npm:4.5.0" + checksum: da27515dc5230eb1140ba65ff8de3613649620e8656b19a6270afe4866b7bd461d9ba2ac8a48dcc57f7adac4ee80e1de9f965d89d4d81a0ad52bb3eec2609644 + languageName: node + linkType: hard + "lodash.map@npm:^4.5.1": version: 4.6.0 resolution: "lodash.map@npm:4.6.0" @@ -8173,7 +8349,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:^4.17.12, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21": +"lodash@npm:4.17.21, lodash@npm:^4.17.12, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:~4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -9560,6 +9736,25 @@ __metadata: languageName: node linkType: hard +"resolve@npm:~1.17.0": + version: 1.17.0 + resolution: "resolve@npm:1.17.0" + dependencies: + path-parse: ^1.0.6 + checksum: 9ceaf83b3429f2d7ff5d0281b8d8f18a1f05b6ca86efea7633e76b8f76547f33800799dfdd24434942dec4fbd9e651ed3aef577d9a6b5ec87ad89c1060e24759 + languageName: node + linkType: hard + +"resolve@npm:~1.19.0": + version: 1.19.0 + resolution: "resolve@npm:1.19.0" + dependencies: + is-core-module: ^2.1.0 + path-parse: ^1.0.6 + checksum: a05b356e47b85ad3613d9e2a39a824f3c27f4fcad9c9ff6c7cc71a2e314c5904a90ab37481ad0069d03cab9eaaac6eb68aca1bc3355fdb05f1045cd50e2aacea + languageName: node + linkType: hard + "resolve@patch:resolve@^1.1.6#~builtin": version: 1.22.0 resolution: "resolve@patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b" @@ -9583,6 +9778,25 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@~1.17.0#~builtin": + version: 1.17.0 + resolution: "resolve@patch:resolve@npm%3A1.17.0#~builtin::version=1.17.0&hash=07638b" + dependencies: + path-parse: ^1.0.6 + checksum: 6fd799f282ddf078c4bc20ce863e3af01fa8cb218f0658d9162c57161a2dbafe092b13015b9a4c58d0e1e801cf7aa7a4f13115fea9db98c3f9a0c43e429bad6f + languageName: node + linkType: hard + +"resolve@patch:resolve@~1.19.0#~builtin": + version: 1.19.0 + resolution: "resolve@patch:resolve@npm%3A1.19.0#~builtin::version=1.19.0&hash=07638b" + dependencies: + is-core-module: ^2.1.0 + path-parse: ^1.0.6 + checksum: 2443b94d347e6946c87c85faf13071f605e609e0b54784829b0ed2b917d050bfc1cbaf4ecc6453f224cfa7d0c5dcd97cbb273454cd210bee68e4af15c1a5abc9 + languageName: node + linkType: hard + "restore-cursor@npm:^2.0.0": version: 2.0.0 resolution: "restore-cursor@npm:2.0.0" @@ -9722,7 +9936,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.3.7, semver@npm:^7.3.7": +"semver@npm:7.3.7, semver@npm:^7.3.7, semver@npm:~7.3.0": version: 7.3.7 resolution: "semver@npm:7.3.7" dependencies: @@ -9919,7 +10133,7 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.6.0, source-map@npm:^0.6.1": +"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2 @@ -10001,6 +10215,13 @@ __metadata: languageName: node linkType: hard +"string-argv@npm:~0.3.1": + version: 0.3.1 + resolution: "string-argv@npm:0.3.1" + checksum: efbd0289b599bee808ce80820dfe49c9635610715429c6b7cc50750f0437e3c2f697c81e5c390208c13b5d5d12d904a1546172a88579f6ee5cbaaaa4dc9ec5cf + languageName: node + linkType: hard + "string-length@npm:^4.0.1": version: 4.0.2 resolution: "string-length@npm:4.0.2" @@ -10154,7 +10375,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1": +"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443 @@ -10295,6 +10516,13 @@ __metadata: languageName: node linkType: hard +"timsort@npm:~0.3.0": + version: 0.3.0 + resolution: "timsort@npm:0.3.0" + checksum: 1a66cb897dacabd7dd7c91b7e2301498ca9e224de2edb9e42d19f5b17c4b6dc62a8d4cbc64f28be82aaf1541cb5a78ab49aa818f42a2989ebe049a64af731e2a + languageName: node + linkType: hard + "tiny-glob@npm:^0.2.9": version: 0.2.9 resolution: "tiny-glob@npm:0.2.9" @@ -10551,6 +10779,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:~4.6.3": + version: 4.6.4 + resolution: "typescript@npm:4.6.4" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: e7bfcc39cd4571a63a54e5ea21f16b8445268b9900bf55aee0e02ad981be576acc140eba24f1af5e3c1457767c96cea6d12861768fb386cf3ffb34013718631a + languageName: node + linkType: hard + "typescript@patch:typescript@4.7.4#~builtin, typescript@patch:typescript@^4.6.4#~builtin": version: 4.7.4 resolution: "typescript@patch:typescript@npm%3A4.7.4#~builtin::version=4.7.4&hash=7ad353" @@ -10561,6 +10799,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@~4.6.3#~builtin": + version: 4.6.4 + resolution: "typescript@patch:typescript@npm%3A4.6.4#~builtin::version=4.6.4&hash=7ad353" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 1cb434fbc637d347be90e3a0c6cd05e33c38f941713c8786d3031faf1842c2c148ba91d2fac01e7276b0ae3249b8633f1660e32686cc7a8c6a8fd5361dc52c66 + languageName: node + linkType: hard + "unicode-canonical-property-names-ecmascript@npm:^1.0.4": version: 1.0.4 resolution: "unicode-canonical-property-names-ecmascript@npm:1.0.4" @@ -10727,6 +10975,13 @@ __metadata: languageName: node linkType: hard +"validator@npm:^13.7.0": + version: 13.7.0 + resolution: "validator@npm:13.7.0" + checksum: 2b83283de1222ca549a7ef57f46e8d49c6669213348db78b7045bce36a3b5843ff1e9f709ebf74574e06223461ee1f264f8cc9a26a0060a79a27de079d8286ef + languageName: node + linkType: hard + "walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8" @@ -11004,12 +11259,30 @@ __metadata: languageName: node linkType: hard +"z-schema@npm:~5.0.2": + version: 5.0.3 + resolution: "z-schema@npm:5.0.3" + dependencies: + commander: ^2.20.3 + lodash.get: ^4.4.2 + lodash.isequal: ^4.5.0 + validator: ^13.7.0 + dependenciesMeta: + commander: + optional: true + bin: + z-schema: bin/z-schema + checksum: eb6c2c3c2878c4c333fd3755703616c8f846158da0154f60f81f188c3c4ce7ad5b8ff5ce570d6372d4803fb5c8c9d97b4e54becdd5a832b1a31240d149b87191 + languageName: node + linkType: hard + "zwave-js@workspace:*, zwave-js@workspace:packages/zwave-js": version: 0.0.0-use.local resolution: "zwave-js@workspace:packages/zwave-js" dependencies: "@alcalzone/jsonl-db": ^2.5.2 "@alcalzone/pak": ^0.8.1 + "@microsoft/api-extractor": "*" "@sentry/integrations": ^7.8.1 "@sentry/node": ^7.8.1 "@types/fs-extra": ^9.0.13