import { PopoverProps as RaPopoverProps, Popover as RaPopover } from 'react-aria-components'; import { HTMLChakraProps, RecipeProps, UnstyledProp } from '@chakra-ui/react/styled-system'; import { FC } from 'react'; type PopoverRecipeProps = RecipeProps<"nimbusPopover"> & UnstyledProp; export type PopoverRootSlotProps = HTMLChakraProps<"div", PopoverRecipeProps>; export type PopoverProps = RaPopoverProps & Omit & { /** * Reference to the popover element */ ref?: React.Ref; }; /** * Type signature for the Popover component. */ export type PopoverComponent = FC; export {};