export interface StatusEvent { groupName?: string; /** Array of device identifications connected to the group. */ connectedPeers: string[]; /** True if this device is currently master of the group (this may change over time). */ isMaster: boolean; } export interface BroadcastedValueEvent { groupName: string; key: string; value: any; }