///
import { SelectProps } from '../FormSelect/type';
export interface MultiSelectProps extends SelectProps {
getOptionLabel?: (option: any) => string;
/** When true, shows the checkbox next to each option. Set to false to hide. Defaults to true. */
showCheckbox?: boolean;
/** When provided, options for which this returns true are disabled */
getOptionDisabled?: (option: any) => boolean;
/**
* When true, the open menu shows a header above the options with the number of selected items
* and a “Clear” action. The header only appears while at least one item is selected.
*/
menuHasSelectionSummary?: boolean;
/**
* When true, the form value is stored as an array of primitive IDs (e.g. ['1', '2'])
* instead of full option objects. The defaultValue / controlled value should also be
* an array of IDs in this mode.
*/
valueOnly?: boolean;
}
export default function MultiSelect({ name, helperText, getOptionValue, getOptionLabel, renderOption, isOptionEqualToValue, getOptionDisabled, menuSearchable, menuSearchPlaceholder, showCheckbox, menuHasSelectionSummary, valueOnly, options, isLoading, ...props }: Readonly): import("react").JSX.Element;