import { FunctionComponent, Ref } from 'react'; import { UseComboboxStateChange } from 'downshift'; import { InputLabelPosition } from './InputLabel'; export interface ComboboxOption { label: string; value: string; [key: string]: unknown; } interface ComboboxProps { currentValue: ComboboxOption; errorMessage?: string; filterFunction?: (option: ComboboxOption, inputValue: string) => boolean; forwardRef?: Ref; hideError?: boolean; isLabelVisible?: boolean; isRequired?: boolean; label: string; labelPosition?: InputLabelPosition; onOptionSelected: (changes: UseComboboxStateChange) => void; options: ComboboxOption[]; placeholder?: string; } declare const Combobox: FunctionComponent; export default Combobox;