import { Signal } from '@preact/signals'; import { Component } from 'preact'; import '@etchteam/diamond-ui/control/Input/Input'; import '@/components/content/Icon/Icon'; interface HereMapsAutosuggestResult { items: { title: string; }[]; } interface LocationInputProps { readonly inputId?: string; readonly placeholder?: string; readonly valid?: boolean; readonly autofocus?: boolean; readonly disabled?: boolean; readonly handleBlur?: (value: string) => void; readonly handleInput?: (value: string) => void; } /** * An autosuggest input for locations. * The autosuggest list will appear after > 3 characters are entered. */ export default class LocationInput extends Component { apiKey: any; autosuggestEndpoint: string; boundingBox: string; resultTypes: string; locationSuggestions: Signal; inputRef: import("preact").RefObject; constructor(props: LocationInputProps); autosuggest: (query: string) => Promise; handleInput: any; handleBlur: (event: preact.JSX.TargetedEvent) => void; render(): import("preact/compat").JSX.Element; } export {};