import { RefObject } from 'react'; interface ElementSize { width: number; height: number; } /** * A hook that tracks an element's dimensions using ResizeObserver. * Falls back to {0, 0} if ResizeObserver is not available or element is not mounted. * @param ref React ref object for the element to monitor * @returns Object containing current element width and height */ export declare function useElementSize(ref: RefObject): ElementSize; export {};