import { type AriaPopoverProps } from 'react-aria'; import type { OverlayTriggerProps, PlacementAxis, PositionProps } from '@react-types/overlays'; import React from 'react'; import { RenderProps, SlotProps } from './../../utils'; import { OverlayTriggerState } from 'react-stately'; interface PopoverRenderProps { /** * The name of the component that triggered the popover, e.g. "DialogTrigger" or "ComboBox". * @selector [data-trigger="..."] */ trigger: string | null; /** * The placement of the popover relative to the trigger. * @selector [data-placement="left | right | top | bottom"] */ placement: PlacementAxis; /** * Whether the popover is currently entering. Use this to apply animations. * @selector [data-entering] */ isEntering: boolean; /** * Whether the popover is currently exiting. Use this to apply animations. * @selector [data-exiting] */ isExiting: boolean; } export interface PopoverProps extends PositionProps, Omit, OverlayTriggerProps, RenderProps, SlotProps { triggerRef?: React.RefObject; popoverRef?: React.RefObject; state: OverlayTriggerState; referenceWidth?: number; } declare const Popover: (props: PopoverProps & React.RefAttributes) => import("react/jsx-runtime").JSX.Element; export { Popover }; //# sourceMappingURL=Popover.d.ts.map