import type { Ref } from "vue"; export declare const elementRect: { watch: typeof watchElementReact; unwatch: typeof unwatchElementReact; }; /** * 监听元素的尺寸变化 * @param element 要监听的元素 */ declare function watchElementReact(element: Element): Ref; /** * 取消监听元素的尺寸变化 * @param element */ declare function unwatchElementReact(element: Element | undefined | null): void; export {};