import type { HTMLProps } from 'react';
import React from 'react';
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;
};
export type PopoverProps = {
    /** Class name for custom styling */
    className?: string;
} & StyledPopoverProps & HTMLProps<HTMLDivElement>;
export 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>>;
};
export default _default;
//# sourceMappingURL=Popover.d.ts.map