import { NativeGeocoder } from '@ionic-native/native-geocoder' ; export class NativeGeocoderMock extends NativeGeocoder { param latitude { number } param longitude { number } return { Promise < any > } reverseGeocode ( latitude , longitude , options ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param addressString { string } return { Promise < any > } orwardGeocode ( addressString , options ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; } /**
 * Encapsulates format information about a reverse geocoding result.
 */ export interface NativeGeocoderReverseResult { /**
     * The country code.
     */ countryCode : string ; /**
     * The country name.
     */ countryName : string ; /**
     * The postal code.
     */ postalCode : string ; /**
     * The administrativeArea.
     */ administrativeArea : string ; /**
     * The subAdministrativeArea.
     */ subAdministrativeArea : string ; /**
     * The locality.
     */ locality : string ; /**
     * The subLocality.
     */ subLocality : string ; /**
     * The thoroughfare.
     */ thoroughfare : string ; /**
     * The subThoroughfare.
     */ subThoroughfare : string ; } /**
 * Encapsulates format information about a forward geocoding result.
 */ export interface NativeGeocoderForwardResult { /**
     * The latitude.
     */ latitude : string ; /**
     * The longitude.
     */ longitude : string ; } export interface NativeGeocoderOptions { /**
     * The locale to use when returning the address information.
     * If set to 'false' the locale will always be 'en_US'.
     * Default is 'true'
     */ useLocale : boolean ; /**
     * The default locale to use when returning the address information.
     * e.g.: 'fa-IR' or 'de_DE'.
     */ defaultLocale ? : string ; /**
     * The maximum number of result to return (max is 5).
     * Default is 1
     */ maxResults : number ; }