import React, { HTMLProps } from "react";

//#region src/Popover/Popover.d.ts
type CaretPosition = 'top' | 'bottom' | 'left' | 'right' | 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top';
type StyledPopoverProps = {
  caret?: CaretPosition;
  relative?: boolean;
  open?: boolean;
};
type PopoverProps = {
  /** Class name for custom styling */className?: string;
} & StyledPopoverProps & HTMLProps<HTMLDivElement>;
type PopoverContentProps = {
  className?: string;
  width?: 'xsmall' | 'small' | 'large' | 'medium' | 'auto' | 'xlarge';
  height?: 'small' | 'large' | 'medium' | 'auto' | 'xlarge' | 'fit-content';
  overflow?: 'auto' | 'hidden' | 'scroll' | 'visible';
  onClickOutside?: (event: MouseEvent | TouchEvent) => void;
  ignoreClickRefs?: React.RefObject<HTMLElement>[];
} & HTMLProps<HTMLDivElement>;
declare const _default: React.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
  Content: React.FC<React.PropsWithChildren<PopoverContentProps>>;
};
//#endregion
export { PopoverContentProps, PopoverProps, _default as default };