import { MapLibreMap, type FitBoundsOptions, type LngLatBoundsLike, type MapOptions } from 'maplibre-gl'; import type { MapProjection } from './previewers/map'; import type Theme from './themes/theme'; import type MapLibreTheme from './themes/maplibre'; export type MapExtras = Omit, 'container' | 'style' | 'trackResize'>; export declare const createMap: (container: HTMLElement, theme: MapLibreTheme, extras?: MapExtras) => MapLibreMap; export declare const trackContainerSize: (map: MapLibreMap, container: HTMLElement) => void; export declare const whenSized: (element: HTMLElement) => Promise; export declare const readProjection: (map: MapLibreMap) => MapProjection | undefined; export declare const setBasemap: (map: MapLibreMap, theme: MapLibreTheme) => Promise; export declare const openingCamera: (container: HTMLElement, theme: Theme, target: LngLatBoundsLike | undefined, extras?: FitBoundsOptions) => MapExtras; export declare const fitBounds: (map: MapLibreMap, theme: Theme, bounds: LngLatBoundsLike, extras?: FitBoundsOptions) => Promise; export declare const zoomToFit: (map: MapLibreMap, bounds: LngLatBoundsLike) => number | undefined; export declare const LOCATION_MAP: MapExtras; export declare const disableRotation: (map: MapLibreMap) => void; export declare const addLocationControls: (map: MapLibreMap) => void; export declare const LOCATION_MAX_ZOOM = 12; export declare const frameLocation: (map: MapLibreMap, theme: MapLibreTheme, target: LngLatBoundsLike, globe: boolean, extras?: FitBoundsOptions) => Promise; export declare const openingLocation: (container: HTMLElement, theme: MapLibreTheme, target: LngLatBoundsLike, globe: boolean, extras?: FitBoundsOptions) => MapExtras;