import type { Bounds } from '../../utils/bounds.js';
export declare const VIEWPORT_MARGIN = 100;
/** Measure the position and size of an html element. */
export declare function measurable(options?: {
    onmeasure?: (bounds: Bounds) => void;
    onmeasuresync?: (bounds: Bounds) => void;
}): {
    (element: HTMLElement): () => void;
};
