/** * A React hook to measure the size of an HTML element. * TODO: Implement support for an object containing an optional ref to attach to the element. * @returns A tuple containing a ref to attach to the element and an object with the element's width and height. */ export declare function useElementSize(): readonly [ React.Ref, { width: number; height: number; } ];