import React from "react"; import { TextFieldProps } from "../TextField"; import { GenericAutocompleteProps } from "./types"; type AutocompleteProps = { /** * A callback method invoked when the user selects an option from the autocomplete. */ onSelect: (value: T | undefined) => void; /** * The currently selected option. */ selectedOption: T | undefined; } & Omit & GenericAutocompleteProps; export declare const Autocomplete: { ({ options, selectedOption, onSelect, transformItem, ...restProps }: AutocompleteProps): React.JSX.Element; displayName: string; }; export {};