import { WebMercatorViewport } from '@math.gl/web-mercator'; import type { ViewportPadding } from '@kepler.gl/types'; export declare const MAPBOX_TILE_SIZE = 512; /** * bounds should be [minLng, minLat, maxLng, maxLat] * @param {*} bounds */ export declare function validateBounds(bounds: any): any[] | null; export declare function getCenterAndZoomFromBounds(bounds: any, { width, height, padding }: { width: number; height: number; padding?: ViewportPadding; }): { zoom: number; center: number[]; } | null; /** * Add extra info about screen space position and world position to the event. * @param {*} event Event to normalize. * @param {*} viewport Current viewport. * @returns Normalized event with extra information compatible with React-map-gl MapLayerMouseEvent * https://visgl.github.io/react-map-gl/docs/api-reference/types#maplayermouseevent */ export declare function normalizeEvent(event: any, viewport: WebMercatorViewport): any;