import * as React from 'react'; import type { ZestPortalModalProps } from '../../types'; /** * A portal element that moves the popup to the top of the app. * * Like `Dialog.Portal`, this is React Native's `Modal`. A state-lifting portal * host would drop the React context of the declaration site; `Modal` keeps its * children in the same React tree, so `Popover.Popup` still sees the root store. * * `statusBarTranslucent` matters for positioning: it makes the modal's origin * the top of the screen, which is the coordinate space `useAnchorPositioning` * resolves the anchor into. */ export declare function PopoverPortal(props: PopoverPortal.Props): React.JSX.Element | null; export interface PopoverPortalProps { children?: React.ReactNode; /** * Whether to keep the portal mounted while the popover is closed. * @default false */ keepMounted?: boolean | undefined; /** * Props forwarded to the underlying React Native `Modal`. Lets you replace * the default `animationType="none"` with a native `"fade"`/`"slide"`, or reach * the rest of the Modal API. * `visible` stays owned by the popover's open state, and `onRequestClose` is * chained rather than replaced. */ modalProps?: ZestPortalModalProps | undefined; } export declare namespace PopoverPortal { type Props = PopoverPortalProps; } //# sourceMappingURL=PopoverPortal.d.ts.map