import { type ComboboxClearButtonProps, type ComboboxItem, type ComboboxLikeProps, type ComboboxLikeRenderOptionInput } from "../Combobox"; import { type InputBaseOwnProps } from "../InputBase"; export interface SelectProps extends ComboboxLikeProps, Omit, Omit, "size" | "value" | "defaultValue" | "onChange"> { /** Controlled component value */ value?: string | null; /** Uncontrolled component default value */ defaultValue?: string | null; /** Called when value changes */ onChange?: (value: string | null, option: ComboboxItem) => void; /** Called when the clear button is clicked */ onClear?: () => void; /** Determines whether the select should be searchable * @default false */ searchable?: boolean; /** Controlled search value */ searchValue?: string; /** Default search value */ defaultSearchValue?: string; /** Called when search changes */ onSearchChange?: (value: string) => void; /** Determines whether check icon should be displayed near the selected option label * @default true */ withCheckIcon?: boolean; /** Position of the check icon relative to the option label * @default "left" */ checkIconPosition?: "left" | "right"; /** Message displayed when no option matched current search query, only applicable when `searchable` prop is set */ nothingFoundMessage?: React.ReactNode; /** Determines whether the clear button should be displayed in the right section when the component has value * @default false */ clearable?: boolean; clearButtonProps?: ComboboxClearButtonProps; /** Props passed down to the hidden input */ hiddenInputProps?: Omit, "value">; /** A function to render content of the option, replaces the default content of the option */ renderOption?: (item: ComboboxLikeRenderOptionInput) => React.ReactNode; /** Determines whether it should be possible to deselect value by clicking on the selected option * @default true */ allowDeselect?: boolean; } export declare function Select(props: SelectProps): import("react").JSX.Element;