import { Destination, NearestResult, RoutingProfile } from '../core/interface'; export declare const fetchNearestInChunk: (from: [number, number], chunk: Destination[], profile: RoutingProfile, maxDistanceMeters?: number) => Promise; /** * Returns all destinations ordered by ascending distance. */ declare const findNearestDestination: (from: [number, number], destinations: Destination[], profile?: RoutingProfile, maxDistanceMeters?: number) => Promise; export default findNearestDestination;