import { Component } from 'react'; export interface ILightSensorProps { children?: (state: ILightSensorState) => React.ReactElement; render?: (state: ILightSensorState) => React.ReactElement; } export interface ILightSensorState { illuminance: number; error?: { name: string; message: string; }; } export declare class LightSensor extends Component { sensor: any; state: ILightSensorState; componentDidMount(): void; onChange: () => void; onError: (event: any) => void; render(): any; } export declare const withLight: any;