import type { RefObject } from 'react';
/**
 * Finds the HTMLElement child of the root node that contains the referenced element.
 *
 * @param ref - A React RefObject pointing to an HTMLElement whose containing child is to be found.
 * @returns The HTMLElement child of the root node that contains the referenced element, or undefined if not found.
 */
declare const _default: (ref: RefObject<HTMLElement>) => HTMLElement | undefined;
export default _default;
//# sourceMappingURL=getChildOfRootNode.d.ts.map