import React from 'react';
import type { DocSearchHit, DocSearchSuggestion, DocSearchTranslations, SearchSource } from '../types';
interface GroupedHits {
    source: SearchSource;
    items: DocSearchSuggestion[];
}
interface ResultsProps {
    hits: (DocSearchHit | DocSearchSuggestion)[];
    groupedHits?: GroupedHits[];
    selectedIndex: number;
    onSelect: (hit: DocSearchHit | DocSearchSuggestion) => void;
    onHover: (index: number) => void;
    /** When true, scroll the selected item into view (set by keyboard nav only; avoids scroll-on-hover jump) */
    scrollSelectionIntoViewRef?: React.MutableRefObject<boolean>;
    query: string;
    isLoading: boolean;
    error: string | null;
    translations?: DocSearchTranslations;
    sources?: SearchSource[];
}
export declare function Results({ hits, groupedHits, selectedIndex, onSelect, onHover, scrollSelectionIntoViewRef, query, isLoading, error, translations, sources: _sources, }: ResultsProps): React.JSX.Element;
export {};
//# sourceMappingURL=Results.d.ts.map