import * as React from 'react'; /** * A portal element that moves the popup to a different part of the DOM. * By default, the portal element is appended to `
`. * * Documentation: [Base UI Preview Card](https://base-ui.com/react/components/preview-card) */ declare function PreviewCardPortal(props: PreviewCardPortal.Props): React.JSX.Element | null; declare namespace PreviewCardPortal { var propTypes: any; } declare namespace PreviewCardPortal { interface Props { children?: React.ReactNode; /** * Whether to keep the portal mounted in the DOM while the popup is hidden. * @default false */ keepMounted?: boolean; /** * A parent element to render the portal element into. */ container?: HTMLElement | null | React.RefObject; } } export { PreviewCardPortal };