UNPKG

@homebridge-plugins/homebridge-lutron-caseta-leap

Version:
20 lines 1.07 kB
import type { PlatformConfig } from 'homebridge'; import type { LutronCasetaLeapPluginConfig } from './settings.js'; /** * Normalises a raw platform config object into a typed plugin config, * applying built-in defaults for Matter-related flags. */ export declare function normalizeConfig(raw?: PlatformConfig): LutronCasetaLeapPluginConfig; /** * Creates a proxy class that instantiates the correct platform implementation * (HAP or Matter) at runtime based on the Homebridge API capabilities and the * user's configuration. The proxy delegates the `configureAccessory` call * required by the `DynamicPlatformPlugin` interface to the chosen * implementation so that cached accessories are always tracked correctly. * * @param HAPPlatform The standard HAP platform class constructor. * @param MatterPlatform The Matter platform class constructor. * @returns A proxy class that delegates to the correct platform implementation. */ export declare function createPlatformProxy(HAPPlatform: any, MatterPlatform: any): any; //# sourceMappingURL=utils.d.ts.map