import { AxiosPromise } from "axios"; import { INanoleafLight } from "./types/nanoleaf-light.type"; export default class NanoleafApi { private axiosInstance; private _config; constructor(config?: { host: string; authToken: string; timeout?: number; httpTimeout?: number; }); authorize: (host?: any) => Promise; updateNanoleafApi: (host: any, timeout: any) => any; unAuthorize: (host: any, authToken: any) => any; getAllInfo: () => AxiosPromise; setLightState: (state: any, fetchConfig?: any) => Promise; getAllEffects: () => any; getAllScenes: () => any; activateEffect: (effect: any, fetchConfig?: any) => Promise; activateScene: (effect: any, fetchConfig?: any) => Promise; write: (payload: any, fetchConfig?: any) => Promise; setStreamingMode: () => Promise>; writeCustomLights: (config: any) => any; }