/** * TODO: 4.0 * * - Remove `dataSource` * - `size` not work with customizeInput * - CustomizeInput not feedback `ENTER` key since accessibility enhancement */ import * as React from 'react'; import type { BaseSelectRef } from 'rc-select'; import { BaseOptionType, DefaultOptionType, InternalSelectProps } from '../select'; 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: ((props: AutoCompleteProps & { children?: React.ReactNode; } & { ref?: React.Ref | undefined; }) => React.ReactElement) & { Option: import("rc-select/lib/Option").OptionFC; }; export default RefAutoComplete;