import { Feature, FeatureCollection, GeoJsonProperties, LineString, Point } from "geojson"; import { Key, Path, PathFinderGraph, PathFinderOptions } from "./types"; export default class PathFinder { graph: PathFinderGraph; options: PathFinderOptions; constructor(network: FeatureCollection, options?: PathFinderOptions); findPath(a: Feature, b: Feature): Path | undefined; _createPhantom(n: Key): string | undefined; _removePhantom(n: Key | undefined): void; } export declare function pathToGeoJSON(path: Path | undefined): Feature | undefined;