import type { AxiosResponse } from 'axios' ; import { DistanceQuery } from '../model/distance-query' ; import type { DistanceQueryInterface } from '../interface' ; import type { Distance } from '../model' ; import type { AbstractDistanceTransformer } from '../transformer' ; import { AbstractCommand } from './abstract.command' ; export class DistanceCommand < ProviderRequestType = any , ProviderResponseType = any > extends AbstractCommand < DistanceQueryInterface , Distance , AbstractDistanceTransformer , ProviderRequestType , ProviderResponseType > { static queryClass ( ) { return DistanceQuery ; } async execute ( query ) { return super . execute ( query ) ; } protected async parseResponse ( _response , _query ) { throw new Error ( 'DistanceCommand.parseResponse: not implemented' ) ; } }