UNPKG

zwave-js

Version:

Z-Wave driver written entirely in JavaScript/TypeScript

18 lines 705 B
import type { Driver } from "../driver/Driver.js"; export interface AppInfo { driverVersion: string; applicationName: string; applicationVersion: string; nodeVersion: string; os: NodeJS.Platform; arch: string; } export declare function compileStatistics(driver: Driver, appInfo: AppInfo): Promise<Record<string, any>>; /** * Sends the statistics to the statistics backend. Returns: * - `true` when sending succeeded * - The number of seconds to wait before trying again when hitting the rate limiter * - `false` for any other errors */ export declare function sendStatistics(statistics: Record<string, any>): Promise<boolean | number>; //# sourceMappingURL=statistics.d.ts.map