import * as React from 'react'; import { RefProps } from '../common'; export interface ResponsiveComponentProps extends RefProps { /** * The dimensions values container */ dimensions?: ResponsiveComponentState; } export interface ResponsiveComponentState { /** * The width of the container in pixels. */ width: number; /** * The height of the container in pixels. */ height: number; /** * The current screen rotation in degrees. */ angle: number; } /** * Wraps the component in a responsive construct that is sensitive to the size changes of its * container. * @param Component The component to be sensitive to its container dimensions. * @returns A component that can use the `dimensions` prop. */ export declare function withResponsive(Component: React.ComponentType): React.ComponentClass;