import { V2Prediction as Prediction, CommonAddress as Address, PredictRequest, } from '@wix/ambassador-wix-atlas-service-web/types'; import { AutocompleteClient } from '../usePlacesAutocomplete/autocompleteClient'; export type AtlasRequestOptions = Omit; export interface AtlasInitOptions { baseUrl?: string; token?: string; /** Sets the `language` to pass to the Atlas Service. * Use the language code, for example `'en'`. */ language?: string; /** Sets the `locale` to pass to the Atlas Service. * Locale consists of language code and country code separated by a dash, for example `'en-us'`. */ locale?: string; } export { Prediction, Address }; export type AtlasClient = AutocompleteClient< Prediction, Address, AtlasRequestOptions >; export type ReadyAtlasClient = Extract; declare const useAtlasClient: (options?: AtlasInitOptions) => ReadyAtlasClient; export { useAtlasClient };