UNPKG

rxpoweredup

Version:

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

8 lines (7 loc) 513 B
import { InjectionToken } from 'tsyringe'; import { MessageType, PortModeInformationType } from '../../constants'; import { RawMessage } from '../../types'; export interface IPortModeInformationRequestMessageFactory { createPortModeInformationRequest(portId: number, mode: number, modeInformationType: PortModeInformationType): RawMessage<MessageType.portModeInformationRequest>; } export declare const PORT_MODE_INFORMATION_REQUEST_MESSAGE_FACTORY: InjectionToken<IPortModeInformationRequestMessageFactory>;