// Type definitions for ui/Measurable type Omit = Pick>; type Merge = Omit> & N; export interface MeasurableConfig extends Object { /** * Configures the prop name to pass the measurement object. */ measurementProp?: string; /** * Configures the prop name to pass a function to capture a reference to the element to measure. */ refProp?: string; } export interface MeasurableProps {} export function Measurable

( config: MeasurableConfig, Component: React.ComponentType

| string, ): React.ComponentType

; export function Measurable

( Component: React.ComponentType

| string, ): React.ComponentType

; export default Measurable;