import { BaseInputFieldProps } from '../../common/types/input'; import { IconProps } from '../icon/Icon'; import { SelectValueTypeConstraint } from '../select/selectCommonTypes'; import { SelectFieldProps } from '../select/SelectField'; import { OptionHTMLAttributes } from 'react'; type SelectIconColor = Extract; export type SelectItem = Omit, 'selected' | 'value'> & { /** If provided, adds an icon to the right of your SelectField item */ feIcon?: IconProps['feIcon']; /** If provided, sets the color of the icon */ feIconColor?: SelectIconColor; /** If provided, adds a very short label to the right of your SelectField item */ feShortLabel?: string; /** If provided, renders an optgroup with corresponding items */ items?: SelectItem[]; value?: T; }; export type SelectProps = BaseInputFieldProps & SelectFieldProps & { /** If provided, sets number of visible rows for the list */ feRows?: 5 | 6 | 7; }; /** * controlled * uncontrolled * * The `` element.
* It uses `downshift` behind the scenes. * * See [Downshift](https://downshift-js.com/) for more information on how the component works.
* See [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/folder/6196268b993f76cbf10607b3) for design principles. */ declare const Select: { ({ "aria-errormessage": ariaErrorMessage, className, defaultValue, disabled, feHideLabel, feHint, feLabel, feListHeight, feRows, feRequiredText, feSeverity, feSize, id, multiple, onChange, required, value, ...rest }: SelectProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Select;