import { type FunctionComponent, type ReactNode } from 'react';
export interface QueryPillBubbleTooltipProps {
    children: ReactNode;
    content: ReactNode;
    open: boolean;
    onOpenChange: (open: boolean) => void;
    /** false = prefer above pill (default); true = prefer below (>3 lines of JSON). */
    preferBelow?: boolean;
    /** Tooltip stays inside this box (e.g. widget / story panel); intersects with viewport. */
    boundaryElement?: HTMLElement | null;
}
export declare const QueryPillBubbleTooltip: FunctionComponent<QueryPillBubbleTooltipProps>;
