@expofp/floorplan
Version:
Interactive floor plan library for expos and events
11 lines • 538 B
TypeScript
import { type RouteLine } from "../types";
/**
* Filters route lines for a given floor: removes virtual segments
* and keeps only lines on the specified floor.
*
* @param routeLines - All route lines (may span multiple floors)
* @param currentFloor - Floor to filter by, or `null` to return all non-virtual lines
* (single-floor plans / "show all" mode)
*/
export declare function getVisibleRouteLines(routeLines: readonly RouteLine[], currentFloor: string | null): RouteLine[];
//# sourceMappingURL=getVisibleRouteLines.d.ts.map