export declare const isHexCodeColor: (color: string) => boolean;
/**
 * Validates an array of hex color codes
 * @param colors Array of strings to validate as hex colors
 * @returns Array of invalid colors found, empty if all are valid
 */
export declare const getInvalidHexColors: (colors: string[]) => string[];
/**
 * Processes an array of strings, trimming and filtering out empty values
 * @param colors Array of strings to process
 * @returns Cleaned array of strings
 */
export declare const cleanColorArray: (colors: string[]) => string[];
/**
 * Returns the best contrasting text color (black or white) for a given background color
 * Uses APCA contrast algorithm for accurate perception-based contrast
 * @param backgroundColor Any valid color string (hex, rgb, rgba, named colors, etc.)
 * @returns 'white' or 'black' depending on which has better contrast
 */
export declare const getReadableTextColor: (backgroundColor: string) => string;
/**
 * Adjusts a color to ensure it has sufficient contrast against a background color
 * Keeps the color as close to the original as possible while meeting WCAG AA standards
 * @param foregroundColor Color to adjust (hex, rgb, rgba, named colors, etc.)
 * @param backgroundColor Background color to contrast against
 * @param targetContrast Target contrast ratio (default: 4.5 for WCAG AA)
 * @returns Adjusted color as hex string, or original if already readable
 */
export declare const getReadableColor: (foregroundColor: string, backgroundColor: string, targetContrast?: number) => string;
//# sourceMappingURL=colors.d.ts.map