import { RefObject } from 'react';
/**
 * Custom hook to track the size of a DOM element.
 *
 * @param elementRef - Reference to the DOM element whose size is to be tracked.
 * @returns An array containing the width and height of the element.
 */
declare const useElementSize: (elementRef: RefObject<HTMLElement>) => (number | undefined)[];
export default useElementSize;
