export interface PortalProps extends React.ComponentProps<"div"> { /** Portal children, for example, modal or popover */ children: React.ReactNode; /** Element inside which portal should be created, by default a new div element is created and appended to the `document.body` */ target?: HTMLElement | string; type?: string; } export declare function Portal(props: PortalProps): import("react").ReactPortal | null;