import { Ref } from 'vue'; declare type TargetValue = T | undefined | null; declare type TargetType = HTMLElement | Element | Window | Document; export declare type BasicTarget = (() => TargetValue) | TargetValue | Ref>; declare type Size = { width: Ref; height: Ref; }; /** * * @param {dom id节点或者 ref句柄} target */ export default function useSize(target: BasicTarget): Size | undefined; export {};