/// <reference types="react" />
export declare function useOnResize(ref: React.RefObject<HTMLElement>, callback: (rect: DOMRectReadOnly) => void): void;
export declare function useRect(ref: React.RefObject<HTMLElement>): DOMRectReadOnly;
