import React from 'react'; export declare type TSize = { width: number; height: number; }; export declare type TBoundsUpdateDetectorProps = { onUpdate: (size: TSize) => void; children: any; }; export declare class BoundsUpdateDetector extends React.Component { private size; componentDidMount(): void; getSize(): { width: number; height: number; }; componentDidUpdate(prevProps: TBoundsUpdateDetectorProps, prevState: TBoundsUpdateDetectorProps): void; render(): any; }