import type React from 'react';
import type { Nullable } from '../../typings/utility-types.js';
/**
 * Extracts component's root Element (HTMLElement/SVGElement) out of it's instance
 * following the "StrictMode support convention" (@see README.md#strictmode, #2518).
 *
 * Replaces findDOMNode but falls back to it if "convention" is not respected.
 *
 * @param instance Component's instance provided by React.Ref or `this` inside class-components.
 * @returns Component's root `Element` or null
 */
export declare const getRootNode: (instance: Nullable<React.ReactInstance>) => Nullable<Element>;
