import { ReactElement, ReactNode, ComponentType } from 'react'; import { Props } from 'react-select'; import { IOption, IValidationTargetProps } from "../../types"; import { IInputProps } from "../Input"; import { IOptionProps } from "./Option"; export interface ISelectProps extends Omit, 'filterOption' | 'onBlur' | 'onChange' | 'defaultValue' | 'value'>, IValidationTargetProps, Pick { label?: ReactNode; textInnerAdornment?: string; isSearchable?: boolean; isClearable?: boolean; highlightSearch?: boolean; options: OptionType[]; size?: IInputProps['size']; required?: boolean; hideCaret?: boolean; onChange?: (value?: OptionType['value']) => void; onBlur?: (value: OptionType['value']) => void; filterOption?: ((option: OptionType, rawInput: string) => boolean) | null; Option?: ComponentType>; } declare const BasicSelect: ({ name, value, defaultValue, onChange, onBlur, options, Option, isSearchable, isClearable, filterOption, ...rest }: ISelectProps) => ReactElement; export default BasicSelect;