import type { JSX } from 'react'; import { type PortalProps } from '../utils/portal.js'; import type { DialogPortalProps } from './types.js'; /** * The portal both families render through. * * @internal */ export declare const OverlayPortal: ({ forceMount, children, ...props }: PortalProps & { forceMount?: boolean | undefined; }) => JSX.Element | null; /** * Teleports `DialogOverlay` and `DialogContent` to `document.body` (or a custom `container`), and stays mounted while the dialog is closed so the native `` survives its own `close()`. * * @example * ```tsx * * Open * * * … * * * ``` */ export declare const DialogPortal: { ({ children, ...props }: DialogPortalProps): JSX.Element | null; displayName: string; };