import { FC } from 'react'; import { FloatingPortalProps } from '@floating-ui/react'; export type DialogPortalProps = FloatingPortalProps; /** * `DialogPortal` is an infrastructure subcomponent of `Dialog` responsible * for rendering drawer-related elements (overlay, content, etc.) into a * React portal and managing focus behavior. * * It composes `FloatingPortal` to ensure the drawer is rendered at the * appropriate place in the DOM tree (typically near the document root), * avoiding stacking and overflow issues. * * When the drawer is mounted, `DialogPortal` wraps its children with * `FloatingFocusManager`, enabling focus trapping and proper focus * restoration based on the drawer's floating context */ export declare const DialogPortal: FC;