UNPKG

@goparrot/geocoder

Version:

TypeScript GeoCoder, node geocoding library, supports google maps, mapquest, here, open street map, tom tom

10 lines (9 loc) 439 B
import type { ClassTransformOptions } from 'class-transformer'; import type { DistanceDetailsInterface } from '../interface'; export declare class Distance<ProviderRawEntryType = any> implements DistanceDetailsInterface<ProviderRawEntryType> { distance: number; duration: number; provider: string; raw?: ProviderRawEntryType; toObject(options?: ClassTransformOptions): DistanceDetailsInterface<ProviderRawEntryType>; }