import { default as React, ReactNode } from 'react'; import { AutocompleteProps } from '../Autocomplete/Autocomplete'; import { ComboboxOption } from '../Combobox'; import { MapboxPlace } from './mapbox'; export type AutocompletePlaceProps = Omit, 'options' | 'onSelect' | 'onSearch' | 'onAddOption' | 'renderAddOption' | 'renderNoOptions' | 'value'> & { /** * Restricts the search to a specific country. */ country?: string; /** * Bias results around a specific country. */ proximityCountry?: string; /** * The current value (controlled). */ value?: string; /** * Handler that is called when an option is selected. */ handleSelect: (value: MapboxPlace | undefined) => void; /** * The content to display when no options are available. */ renderNoOptions: (value: string, debouncedSearchValue: string | undefined) => ReactNode; }; export declare const AutocompletePlace: ({ handleSelect, renderNoOptions, country, proximityCountry, value, ...rest }: AutocompletePlaceProps) => React.JSX.Element; //# sourceMappingURL=AutocompletePlace.d.ts.map