import { AbstractSuggestionTransformer } from '../../../transformer' ; import { ArcgisProvider } from '../arcgis.provider' ; import type { ArcgisSuggestionInterface } from '../interface' ; export class ArcgisSuggestionTransformer extends AbstractSuggestionTransformer < ArcgisProvider > { constructor ( readonly raw ) { super ( ArcgisProvider , raw ) ; } async getFormattedAddress ( ) { return this . raw . text ; } async getPlaceId ( ) { return this . raw . magicKey ; } }