import { default as CommandGroup } from './CommandGroup'; type SearchConfigHandler = { /** * Group of Search Options */ groups: CommandGroup[]; /** * Callback fired when the selection changes. * A new array of Selected Values is passed. * @param selectedValues * @returns */ onSelectionChange?: (selectedValues: (string | null)[]) => void; /** * Optional default selected items, to set default selection state on initial render */ defaultSelectedItem?: (string | null)[]; }; export default SearchConfigHandler;