homebridge-prometheus-exporter/src/ambient.d.ts

15 lines
353 B
TypeScript

declare module 'hap-node-client' {
type HAPNodeJSClientConfig = {
debug?: boolean
refresh?: number
timeout?: number
reqTimeout?: number
pin?: string
}
class HAPNodeJSClient {
constructor(config: HAPNodeJSClientConfig)
on(event: 'Ready', callback: (v: unknown) => void): void
}
}