mcopy/app/lib/light/index.d.ts

37 lines
605 B
TypeScript

import type { Arduino } from 'arduino';
import type { WebContents } from 'electron';
export declare class Light {
state: any;
private arduino;
private cfg;
private ui;
private log;
private ipc;
private enabled;
private id;
/**
*
**/
constructor(arduino: Arduino, cfg: any, ui: WebContents);
/**
*
**/
private init;
/**
*
**/
private listen;
/**
*
**/
private listener;
/**
*
**/
set(rgb: number[], id: string, on?: boolean): Promise<void>;
/**
*
**/
private end;
}