import React, { ReactElement } from "react"; import { BoxProps } from "../Box"; import { PopperPlacement } from "../../types"; interface InlineSharedProps { removePadding?: boolean; } export interface PopoverTooltipSharedProps extends BoxProps { referenceElement: ReactElement; placement?: PopperPlacement; popperModifiers?: Record[]; isVisible?: boolean; } interface PopoverDefaultProps extends PopoverTooltipSharedProps, InlineSharedProps { inline?: false; showArrow?: boolean; strategy?: "absolute" | "fixed"; color?: string; } interface PopoverInlineProps extends InlineSharedProps, BoxProps { inline: true; placement?: "top" | "right" | "bottom" | "left"; } type PopoverProps = PopoverDefaultProps | PopoverInlineProps; export declare const Popover: ({ removePadding, ...props }: PopoverProps) => React.JSX.Element | null; export {};