///
import React from 'react';
export declare type PopContentPosition = 'bottom-left' | 'bottom-center' | 'bottom-right' | 'top-left' | 'top-center' | 'top-right' | 'left-top' | 'left-center' | 'left-bottom' | 'right-top' | 'right-center' | 'right-bottom';
export interface PopContentProps {
content?: any;
position: PopContentPosition;
visible?: boolean;
withArrow?: boolean;
getTriggerRef: () => React.RefObject;
className?: string;
style?: React.CSSProperties;
}
export interface PopContentState {
positionReady?: boolean;
positionStyle?: React.CSSProperties;
}
export default class Content extends React.Component {
static getDerivedStateFromProps(props: PopContentProps): {
positionReady: boolean;
} | null;
state: PopContentState;
popRoot: HTMLElement | null;
isTriggerFixed?: boolean;
componentDidMount(): void;
componentDidUpdate(prevProps: PopContentProps): void;
updatePosition: () => void;
throttledUpdatePosition: (() => void) & import("lodash").Cancelable;
getPopRoot(): HTMLElement;
handleEntered: () => void;
handleExited: () => void;
render(): React.ReactPortal | null;
}