/// <reference types="lodash" />
import { Component } from "react";
import { Flip, PopoverPosition, PopoverProps, PopoverPropsDefault } from "./types";
export declare class Popover extends Component<PopoverProps> {
    static defaultProps: PopoverPropsDefault;
    anchorNode: HTMLElement | null;
    containerNode: HTMLElement | null;
    popoverAnchorNode: HTMLElement | null;
    flip: Flip | null;
    childrenClicked: boolean;
    saveAnchor: (ref: HTMLElement | null) => null;
    savePopoverAnchor: (ref: HTMLElement | null) => void;
    saveContainer: (ref: HTMLElement | null) => void;
    getContainerPosition: (anchorNode: HTMLElement, containerNode: HTMLElement) => PopoverPosition;
    setPositions: import("lodash").DebouncedFunc<() => void>;
    closePopover: (e: Event | MouseEvent | TouchEvent) => void;
    addListeners(): void;
    removeListeners(): void;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate(prevProps: PopoverProps): void;
    UNSAFE_componentWillReceiveProps(nextProps: PopoverProps): void;
    handleChildrenClick: () => void;
    render(): import("react").JSX.Element;
}
