zigbee-herdsman-converters
Version:
Collection of device converters to be used with zigbee-herdsman
17 lines • 615 B
TypeScript
import { Ota, Zh } from '../types';
/**
* Helper functions
*/
export declare function getImageMeta(current: Ota.ImageInfo, device: Zh.Device): Promise<Ota.ImageMeta>;
/**
* Interface implementation
*/
export declare function isUpdateAvailable(device: Zh.Device, requestPayload?: Ota.ImageInfo): Promise<{
available: boolean;
currentFileVersion: number;
otaFileVersion: number;
}>;
export declare function updateToLatest(device: Zh.Device, onProgress: Ota.OnProgress): Promise<number>;
declare const useTestURL_: () => void;
export { useTestURL_ as useTestURL };
//# sourceMappingURL=tradfri.d.ts.map