/** * Creates a proxy class that instantiates the correct platform implementation * (HAP or Matter) at runtime based on availability and user configuration. * * @param HAPPlatform The 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; /** * The largest delay a Node timer can hold, because it is stored in a signed * 32-bit integer. Roughly 24.85 days. */ export declare const MAX_TIMER_MS = 2147483647; /** * Keep a computed delay inside the range a Node timer can represent. * * Going over the limit does not throw. Node prints a TimeoutOverflowWarning and * quietly sets the delay to 1 ms, so a timer meant to fire in weeks fires a * thousand times a second instead - which for a polling loop means hammering * the service it polls. * * Clamping means a delay longer than 24.85 days simply fires at 24.85 days, * which for every setting here is early rather than wrong. */ export declare function safeTimerMs(ms: number): number; //# sourceMappingURL=utils.d.ts.map