import { GraphStats, NodeInfo, RouteResult, LatLon } from './types'; export declare class OSMaster { private isLoaded; /** * Builds the routing graph from an OSM PBF file. * This must be called before searching or routing. * @param pbfPath Absolute path to the .osm.pbf file */ load(pbfPath: string): GraphStats; /** * Finds the nearest navigable node to the given coordinates. */ findNearestNode(lat: number, lon: number): NodeInfo; /** * Calculates the shortest path between two points. */ calculateRoute(start: LatLon, end: LatLon): RouteResult; private checkLoaded; } export * from './types';