import React, { MutableRefObject } from 'react'; export declare function useRootContainers({ defaultContainers, portals, mainTreeNodeRef: _mainTreeNodeRef, }?: { defaultContainers?: (HTMLElement | null | MutableRefObject)[]; portals?: MutableRefObject; mainTreeNodeRef?: MutableRefObject; }): { resolveContainers: () => HTMLElement[]; contains: (element: HTMLElement) => boolean; mainTreeNodeRef: React.MutableRefObject; MainTreeNode: () => JSX.Element | null; }; export declare function useMainTreeNode(): { mainTreeNodeRef: React.MutableRefObject; MainTreeNode: () => JSX.Element; };