@expofp/floorplan
Version:
Interactive floor plan library for expos and events
16 lines • 598 B
TypeScript
import type { GraphDataSource, RouteEndpoint, RouteLine } from "./types";
export interface Route {
readonly lines: RouteLine[];
readonly distance: number;
}
export interface WayfindingEngine {
buildRoute(from: RouteEndpoint, to: RouteEndpoint, options?: {
accessible?: boolean;
}): Route;
buildWaypointsRoute(waypoints: RouteEndpoint[], options?: {
accessible?: boolean;
fastest?: boolean;
}): Route;
}
export declare function createWayfindingEngine(dataSource: GraphDataSource): WayfindingEngine;
//# sourceMappingURL=createWayfindingEngine.d.ts.map