UNPKG

homebridge-gsh

Version:
11 lines (10 loc) 556 B
import { ServiceType } from '@homebridge/hap-client'; import type { SmartHomeV1ExecuteRequestCommands, SmartHomeV1ExecuteResponseCommands } from 'actions-on-google'; export declare abstract class ghToHap { protected createSyncData(service: ServiceType, typeTraits: any): any; } export interface ghToHap_t { sync: (service: ServiceType) => Record<string, any>; query: (service: ServiceType) => Record<string, any>; execute: (service: ServiceType, command: SmartHomeV1ExecuteRequestCommands) => Promise<SmartHomeV1ExecuteResponseCommands>; }