interface Rect extends Pick<DOMRect, 'left' | 'top' | 'width' | 'height'> {
}
/**
 * Returns the visible bounding rect for an element, robust to wrappers
 * that use `display: contents`. Such wrappers have no box of their own
 * but the content they enclose still paints — `Range.getBoundingClientRect`
 * yields the union of the rendered content (including text nodes), which
 * is what we want for both Inspector highlight frames and UI Designer
 * geometry reports.
 */
declare const getEffectiveRect: (el: Element) => Rect;
export default getEffectiveRect;
//# sourceMappingURL=getEffectiveRect.d.ts.map