export declare type Dimensions = Pick<DOMRectReadOnly, 'x' | 'y' | 'top' | 'left' | 'right' | 'bottom' | 'height' | 'width'>;
export declare type UseMeasureRef<E extends Element = Element> = (element: E) => void;
export declare type UseMeasureResult<E extends Element = Element> = [
    UseMeasureRef<E> | null,
    Dimensions | null
];
export default function useMeasure<E extends Element = Element>(): UseMeasureResult<E>;
