UNPKG

universal-geocoder

Version:

Universal geocoding abstraction server-side and client-side with multiple built-in providers

18 lines 815 B
import Geocoded, { GeocodedObject } from "../../Geocoded"; import { YandexKind, YandexPrecision } from "./.."; export interface YandexGeocodedObject extends GeocodedObject { readonly types?: YandexKind[]; readonly precision?: YandexPrecision; } export default class YandexGeocoded extends Geocoded { private readonly types?; private readonly precision?; protected constructor({ types, precision, ...geocodedObject }: YandexGeocodedObject); static create(object: YandexGeocodedObject): YandexGeocoded; toObject(): YandexGeocodedObject; withTypes(types: YandexKind[]): YandexGeocoded; getTypes(): undefined | YandexKind[]; withPrecision(precision: YandexPrecision): YandexGeocoded; getPrecision(): undefined | YandexPrecision; } //# sourceMappingURL=YandexGeocoded.d.ts.map