/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import { InternalSelectProps, OptionType, RefSelectProps } from '../../select/component'; export interface DataSourceItemObject { value: string; text: string; } export declare type DataSourceItemType = DataSourceItemObject | React.ReactNode; export interface AutoCompleteProps extends Omit, 'inputIcon' | 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue'> { dataSource?: DataSourceItemType[]; } declare const RefAutoComplete: React.ForwardRefExoticComponent>; declare type RefAutoCompleteWithOption = typeof RefAutoComplete & { Option: OptionType; }; declare const _default: RefAutoCompleteWithOption; export default _default;