import { DataItem } from '../../../components/charts/Donut/types'; export type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text'; export declare const chartColors: { readonly blue: { readonly bg: "bg-blue-600"; readonly stroke: "stroke-blue-600"; readonly fill: "fill-blue-600"; readonly text: "text-blue-600"; }; readonly red: { readonly bg: "bg-red-600"; readonly stroke: "stroke-red-600"; readonly fill: "fill-red-600"; readonly text: "text-red-600"; }; readonly yellow: { readonly bg: "bg-yellow-600"; readonly stroke: "stroke-yellow-600"; readonly fill: "fill-yellow-600"; readonly text: "text-yellow-600"; }; readonly green: { readonly bg: "bg-green-600"; readonly stroke: "stroke-green-600"; readonly fill: "fill-green-600"; readonly text: "text-green-600"; }; readonly grey: { readonly bg: "bg-grey-600"; readonly stroke: "stroke-grey-600"; readonly fill: "fill-grey-600"; readonly text: "text-grey-600"; }; readonly purple: { readonly bg: "bg-purple-600"; readonly stroke: "stroke-purple-600"; readonly fill: "fill-purple-600"; readonly text: "text-purple-600"; }; readonly orange: { readonly bg: "bg-orange-600"; readonly stroke: "stroke-orange-600"; readonly fill: "fill-orange-600"; readonly text: "text-orange-600"; }; readonly paris: { readonly bg: "bg-[#006DFF]"; readonly stroke: "stroke-[#006DFF] "; readonly fill: "fill-[#006DFF] "; readonly text: "text-[#006DFF] "; }; readonly jumbo: { readonly bg: "bg-[#19AD49]"; readonly stroke: "stroke-[#19AD49]"; readonly fill: "fill-[#19AD49]"; readonly text: "text-[#19AD49]"; }; readonly easy: { readonly bg: "bg-[#DF1122]"; readonly stroke: "stroke-[#DF1122]"; readonly fill: "fill-[#DF1122]"; readonly text: "text-[#DF1122]"; }; readonly spid: { readonly bg: "bg-[#E8308A]"; readonly stroke: "stroke-[#E8308A]"; readonly fill: "fill-[#E8308A]"; readonly text: "text-[#E8308A]"; }; readonly disco: { readonly bg: "bg-[#E82227]"; readonly stroke: "stroke-[#E82227]"; readonly fill: "fill-[#E82227]"; readonly text: "text-[#E82227]"; }; readonly metro: { readonly bg: "bg-[#FFEC00]"; readonly stroke: "stroke-[#FFEC00]"; readonly fill: "fill-[#FFEC00]"; readonly text: "text-[#FFEC00]"; }; readonly 'santa-isabel': { readonly bg: "bg-[#DF0F20]"; readonly stroke: "stroke-[#DF0F22]"; readonly fill: "fill-[#DF0F22]"; readonly text: "text-[#DF0F22]"; }; readonly wong: { readonly bg: "bg-[#C01717]"; readonly stroke: "stroke-[#C01717]"; readonly fill: "fill-[#C01717]"; readonly text: "text-[#C01717]"; }; readonly vea: { readonly bg: "bg-[#FFCD00]"; readonly stroke: "stroke-[#E1251B]"; readonly fill: "fill-[#E1251B]"; readonly text: "text-[#E1251B]"; }; readonly bretas: { readonly bg: "bg-[#F08700]"; readonly stroke: "stroke-[#F08700]"; readonly fill: "fill-[#F08700]"; readonly text: "text-[#F08700]"; }; readonly perini: { readonly bg: "bg-[#C10230]"; readonly stroke: "stroke-[#C10230]"; readonly fill: "fill-[#C10230]"; readonly text: "text-[#C10230]"; }; readonly prezunic: { readonly bg: "bg-[#005CB9]"; readonly stroke: "stroke-[#005CB9]"; readonly fill: "fill-[#005CB9]"; readonly text: "text-[#005CB9]"; }; readonly blaisten: { readonly bg: "bg-[#5B6670]"; readonly stroke: "stroke-[#5B6670]"; readonly fill: "fill-[#5B6670]"; readonly text: "text-[#5B6670]"; }; readonly mercantil: { readonly bg: "bg-[#FFCD00]"; readonly stroke: "stroke-[#003595]"; readonly fill: "fill-[#003595]"; readonly text: "text-[#003595]"; }; readonly gbarbosa: { readonly bg: "bg-[#E30918]"; readonly stroke: "stroke-[#E30918]"; readonly fill: "fill-[#E30918]"; readonly text: "text-[#E30918]"; }; readonly giga: { readonly bg: "bg-[#00673C]"; readonly stroke: "stroke-[#00673C]"; readonly fill: "fill-[#00673C]"; readonly text: "text-[#00673C]"; }; }; export type AvailableChartColorsKeys = keyof typeof chartColors; export declare const AvailableChartColors: AvailableChartColorsKeys[]; export declare const constructCategoryColors: (items: DataItem[]) => Map; export declare const parseData: (data: DataItem[], categoryColors: Map, category: string) => { color: "blue" | "red" | "yellow" | "green" | "grey" | "purple" | "orange" | "paris" | "jumbo" | "easy" | "spid" | "disco" | "metro" | "santa-isabel" | "wong" | "vea" | "bretas" | "perini" | "prezunic" | "blaisten" | "mercantil" | "gbarbosa" | "giga"; className: string; }[]; export declare const getColorClassName: (color: AvailableChartColorsKeys, type: ColorUtility) => string; export declare const getYAxisDomain: (autoMinValue: boolean, minValue: number | undefined, maxValue: number | undefined) => (string | number)[]; export declare function hasOnlyOneValueForKey(array: unknown[], keyToCheck: string): boolean; //# sourceMappingURL=chartUtils.d.ts.map