type RGB = [red: number, green: number, blue: number]; export declare function hexToRGB(h: string): RGB; interface BlendConfig { /** * Specifies an index in the colors array to be more prevalent than others */ intensifyIndex?: number; /** * Specifies if all the colors should be intensify. * If "intensifyAll" is "true", the value of "intensifyIndex" is ignored */ intensifyAll?: boolean; /** * Specifies how much the blend factor should be watered down */ discountFactor?: number; } /** * Blends an array of hex color values together, with alpha composition * * @param colors An array of hex color values * @param config Specifies intensity configuration to use for blending * @visibleForTesting */ export type BlendColors = (colors: string[], params?: BlendConfig) => string | undefined; export declare const blend: BlendColors; export {};