/**
 * Suggestions Context
 *
 * Type definitions and React context for composable suggestions primitives.
 * Consuming components use useSuggestionsContext() for state and actions.
 */
import React from 'react';
import type { SuggestionItem, ProductItem, RecentSearch, TrendingSearch, FilteredTab } from '@seekora-ai/ui-sdk-types';
import type { NavigableItem } from '../../hooks/useQuerySuggestionsEnhanced';
export interface SuggestionsContextValue {
    query: string;
    setQuery: (query: string) => void;
    isOpen: boolean;
    setIsOpen: (open: boolean) => void;
    activeIndex: number;
    setActiveIndex: (index: number) => void;
    suggestions: SuggestionItem[];
    recentSearches: RecentSearch[];
    trendingSearches: TrendingSearch[];
    trendingProducts: ProductItem[];
    /** Products prefetched on mount via client.search("*") — available before dropdown opens */
    prefetchedProducts: unknown[];
    filteredTabs: FilteredTab[];
    activeTabId: string;
    setActiveTabId: (id: string) => void;
    loading: boolean;
    error: Error | null;
    hasContent: boolean;
    getAllNavigableItems: () => NavigableItem[];
    selectSuggestion: (suggestion: SuggestionItem, position: number) => void;
    selectProduct: (product: ProductItem, position: number, section?: string, tabId?: string) => void;
    selectRecentSearch: (search: RecentSearch) => void;
    selectTrendingSearch: (trending: TrendingSearch, position: number) => void;
    setActiveTab: (tab: FilteredTab) => void;
    submitSearch: (query: string, fromSuggestion?: boolean, suggestion?: SuggestionItem) => void;
    clearRecentSearches: () => void;
    close: () => void;
    navigateNext: () => void;
    navigatePrev: () => void;
    selectActive: () => void;
}
export declare const SuggestionsContext: React.Context<SuggestionsContextValue | null>;
export declare function useSuggestionsContext(): SuggestionsContextValue;
//# sourceMappingURL=SuggestionsContext.d.ts.map