import { MaybeComputedElementRef } from './unrefElement';
import { UseResizeObserverOptions } from './useResizeObserver';
import { ShallowRef } from 'vue';
export interface ElementSize {
    width: number;
    height: number;
}
/**
 * Reactive size of an HTML element.
 *
 * @see https://vueuse.org/useElementSize
 * @param target
 * @param callback
 * @param options
 */
export declare function useElementSize(target: MaybeComputedElementRef, initialSize?: ElementSize, options?: UseResizeObserverOptions): {
    width: ShallowRef<number, number>;
    height: ShallowRef<number, number>;
};
export type UseElementSizeReturn = ReturnType<typeof useElementSize>;
