import React from 'react'; import { SelectInnerStateValue, OptionInfo, OptionProps, SelectProps } from './interface'; export declare type OptionInfoMap = Map; declare function preventDefaultEvent(e: any): void; declare function isEmptyValue(value: any, isMultiple: boolean): boolean; declare function getValidValue(value: any, isMultiple: boolean, labelInValue: boolean): SelectInnerStateValue; declare function isSelectOption(child: any): boolean; declare function isSelectOptGroup(child: any): boolean; declare function flatChildren({ children, options, filterOption }: Pick, { inputValue, userCreatedOptions, userCreatingOption, prefixCls, }: { inputValue: string; userCreatedOptions?: string[]; userCreatingOption?: string; prefixCls: string; }, { optionInfoMap, optionValueList, customNodeCount, }?: { optionInfoMap?: OptionInfoMap; optionValueList?: Array; customNodeCount?: number; }): { childrenList: React.ReactElement>[]; optionInfoMap: OptionInfoMap; optionValueList: (string | number)[]; optionIndexListForArrowKey: number[]; hasOptGroup: boolean; hasComplexLabelInOptions: boolean; }; export { preventDefaultEvent, isEmptyValue, getValidValue, isSelectOption, isSelectOptGroup, flatChildren, };