import { SelectMultipleProps } from './select-multiple'; import { DownshiftProps } from 'downshift'; import { FormControlOptions } from '@chakra-ui/form-control'; interface Option { value: string; label: string; } interface FilterOptionArgs { items: Item[]; selectedItems: Item[]; getOptionLabel: (item: Item | null) => string; inputValue: string | null; } export declare type SelectMutipleWrapperProps = FormControlOptions & Pick, 'value' | 'onChange' | 'defaultValue'> & { options: Item[]; label?: string; placeholder?: string; isSearchable?: boolean; noOptionsMessage?(inputValue: string | null): string | null; getOptionLabel?: DownshiftProps['itemToString']; getOptionKey?: (item: Item) => string; filterOption?(args: FilterOptionArgs): Item[]; }; export declare function SelectMultipleWrapper({ options, getOptionLabel, getOptionKey, filterOption, placeholder, isSearchable, value, onChange, isDisabled, label, noOptionsMessage }: SelectMutipleWrapperProps): JSX.Element; export {};