import { type GeocodeOptions } from './geocode'; interface Props extends Omit { /** Mapbox public access token. */ accessToken: string; /** Placeholder text shown in the search input. */ searchPlaceholder?: string; /** Callback fired when a location is selected from the results. */ onselect?: (location: { lng: number; lat: number; name: string; }) => void; /** * Minimum number of characters before a request is made. Raising this * cuts the number of paid geocoding requests per search. Defaults to 2. */ minLength?: number; /** * Debounce window in milliseconds between the last keystroke and the * request. Raising this fires fewer requests while the user is still * typing (each request is billed). Defaults to 300. */ debounceMs?: number; } /** * An accessible location search backed by the Mapbox geocoding API, debounced to limit billed calls; returns the chosen place's coordinates. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-controls-geocoder--docs) */ declare const Geocoder: import("svelte").Component; type Geocoder = ReturnType; export default Geocoder;