import { default as React } from 'react';
export type RectResult = {
    bottom: number;
    height: number;
    left: number;
    right: number;
    top: number;
    width: number;
};
export default function useRect<T extends HTMLElement>(ref: React.RefObject<T>): RectResult;
