import { type OffsetOptions, type Placement, type ReferenceType } from '@floating-ui/react';
import { type DOMProps, type QAProps } from '@gravity-ui/uikit';
import "./FloatingPopup.css";
export type { ReferenceType };
export type FloatingPopupRef = {
    forceUpdate: () => void;
};
export type FloatingPopupProps = QAProps & DOMProps & {
    open?: boolean;
    zIndex?: number;
    placement: Placement;
    offset?: OffsetOptions;
    anchorElement: ReferenceType | undefined | null;
    children: React.ReactNode;
    floatingStyles?: React.CSSProperties;
};
export declare const FloatingPopup: import("react").ForwardRefExoticComponent<QAProps & DOMProps & {
    open?: boolean;
    zIndex?: number;
    placement: Placement;
    offset?: OffsetOptions;
    anchorElement: ReferenceType | undefined | null;
    children: React.ReactNode;
    floatingStyles?: React.CSSProperties;
} & import("react").RefAttributes<FloatingPopupRef>>;
