/**
 * If the provided argument is a ref object, returns its `current` value.
 * Otherwise, returns the argument itself.
 *
 * Non-generic to safely handle refs whose `.current` may be `null`.
 */
declare function resolveRef(maybeRef: HTMLElement | React.RefObject<HTMLElement | null | undefined> | null): HTMLElement | null | undefined;
export { resolveRef };
