UNPKG

aura-glass

Version:

A comprehensive glassmorphism design system for React applications with 142+ production-ready components

52 lines 1.35 kB
import React from "react"; export interface SearchResult { id: string; title: string; description: string; category: string; tags: string[]; url?: string; score: number; metadata?: Record<string, any>; highlights?: { title?: string[]; description?: string[]; }; } export interface SearchFilter { id: string; name: string; type: "select" | "multiselect" | "range" | "date" | "boolean"; options?: Array<{ value: string; label: string; count?: number; }>; range?: { min: number; max: number; step?: number; }; value?: any; } export interface SearchSuggestion { text: string; type: "query" | "category" | "tag" | "filter"; category?: string; count?: number; } export interface IntelligentSearchProps { data?: SearchResult[]; onSearch?: (query: string, filters: Record<string, any>) => void; onResultClick?: (result: SearchResult) => void; placeholder?: string; showFilters?: boolean; showSuggestions?: boolean; enableNLP?: boolean; enableVoiceSearch?: boolean; maxResults?: number; className?: string; "aria-label"?: string; } export declare const GlassIntelligentSearch: React.FC<IntelligentSearchProps>; //# sourceMappingURL=GlassIntelligentSearch.d.ts.map