UNPKG

homebridge-ttlock-accesscode

Version:

Plugin that uses TTLock Cloud API to communicate with TTLock Devices connected to the G2 Gateway.

7 lines (6 loc) 677 B
import type { Characteristic, Logger, Logging } from 'homebridge'; export declare function deferAndCombine<T, U>(fn: (args: U[]) => Promise<T>, timeout: number, runNowFn?: (arg: U) => void): (arg?: U) => Promise<T>; export declare function isObjectLike(candidate: unknown): candidate is Record<string, unknown>; export declare function lookup<T>(object: unknown, compareFn: undefined | ((objectProp: unknown, search: T) => boolean), value: T): string; export declare function lookupCharacteristicNameByUUID(characteristic: typeof Characteristic, uuid: string): string | undefined; export declare function prefixLogger(logger: Logger, prefix: string | (() => string)): Logging;