import type { Placement } from "@floating-ui/react-native"; import React from "react"; import { View, ViewProps } from "react-native"; export type PopoverProps = { /** * A reference to the element that the popover should appear around. */ anchorEl: React.RefObject; /** * A boolean value indicating whether or not the popover should be open. */ open: boolean; /** * A callback method invoked when a user closes the popover. * If not provided, the popover will respond to outside presses. */ onClose?: () => void; /** * The positioning of the popover around the anchor element. */ placement?: Placement; }; export declare const Popover: ({ open, onClose, anchorEl, placement, children, ...rest }: PopoverProps & ViewProps) => false | React.JSX.Element;