import React from 'react'; interface Labels { helpTextFor?: string; reset?: string; openClose?: string; } export interface MdComboBoxOption { value: string; text: string; } export interface MdComboBoxBaseProps { id?: string; label?: string; labels?: Labels; disabled?: boolean; error?: boolean; errorText?: string; placeholder?: string; helpText?: string; numberOfElementsShown?: number; isSearching?: boolean; mode?: 'large' | 'medium' | 'small'; noResultsText?: string; dropdownHeight?: number; prefixIcon?: React.ReactNode; hidePrefixIcon?: boolean; allowReset?: boolean; flip?: boolean; /** * When `true`, the popover will be unmounted when it is hidden. This can be useful for performance reasons, but it may cause issues with animations or transitions. * @default false * @see https://ariakit.org/reference/combobox-popover#unmountonhide */ unmountOnHide?: boolean; } export interface MdComboBoxProps extends React.InputHTMLAttributes, MdComboBoxBaseProps { options: MdComboBoxOption[]; defaultOptions?: MdComboBoxOption[]; value: string | string[]; onSelectOption(_value: string[] | string): void; } declare const MdComboBox: React.ForwardRefExoticComponent>; export default MdComboBox;