import type { Directive } from "vue"; /** * Vue 3 no longer allows extracting the root element from a component. * * This allows us to extract it via a callback. * * Note the callback will be called on mount/unmount to keep the value up to date and make it null if the element disappears. * * One can create a ref: * ```ts * import { vExtractRootEl } from "@alanscodelog/vue-components/directives" * const el = ref(null) * * ``` * Then in the template * ```vue * * ``` * * Currently only tested with single root elements. */ export declare const vExtractRootEl: Directive; //# sourceMappingURL=vExtractRootEl.d.ts.map