import { ReactNode, Ref } from "react"; import RAC from "react-aria-components"; export interface PopoverProps extends Omit { keyboardDismissDisabled?: boolean; open?: boolean; /** * Stretch the popover to at least the trigger's width. Right for field * dropdowns (Select, ComboBox) whose list should line up with the field; * turn off for content-sized overlays like a calendar, whose width is its * own, not the trigger's. * @default true */ matchTriggerWidth?: boolean; children: ReactNode; } declare const PopoverBase: ({ keyboardDismissDisabled, placement, offset, open, matchTriggerWidth, children, ref, ...rest }: PopoverProps & { ref?: Ref; }) => import("react").JSX.Element; export { PopoverBase as Popover };