import { type UseSearchProps } from "../hooks/use-search.js";
import type { SearchCounter } from "../types.js";
import { type UseObserveIntersectionProps } from "./hooks/useObserveIntersection.js";
import "./SearchPopup.css";
export type SearchPopupProps = UseSearchProps & {
    open: boolean;
    anchor: Element;
    counter?: SearchCounter;
    onClose: () => void;
    intersectionTracking: Pick<UseObserveIntersectionProps, 'container' | 'selector' | 'observerOptions'>;
};
export declare const SearchPopup: React.FC<SearchPopupProps>;
interface SearchPopupWithRefProps extends Omit<SearchPopupProps, 'anchor'> {
    anchor: Element | null;
}
export declare function renderSearchPopup({ anchor, ...props }: SearchPopupWithRefProps): JSX.Element | null;
export {};
