import { RoutingProfile } from '../core/interface'; export declare const OSRM_BASE_URL = "https://routing.openstreetmap.de"; /** * Build an OSRM API endpoint for a given service and profile. */ export declare const buildOSRMUrl: (service: "route" | "table", profile: RoutingProfile, path: string, params?: Record) => string; /** * Fetch and parse JSON safely from the OSRM API. */ export declare const fetchOSRM: (url: string) => Promise;