import { DownshiftProps } from 'downshift'; import { ReactNode } from 'react'; import { CommonProps } from './types.js'; type BaseAutosuggestProps = CommonProps & { itemToString: (item: T | null) => string; items: T[]; downshiftProps: DownshiftProps; showDropdownControllerButton?: boolean; onConfirm?: () => void; noHits?: { text: ReactNode; items: T[]; }; }; declare function BaseAutosuggest({ className, label, labelProps, tooltip, supportLabelProps, inputId, labelId, leadText, errorLabel, helpLabel, variant, noHitsMessage, maxNumberOfHits, placeholder, itemToString, items, downshiftProps, showDropdownControllerButton, onConfirm, noHits, }: BaseAutosuggestProps): JSX.Element; export default BaseAutosuggest;