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; } declare const Popover: { ({ children, "data-cy": dataCy, id, initialIsOpen, maxHeight, maxWidth, overlayRoot, preferredDirections, trigger }: PopoverProps): JSX.Element; defaultProps: { "data-cy": string; }; }; export default Popover;