UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

17 lines 906 B
import { type Route, type RouteEndpoint } from '@expofp/wayfinding'; import { type RendererService } from '../renderer'; import type RootStore from '../store/RootStore'; /** Whether `createWayfinding` has run and not yet been disposed. */ export declare function isWayfindingReady(): boolean; /** * Build a route between two endpoints. Throws if wayfinding is not initialized. * * TODO: compromise for the public SDK (`RouteStore.checkRoutes` diagnostic). Ad-hoc * route building should not be a public capability — routing belongs to the runtime. * Remove once the SDK surface no longer needs standalone route checks. */ export declare function buildRoute(from: RouteEndpoint, to: RouteEndpoint, options?: { accessible?: boolean; }): Route; export declare function createWayfinding(rendererService: RendererService, store: RootStore): () => void; //# sourceMappingURL=createWayfinding.d.ts.map