import { ReactNode } from 'react';
type SearchResult = {
    id: string;
    header: string;
    content: string;
    link: string;
    icon?: ReactNode;
    metadata?: {
        breadcrumbs?: string[];
        [key: string]: unknown;
    };
};
type SearchProps = {
    onSearch: (query: string) => void;
    results: SearchResult[];
    isOpen: boolean;
    onClose: () => void;
    isLoading?: boolean;
    placeholder?: string;
    recentSearches?: SearchResult[];
    onSelectResult?: (result: SearchResult, query: string) => void;
    className?: string;
    emptyState?: ReactNode;
    loadingState?: ReactNode;
    position?: "top" | "center";
    paddingTop?: string;
};
type SearchHitProps = {
    isActive: boolean;
    header: string;
    description: string;
    icon?: ReactNode;
    metadata?: SearchResult["metadata"];
};
declare const SearchHit: ({ isActive, header, description, icon, metadata, }: SearchHitProps) => import("react/jsx-runtime").JSX.Element;
declare const Search: import('react').ForwardRefExoticComponent<SearchProps & import('react').RefAttributes<HTMLInputElement>>;
export type { SearchResult, SearchProps };
export { Search, SearchHit };
//# sourceMappingURL=search.d.ts.map