import { Component } from 'react'; import { IUniversalInterfaceProps } from '../typing'; export interface IWindowWidthSensorProps extends IUniversalInterfaceProps { width?: number; throttle?: number; onWidth: (state: IWindowWidthSensorState) => {}; } export interface IWindowWidthSensorState { width: number; } export declare class WindowWidthSensor extends Component { static defaultProps: { width: number; throttle: number; onWidth: (...args: any[]) => any; }; state: { width: number; }; componentDidMount(): void; componentWillUnmount(): void; onResize: any; render(): any; } export declare const withWindowWidth: any;