UNPKG

@homebridge-plugins/homebridge-roomba

Version:
15 lines 697 B
import type { API } from 'homebridge'; /** * Creates a proxy constructor that instantiates the correct platform * implementation — Matter or HAP — depending on runtime availability * and the user's configuration. * * - If `enableMatter` is `false` in the config, HAP is always used. * - If Matter is available and enabled on the Homebridge host, the Matter * platform is used; otherwise the HAP platform is used. * - If Matter platform initialization throws, HAP is used as a fallback. */ export declare function createPlatformProxy(HAPPlatform: any, MatterPlatform: any): any; declare const _default: (api: API) => void; export default _default; //# sourceMappingURL=index.d.ts.map