import type { ColorValue } from 'react-native'; import type { ParsedColorValue, RgbaColor } from './types'; /** * Parse a React Native color value when it is a hex, `rgb()`, or `rgba()` * literal. Native and dynamic color objects return a structured diagnostic. */ export declare function parseColorValue(value: ColorValue): ParsedColorValue; /** * Format normalized RGBA channels as `#rrggbb` or `#rrggbbaa` when alpha is * translucent. */ export declare function rgbaToHex(color: RgbaColor): string; /** @internal Resolve a literal color or throw a descriptive operation error. */ export declare function requireLiteralColor(value: ColorValue, operation: string): RgbaColor; //# sourceMappingURL=parsing.d.ts.map