import * as React from 'react'; import OptGroup from './OptGroup'; import Option from './Option'; import { IILableValueType, ISelectProps, valueType } from './PropTypes'; import SelectTrigger from './SelectTrigger'; import { defaultFilterFn } from './util'; export interface ISelectState { open: boolean; value?: valueType; inputValue?: string; skipBuildOptionsInfo?: boolean; optionsInfo?: any; backfillValue?: string; ariaId?: string; } declare class Select extends React.Component, ISelectState> { static propTypes: { id: import("prop-types").Requireable; defaultActiveFirstOption: import("prop-types").Requireable; multiple: import("prop-types").Requireable; filterOption: import("prop-types").Requireable; children: import("prop-types").Requireable; showSearch: import("prop-types").Requireable; disabled: import("prop-types").Requireable; allowClear: import("prop-types").Requireable; showArrow: import("prop-types").Requireable; tags: import("prop-types").Requireable; prefixCls: import("prop-types").Requireable; className: import("prop-types").Requireable; transitionName: import("prop-types").Requireable; optionLabelProp: import("prop-types").Requireable; optionFilterProp: import("prop-types").Requireable; animation: import("prop-types").Requireable; choiceTransitionName: import("prop-types").Requireable; open: import("prop-types").Requireable; defaultOpen: import("prop-types").Requireable; onChange: import("prop-types").Requireable<(...args: any[]) => any>; onBlur: import("prop-types").Requireable<(...args: any[]) => any>; onFocus: import("prop-types").Requireable<(...args: any[]) => any>; onSelect: import("prop-types").Requireable<(...args: any[]) => any>; onSearch: import("prop-types").Requireable<(...args: any[]) => any>; onPopupScroll: import("prop-types").Requireable<(...args: any[]) => any>; onMouseEnter: import("prop-types").Requireable<(...args: any[]) => any>; onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>; onInputKeyDown: import("prop-types").Requireable<(...args: any[]) => any>; placeholder: import("prop-types").Requireable; onDeselect: import("prop-types").Requireable<(...args: any[]) => any>; labelInValue: import("prop-types").Requireable; loading: import("prop-types").Requireable; value: (args_0: ISelectProps, args_1: string, args_2: string, args_3: any, args_4: any) => Error | null; defaultValue: (args_0: ISelectProps, args_1: string, args_2: string, args_3: any, args_4: any) => Error | null; dropdownStyle: import("prop-types").Requireable; maxTagTextLength: import("prop-types").Requireable; maxTagCount: import("prop-types").Requireable; maxTagPlaceholder: import("prop-types").Requireable; tokenSeparators: import("prop-types").Requireable<(string | null | undefined)[]>; getInputElement: import("prop-types").Requireable<(...args: any[]) => any>; showAction: import("prop-types").Requireable<(string | null | undefined)[]>; clearIcon: import("prop-types").Requireable; inputIcon: import("prop-types").Requireable; removeIcon: import("prop-types").Requireable; menuItemSelectedIcon: import("prop-types").Requireable; dropdownRender: import("prop-types").Requireable<(...args: any[]) => any>; }; static Option: typeof Option; static OptGroup: typeof OptGroup; static displayName: string; static defaultProps: { prefixCls: string; defaultOpen: boolean; labelInValue: boolean; defaultActiveFirstOption: boolean; showSearch: boolean; allowClear: boolean; placeholder: string; onChange: () => null; onFocus: () => null; onBlur: () => null; onSelect: () => null; onSearch: () => null; onDeselect: () => null; onInputKeyDown: () => null; dropdownMatchSelectWidth: boolean; dropdownStyle: {}; dropdownMenuStyle: {}; optionFilterProp: string; optionLabelProp: string; notFoundContent: string; backfill: boolean; showAction: string[]; tokenSeparators: never[]; autoClearSearchValue: boolean; tabIndex: number; dropdownRender: (menu: any) => any; }; static getDerivedStateFromProps: (nextProps: ISelectProps, prevState: ISelectState) => Partial; static getOptionsFromChildren: (children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>[], options?: any[]) => any[]; static getInputValueForCombobox: (props: Partial, optionsInfo: any, useDefaultValue?: boolean | undefined) => string; static getLabelFromOption: (props: Partial, option: any) => any; static getOptionsInfoFromProps: (props: Partial, preState?: ISelectState | undefined) => {}; static getValueFromProps: (props: Partial, useDefaultValue?: boolean | undefined) => string | number | IILableValueType | number[] | string[] | IILableValueType[] | undefined; saveInputRef: (ref: HTMLInputElement) => void; saveInputMirrorRef: (ref: HTMLSpanElement) => void; saveTopCtrlRef: (ref: HTMLDivElement) => void; saveSelectTriggerRef: (ref: SelectTrigger) => void; saveRootRef: (ref: HTMLDivElement) => void; saveSelectionRef: (ref: HTMLDivElement) => void; inputRef: HTMLInputElement | null; inputMirrorRef: HTMLSpanElement | null; topCtrlRef: HTMLDivElement | null; selectTriggerRef: SelectTrigger | null; rootRef: HTMLDivElement | null; selectionRef: HTMLDivElement | null; dropdownContainer: Element | null; blurTimer: number | null; focusTimer: number | null; comboboxTimer: number | null; private _focused; private _mouseDown; private _options; private _empty; constructor(props: Partial); componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; onInputChange: (event: React.ChangeEvent) => void; onDropdownVisibleChange: (open: boolean) => void; onKeyDown: (event: KeyboardEvent) => void; onInputKeyDown: (event: KeyboardEvent | React.ChangeEvent) => void; onMenuSelect: ({ item }: { item: Option; }) => void; onMenuDeselect: ({ item, domEvent, }: { item: any; domEvent: React.SyntheticEvent; }) => void; onArrowClick: (e: React.MouseEvent) => void; onPlaceholderClick: () => void; onOuterFocus: (e: React.FocusEvent | React.FocusEvent) => void; onPopupFocus: () => void; onOuterBlur: (e: React.FocusEvent) => void; onClearSelection: (event: Event) => void; onChoiceAnimationLeave: () => void; getOptionInfoBySingleValue: (value: valueType, optionsInfo?: any) => any; getOptionBySingleValue: (value: valueType) => any; getOptionsBySingleValue: (values: valueType) => any[]; getValueByLabel: (label?: string | undefined) => null; getVLBySingleValue: (value: valueType) => string | number | IILableValueType | number[] | string[] | IILableValueType[] | { key: valueType; label: any; }; getVLForOnChange: (vlsS: valueType) => valueType; getLabelBySingleValue: (value: valueType, optionsInfo?: any) => any; getDropdownContainer: () => Element; getPlaceholderElement: () => JSX.Element | null; getInputElement: () => JSX.Element; getInputDOMNode: () => HTMLInputElement | null; getInputMirrorDOMNode: () => HTMLSpanElement | null; getPopupDOMNode: () => any; getPopupMenuComponent: () => any; setOpenState: (open: boolean, config?: { needFocus?: boolean | undefined; fireSearch?: boolean | undefined; }) => void; setInputValue: (inputValue: string, fireSearch?: boolean) => void; getValueByInput: (str: string | string[]) => string | number | IILableValueType | number[] | string[] | IILableValueType[] | undefined; getRealOpenState: (state?: ISelectState | undefined) => boolean; focus(): void; blur(): void; markMouseDown: () => void; markMouseLeave: () => void; handleBackfill: (item: JSX.Element) => void; filterOption: (input: string, child: JSX.Element, defaultFilter?: typeof defaultFilterFn) => boolean | void; timeoutFocus: () => void; clearFocusTime: () => void; clearBlurTime: () => void; clearComboboxTime: () => void; updateFocusClassName: () => void; maybeFocus: (open: boolean, needFocus: boolean) => void; removeSelected: (selectedKey: string | string[], e?: React.MouseEvent | undefined) => void; openIfHasChildren: () => void; fireSelect: (value: valueType) => void; fireChange: (value: valueType) => void; isChildDisabled: (key: string | string[]) => any; forcePopupAlign: () => void; renderFilterOptions: () => { empty: boolean; options: JSX.Element[]; }; renderFilterOptionsFromChildren: (children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>[], childrenKeys: string[], menuItems: JSX.Element[]) => JSX.Element[]; renderTopControlNode: () => JSX.Element; renderArrow(multiple: boolean): JSX.Element | null; renderClear(): JSX.Element | null; render(): JSX.Element; } export default Select;