/**
 * SearchResults Component
 *
 * Displays search results with customizable rendering
 * Includes keyboard navigation support (arrow keys, Enter to select)
 */
import React from 'react';
import type { SearchResponse } from '@seekora-ai/search-sdk';
import type { ResultItem, FieldMapping, ViewMode } from '@seekora-ai/ui-sdk-types';
export interface SearchResultsTheme {
    container?: string;
    header?: string;
    resultsList?: string;
    resultItem?: string;
    resultItemHover?: string;
    resultTitle?: string;
    resultDescription?: string;
    resultImage?: string;
    resultPrice?: string;
    emptyState?: string;
    errorState?: string;
    pagination?: string;
    /** Custom min-height class override */
    minHeight?: string;
    /** Custom min-width class override */
    minWidth?: string;
}
export interface SearchResultsProps {
    results?: SearchResponse | null;
    loading?: boolean;
    error?: Error | null;
    onResultClick?: (result: ResultItem, index: number) => void;
    renderResult?: (result: ResultItem, index: number, isActive?: boolean) => React.ReactNode;
    renderEmpty?: () => React.ReactNode;
    renderError?: (error: Error) => React.ReactNode;
    className?: string;
    style?: React.CSSProperties;
    theme?: SearchResultsTheme;
    itemsPerPage?: number;
    showPagination?: boolean;
    /** Display mode: 'list' (default), 'card', or 'grid' */
    viewMode?: ViewMode;
    /** Field mapping configuration for extracting data from results */
    fieldMapping?: FieldMapping;
    /** Function to extract results array from the response (if custom structure) */
    extractResults?: (response: any) => any[];
    /** Enable keyboard navigation (arrow keys, Enter to select) */
    enableKeyboardNavigation?: boolean;
    /** Auto-focus the results container */
    autoFocus?: boolean;
    /** Minimum height to prevent container collapse when empty (default: '400px') */
    minHeight?: string;
    /** Minimum width to prevent container shrinking (default: '100%') */
    minWidth?: string;
}
export declare const SearchResults: React.FC<SearchResultsProps>;
//# sourceMappingURL=SearchResults.d.ts.map