import { BluetoothAutomationProductConfig } from './constants'; export interface DescribeWXIoTTriggerInfoReq { DeviceId: string; } export interface DescribeWXIoTTriggerInfoResp { WXIoTTriggerInfo: { ProductId: string; TriggerInfoName: string; TriggerInfo: string; ExecutorInfo: string; }; RequestId: string; } export interface WechatDeviceTicket { sn: string; snTicket: string; modelId: string; } interface BluetoothAutomationModelOptions { requestApi: (action: string, params: T) => Promise; getDeviceTicket?: (explorerDeviceId: string) => Promise<{ sn: string; snTicket: string; modelId: string; }>; } export declare class BluetoothAutomationModel { protected options: BluetoothAutomationModelOptions; constructor(options: BluetoothAutomationModelOptions); getWechatDeviceTicket(explorerDeviceId: string): Promise; reportDeviceEvent({ DeviceId, EventId, Params }: { DeviceId: string; EventId: string; Params: Record; }): Promise; describeWXIoTTriggerInfo({ DeviceId }: DescribeWXIoTTriggerInfoReq): Promise; } export {};