import { MapCreationStatus } from '../../enums'; import { CreateMaplibreActions } from '../../types'; import { CameraOptions, LngLatBoundsLike, LngLatLike, MapOptions, StyleSpecification, Map } from 'maplibre-gl'; import { ComputedRef, MaybeRef } from 'vue'; export interface CreateMaplibreProps extends MapOptions { register?: (actions: SimplifiedCreateMaplibreActions) => void; debug?: boolean; onLoad?: (map: Map) => void; onError?: (error: any) => void; } interface SimplifiedCreateMaplibreActions extends CreateMaplibreActions { getCurrentCamera: () => CameraOptions | null; mapCreationStatus: ComputedRef; isMapReady: ComputedRef; isMapLoading: ComputedRef; hasMapError: ComputedRef; getCurrentStyle: () => StyleSpecification | string | null; } /** * Composable for creating and managing MapLibre GL Maps with enhanced error handling * Provides reactive map management with validation, debugging, and comprehensive state management * * @param elRef - Reference to the HTML element container * @param styleRef - Reference to the map style * @param props - Configuration options for the map * @returns Enhanced actions and state for map management */ export declare function useCreateMaplibre(elRef: MaybeRef, styleRef: MaybeRef, props?: Omit): { getCurrentCamera: () => CameraOptions | null; mapCreationStatus: ComputedRef; isMapReady: ComputedRef; isMapLoading: ComputedRef; hasMapError: ComputedRef; getCurrentStyle: () => StyleSpecification | string | null; mapInstance: ComputedRef; setStyle: (style: string | StyleSpecification) => void; setCenter: (center: LngLatLike) => void; setBearing: (bearing: number) => void; setZoom: (zoom: number) => void; setMinZoom: (zoom: number) => void; setMaxZoom: (zoom: number) => void; setPitch: (pitch: number) => void; setMinPitch: (pitch: number) => void; setMaxPitch: (pitch: number) => void; setMaxBounds: (bounds: LngLatBoundsLike) => void; setRenderWorldCopies: (renderWorldCopies: boolean) => void; initMap: () => void; removeMap: () => void; destroyMap: () => void; }; export {};