/** * Color palette utilities for map layers * Ensures each layer gets a unique, visually distinct color */ export interface ColorInfo { color: string; name: string; description: string; } export declare const LAYER_COLORS: ColorInfo[]; /** * Get a unique color for a layer * @param layerId - The layer identifier * @param layerName - The layer name (for fallback color selection) * @returns ColorInfo object with color, name, and description */ export declare const getLayerColor: (layerId: string, layerName?: string) => ColorInfo; /** * Get color information by color code * @param color - The color code (e.g., '#FF6B35') * @returns ColorInfo object or default if not found */ export declare const getColorInfo: (color: string) => ColorInfo; /** * Reset color assignments (useful for testing or layer reloading) */ export declare const resetColorAssignments: () => void; /** * Get all assigned colors * @returns Map of layerId to color */ export declare const getAssignedColors: () => Map; /** * Check if a color is available * @param color - The color code to check * @returns True if color is available, false if already assigned */ export declare const isColorAvailable: (color: string) => boolean;