@goparrot/geocoder
Version:
TypeScript GeoCoder, node geocoding library, supports google maps, mapquest, here, open street map, tom tom
16 lines (15 loc) • 725 B
TypeScript
import type { AxiosInstance } from 'axios';
import { GeocodeCommand } from '../../../command';
import type { GeocodeQuery } from '../../../model';
import type { GoogleMapsGeocodeQueryInterface } from '../interface';
declare const GoogleMapsGeocodeCommand_base: typeof GeocodeCommand;
/**
* @link {https://developers.google.com/maps/documentation/geocoding/intro#GeocodingRequests}
*/
export declare class GoogleMapsGeocodeCommand extends GoogleMapsGeocodeCommand_base<GoogleMapsGeocodeQueryInterface> {
private readonly apiKey;
constructor(httpClient: AxiosInstance, apiKey: string);
static getUrl(): string;
protected buildQuery(query: GeocodeQuery): Promise<GoogleMapsGeocodeQueryInterface>;
}
export {};