import { UIElement } from '@instructure/shared-types'; type RectType = { top: number; bottom: number; left: number; right: number; height: number; width: number; }; /** * --- * category: utilities/DOM * --- * * Gets the bounding rectangle of an element * @module getBoundingClientRect * * @param { Node | Window | React.ReactElement | React.Component | function | null } el - component, DOM node, or function returning a DOM node * @return {object} rect - object with top, left coords and height and width */ declare function getBoundingClientRect(el?: UIElement): RectType; export default getBoundingClientRect; export { getBoundingClientRect }; export type { RectType }; //# sourceMappingURL=getBoundingClientRect.d.ts.map