import type { VirtualElement } from '@floating-ui/dom';
import type { ComponentPublicInstance, Ref } from 'vue';
type AsElement<T extends HTMLElement | VirtualElement | ComponentPublicInstance> = (T extends HTMLElement ? T : HTMLElement) | null;
export declare function dom<T extends HTMLElement | VirtualElement | ComponentPublicInstance>(ref?: Ref<T | null> | null): AsElement<T> | null;
export {};
