import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js"; import * as react171 from "react"; //#region src/molecules/Select/SingleSelect/SingleSelect.d.ts type SingleSelectProps = CommonSelectProps & SingleSelectCommon & (ListSelectProps | GroupedSelectProps); /** * @param clearable - If users should be able to clear the input, defaults to true * @param loading - Show loader, defaults to false * @param lightBackground - If the input should have white background, defaults to false * @param sortValues - Sort the provided values, defaults to true * @param inDialog - Fixes weird issue that EDS menus has when it's used in dialogs, defaults to false * @param showHelperIcon - Show helper variant icon, defaults to true * @param onAddItem - Enables the possibility to add extra tags and is called when submitting a new item, either via menu click 'add' or {Enter}. Not supported with groups prop. * @param addItemSingularWord - Word to use when adding a new item, default is "tag" * @param onSearchFilter - Custom filter function for search, default is "item.label.match(new RegExp(searchValue, 'i'))" * @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label */ declare function SingleSelect(props: SingleSelectProps): react171.JSX.Element; //#endregion export { SingleSelect, SingleSelectProps };