import React, { ElementType } from 'react'; import { Props } from '../../types'; declare let DEFAULT_PORTAL_TAG: React.ExoticComponent<{ children?: React.ReactNode; }>; interface PortalRenderPropArg { } export declare function Portal(props: Props): React.ReactPortal | null; export declare namespace Portal { var Group: = React.ExoticComponent<{ children?: React.ReactNode; }>>(props: Pick, Exclude, "children" | "as" | "refName" | "className">> & { as?: TTag | undefined; children?: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | ((bag: GroupRenderPropArg) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | null | undefined; refName?: string | undefined; } & (import("../../types").PropsOf extends { className?: any; } ? { className?: string | ((bag: GroupRenderPropArg) => string) | undefined; } : {}) & { target: React.MutableRefObject; }) => JSX.Element; } interface GroupRenderPropArg { } export {};