import React, { CSSProperties, HTMLAttributes, ReactNode } from 'react'; import { Animation, Placement, Trigger } from './Popover'; declare const FinalPopover: React.ForwardRefExoticComponent & React.RefAttributes>; export interface GetPopupContainer { (): HTMLElement; } export interface PopupAlign { points?: string[]; offset?: number[]; targetOffset?: number[]; overflow?: { adjustX?: number; adjustY?: number; }; } export declare type PopoverPlacement = 'topLeft' | 'top' | 'topRight' | 'bottomLeft' | 'bottom' | 'bottomRight' | 'leftTop' | 'left' | 'leftBottom' | 'rightTop' | 'right' | 'rightBottom'; export interface PopoverProps extends HTMLAttributes { visible?: boolean; defaultVisible?: boolean; onVisibleChange?: (visible: boolean) => void; trigger?: 'hover' | 'focus' | 'click' | 'contextMenu'; alignPoint?: boolean; placement?: PopoverPlacement; align?: PopupAlign; stretch?: 'with' | 'minWidth' | 'height' | 'minHeight'; popup?: ReactNode; popupClassName?: string; popupStyle?: CSSProperties; zIndex?: number; getPopupContainer?: GetPopupContainer; forwardPopupContainer?: boolean | GetPopupContainer; prefixCls?: string; animation?: 'fade' | 'zoom' | 'bounce' | 'slide-up'; } export { Animation, Placement, Trigger }; export default FinalPopover;