import type {PaddingOptions} from 'maplibre-gl'; export type { Point, PointLike, LngLat, LngLatLike, LngLatBounds, LngLatBoundsLike, PaddingOptions, MapGeoJSONFeature } from 'maplibre-gl'; /* Public */ /** Describes the camera's state */ export type ViewState = { /** Longitude at map center */ longitude: number; /** Latitude at map center */ latitude: number; /** Map zoom level */ zoom: number; /** Map rotation bearing in degrees counter-clockwise from north */ bearing: number; /** Map angle in degrees at which the camera is looking at the ground */ pitch: number; /** Dimensions in pixels applied on each side of the viewport for shifting the vanishing point. */ padding: PaddingOptions; }; export interface ImmutableLike { toJS: () => T; }