/**
 * useSmartSuggestions Hook
 *
 * AI-enhanced query suggestions with intent understanding
 * Provides context-aware suggestions based on user behavior and query patterns
 */
export interface SmartSuggestion {
    text: string;
    type: 'query' | 'correction' | 'expansion' | 'related' | 'trending';
    confidence: number;
    metadata?: {
        intent?: string;
        category?: string;
        correctedFrom?: string;
        expandedTo?: string[];
    };
}
export interface SmartSuggestionsOptions {
    /** Minimum query length */
    minQueryLength?: number;
    /** Maximum suggestions to return */
    maxSuggestions?: number;
    /** Debounce delay in ms */
    debounceMs?: number;
    /** Enable spell correction */
    enableSpellCorrection?: boolean;
    /** Enable query expansion */
    enableQueryExpansion?: boolean;
    /** Enable intent detection */
    enableIntentDetection?: boolean;
    /** Include trending queries when query is empty */
    includeTrending?: boolean;
    /** User context for personalization */
    userContext?: {
        recentSearches?: string[];
        preferences?: Record<string, any>;
    };
}
export interface UseSmartSuggestionsReturn {
    suggestions: SmartSuggestion[];
    loading: boolean;
    error: Error | null;
    /** Detected intent from the query */
    detectedIntent: string | null;
    /** Suggested corrections if query has typos */
    corrections: string[];
    /** Expanded query terms */
    expansions: string[];
    /** Process a query for smart suggestions */
    getSuggestions: (query: string) => Promise<SmartSuggestion[]>;
    /** Clear current suggestions */
    clear: () => void;
}
export declare function useSmartSuggestions(query: string, options?: SmartSuggestionsOptions): UseSmartSuggestionsReturn;
//# sourceMappingURL=useSmartSuggestions.d.ts.map