import { Placement } from '@floating-ui/react'; import { CSSProperties, ReactNode } from 'react'; export interface PopperTransitionProps { in: boolean; onExited: () => void; } type PopperChildren = ReactNode | ((props: { TransitionProps: PopperTransitionProps; placement: Placement; }) => ReactNode); export interface PopperProps { open?: boolean; anchorEl?: Element | null; id?: string; placement?: Placement; transition?: boolean; disablePortal?: boolean; className?: string; style?: CSSProperties; children?: PopperChildren; } /** * Positioning primitive (replaces MUI `Popper`) built on `@floating-ui/react`. Positions its * content against `anchorEl`; with `transition`, renders children as a function receiving * `TransitionProps` (`in`/`onExited`) so a child `Fade` can animate and unmount. Public props * preserved (DEC-003). TASK-403. * * Body-portalled instances join the browser **top layer** (nested under a filter `StyledPopover` * otherwise paints under it). When `anchorEl` sits inside an open modal ``, portal into * that dialog and skip the Popover API — see `shouldUsePopoverTopLayer`. */ export declare const Popper: ({ open, anchorEl, id, placement, transition, disablePortal, className, style, children, }: PopperProps) => JSX.Element | null; export {};