export type LocationSuggestion = {
    id: string;
    label: string;
};
export type LocationFetchOptions = Record<string, unknown> & {
    apiKey?: string;
    fetchUrl?: string;
    limit?: number;
};
/**
 * Custom React hook for fetching location suggestions using HERE Maps Autocomplete API.
 *
 * @param query - The user input string to search for location suggestions.
 * @param options - Optional configuration:
 *   - apiKey: Your HERE Maps API key (default is 'YOUR_API_KEY').
 *   - fetchUrl: Optional override for the autocomplete endpoint URL.
 * @returns An object containing:
 *   - suggestions: Array of location suggestions with `id` and `label`.
 *   - loading: Boolean indicating whether the fetch is in progress.
 *   - error: Any error that occurred during fetching.
 */
declare const useLocationSuggestions: (query: string, options?: LocationFetchOptions) => {
    suggestions: LocationSuggestion[];
    loading: boolean;
    error: Error | null;
};
export default useLocationSuggestions;
