import type { Placement } from "@floating-ui/react";
import type { CSSProperties } from "react";
import React from "react";
import type { PopoverProviderProps } from "./Popover.types";
interface PopoverContextProps {
    setArrowElement: (element: HTMLElement | null) => void;
    floatingStyles: {
        float: CSSProperties;
        arrow?: {
            x?: number;
            y?: number;
        };
    };
    placement?: Placement;
}
export declare function usePopoverContext(): PopoverContextProps;
export declare function PopoverProvider({ children, preferredPlacement, attachTo, open, UNSAFE_className, UNSAFE_style, }: PopoverProviderProps): React.JSX.Element | null;
export {};
