import React, { ComponentProps, FC, ReactNode } from 'react'; import { IconProps } from '../Icon/index.js'; export declare type AutocompleteProps = { itemToString: (newValue: Item) => string; value: Item; options: Item[]; onChange: (newValue: Item) => void; className?: string; children: ReactNode; disabled?: boolean; onInputChange?: (newValue: string) => void; loading?: boolean; defaultHighlightedIndex?: number; clearInputOnSelect?: boolean; clearInputOnBlur?: boolean; }; export declare const Autocomplete: { (props: AutocompleteProps): JSX.Element; Input: React.FC; Items: React.FC, HTMLUListElement>>; ItemsEmpty: React.FC; Item: React.FC>; }; export declare type AutocompleteInputProps = ComponentProps<'input'> & { leadingIcon?: IconProps; onEnter?: ({ highlightedIndex: number, inputValue: string }: { highlightedIndex: any; inputValue: any; }) => void; showClearButton?: boolean; }; export declare const AutocompleteInput: FC;