import * as React from 'react'; import type { BaseSelectRef } from 'rc-select'; import type { InputStatus } from '../_util/statusUtils'; import type { BaseOptionType, DefaultOptionType, InternalSelectProps } from '../select'; declare const Option: import("rc-select/lib/Option").OptionFC; export interface DataSourceItemObject { value: string; text: string; } export type DataSourceItemType = DataSourceItemObject | React.ReactNode; export interface AutoCompleteProps extends Omit, 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue'> { /** @deprecated Please use `options` instead */ dataSource?: DataSourceItemType[]; status?: InputStatus; popupClassName?: string; /** @deprecated Please use `popupClassName` instead */ dropdownClassName?: string; /** @deprecated Please use `popupMatchSelectWidth` instead */ dropdownMatchSelectWidth?: boolean | number; popupMatchSelectWidth?: boolean | number; } declare const RefAutoComplete: ((props: React.PropsWithChildren> & React.RefAttributes) => React.ReactElement) & { displayName?: string | undefined; Option: typeof Option; _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel; }; declare const PurePanel: (props: import("antd/es/_util/type").AnyObject) => React.JSX.Element; export default RefAutoComplete;