import type { ApiCollection } from '../types'; import type { SearchResultResource } from '../types/resources/search_result'; export type SearchResultsCollection = ApiCollection & { meta: { failedTypes?: SearchResultResource['type'][]; }; }; export declare const NO_FAILED_TYPES: SearchResultResource['type'][]; export declare function useSearchResults(term: string): { results: SearchResultResource[]; failedTypes: ("message" | "conversation")[]; isPending: boolean; isError: boolean; isFetchNextPageError: boolean; loadMore: () => Promise, Error>>; hasNextPage: boolean; isFetchingNextPage: boolean; }; //# sourceMappingURL=use_search_results.d.ts.map