import * as React from 'react'; import { Component } from 'react'; import { IPortalContext } from './context'; export interface IPurePortalProps { selector: string | HTMLElement; append?: boolean; } export declare class PurePortal extends Component { static defaultProps: { append: boolean; }; static contextType: React.Context; context: IPortalContext; private readonly childContext; getContainer: (selector: string | HTMLElement) => Element | null; contains(el: Node): boolean; componentDidMount(): void; componentWillUnmount(): void; render(): React.ReactPortal; } export default PurePortal;