import type { PopoverProps } from "./Popover.types";
export declare const usePopover: ({ preferredPlacement, attachTo, open, }: Pick<PopoverProps, "preferredPlacement" | "attachTo" | "open">) => {
    setFloatingElement: ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);
    setArrowElement: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null | undefined>>;
    floatingStyles: {
        float: import("react").CSSProperties;
        arrow: (Partial<import("@floating-ui/utils").Coords> & {
            centerOffset: number;
            alignmentOffset?: number;
        }) | undefined;
    };
    placement: import("@floating-ui/utils").Placement;
};
