UNPKG

homebridge-appletv-enhanced

Version:

Plugin that exposes the Apple TV to HomeKit with much richer features than the vanilla Apple TV implementation of HomeKit.

20 lines 771 B
import PrefixLogger from './PrefixLogger'; import type LogLevelLogger from './LogLevelLogger'; import type { TUpdateCheckTime } from './types'; declare class UpdateChecker { private autoUpdate; private includeBetas; private interval; private readonly log; private updateCheckHour; constructor(logger: LogLevelLogger | PrefixLogger, autoUpdate?: boolean, includeBetas?: boolean, updateCheckHour?: TUpdateCheckTime); check(infoOrDebugLogLevel?: 'debug' | 'success'): Promise<void>; startInterval(skipInitialCheck?: boolean): void; stopInterval(): void; private getCurrentVersion; private getLatestVersion; private intervalMethod; private update; } export default UpdateChecker; //# sourceMappingURL=UpdateChecker.d.ts.map