/** * TODO: 4.0 * - remove `dataSource` * - `size` not work with customizeInput * - customizeInput not feedback `ENTER` key since accessibility enhancement */ import * as React from 'react'; import Select, { InternalSelectProps, OptionType } from '../select'; export interface DataSourceItemObject { value: string; text: string; } export declare type DataSourceItemType = string | DataSourceItemObject; export interface AutoCompleteProps extends Omit, 'inputIcon' | 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue'> { dataSource?: DataSourceItemType[]; } declare const RefAutoComplete: React.ForwardRefExoticComponent>>; declare type RefAutoComplete = typeof RefAutoComplete & { Option: OptionType; }; declare const _default: RefAutoComplete; export default _default;