import { Component } from 'react'; import PropTypes from 'prop-types'; import type { GatewayProps, GatewayState } from './types'; declare class Gateway extends Component { static displayName: string; static propTypes: { children: PropTypes.Requireable; container: PropTypes.Requireable; target: PropTypes.Requireable; }; static defaultProps: { container: () => HTMLElement; }; child: Element | null | undefined; constructor(props: GatewayProps); componentDidMount(): void; componentDidUpdate(): void; updateContainer: () => void; getChildNode(): Element | Text | null; saveChildRef: (ref: HTMLDivElement) => void; render(): import("react").ReactPortal | null; } declare const _default: typeof Gateway; export default _default;