import { MmUIComponent } from './component' export interface props { /** Custom label key */ label: string /** Custom value key */ value: string } /** Data item */ export interface data { [key: string]: any } export interface filter { /** * The function passed into the filter property * @param inputValue Current value of the text input * @param item Data item of data source */ (inputValue: string, item: data): boolean } /** AutoComplete Component */ export declare class MmAutoComplete extends MmUIComponent { /** Selected value */ value: string /** Custom data prop for label and value key */ props: props /** Data source list */ data: data[] /** Can custom filter function */ filter: filter /** Show searching icon or not */ searching: boolean }