import type { Connection } from '@mappedin/mvf-connections'; import type { FloorId, GeometryFeature } from '@mappedin/mvf-core'; import type { NavigationFlagDeclaration } from '@mappedin/mvf-navigation-flags'; import type { ParsedMVF } from '../../types/bundle.js'; import type { EntranceFeature } from '../../types/core.js'; import type { BuilderOptions } from '../builderOptions.js'; import type { MVFv2_STANDARD_MVFv3 } from '../index.js'; export type V3Connections = Pick; export type V2Connections = Pick; export type V2Connection = V2Connections['connection.json'][number]; export declare function buildConnections(v3: V3Connections, { nodesByGeometryId }: Pick): V2Connections; export declare function isLineDoor(connection: Connection, geometryFeatureById: Map): boolean; export declare function doesConnectionTransitionFloors(connection: Connection): boolean; /** * This builds one or more entrances from a connection. It will only produce anything if isLineDoor * is true for this connection, but it doesn't rely on that function. * * It will produce tuples of [FloorId, EntranceFeature[]] for every entrance line string entrance in the connection * in the connection. * @param connection * @param geometryFeatureById */ export declare function buildEntranceFeaturesFromConnection(connection: Connection, geometryFeatureById: Map, nodesByGeometryId: BuilderOptions['nodesByGeometryId'], outdoorsFlag?: NavigationFlagDeclaration): [FloorId, EntranceFeature][]; /** * A connection is exterior if ANY of it's entrances or exits have the well-known outdoors flag. * * This also means a connection that is fully outdoors (such as a pedestrian bridge) is also exterior. * @param connection * @param outdoorsFlag * @returns true if the connection goes or comes from the exterior */ export declare function isExterior(connection: Connection, outdoorsFlag?: NavigationFlagDeclaration): boolean; //# sourceMappingURL=connectionBuilder.d.ts.map