import { Ref, ShallowRef } from 'vue'; /** * 监听元素或 window 的尺寸变化 * @param target 要监听的目标:DOM 元素 ref 或 window 对象 * @returns 包含 width 和 height 的响应式对象 */ export declare const useElementSize: (target: Readonly> | Readonly> | Window) => { width: Ref; height: Ref; }; export type UseElementSizeReturn = ReturnType;