import { type MutableRefObject } from 'react';
export type Measures = {
    width: number;
    height: number;
};
export declare function useMeasure<T extends Element>(enabled?: boolean): [Measures | undefined, MutableRefObject<T | null>];
