import { type Infra3dProject } from '../config'; /** * Deep links into infra3D Edit (tested 2026-10-01). Only people with an infra3D account get in; * everyone else lands on the infra3D login page. */ export declare const INFRA3D_EDIT_URL = "https://app.infra3d.com/edit/"; export type Infra3dPointTo = { type: 'pano'; lat: number; lon: number; fov: number; }; /** * `jumpTo`, `lookAt` and `imageKey` exclude each other; only `imageKey` takes `pointTo`. * * - `jumpTo`: the image nearest to the position. * - `lookAt`: the image nearest to the position (within 100 m), turned to look at it. Without a * `height` (meters above sea level) infra3D looks at the ground there, which is what a map click * means; a wrong height looks into the sky or the ground (40 m is already too high in Berlin * Mitte, tested 2026-10-02). * - `imageKey`: one image by its UUID. */ export type Infra3dUrlOptions = ({ mode: 'jumpTo'; lng: number; lat: number; } | { mode: 'lookAt'; lng: number; lat: number; height?: number; } | { mode: 'imageKey'; imageKey: string; pointTo?: Infra3dPointTo; }) & { /** Default: the first project of `infra3d.projects` in the street imagery config. */ projectUid?: string; }; /** The projects from `setStreetImageryConfig({ infra3d })`; empty when the host has none. */ export declare const getInfra3dProjects: () => Infra3dProject[]; /** The first configured project; `undefined` when the host has none. */ export declare const getInfra3dProjectUid: () => string | undefined; export declare const buildInfra3dUrl: (options: Infra3dUrlOptions) => string;