import type { CommonEventProperties } from './Event.ts'; import type { Device } from '../device/Device.ts'; export type DeviceStateChangedEvent = { type: 'deviceStateChanged'; data: Pick & Partial> & { attributes?: Partial; }; } & CommonEventProperties;