import { HttpClient } from '@angular/common/http'; import { FeatureCollection } from 'geojson'; import { Observable } from 'rxjs'; import { TYPES } from './address.model'; import * as i0 from "@angular/core"; export declare class AddressService { private http; private api; constructor(http: HttpClient); /** * Should be use to get address from coordinates (reverse geocoding) * @param lat latitude * @param lon longitude * @param type houseNumber, street, locality, municipality * @return FeatureCollection[] */ reverseGeocoding(lon: number, lat: number, type?: TYPES): Observable; /** * Should be use to get address from coordinates (reverse geocoding) * @param search string * @param type houseNumber, street, locality, municipality * @param postalCode postalCode, use for restrict search * @param lon longitude, use for give priority to a location * @param lat latitude, use for give priority to a location * @return FeatureCollection[] */ searchGeocoding(search: string, type?: TYPES, postalCode?: string, lon?: number, lat?: number): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }