import React, { Component } from "react";
import { PopOption } from "./PopOption";
interface Props {
    open: boolean;
    onClose: () => void;
    anchor?: HTMLElement | "prev" | "next";
    closeOnEsc?: boolean;
    className?: string;
    children: React.ReactNode;
}
interface State {
    x: number;
    y: number;
    vertical: "top" | "bottom";
    horizontal: "left" | "right";
}
declare class Pop extends Component<Props, State> {
    constructor(props: Props);
    componentDidUpdate(prevProps: Props): void;
    static Option: typeof PopOption;
    private readonly rootRef;
    private getAnchorElement;
    private readonly onOpen;
    private readonly handleOverlayClick;
    private readonly handleEsc;
    render(): React.JSX.Element | null;
}
declare const PopOverlaySelector: string;
declare const PopListSelector: string;
export { Pop, PopOverlaySelector, PopListSelector };
//# sourceMappingURL=Pop.d.ts.map