import type { SearchIndex, Suggestion } from '../../../../libs/search-api'; import type { DataZoneLoadingState } from '../../core/types'; interface ProvidedDql { searchComponentId: string | undefined; searchTerm: string | undefined; brandSuggestions: Suggestion[]; categorySuggestions: Suggestion[]; productSuggestions: Suggestion[]; querySuggestions: Suggestion[]; results: SearchIndex | undefined; rawResultsResponse: unknown; } export interface SearchProviderLogicOptions { instanceId?: string; searchComponentId?: string; term: string | undefined; fetchBrand: boolean; fetchCategory: boolean; fetchProduct: boolean; fetchQuery: boolean; fetchResults: boolean; } export interface UseSearchProviderLogicReturn { loadingState: DataZoneLoadingState; providedDql: ProvidedDql; } export declare const useSearchProviderLogic: (options: SearchProviderLogicOptions) => UseSearchProviderLogicReturn; export {};