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; }; export declare const SearchPopup: React.FC; interface SearchPopupWithRefProps extends Omit { anchor: Element | null; } export declare function renderSearchPopup({ anchor, ...props }: SearchPopupWithRefProps): JSX.Element | null; export {};