import type { ComponentClass, ComponentType, RefObject } from 'react'; type rectShape = { top: number; right: number; bottom: number; left: number; width: number; height: number; }; export type WithBoundingRectsProps = { getRects?: () => { rect: rectShape; parentRect: rectShape; }; rect?: rectShape; parentRect?: rectShape; nodeRef?: RefObject; }; export default function withBoundingRects(BaseComponent: ComponentType): ComponentClass; export {}; //# sourceMappingURL=withBoundingRects.d.ts.map