import { Breakpoint } from '../styles/createBreakpoints'; export interface WithWidthOptions { resizeInterval: number; } export interface WithWidthProps { width: Breakpoint; } export function isWidthDown( breakpoint: Breakpoint, screenWidth: Breakpoint, inclusive?: boolean, ): boolean; export function isWidthUp( breakpoint: Breakpoint, screenWidth: Breakpoint, inclusive?: boolean, ): boolean; export default function withWidth( options?: WithWidthOptions, ):
( component: React.ComponentType
, ) => React.ComponentClass
>;