import type { SearchSource } from '../../src/common/search';
export declare const StreamSearchResultsContext: import("react").Context<SearchSource<any> | undefined>;
/**
 * The props for the StreamSearchResultsProvider component.
 */
export type StreamSearchResultsContextProps = {
    source: SearchSource;
};
/**
 * Hook to access the nearest SearchSource instance.
 */
export declare const useSearchResultsContext: () => SearchSource<any> | undefined;
