import { Component } from 'react'; export interface IMediaDevice { deviceId: string; groupId: string; kind: string; label: string; } export interface IMediaDeviceSensorProps { children?: (state: IMediaDeviceSensorState) => React.ReactElement; render?: (state: IMediaDeviceSensorState) => React.ReactElement; } export interface IMediaDeviceSensorState { devices: IMediaDevice[]; } export declare class MediaDeviceSensor extends Component { state: IMediaDeviceSensorState; mounted: boolean; componentDidMount(): void; componentWillUnmount(): void; onChange: () => void; render(): any; } export declare const withMediaDevices: any;