import * as React from 'react'; interface Props { /** * The children to render into the `container`. */ children: React.ReactElement; /** * A HTML element or function that returns one. * The `container` will have the portal children appended to it. * * By default, it uses the body of the top-level document object, * so it's simply `document.body` most of the time. */ container?: React.ReactInstance | (() => React.ReactInstance | null) | null; /** * The `children` will be inside the DOM hierarchy of the parent component. */ disablePortal?: boolean; } /** * Portal component renders its children into a new "subtree" outside of current component hierarchy. */ export declare const Portal: React.ForwardRefExoticComponent>; export {};