import MapboxDraw from '@mapbox/mapbox-gl-draw'; /** * Update MapboxDraw constants to work with Maplibre * This ensures compatibility between Mapbox and Maplibre */ export declare const updateMapboxDrawConstants: () => void; /** * Default drawing styles for polygons */ export declare const getDefaultDrawingStyles: () => ({ id: string; type: string; filter: (string | string[])[]; paint: { 'fill-color': string; 'fill-outline-color': string; 'fill-opacity': number; 'line-color'?: undefined; 'line-width'?: undefined; 'circle-radius'?: undefined; 'circle-color'?: undefined; }; layout: { visibility: string; 'line-cap'?: undefined; 'line-join'?: undefined; }; } | { id: string; type: string; filter: (string | string[])[]; layout: { 'line-cap': string; 'line-join': string; visibility: string; }; paint: { 'line-color': string; 'line-width': number; 'fill-color'?: undefined; 'fill-outline-color'?: undefined; 'fill-opacity'?: undefined; 'circle-radius'?: undefined; 'circle-color'?: undefined; }; } | { id: string; type: string; filter: (string | string[])[]; paint: { 'circle-radius': number; 'circle-color': string; 'fill-color'?: undefined; 'fill-outline-color'?: undefined; 'fill-opacity'?: undefined; 'line-color'?: undefined; 'line-width'?: undefined; }; layout?: undefined; })[]; /** * Create MapboxDraw instance with default configuration * @param options - Custom options to override defaults * @returns Configured MapboxDraw instance */ export declare const createMapboxDraw: (options?: any) => MapboxDraw; /** * Check if a map instance is ready for drawing * @param map - The map instance * @returns True if map is ready */ export declare const isMapReadyForDrawing: (map: any) => boolean;