import { Ref } from 'vue'; export type UseResizeObserverOptions = { /** * Sets which box model the observer will observe changes to. * * @default 'content-box' */ box?: ResizeObserverBoxOptions; }; /** * Template ref of either a native HTML element or a custom Vue component. */ export type VueTemplateRefElement = Element | { $el: Element; } | null | undefined; export declare const useResizeObserver: ( /** * Target to observe. If undefined, the documentElement will be observed. */ target?: Ref, options?: UseResizeObserverOptions) => { width: Ref; height: Ref; }; /** * Gets the native HTML element of a template ref. */ export declare const getTemplateRefElement: (ref: VueTemplateRefElement) => Element | undefined;