import * as React from 'react'; import { NormalSizes } from '../config-provider'; import Option from './select-option'; import OptGroup from './option-group'; import './style/index.less'; interface SelectOptions { className?: string; style?: any; defaultValue?: string | string[] | number; placeholder?: string; multiple?: boolean; allowClear?: boolean; disabled?: boolean; bordered?: boolean; showSearch?: boolean; children?: React.ReactNode; size?: NormalSizes; key?: string | number | React.ReactNode; value?: string; } export interface OptionsType { text: string; key: string | number | React.ReactNode; selected?: boolean; disabled?: boolean; children?: React.ReactNode; value?: string | number; } type ActionSelectProps = { onFocus?: React.FocusEventHandler; onBlur?: React.FocusEventHandler; onChange?: (value: string, option: OptionsType | OptionsType[]) => void; } & SelectOptions; type SelectProps = ActionSelectProps; declare const InternalSelect: React.FC; type InternalSelectType = typeof InternalSelect; interface SelectInterface extends InternalSelectType { Option: typeof Option; OptGroup: typeof OptGroup; } declare const Select: SelectInterface; export default Select;