UNPKG

rxpoweredup

Version:

A Typescript RxJS-based library for controlling LEGO Powered UP hubs & peripherals.

10 lines (9 loc) 649 B
import { IOutboundMessenger, IRgbLightFeature, IRgbLightFeatureFactory } from '../../hub'; import type { IRgbLightCommandsFactory } from './i-rgb-light-commands-factory'; import type { IPortInputFormatSetupMessageFactory } from '../i-port-input-format-setup-message-factory'; export declare class RgbLightFeatureFactory implements IRgbLightFeatureFactory { private readonly ledCommandsFactory; private readonly portInputSetupMessageFactory; constructor(ledCommandsFactory: IRgbLightCommandsFactory, portInputSetupMessageFactory: IPortInputFormatSetupMessageFactory); createFeature(messenger: IOutboundMessenger): IRgbLightFeature; }