/** * BRO Soil Color Utilities * * Maps Dutch BRO soil color names to hex color values. * Colors are based on Munsell soil color chart conversions. * * Color naming convention: * - licht* (light), standaard* (standard), donker* (dark) * - Base colors: Blauw, Bruin, Geel, Grijs, Groen, Olijf, Oranje, Rood * - Special: wit (white), zwart (black) * * @example * ```typescript * import { BRO_SOIL_COLORS, getSoilColor } from '@bedrock-engineer/bro-xml-parser'; * * // Direct lookup * const hex = BRO_SOIL_COLORS['lichtBruin']; // '#b79a77' * * // Helper function (case-insensitive) * const color = getSoilColor('lichtbruin'); // '#b79a77' * const unknown = getSoilColor('invalid'); // null * ``` */ /** * BRO soil color name to hex color mapping * * Based on Munsell soil color chart averages as defined in the BRO standard. */ export declare const BRO_SOIL_COLORS: Record; /** * Get the hex color for a BRO soil color name. * * @param colorName - BRO color name (e.g., "lichtBruin", "donkerGrijs") * @returns Hex color string, or `null` if the name is not found * * @example * ```typescript * getSoilColor('lichtBruin'); // '#b79a77' * getSoilColor('LICHTBRUIN'); // '#b79a77' (case-insensitive) * getSoilColor('unknown'); // null * ``` */ export declare function getSoilColor(colorName: string): string | null; /** * Get the hex color for a BRO soil color name, falling back to a default. * * @param colorName - BRO color name (e.g., "lichtBruin", "donkerGrijs") * @param defaultColor - Fallback color returned when the name is not found * @returns Hex color string, or `defaultColor` if the name is not found * * @example * ```typescript * getSoilColor('unknown', '#808080'); // '#808080' * ``` */ export declare function getSoilColor(colorName: string, defaultColor: string): string; /** * Check if a color name is a valid BRO soil color * * @param colorName - Color name to validate * @returns true if the color name is recognized */ export declare function isValidSoilColor(colorName: string): boolean; /** * Get all available BRO soil color names * * @returns Array of color names in their canonical form */ export declare function getSoilColorNames(): Array; //# sourceMappingURL=colors.d.ts.map