import { ItemDescriptor } from "../pageModel";
export type ResultItem = {
    id: string;
    name: string;
    displayName?: string;
    language: string;
    icon?: string;
    path: string;
    idPath?: string;
    visitedAt?: string;
};
interface SearchProps {
    rootItemIds?: string[];
    setHoveredItem?: React.Dispatch<React.SetStateAction<ResultItem | undefined>>;
    itemSelected: (item: ItemDescriptor & {
        path?: string;
        idPath?: string;
        icon?: string;
    }) => void;
    language?: string;
    resultClassName?: string;
    autoFocus?: boolean;
    disabled?: boolean;
    database?: string;
    placeholder?: string;
}
export declare const ItemSearch: React.FC<SearchProps>;
export default ItemSearch;
