import type { MutableRefObject } from "react"; /** * A simple type that can be used to get a DOM node either as a ref object from * react, an HTMLElement, or null */ export declare type RefOrInstance = HTMLElement | null | MutableRefObject; /** * Simple private util to get the DOM "instance" from either a ref object or an * HTMLElement. * * @param refOrInstance - The ref or instance to get an HTMLElement from * @returns The HTMLElement or null. * @internal */ export declare function getInstance(refOrInstance: RefOrInstance): HTMLElement | null;