UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

17 lines 860 B
import { Optional } from '../../../../common'; import { CommandBus, EventBus } from '@nestjs/cqrs'; import { FactoryType } from '../../device.factory'; import { SyncBox, SyncBoxFactory } from './sync-box'; import { DeviceModel } from '../../devices.model'; import { Device } from '../../device'; import { DreamView } from './dreamview'; import { DreamViewFactory } from './dreamview/dreamview'; export declare class TVFactory implements FactoryType<SyncBox | DreamView> { private readonly SyncBoxFactory; private readonly dreamviewFactory; private readonly eventBus; private readonly commandBus; constructor(SyncBoxFactory: SyncBoxFactory, dreamviewFactory: DreamViewFactory, eventBus: EventBus, commandBus: CommandBus); create(deviceModel: DeviceModel): Optional<Device<SyncBox | DreamView>>; } //# sourceMappingURL=tv.factory.d.ts.map