import { ComponentType } from 'react'; export declare type DateItem = { text: string; id: string | number; }; declare type AutoCompleteProps = Readonly<{ className?: string; inputBoxClassName?: string; inputClassName?: string; resultClassName?: string; icon?: string; placeholder?: string; preserve?: boolean; name?: string; keyword?: string; EmptyPanel?: ComponentType; getData: (keyword: string) => Promise; onItemClick?: (item: T) => void; }>; export default function AutoComplete({ className, inputBoxClassName, inputClassName, resultClassName, placeholder, name, icon, preserve, keyword: defaultKeyword, getData, onItemClick, EmptyPanel, }: AutoCompleteProps): JSX.Element; export {};