export type MapPoint = { x: number; y: number; }; export type MapViewBox = MapPoint & { width: number; height: number; }; export declare function constrainViewBox(view: MapViewBox, bounds: MapViewBox): MapViewBox; export declare function zoomViewBox(view: MapViewBox, bounds: MapViewBox, zoom: number, anchor: MapPoint): MapViewBox; export declare function flightZoom(from: number, to: number, distance: number, progress: number): number;