import * as React from "react"; import { DropdownableProps } from "../../dropdownable/components/Dropdownable"; export interface PopoverProps extends Omit { /** * A unique identifier to help screenreaders or UI testing tools associate the dropdown content with it's trigger button. If an ID prop is not provided, an arbitrary ID will be generated. */ id?: string; /** * Whether the dropdown starts open */ initialIsOpen?: boolean; /** * The maximum height of the dropdown overlay, represented by number of pixels. */ maxHeight?: number; /** * The maximum width of the dropdown overlay, represented by number of pixels */ maxWidth?: number; /** * The node that opens the menu when clicked */ trigger: React.ReactNode; /** * Human-readable selector used for writing tests */ "data-cy"?: string; /** * Allows custom styling */ className?: string; } declare const Popover: ({ children, className, "data-cy": dataCy, id, initialIsOpen, maxHeight, maxWidth, overlayRoot, preferredDirections, trigger }: PopoverProps) => React.JSX.Element; export default Popover;