import { ElementOrRef } from '../../utils/element-refs'; export interface UseMeasurementOptions { ref: ElementOrRef; getMeasurement: (el: ElementType) => StateType; defaultValue: StateType | (() => StateType); } /** * Given an element `ref`, glean an arbitrary, stateful measurement. */ export declare function useMeasurement(options: UseMeasurementOptions): StateType; /** * Given an element `ref`, glean a stateful measurement of the width. */ export declare function useElementWidth(ref: ElementOrRef): number; /** * Given an element `ref`, glean a stateful measurement of the height. */ export declare function useElementHeight(ref: ElementOrRef): number;